Alan Modra
33c0ec9de7
bfd/
...
* elf64-ppc.c (struct ppc_link_hash_table): Add do_multi_toc.
(has_small_toc_reloc): Define.
(ppc64_elf_check_relocs): Set the above flags.
(ppc64_elf_edit_opd): Delete obfd param.
(ppc64_elf_tls_optimize): Likewise.
(ppc64_elf_edit_toc): Likewise.
(ppc64_elf_tls_setup): Likewise. Add no_multi_toc param.
* elf64-ppc.h: Update prototypes.
ld/
* emultempl/ppc64elf.em (ppc_before_allocation): Update for changed
function parameters.
2010-02-08 13:50:17 +00:00
Alan Modra
5c8a75eb63
update copyright date
2010-02-08 13:47:22 +00:00
Alan Modra
b0dddeecc9
* section.c (struct bfd_section): Delete has_tls_reloc,
...
has_tls_get_addr_call, has_gp_reloc, need_finalize_relax, reloc_done.
Add sec_flg0 thru sec_flg5.
(BFD_FAKE_SECTION): Update for changed flags.
* ecoff.c (bfd_debug_section): Likewise.
* elf32-ppc.c (has_tls_reloc, has_tls_get_addr_call): Define.
* elf64-ppc.c (has_tls_reloc, has_tls_get_addr_call): Define.
(has_toc_reloc, makes_toc_func_call, call_check_in_progress): Update.
* elf32-xtensa.c (reloc_done): Define.
* elfxx-ia64.c (skip_relax_pass_0, skip_relax_pass_1): Update.
* bfd-in2.h: Regenerate.
2010-02-08 13:16:24 +00:00
Joel Brobecker
7b356089ca
* lib/gdb.exp (gdb_test_timeout): New global variable.
...
Set it to timeout if not already set.
(gdb_init): Reset the value of timeout to gdb_test_timeout.
2010-02-08 11:33:54 +00:00
Tristan Gingold
06988dfc57
2010-02-08 Tristan Gingold <gingold@adacore.com>
...
* mach-o.c (bfd_mach_o_canonicalize_one_reloc): Set reloc.r_extern
for non-scattered relocations.
2010-02-08 09:13:47 +00:00
Nathan Sidwell
deddc40bec
bfd/
...
* elf32-ppc.c (ppc_elf_begin_write_processing): Allow empty
apuinfo sections, only scan input sections once and reuse the
buffer.
ld/testsuite/
* ld-powerpc/apuinfo-nul.s: New.
* ld-powerpc/apuinfo.rd: Add it.
* ld-powerpc/powerpc.exp: Likewise.
2010-02-08 07:09:39 +00:00
H.J. Lu
4676342327
Add x86 XML target description files.
...
2010-02-07 H.J. Lu <hongjiu.lu@intel.com>
* features/Makefile (WHICH): Add i386/i386, i386/i386-linux,
i386/amd64 and i386/amd64-linux.
(i386/i386-expedite): New.
(i386/i386-linux-expedite): Likewise.
(i386/amd64-expedite):Likewise.
(i386/amd64-linux-expedite): Likewise.
($(outdir)/i386/i386-linux.dat): Likewise.
($(outdir)/i386/amd64.dat): Likewise.
($(outdir)/i386/amd64-linux.dat): Likewise.
* features/i386/32bit-core.xml: New.
* features/i386/32bit-linux.xml: Likewise.
* features/i386/32bit-sse.xml: Likewise.
* features/i386/64bit-core.xml: Likewise.
* features/i386/64bit-linux.xml: Likewise.
* features/i386/64bit-sse.xml: Likewise.
* features/i386/i386-linux.xml: Likewise.
* features/i386/i386.xml: Likewise.
* features/i386/amd64-linux.xml: Likewise.
* features/i386/amd64.xml: Likewise.
* features/i386/i386-linux.c: Likewise.
* features/i386/i386.c: Likewise.
* features/i386/amd64-linux.c: Likewise.
* features/i386/amd64.c: Likewise.
2010-02-08 05:08:46 +00:00
Alan Modra
466ef64fe3
missed from last commit
2010-02-08 02:04:05 +00:00
Alan Modra
ce3d2015b2
include/
...
* opcode/ppc.h (PPC_OPCODE_TITAN): Define.
bfd/
* archures.c (bfd_mach_ppc_titan): Define.
* bfd-in2.h: Regenerate.
* cpu-powerpc.c (bfd_powerpc_archs): Add titan entry.
opcodes/
* ppc-dis.c (ppc_opts): Add titan entry.
* ppc-opc.c (TITAN, MULHW): Define.
(powerpc_opcodes): Support AppliedMicro Titan core (APM83xxx).
gas/
* config/tc-ppc.c (md_show_usage): Mention -mtitan. Don't use tabs.
(ppc_mach): Handle titan.
* doc/c-ppc.texi: Mention -mtitan.
gas/testsuite/
* gas/ppc/titan.d, * gas/ppc/titan.s: New test.
* gas/ppc/ppc.exp: Run it.
2010-02-08 01:59:38 +00:00
Alan Modra
06a162cf63
* elf32-ppc.c (ppc_elf_check_relocs): Remove dead ifunc code.
2010-02-08 00:48:27 +00:00
gdbadmin
2d4d5659e7
*** empty log message ***
2010-02-08 00:00:05 +00:00
Alan Modra
e94c2ffa76
daily update
2010-02-07 23:00:05 +00:00
H.J. Lu
3ff95107ee
Move entry for elf/s390.h to elf/ChangeLog.
2010-02-07 14:42:40 +00:00
gdbadmin
0e5c0b043e
*** empty log message ***
2010-02-07 00:00:03 +00:00
Alan Modra
99c6bca0d9
daily update
2010-02-06 23:00:04 +00:00
Ian Lance Taylor
9109c078e3
* configure.ac: Rewrite targetobjs duplicate removal code to use
...
only shell constructs.
* configure: Rebuild.
2010-02-06 20:14:01 +00:00
Doug Kwan
cf846138ae
2010-02-05 Doug Kwan <dougkwan@google.com>
...
PR 11247
* arm.cc (Arm_relobj::section_is_scannable): New method.
(Arm_relobj::section_needs_reloc_stub_scanning): Use it.
(Arm_relobj::section_needs_cortex_a8_stub_scanning): Same.
2010-02-06 04:30:00 +00:00
gdbadmin
05f733a038
*** empty log message ***
2010-02-06 00:00:03 +00:00
Alan Modra
f6774f398f
daily update
2010-02-05 23:00:04 +00:00
Doug Evans
1be008824d
testsuite/
...
* lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
user.
doc/
* gdbint.texinfo (Testsuite): Document INTERNAL_GDBFLAGS.
2010-02-05 21:51:38 +00:00
Sami Wagiaalla
8285698016
2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
...
PR c++/7935:
* gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
PR c++/7935:
* cp-support.h: Added char* alias element to using_direct data
struct.
(cp_add_using): Added char* alias argument.
(cp_add_using_directive): Ditto.
* cp-namespace.c: Updated with the above changes.
(cp_lookup_symbol_imports): Check for aliases.
* dwarf2read.c (read_import_statement): Figure out local alias
for the import and pass it on to cp_add_using.
(read_namespace): Pass alias argument to cp_add_using.
2010-02-05 19:03:42 +00:00
Sterling Augustine
1beeb6866d
10-02-05 Sterling Augustine <sterling@tensilica.com>
...
* config/tc-xtensa.c (UNREACHABLE_MAX_WIDTH): Delete and
replace with...
(xtensa_fetch_width) ...this.
2010-02-05 18:52:27 +00:00
Doug Evans
c5f80513ff
* gdbint.texinfo (Testsuite): Add a new section to document the
...
various DejaGnu variables that may be overridden.
2010-02-05 18:30:44 +00:00
Sterling Augustine
4c34844242
Update Changelog entry to include bug number. Checked in as obvious.
2010-02-05 17:42:46 +00:00
Sterling Augustine
1cfb7d1ee1
2010-02-05 Sterling Augustine <sterling@tensilica.com>
...
* elf.c (assign_file_positions_for_load_sections) Update lma of
section if necessary.
2010-02-05 17:08:47 +00:00
Andreas Schwab
2ad0ff16f7
* ppc-instructions: Fix aliasing bugs when calling
...
invalid_arithemetic_operation.
2010-02-05 15:47:02 +00:00
H.J. Lu
6bbec50578
Remove trailing white spaces.
...
2010-02-05 H.J. Lu <hongjiu.lu@intel.com>
* elf32-i386.c: Remove trailing white spaces.
* elf64-x86-64.c: Likewise.
2010-02-05 14:58:11 +00:00
Nick Clifton
ef3f88bef8
* configure.in (ALL_LIBGUAS): Add bg.
...
* configure: Regenerate.
* po/bg.po: New Bulgarian translation.
2010-02-05 14:17:56 +00:00
Nick Clifton
f8266dc4fe
* emultempl/armelf.em (PARSE_AND_LIST_OPTIONS): Fix help for
...
--target1-abs and --target1-rel options.
2010-02-05 13:57:47 +00:00
Joseph Myers
1e4cb85751
* Makefile.am (CPU_TYPES, OBJ_FORMATS, CPU_OBJ_VALID,
...
MULTI_CPU_TYPES, MULTI_CPU_OBJ_VALID): Remove.
* Makefile.in: Regenerate.
2010-02-05 12:43:09 +00:00
Hui Zhu
d18b8b7a07
2010-02-05 Hui Zhu <teawater@gmail.com>
...
* defs.h (gdb_bfd_errmsg): New extern.
* exec.c (exec_file_attach): Change bfd_errmsg to
gdb_bfd_errmsg.
* utils.c (AMBIGUOUS_MESS1): New macro.
(AMBIGUOUS_MESS2): New macro.
(gdb_bfd_errmsg): New function.
2010-02-05 02:22:39 +00:00
Doug Kwan
6cfaf60bc2
2010-02-04 Doug Kwan <dougkwan@google.com>
...
PR 11247
* arm-reloc-property.cc (cstdio): Include.
* configure.ac (targetobjs): Remove duplicates.
* configure: Regenerate.
* resolve.cc (Symbol_table::resolve): Explicit instantiate both
big and little endian version for a given address size.
2010-02-05 00:30:35 +00:00
gdbadmin
34ed35c124
*** empty log message ***
2010-02-05 00:00:33 +00:00
Alan Modra
9bbe5442ed
daily update
2010-02-04 23:00:04 +00:00
Doug Evans
48379de60b
* solib-svr4.c (enable_break): Add comment.
2010-02-04 22:54:41 +00:00
Mike Frysinger
fd87baa91e
sim-model.c: Include sim-model.h
2010-02-04 22:52:42 +00:00
Mike Frysinger
294bcb78fe
sime-base.h: fix typos in STATE_CPU() examples
2010-02-04 22:52:03 +00:00
Anthony Green
4ee73e90d5
Fix prolog analyzer
2010-02-04 22:34:07 +00:00
Tom Tromey
1a334831c0
gdb
...
* valops.c (search_struct_field): Account for
value_embedded_offset. Fix check for virtual base past the end of
the object. Use value_copy when making a slice of the value.
gdb/testsuite
* gdb.cp/virtbase.exp: Make test case names unique.
2010-02-04 21:04:30 +00:00
Tom Tromey
6ac33a4e87
PR cli/8830:
...
* gdb.texinfo (Files): -readnow comes before the filename for file
and symbol-file.
2010-02-04 19:12:58 +00:00
H.J. Lu
1180b2c86e
Call tui_initialize_readline only if gdb_stdout is a tty.
...
2010-02-04 H.J. Lu <hongjiu.lu@intel.com>
PR tui/9622
* tui/tui-interp.c (tui_init): Call tui_initialize_readline
only if gdb_stdout is a tty.
2010-02-04 17:37:59 +00:00
H.J. Lu
c3f08eb780
Generate set_tdesc_osabi for valid OSABI.
...
2010-02-04 H.J. Lu <hongjiu.lu@intel.com>
* target-descriptions.c: Include "osabi.h".
(maint_print_c_tdesc_cmd): Generate set_tdesc_osabi for valid
OSABI.
2010-02-04 17:09:58 +00:00
DJ Delorie
fbe5da0e6f
merge from gcc
2010-02-04 17:08:54 +00:00
Tristan Gingold
2d33f7b84c
2010-02-04 Tristan Gingold <gingold@adacore.com>
...
* machoread.c (macho_add_oso): Renamed to macho_register_oso.
(macho_symtab_read): Adjust calls to macho_add_oso.
(macho_oso_symfile): Renamed to macho_symfile_read_all_oso.
(macho_symfile_read): Adjust call to macho_oso_symfile.
(macho_new_init): Move this function after declarations.
(macho_symfile_init): Ditto.
* darwin-nat-info.c (darwin_lib_gdb_ports): Remove.
* darwin-nat.c (darwin_lookup_task): Remove unused prototype.
2010-02-04 12:45:49 +00:00
Nick Clifton
4dfe6ac6fe
* elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add
...
entries for other architectures.
(struct elf_link_hash_table): Add hash_table_id field.
(elf_hash_table_id): New accessor macro.
* elflink.c (_bfd_elf_link_hash_table_init): Add target_id
parameter.
* elf-m10300.c (elf32_mn10300_hash_table): Check table id before
returning cast pointer.
(elf32_mn10300_link_hash_table_create): Identify new table as
containing MN10300 extensions.
(mn10300_elf_relax_section): Check pointer returned by
elf32_mn10300_hash_table.
* elf32-arm.c: Likewise, except using ARM extensions.
* elf32-avr.c: Likewise, except using AVR extensions.
* elf32-bfin.c: Likewise, except using BFIN extensions.
* elf32-cris.c: Likewise, except using CRIS extensions.
* elf32-frv.c: Likewise, except using FRV extensions.
* elf32-hppa.c: Likewise, except using HPPA32 extensions.
* elf32-i386.c: Likewise, except using I386 extensions.
* elf32-lm32.c: Likewise, except using LM32 extensions.
* elf32-m32r.c: Likewise, except using M32RM extensions.
* elf32-m68hc11.c: Likewise, except using M68HC11 extensions.
* elf32-m68hc1x.c: Likewise, except using M68HC11 extensions.
* elf32-m68hc1x.h: Likewise, except using M68HC11 extensions.
* elf32-m68k.c: Likewise, except using M68K extensions.
* elf32-microblaze.c: Likewise, except using MICROBLAZE extensions.
* elf32-ppc.c: Likewise, except using PPC32 extensions.
* elf32-s390.c: Likewise, except using S390 extensions.
* elf32-sh.c: Likewise, except using SH extensions.
* elf32-spu.c: Likewise, except using SPU extensions.
* elf32-xtensa.c: Likewise, except using XTENSA extensions.
* elf64-alpha.c: Likewise, except using ALPHA extensions.
* elf64-hppa.c: Likewise, except using HPPA64 extensions.
* elf64-ppc.c: Likewise, except using PPC64 extensions.
* elf64-s390.c: Likewise, except using S390 extensions.
* elf64-x86-64.c: Likewise, except using X86_64 extensions.
* elfxx-ia64.c: Likewise, except using IA64 extensions.
* elfxx-mips.c: Likewise, except using MIPS extensions.
* elfxx-sparc.c: Likewise, except using SPARC extensions.
* elfxx-sparc.h: Likewise, except using SPARC extensions.
* elf32-cr16.c (struct elf32_cr16_link_hash_table): Delete
redundant structure.
(elf32_cr16_hash_table): Delete unused macro.
(elf32_cr16_link_hash_traverse): Delete unused macro.
* elf32-score.c: Likewise.
* elf32-score7.c: Likewise.
* elf32-vax.c: Likewise.
* elf64-sh64.c: Likewise.
* emultempl/alphaelf.em: Update value expected from elf_object_id.
* emultempl/hppaelf.em: Likewise.
* emultempl/mipself.em: Likewise.
* emultempl/ppc32elf.em: Likewise.
* emultempl/ppc64elf.em: Likewise.
2010-02-04 09:16:43 +00:00
Vladimir Prus
11334b8260
Include MI command in remotelog.
...
* mi/mi-main.c (mi_execute_command): Call target_log_command.
2010-02-04 07:37:36 +00:00
Doug Kwan
5c57f1be7b
2010-02-03 Doug Kwan <dougkwan@google.com>
...
* arm-reloc-property.cc
(Arm_reloc_property_table::reloc_name_in_error_message): New method
definition.
* arm-reloc-property.h
(Arm_reloc_property_table::get_implemented_static_reloc_property):
New method definition.
(Arm_reloc_property_table::reloc_name_in_error_message): New method
declaration.
* arm-reloc.def (THM_MOVT_ABS, THM_MOVT_PREL, THM_MOVT_BREL): Change
overflow to N.
(GOT_PREL): Change implemented to Y.
* arm.cc (Target_arm::reloc_uses_thumb_bit): Remove method.
(Target_arm::Relocate::reloc_needs_sym_origin): Remove method.
(Arm_relocate_functions::movw_abs_nc): Remove method.
(Arm_relocate_functions::movt_abs): Ditto.
(Arm_relocate_functions::thm_movw_abs_nc): Ditto.
(Arm_relocate_functions::thm_movt_abs): Ditto.
(Arm_relocate_functions::movw_rel_nc): Ditto.
(Arm_relocate_functions::movw_rel): Ditto.
(Arm_relocate_functions::movt_rel): Ditto.
(Arm_relocate_functions:thm_movw_rel_nc): Ditto.
(Arm_relocate_functions:thm_movw_rel): Ditto.
(Arm_relocate_functions:thm_movt_rel): Ditto.
(Arm_relocate_functions::movw, Arm_relocate_functions::movt,
(Arm_relocate_functions::thm_movw, Arm_relocate_functions::thm_movt):
New method definitions.
(Arm_relocation_functions::arm_grp_alu): Add assertion for group index.
(Arm_relocation_functions::arm_grp_ldr): Ditto.
(Arm_relocation_functions::arm_grp_ldrs): Ditto.
(Arm_relocation_functions::arm_grp_ldc): Ditto.
(Target_arm::Relocate::relocate): Check for non-static or
unimplemented relocation code and exit early. Change calls to
Target_arm::reloc_uses_thumb_bit and
Target_arm::Reloc::reloc_needs_sym_origin to use relocation property
instead. Refactor code to handle similar relocations to increase
code sharing. Remove check for unsupported relocation code in switch
statement.
(Target_arm::Relocatable_size_for_reloc::get_size_for_reloc): Use
relocation property table to find out size. Change error message to
print out the name of a relocation code instead of the numeric value.
(Target_arm::scan_reloc_for_stub): Use relocation property table
instead of calling Target_arm::reloc_uses_thumb_bit().
2010-02-04 03:32:18 +00:00
gdbadmin
2876f0394e
*** empty log message ***
2010-02-04 00:00:03 +00:00
DJ Delorie
cbc4312826
merge from gcc
2010-02-03 23:28:01 +00:00
Alan Modra
23b8708286
daily update
2010-02-03 23:00:04 +00:00