Alan Modra
94df17f2c8
update copyright date
2010-01-11 09:43:08 +00:00
Alan Modra
a358ecb8a8
PR 6832
...
* dwarf2.c (struct comp_unit): Add sec_info_ptr.
(find_abstract_instance_name): Use it.
(parse_comp_unit): Set it.
2010-01-11 08:36:19 +00:00
Alan Modra
1181fbf413
daily update
2010-01-10 23:00:04 +00:00
Alan Modra
fca4b0aa55
daily update
2010-01-09 23:00:04 +00:00
Ralf Wildenhues
3725885a65
Sync Libtool from GCC.
...
/:
* libtool.m4: Sync from git Libtool.
* ltmain.sh: Likewise.
* ltoptions.m4: Likewise.
* ltversion.m4: Likewise.
* lt~obsolete.m4: Likewise.
sim/iq2000/:
* configure: Regenerate.
sim/d10v/:
* configure: Regenerate.
sim/m32r/:
* configure: Regenerate.
sim/frv/:
* configure: Regenerate.
sim/:
* avr/configure: Regenerate.
* cris/configure: Regenerate.
* microblaze/configure: Regenerate.
sim/h8300/:
* configure: Regenerate.
sim/mn10300/:
* configure: Regenerate.
sim/erc32/:
* configure: Regenerate.
sim/arm/:
* configure: Regenerate.
sim/m68hc11/:
* configure: Regenerate.
sim/lm32/:
* configure: Regenerate.
sim/sh64/:
* configure: Regenerate.
sim/v850/:
* configure: Regenerate.
sim/cr16/:
* configure: Regenerate.
sim/moxie/:
* configure: Regenerate.
sim/m32c/:
* configure: Regenerate.
sim/mips/:
* configure: Regenerate.
sim/mcore/:
* configure: Regenerate.
sim/sh/:
* configure: Regenerate.
gprof/:
* Makefile.in: Regenerate.
* configure: Regenerate.
opcodes/:
* Makefile.in: Regenerate.
* configure: Regenerate.
gas/:
* Makefile.in: Regenerate.
* configure: Regenerate.
* doc/Makefile.in: Regenerate.
ld/:
* configure: Regenerate.
gdb/testsuite/:
* gdb.cell/configure: Regenerate.
binutils/:
* Makefile.in: Regenerate.
* configure: Regenerate.
* doc/Makefile.in: Regenerate.
bfd/:
* Makefile.in: Regenerate.
* configure: Regenerate.
bfd/doc/:
* Makefile.in: Regenerate.
2010-01-09 21:11:44 +00:00
Alan Modra
ee882def94
daily update
2010-01-08 23:00:05 +00:00
Tristan Gingold
3ee87829b9
2010-01-08 Tristan Gingold <gingold@adacore.com>
...
* archive.c: Remove bfd_special_undocumented_glue.
2010-01-08 11:15:39 +00:00
Alan Modra
fb34365b48
PR ld/11133
...
* elf32-cr16.c (elf32_cr16_gc_mark_hook): Call _bfd_elf_gc_mark_hook.
* elf32-microblaze.c (microblaze_elf_gc_mark_hook): Likewise.
* elf64-ppc.c (ppc64_elf_gc_mark_hook): Likewise.
2010-01-08 05:55:10 +00:00
H.J. Lu
d023c380db
Fix PR ld/11138
...
bfd/
2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
PR ld/11138
* elflink.c (elf_link_check_versioned_symbol): Don't abort if
a symbol referenced by DSO is is defined in a non-shared object
and forced local.
ld/testsuite/
2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
PR ld/11138
* ld-elf/pr11138-1.c: New.
* ld-elf/pr11138-1.map: Likewise.
* ld-elf/pr11138-2.c: Likewise.
* ld-elf/pr11138-2.map: Likewise.
* ld-elf/pr11138.out: Likewise.
* ld-elf/shared.exp (build_tests): Add libpr11138-1.so and
libpr11138-2.o.
(run_tests): Add 2 tests for PR ld/11138.
2010-01-08 03:03:16 +00:00
H.J. Lu
bde6f3eb6d
Set SEC_KEEP on section XXX for undefined __start_XXX/__stop_XXX
...
bfd/
2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
PR ld/11133
* elflink.c (_bfd_elf_gc_mark_hook): Check section XXX for
undefined __start_XXX/__stop_XXX in all input files and set
SEC_KEEP.
ld/testsuite/
2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
PR ld/11133
* ld-gc/gc.exp: Run start.
* ld-gc/start.d: New.
* ld-gc/start.s: Likewise.
2010-01-08 01:43:23 +00:00
Alan Modra
bf694f4a09
daily update
2010-01-07 23:00:05 +00:00
H.J. Lu
16583161e1
Always keep SHT_NOTE sections
...
bfd/
2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
PR ld/11143
* elflink.c (elf_gc_sweep): Keep SHT_NOTE section.
ld/testsuite/
2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
PR ld/11143
* ld-gc/gc.exp: Run abi-note.
* ld-gc/abi-note.d: New.
* ld-gc/abi-note.s: Likewise.
2010-01-07 13:44:37 +00:00
Alan Modra
0d2a7b854e
daily update
2010-01-06 23:00:04 +00:00
Alan Modra
6bb39dc973
daily update
2010-01-05 23:00:05 +00:00
Daniel Gutson
16231b7b9d
2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
...
* bfd.m4 (BFD_HAVE_SYS_PROCFS_TYPE): Define _STRUCTURE_PROC
before including procfs.h.
(BFD_HAVE_SYS_PROCFS_TYPE_MEMBER): Likewise.
* configure.in: Added autoconf probe for the pr_fpreg member.
* configure: Regenerated.
* config.in: Regenerated.
* elf.c: Define _STRUCTURE_PROC before including procfs.h.
2010-01-05 00:40:07 +00:00
Alan Modra
878c79795e
daily update
2010-01-04 23:00:47 +00:00
Joel Brobecker
608fa8d35d
Fix -Wshadow warnings in dwarf2.c (seen on alpha-tru64).
...
* dwarf2.c (concat_filename): Rename dirname with dir_name
to void shadowing the dirname function.
Rename subdirname with subdir_name to stay consistent with
the new dir_name variable name.
2010-01-04 11:44:30 +00:00
Alan Modra
0dc9305793
bfd/
...
* archures.c: Add bfd_mach_ppc_e500mc64.
* bfd-in2.h: Regenerate.
* cpu-powerpc.c (bfd_powerpc_archs): Add entry for
bfd_mach_ppc_e500mc64.
gas/
* config/tc-ppc.c (md_show_usage): Document -me500mc64.
opcodes/
* ppc-dis.c (ppc_opts): Add entry for "e500mc64".
2010-01-04 02:32:56 +00:00
Alan Modra
e2f68deb23
daily update
2010-01-03 23:00:46 +00:00
Alan Modra
abdb4ee280
daily update
2010-01-02 23:00:40 +00:00
Alan Modra
9caa6a852f
daily update
2010-01-01 23:00:35 +00:00
H.J. Lu
43ecc30f09
Move 2009 binutils ChangeLog to ChangeLog-2009.
2010-01-01 18:06:10 +00:00
Joel Brobecker
baf9bed325
Fix -Wshadow warnings (seen on ppc-aix)
...
* xcofflink.c: Replace finfo by flinfo throughout.
2010-01-01 13:42:26 +00:00
Alan Modra
1ff51a0af0
daily update
2009-12-31 23:00:32 +00:00
Nick Clifton
0ee19663b7
* dwarf2.c (struct line_sequence): New struct.
...
(struct line_info_table): Add num_sequences, remove last_line,
add sequences.
(add_line_info): Add new sequences as necessary.
(compare_sequences): New function.
(sort_line_sequences): New function.
(decode_line_info): Initialize new fields in line table.
Call sort_line_sequences.
(lookup_address_in_line_info_table): Binary search for proper
sequence.
2009-12-31 14:10:29 +00:00
Alan Modra
33242c8f4c
daily update
2009-12-30 23:00:28 +00:00
Alan Modra
b1c2b04fde
daily update
2009-12-29 23:00:25 +00:00
Alan Modra
ae77ee9a7f
daily update
2009-12-28 23:00:21 +00:00
Daniel Gutson
4e67d4ca2a
bfd/
...
* elf32-arm.c (elf32_arm_final_link_relocate): limits
fixed.
ld/testsuite/
* ld-arm/arm-elf.exp (armelftests): New test case added.
* ld-arm/reloc-boundaries.s: New file.
* ld-arm/reloc-boundaries.d: New file.
2009-12-28 18:55:16 +00:00
Daniel Gutson
d8879994f7
2009-12-28 Daniel Gutson <dgutson@codesourcery.com>
...
* elf-attrs.c (_bfd_elf_merge_object_attributes): Error
message rephrased.
2009-12-28 18:37:30 +00:00
Alan Modra
350a9139c8
daily update
2009-12-27 23:00:18 +00:00
Alan Modra
1c9d13f7be
daily update
2009-12-26 23:00:15 +00:00
Alan Modra
a0c1076aa6
daily update
2009-12-25 23:00:11 +00:00
Alan Modra
758e465780
daily update
2009-12-23 23:00:04 +00:00
Alan Modra
a084315c57
daily update
2009-12-22 23:00:04 +00:00
Alan Modra
e16ce6084b
daily update
2009-12-21 23:00:04 +00:00
Alan Modra
32ca96409d
* elf64-ppc.c: Delete my email address.
2009-12-21 10:21:01 +00:00
Alan Modra
cc99a2f7d0
daily update
2009-12-20 23:00:04 +00:00
Alan Modra
bc2739a238
daily update
2009-12-19 23:00:04 +00:00
Alan Modra
2fec914494
daily update
2009-12-18 23:00:04 +00:00
Ulrich Weigand
0675e18865
include/elf/
...
* common.h (NT_S390_HIGH_GPRS): Define.
bfd/
* elf.c (elfcore_grok_s390_high_gprs): New function.
(elfcore_grok_note): Handle NT_S390_HIGH_GPRS notes.
(elfcore_write_s390_high_gprs): New function.
(elfcore_write_register_note): Call it.
binutils/
* readelf.c (get_note_type): Handle NT_S390_HIGH_GPRS notes.
2009-12-18 16:21:51 +00:00
Alan Modra
dde632d37b
daily update
2009-12-17 23:00:04 +00:00
Alan Modra
32af9f6e55
PR ld/11088
...
include/elf/
* ppc.h (R_PPC_RELAX32, R_PPC_RELAX32PC, R_PPC_RELAX32_PLT,
R_PPC_RELAX32PC_PLT): Delete.
(R_PPC_RELAX, R_PPC_RELAX_PLT, R_PPC_RELAX_PLTREL24): Define.
bfd/
* elf32-ppc.c (update_plt_info): Clear sec here when addend is
less than 32768..
(ppc_elf_check_relocs): ..rather than doing so here. Ignore new
relax relocs.
(ppc_elf_gc_sweep_hook): Don't segfault when symbol hiding has
removed plt_entry records.
(ppc_elf_tls_setup): Handle PIE calls to __tls_get_addr correctly.
(ppc_elf_tls_optimize): Likewise. Also dec __tls_get_addr refcount
when optimizing code using new tlsgd and tlsld marker relocs.
(ppc_elf_relax_section): Differentiate relaxed PLTREL24 relocs
from ADDR24 relocs using plt or glink. Don't clear the addend
for R_PPC_RELAX_PLTREL24.
(ppc_elf_relocate_section): Correctly handle addends on relaxed
PLTREL24 relocs.
2009-12-17 05:45:25 +00:00
Alan Modra
7c6c17221f
PR ld/11088
...
* elf64-ppc.c (ppc64_elf_gc_sweep_hook): Don't abort if symbol
hiding has nulled out plt.plist.
2009-12-17 00:07:38 +00:00
Alan Modra
21f8908e38
daily update
2009-12-16 23:00:04 +00:00
Alan Modra
7a6b0d8a40
daily update
2009-12-15 23:00:04 +00:00
H.J. Lu
662e470186
2009-12-15 H.J. Lu <hongjiu.lu@intel.com>
...
* opncls.c (bfd_opnr_iovec): Replace _XXX with XXX_P in
parameters.
* tekhex.c (pass_over): Replace eof with is_eof.
2009-12-15 16:59:20 +00:00
Tristan Gingold
7f7828f676
2009-12-15 Tristan Gingold <gingold@adacore.com>
...
* mach-o.h (bfd_mach_o_uuid_command): Remove section field.
* mach-o.c (bfd_mach_o_scan_read_uuid): Do not create a section
from this command.
2009-12-15 09:50:15 +00:00
Tristan Gingold
8462aec76d
2009-12-15 Tristan Gingold <gingold@adacore.com>
...
* mach-o.c (struct mach_o_section_name_xlat): Add flags field.
(dwarf_section_names_xlat): Add section flags.
(text_section_names_xlat): Ditto.
(data_section_names_xlat): Ditto.
(bfd_mach_o_convert_section_name_to_bfd): Now return name and section
flags by reference.
(bfd_mach_o_make_bfd_section): Use section flags when know, otherwise
try to guess.
2009-12-15 09:28:28 +00:00
Doug Kwan
e7f8eadb78
2009-12-14 Doug Kwan <dougkwan@google.com>
...
bfd/ChangeLog:
* opncls.c (bfd_opnr_iovec): Rename parameters to avoid shawdowed
variable warnings.
* bfd-in2.h: Regnenerate.
include/ChangeLog:
* bfdlink.h (struct bfd_link_callbacks): Rename function parameters
to avoid shadowed variable warnings.
* dis-asm.h (struct disassemble_info): Ditto.
(disassemble_init_for_target): Ditto.
(init_disassemble_info): Ditto.
2009-12-15 02:02:39 +00:00
Alan Modra
1cfee9d708
daily update
2009-12-14 23:00:04 +00:00
Alan Modra
f04390b747
daily update
2009-12-13 23:00:04 +00:00
Nick Clifton
9e9b49abd8
* coff-arm.c (coff_arm_rtype_to_howto): Fix shadowed variable
...
warning.
2009-12-12 10:07:53 +00:00
Alan Modra
06752b3bd2
daily update
2009-12-11 23:00:04 +00:00
Tristan Gingold
f664f61842
2009-12-11 Tristan Gingold <gingold@adacore.com>
...
* som.c (bfd_som_set_subsection_attributes)
(bfd_section_from_som_symbol, som_reloc_queue_fix): Fix shadowed
variable warnings.
* cache.c (close_one): Likewise.
2009-12-11 15:42:38 +00:00
Nick Clifton
91d6fa6a03
Add -Wshadow to the gcc command line options used when compiling the binutils.
...
Fix up all warnings generated by the addition of this switch.
2009-12-11 13:42:17 +00:00
Alan Modra
1d33c73c0d
daily update
2009-12-10 23:00:05 +00:00
Maciej W. Rozycki
e7e2196da3
bfd/
...
* elfxx-mips.c (mips_elf_calculate_relocation): Correct handling
of undefined symbols.
ld/testsuite/
* ld-mips-elf/undefined.d: New test.
* ld-mips-elf/undefined.s: Source for the new test.
* ld-mips-elf/mips-elf.exp: Run the new test.
2009-12-10 14:20:04 +00:00
Alan Modra
a16ac506e4
daily update
2009-12-09 23:00:04 +00:00
Daniel Jacobowitz
a747059210
bfd/
...
* elf32-arm.c (elf32_arm_next_input_section): Skip sections without
SEC_CODE.
ld/testsuite/
* ld-arm/arm-elf.exp (armeabitests): Add farcall-data.
* ld-arm/farcall-data.d, ld-arm/farcall-data.s: New.
* lib/ld-lib.exp (run_ld_link_tests, run_cc_link_tests): Correct
regular expression for archives.
2009-12-09 21:42:00 +00:00
Alan Modra
f1b1fcd149
daily update
2009-12-08 23:00:04 +00:00
Alan Modra
3281215912
* elf.c (write_zeros): New function.
...
(assign_file_positions_for_load_sections): Allocate file space for
NOBITS sections that are followed by PROGBITS sections in a segment.
2009-12-08 03:43:23 +00:00
Alan Modra
03722bbc8c
daily update
2009-12-07 23:00:04 +00:00
Alan Modra
8875744070
daily update
2009-12-06 23:00:05 +00:00
Alan Modra
8f7447a22c
daily update
2009-12-05 23:00:04 +00:00
Alan Modra
1df7a8d997
daily update
2009-12-04 23:00:04 +00:00
Alan Modra
6bfd70b9fd
daily update
2009-12-03 23:00:04 +00:00
Tristan Gingold
ef17cb22d0
2009-12-03 Tristan Gingold <gingold@adacore.com>
...
* mach-o.c (bfd_mach_o_make_bfd_section): Force debug flags for
all sections of the __DWARF segment.
2009-12-03 14:14:03 +00:00
Alan Modra
f58d5a2ddf
PR ld/11047
...
* elf32-ppc.c (ppc_elf_relocate_section): Delete __tls_get_addr
symbol reference from relocs belonging to calls that are
optimized away.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
2009-12-03 08:31:29 +00:00
Alan Modra
49b53cf227
daily update
2009-12-02 23:00:04 +00:00
Nick Clifton
e05da72d4d
PR binutils/11017
...
* dlltool.c (PAGE_SIZE): Delete.
(PAGE_MASK): Provide default definition based on COFF_PAGE_SIZE.
Check for DLLTOOL_DEFAULT_MX86_64 and DLLTOOL_DEFAULT_I386.
* coff-i386.h (COFF_PAGE_SIZE): Definition moved to coff/i386.h
* i386lh (COFF_PAGE_SIZE): Define.
* x86_64.h (COFF_PAGE_SIZE): Define.
2009-12-02 14:04:17 +00:00
Alan Modra
a54eb75037
daily update
2009-12-01 23:00:04 +00:00
Alan Modra
c9c02ec317
daily update
2009-11-30 23:00:04 +00:00
Joseph Myers
3388710e18
config:
...
* largefile.m4 (ACX_LARGEFILE): Require AC_CANONICAL_HOST and
AC_CANONICAL_TARGET.
bfd:
* configure: Regenerate.
binutils:
* configure: Regenerate.
gas:
* configure: Regenerate.
gdb:
* configure: Regenerate.
gprof:
* configure: Regenerate.
ld:
* configure: Regenerate.
2009-11-30 16:46:47 +00:00
Alan Modra
a22fe0ab3c
daily update
2009-11-29 23:00:04 +00:00
Alan Modra
7660167dd0
daily update
2009-11-28 23:00:05 +00:00
Alan Modra
5525cf3796
daily update
2009-11-27 23:00:04 +00:00
H.J. Lu
69a630b529
2009-11-26 Per Øyvind Karlsen <peroyvind@mandriva.org>
...
* plugin.c (bfd_plugin_bfd_copy_link_hash_symbol_type): Define.
2009-11-27 01:47:03 +00:00
Alan Modra
6cecd685be
daily update
2009-11-26 23:00:05 +00:00
Alan Modra
f570363e81
daily update
2009-11-25 23:00:05 +00:00
Alan Modra
6cb9a8ed8f
daily update
2009-11-24 23:00:04 +00:00
Joel Brobecker
bf993e3c21
* acinclude.m4: Add include of ../config/zlib.m4.
...
* configure.in: AM_ZLIB to check for zlib support.
* configure: Regenerate.
2009-11-24 22:47:20 +00:00
Tristan Gingold
e4d2e6658e
2009-11-24 Tristan Gingold <gingold@adacore.com>
...
* vms-hdr.c (_bfd_vms_write_hdr): Strip any suffix to create module
name.
* vms.h (vms_debug2): Add vms_debug2.
* vms.c (vms_archive_p): Remove
(vms_bfd_free_cached_info): Remove the function, use libbfd.h macro
instead.
(vms_get_section_contents_in_window): Ditto.
(vms_bfd_copy_private_bfd_data): Ditto.
(vms_bfd_copy_private_section_data): Ditto.
(vms_bfd_copy_private_symbol_data): Ditto.
(vms_bfd_print_private_bfd_data): Ditto.
(vms_bfd_set_private_flags): Ditto.
(vms_bfd_merge_private_bfd_data): Ditto.
(vms_read_minisymbols): Ditto.
(vms_minisymbol_to_symbol): Ditto.
(vms_get_lineno): Ditto.
(vms_find_nearest_line): Ditto.
(vms_bfd_make_debug_symbol): Ditto.
(vms_core_file_failing_command): Remove.
(vms_core_file_failing_signal): Remove.
(vms_core_file_matches_executable_p): Remove.
(vms_slurp_armap): Remove.
(vms_slurp_extended_name_table): Remove.
(vms_construct_extended_name_table): Remove.
(vms_truncate_arname): Remove.
(vms_write_armap): Remove.
(vms_read_ar_hdr): Remove.
(vms_get_elt_at_index): Remove.
(vms_openr_next_archived_file): Remove.
(vms_update_armap_timestamp): Remove.
(vms_generic_stat_arch_elt): Remove.
(vms_get_symtab_upper_bound): Remove.
(vms_sizeof_headers): Remove.
(vms_bfd_get_relocated_section_contents): Remove.
(vms_bfd_relax_section): Remove.
(vms_bfd_gc_sections): Remove.
(vms_bfd_merge_sections): Remove.
(vms_bfd_link_hash_table_create): Remove.
(vms_bfd_link_hash_table_free): Remove.
(vms_bfd_link_add_symbols): Remove.
(vms_bfd_final_link): Remove.
(vms_bfd_link_split_section): Remove.
(vms_get_dynamic_symtab_upper_bound): Remove.
(vms_canonicalize_dynamic_symtab): Remove.
(vms_get_dynamic_reloc_upper_bound): Remove.
(vms_canonicalize_dynamic_reloc): Remove.
(fill_section_ptr): Use vms_debug2 instead of vms_debug.
(_bfd_vms_slurp_object_records): Ditto.
(vms_object_p): Ditto.
(vms_mkobject): Ditto.
(vms_write_object_contents): Ditto.
(vms_close_and_cleanup): Ditto.
(vms_new_section_hook): Ditto.
(vms_get_section_contents): Ditto.
(vms_get_symtab_upper_bound): Ditto.
(vms_canonicalize_symtab): Ditto.
(vms_print_symbol): Ditto.
(vms_get_symbol_info): Ditto.
(vms_bfd_is_local_label_name): Ditto.
(vms_find_nearest_line): Ditto.
(vms_slurp_reloc_table): Ditto.
(vms_bfd_reloc_type_lookup): Ditto.
(vms_set_arch_mach): Ditto.
(vms_alpha_vec, vms_vax_vec): Use _bfd_nocore, _bfd_noarchive,
_bfd_nolink and _bfd_nodynamic methods instead of vms stubs.
2009-11-24 13:13:43 +00:00
Paul Brook
1338dd10ef
2009-11-23 Paul Brook <paul@codesourcery.com>
...
ld/
* ldexp.c: Copy symbol type for simple assignments.
bfd/
* libbfd-in.h (_bfd_generic_copy_link_hash_symbol_type): Add
prototype.
* elf-bfd.h (_bfd_elf_copy_link_hash_symbol_type): Add prototype.
* linker.c (_bfd_generic_copy_link_hash_symbol_type): New function.
* elflink.c (_bfd_elf_copy_link_hash_symbol_type): New function.
* targets.c (BFD_JUMP_TABLE_LINK, struct bfd_target): Add
_copy_link_hash_symbol_type.
* bfd/coff64-rs6000.c (rs6000coff64_vec, aix5coff64_vec): Add
_bfd_generic_copy_link_hash_symbol_type.
* bfd/coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Add
_bfd_generic_copy_link_hash_symbol_type.
* aout-adobe.c (aout_32_bfd_copy_link_hash_symbol_type): Define.
* aout-target.h (MY_bfd_copy_link_hash_symbol_type): Define.
* aout-tic30.c (MY_bfd_copy_link_hash_symbol_type): Define.
* binary.c (binary_bfd_copy_link_hash_symbol_type): Define.
* bout.c (b_out_bfd_copy_link_hash_symbol_type): Define.
* coffcode.h (coff_bfd_copy_link_hash_symbol_type): Define.
* elfxx-target.h (bfd_elfNN_bfd_copy_link_hash_symbol_type): Define.
* i386msdos.c (msdos_bfd_copy_link_hash_symbol_type): Define.
* i386os9k.c (os9k_bfd_copy_link_hash_symbol_type): Define.
* ieee.c (ieee_bfd_copy_link_hash_symbol_type): Define.
* ihex.c (ihex_bfd_copy_link_hash_symbol_type): Define.
* libecoff.h (_bfd_ecoff_bfd_copy_link_hash_symbol_type): Define.
* mach-o.c (bfd_mach_o_bfd_copy_link_hash_symbol_type): Define.
* mmo.c (mmo_bfd_copy_link_hash_symbol_type): Define.
* nlm-target.h (nlm_bfd_copy_link_hash_symbol_type): Define.
* oasys.c (oasys_bfd_copy_link_hash_symbol_type): Define.
* pef.c (bfd_pef_bfd_copy_link_hash_symbol_type): Define.
* ppcboot.c (ppcboot_bfd_copy_link_hash_symbol_type): Define.
* som.c (som_bfd_copy_link_hash_symbol_type): Define.
* srec.c (srec_bfd_copy_link_hash_symbol_type): Define.
* tekhex.c (tekhex_bfd_copy_link_hash_symbol_type): Define.
* versados.c (versados_bfd_copy_link_hash_symbol_type): Define.
* vms.c (vms_bfd_copy_link_hash_symbol_type): Define.
* xsym.c (bfd_sym_bfd_copy_link_hash_symbol_type): Define.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
ld/testsuite
* ld-arm/script-type.sym: New test.
* ld-arm/script-type.s: New test.
* ld-arm/script-type.s: New test.
2009-11-23 14:41:33 +00:00
Alan Modra
0bae19b9f4
daily update
2009-11-22 23:00:04 +00:00
Alan Modra
d5f1459580
daily update
2009-11-21 23:00:05 +00:00
Alan Modra
4b6775d10d
daily update
2009-11-20 23:00:04 +00:00
Alan Modra
37cfb82003
daily update
2009-11-19 23:00:05 +00:00
Tristan Gingold
ac96f0c73d
2009-11-19 Tristan Gingold <gingold@adacore.com>
...
* coff-rs6000.c (rs6000coff_vec): Use generic routines instead of
hard-coded casts.
(pmac_xcoff_vec): Ditto.
* coff64-rs6000.c (rs6000coff64_vec): Ditto.
(aix5coff64_vec): Ditto.
2009-11-19 10:06:03 +00:00
Alan Modra
6a6ff7e229
daily update
2009-11-18 23:00:05 +00:00
Alan Modra
2d0f389600
bfd/
...
* bfd-in.h (_bfd_elf_ppc_at_tls_transform): Declare.
* bfd-in2.h: Regenerate.
* elf64-ppc.c (ppc64_elf_relocate_section): Move code for R_PPC64_TLS
insn optimisation to..
* elf32-ppc.c (_bfd_elf_ppc_at_tls_transform): ..here. New function.
(ppc_elf_relocate_section): Use it.
gas/
* config/tc-ppc.c (md_assemble): Report error on invalid @tls operands
and opcode.
2009-11-18 12:42:52 +00:00
Alan Modra
8cddccd3f1
* targets.c: Don't include alloca-conf.h.
...
(bfd_get_target_info): Don't use alloca.
2009-11-18 12:14:00 +00:00
Alan Modra
74742f54b6
daily update
2009-11-17 23:00:05 +00:00
H.J. Lu
f4dcf782ad
2009-11-17 H.J. Lu <hongjiu.lu@intel.com>
...
PR ld/10955
* elfxx-ia64.c (elfNN_ia64_update_short_info): Also skip ABS
sections.
2009-11-17 22:31:40 +00:00
H.J. Lu
affb4bf37a
2009-11-17 H.J. Lu <hongjiu.lu@intel.com>
...
PR ld/10955
* elfxx-ia64.c (elfNN_ia64_link_hash_table): Update comments.
(elfNN_ia64_update_short_info): Remove "->output_section" from
ia64_info->max_short_sec and ia64_info->min_short_sec.
(elfNN_ia64_choose_gp): Likewise.
(elfNN_ia64_relax_section): Pass tsec->output_section to
elfNN_ia64_update_short_info.
2009-11-17 20:57:21 +00:00
H.J. Lu
a231ddc0b3
2009-11-17 H.J. Lu <hongjiu.lu@intel.com>
...
PR ld/10955
* elfxx-ia64.c (elfNN_ia64_link_hash_table): Add max_short_sec,
max_short_offset, min_short_sec and min_short_offset.
(elfNN_ia64_update_short_info): New.
(elfNN_ia64_relax_section): Update max_short_sec,
max_short_offset, min_short_sec and min_short_offset.
(elfNN_ia64_choose_gp): Use min_short_sec/max_short_sec if
they are set.
2009-11-17 19:21:53 +00:00
Paul Brook
9e3c6df664
2009-11-17 Paul Brook <paul@codesourcery.com>
...
Daniel Jacobowitz <dan@codesourcery.com>
gas/
* doc/c-arm.texi: Document .arch armv7e-m.
* config/tc-arm.c (arm_ext_v6_dsp, arm_ext_v7m): New.
(insns): Put Thumb versions of v5TExP instructions into
arm_ext_v5exp also. Move some Thumb variants from
arm_ext_v6_notm to arm_ext_v6_dsp.
(arm_archs): Add armv7e-m architecture.
(aeabi_set_public_attributes): Handle -march=armv7e-m.
gas/testsuite/
* gas/arm/attr-march-armv7em.d: New test.
* gas/arm/arch7em-bad.d: New test.
* gas/arm/arch7em-bad.l: New test.
* gas/arm/arch7em.d: New test.
* gas/arm/arch7em.s: New test.
include/elf/
* arm.h (TAG_CPU_ARCH_V7E_M): Define.
include/opcode/
* arm.h (ARM_EXT_V6_DSP): Define.
(ARM_AEXT_V6T2, ARM_AEXT_NOTM): Include ARM_EXT_V6_DSP.
(ARM_AEXT_V7EM, ARM_ARCH_V7EM): Define.
binutils/
* readelf.c (arm_attr_tag_CPU_arch): Add v7E-M.
bfd/
* elf32-arm.c (using_thumb_only, arch_has_arm_nop,
arch_has_thumb2_nop): Handle TAG_CPU_ARCH_V7E_M.
(tag_cpu_arch_combine): Ditto. Correct MAX_TAG_CPU_ARCH test.
2009-11-17 16:31:56 +00:00
Ulrich Weigand
2a516af65e
* elf32-spu.c (struct spu_link_hash_table): Remove overlay_fixed,
...
reserved, and extra_stack_space members.
(spu_elf_auto_overlay): Use auto_overlay_fixed, auto_overlay_reserved,
and extra_stack_space members of htab->params instead.
2009-11-17 13:37:01 +00:00
Tristan Gingold
310092bdd7
2009-11-17 Tristan Gingold <gingold@adacore.com>
...
* targets.c: Include alloca-conf.h
2009-11-17 10:54:20 +00:00
Alan Modra
0de9ad4b58
daily update
2009-11-16 23:00:04 +00:00