1 |
2002-07-17 H.J. Lu <hjl@gnu.org> |
2005-05-02 Daniel Jacobowitz <dan@codesourcery.com> |
2 |
|
|
3 |
* Makefile.am: Fix a typo. |
* Makefile.am: Set RELEASE. |
4 |
* Makefile.in: Regenerate. |
* configure.in: Bump version to 2.16.1. |
5 |
|
* Makefile.in, configure: Regenerated. |
6 |
|
|
7 |
|
2005-06-06 Alan Modra <amodra@bigpond.net.au> |
8 |
|
|
9 |
|
* elf64-pcc.c (ppc64_elf_gc_mark_hook): For the local sym in .opd |
10 |
|
case, include addend when indexing .opd section map. |
11 |
|
(ppc64_elf_edit_opd): Add no_opd_opt param. Do nothing besides |
12 |
|
clear opd_adjust array if no_opd_opt set. Tidy code. |
13 |
|
Ignore zero size .opd. Check bfd_alloc return value. |
14 |
|
(ppc_stub_name): Return immediately on bfd_malloc fail. |
15 |
|
* elf64-ppc.h (ppc64_elf_edit_opd): Update prototype. |
16 |
|
|
17 |
|
2005-06-03 Alan Modra <amodra@bigpond.net.au> |
18 |
|
|
19 |
|
PR 568 |
20 |
|
* elf32-i386.c (elf_i386_relocate_section): Handle zero symndx |
21 |
|
for all reloc types. |
22 |
|
|
23 |
|
Apply from mainline: |
24 |
|
2005-05-12 H.J. Lu <hongjiu.lu@intel.com> |
25 |
|
* elf32-i386.c (elf_i386_relocate_section): Allow R_386_GOTOFF |
26 |
|
against protected function when building executable. |
27 |
|
|
28 |
|
2005-06-03 Alan Modra <amodra@bigpond.net.au> |
29 |
|
|
30 |
|
* elf64-ppc.c (add_symbol_adjust): Set sym visibility to most |
31 |
|
restrictive of func code and func descr for undefined syms as well |
32 |
|
as defined. |
33 |
|
|
34 |
|
2005-05-29 Daniel Jacobowitz <dan@codesourcery.com> |
35 |
|
|
36 |
|
Backport from mainline: |
37 |
|
2005-05-29 Jakub Jelinek <jakub@redhat.com> |
38 |
|
* elfcode.h (elf_object_p): Fail if e_shoff != 0, e_shnum == 0 and |
39 |
|
first shdr has sh_size == 0. Fail if e_shnum is large to cause |
40 |
|
arithmetic overflow when allocating the i_shdr array. |
41 |
|
Sanity check sh_link and sh_info fields. Fix e_shstrndx sanity check. |
42 |
|
|
43 |
|
2005-05-18 H.J. Lu <hongjiu.lu@intel.com> |
44 |
|
* elf.c (group_signature): Undo the last change. Check if the |
45 |
|
symbol table section is correct. |
46 |
|
|
47 |
|
2005-05-17 Nick Clifton <nickc@redhat.com> |
48 |
|
* elf.c (group_signature): Check for a group section which is |
49 |
|
actually a (corrupt) symbol table section in disguise and prevent |
50 |
|
an infinite loop from occurring. |
51 |
|
|
52 |
2002-07-15 Denis Chertykov <denisc@overta.ru> |
2005-05-17 Tavis Ormandy <taviso@gentoo.org> |
53 |
Frank Ch. Eigler <fche@redhat.com> |
* elf.c (bfd_section_from_shdr): Add sanity check when parsing |
54 |
Ben Elliston <bje@redhat.com> |
dynamic sections. |
|
Alan Lehotsky <alehotsky@cygnus.com> |
|
|
John Healy <jhealy@redhat.com> |
|
|
Graham Stott <grahams@redhat.com> |
|
|
Jeff Johnston <jjohnstn@redhat.com> |
|
55 |
|
|
56 |
* Makefile.am: Add support for ip2k. |
2005-05-09 Alan Modra <amodra@bigpond.net.au> |
57 |
* Makefile.in: Regenerate. |
* elfcode.h (elf_object_p): Add more sanity checks on elf header. |
|
* doc/Makefile.in: Regenerate. |
|
|
* archures.c: Add support for ip2k. |
|
|
* config.bfd: Add support for ip2k. |
|
|
* configure.in: Add support for ip2k. |
|
|
* configure: Regenerate. |
|
|
* reloc.c: Add support for ip2k. |
|
|
* targets.c: Add support for ip2k. |
|
|
* bfd-in2.h: Regenerate. |
|
|
* libbfd.h: Regenerate. |
|
|
* cpu-ip2k.c: New file. |
|
|
* elf32-ip2k.c: New file. |
|
58 |
|
|
59 |
2002-07-17 Ian Rickards <irickard@arm.com> |
2005-05-28 David Daney <ddaney@avtrex.com> |
60 |
|
|
61 |
* dwarf2.c (concat_filename): If we can't establish the directory |
* elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Move |
62 |
just return the filename. |
calculation of DT_RELSZ to occur after all dynamic relocations |
63 |
|
are created. |
64 |
|
|
65 |
|
2005-05-26 Mark Kettenis <kettenis@gnu.org> |
66 |
|
Maciej W. Rozycki <macro@linux-mips.org> |
67 |
|
|
68 |
|
* elfxx-mips.c (_bfd_mips_elf_section_processing): Warn and |
69 |
|
stop processing of options if one of invalid size is |
70 |
|
encountered. |
71 |
|
(_bfd_mips_elf_section_from_shdr): Likewise. |
72 |
|
(_bfd_mips_elf_fake_sections): Reset the type of empty special |
73 |
|
sections. |
74 |
|
|
75 |
2002-07-16 Moritz Jodeit <moritz@jodeit.org> |
2005-05-22 Richard Henderson <rth@redhat.com> |
76 |
|
|
77 |
* peXXigen.c (_bfd_XXi_swap_aouthdr_out): Correct order of memset args. |
* elf64-alpha.c (elf64_alpha_relax_section): Ignore non-allocated |
78 |
|
sections. |
79 |
|
(elf64_alpha_check_relocs): Likewise. |
80 |
|
(elf64_alpha_relocate_section): Don't emit dynamic relocations to |
81 |
|
non-allocated sections. |
82 |
|
|
83 |
2002-07-16 Alan Modra <amodra@bigpond.net.au> |
2005-05-22 Richard Henderson <rth@redhat.com> |
84 |
|
|
85 |
* elflink.h: Formatting fixes, tidy prototypes. |
* elf64-alpha.c (elf64_alpha_relax_with_lituse): Relax jsr to |
86 |
(elf_link_assign_sym_version): Move common code out of loop. |
undefweak to use zero register. Call elf64_alpha_relax_got_load |
87 |
|
if not all uses removed. |
88 |
|
(elf64_alpha_relax_got_load): Relax undefweak to lda zero. |
89 |
|
(elf64_alpha_relax_section): Handle undefweak symbols. |
90 |
|
(elf64_alpha_calc_dynrel_sizes): Don't add relocs for undefweak. |
91 |
|
(elf64_alpha_size_rela_got_1): Likewise. |
92 |
|
(elf64_alpha_relocate_section): Likewise. |
93 |
|
|
94 |
2002-07-16 Alan Modra <amodra@bigpond.net.au> |
2005-05-22 Richard Henderson <rth@redhat.com> |
95 |
|
|
96 |
* elflink.h (elf_link_input_bfd): Don't call reloc_emitter when |
* elf64-alpha.c (elf64_alpha_relax_section): Only operate |
97 |
reloc section size is zero. Correct reloc output location. |
on SEC_CODE sections. |
98 |
|
|
99 |
2002-07-16 John David Anglin <dave@hiauly1.hia.nrc.ca> |
2005-05-13 Bob Wilson <bob.wilson@acm.org> |
100 |
|
|
101 |
* elf-hppa.h (elf_hppa_reloc_final_type): Use R_PARISC_PCREL16F as |
* elf32-xtensa.c (xtensa_get_property_section_name): Add missing |
102 |
the final type for the e_fsel selector when generating PA2.0W code. |
periods in linkonce_kind values. |
|
(elf_hppa_relocate_insn): Provide support for PA2.0W 16-bit format 1 |
|
|
relocations. |
|
103 |
|
|
104 |
2002-07-14 H.J. Lu <hjl@gnu.org> |
2005-05-10 Alan Modra <amodra@bigpond.net.au> |
105 |
|
|
106 |
* elflink.h (elf_link_assign_sym_version): Hide the default |
Apply from mainline. |
107 |
definition if there is a hidden versioned definition. |
2005-05-09 Alan Modra <amodra@bigpond.net.au> |
108 |
|
* elf64-ppc.c (struct ppc64_elf_obj_tdata): Add has_dotsym. |
109 |
|
(ppc64_elf_add_symbol_hook): Set has_dotsym. |
110 |
|
(ppc64_elf_check_directives): Only process syms when has_dotsym. |
111 |
|
(func_desc_adjust): Hide fake function descriptors when function |
112 |
|
code entry is defined. |
113 |
|
(adjust_opd_syms): Adjust for deleted_section becoming union field. |
114 |
|
|
115 |
2002-07-12 Hans-Peter Nilsson <hp@axis.com> |
2005-04-05 Alan Modra <amodra@bigpond.net.au> |
116 |
|
* elf64-ppc.c (dec_dynrel_count): New function split out from |
117 |
|
ppc64_elf_edit_toc, with additional code from ppc64_elf_edit_opd. |
118 |
|
(ppc64_elf_edit_toc, ppc64_elf_edit_opd): Use it. |
119 |
|
(ppc64_elf_tls_optimize): Likewise. |
120 |
|
|
121 |
* elf32-cris.c (cris_elf_relocate_section): Drop nonsensical |
2005-04-01 Alan Modra <amodra@bigpond.net.au> |
122 |
dynamic reference test in assertion when initializing GOT with |
* elf64-ppc.c (ppc64_elf_edit_toc): Account for dynamic relocs |
123 |
static contents. Just assert that there are either no dynamic |
that we no longer need. |
|
sections, the symbol is defined in the regular objects or that the |
|
|
symbol is undef weak. Tweak comment. |
|
|
(elf_cris_finish_dynamic_symbol): Emit .got reloc for a program |
|
|
only if the symbol isn't defined in the program and isn't undef |
|
|
weak. |
|
|
(elf_cris_adjust_dynamic_symbol): Simplify condition for getting |
|
|
rid of PLT entry: only do it if the symbol isn't defined in a DSO. |
|
|
When doing so, clear ELF_LINK_HASH_NEEDS_PLT. Tweak comments. |
|
|
(elf_cris_discard_excess_program_dynamics): Don't consider |
|
|
ELF_LINK_HASH_REF_DYNAMIC when omitting .got runtime relocs. |
|
124 |
|
|
125 |
2002-07-11 Alan Modra <amodra@bigpond.net.au> |
2005-05-02 Daniel Jacobowitz <dan@codesourcery.com> |
126 |
|
|
127 |
* elf32-i386.c (elf_i386_relocate_section): Don't complain about |
* Makefile.am: Clear RELEASE. |
128 |
unresolved debugging relocs in dynamic applications. |
* Makefile.in: Regenerated. |
|
* elf32-s390.c (elf_s390_relocate_section): Likewise. |
|
|
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise. |
|
|
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise. |
|
|
* elf64-s390.c (elf_s390_relocate_section): Likewise. |
|
|
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise. |
|
|
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. |
|
129 |
|
|
130 |
2002-07-10 Alan Modra <amodra@bigpond.net.au> |
2005-05-02 Daniel Jacobowitz <dan@codesourcery.com> |
131 |
|
|
132 |
* elf64-ppc.c (ONES): Define. |
* Makefile.am: Set RELEASE. |
133 |
(ppc64_elf_howto_table): Use ONES here to avoid warnings. Fill in |
* configure.in: Bump version to 2.16. |
134 |
missing src_mask fields. Tweak R_PPC64_NONE, R_PPC64_COPY. Fill |
* Makefile.in, configure: Regenerated. |
|
in missing dst_mask fields on R_PPC64_PLT32, R_PPC64_PLTREL32. |
|
|
|
|
|
* elf64-ppc.c (ppc64_elf_get_symbol_info): Delete. |
|
|
(ppc64_elf_set_private_flags): Delete. |
|
|
(ppc64_elf_section_from_shdr): Delete. |
|
|
(ppc64_elf_merge_private_bfd_data): Remove flag checking/merging code. |
|
|
(ppc64_elf_fake_sections): Delete. |
|
|
(bfd_elf64_bfd_set_private_flags): Don't define. |
|
|
(bfd_elf64_get_symbol_info): Likewise. |
|
|
(elf_backend_section_from_shdr): Likewise. |
|
|
(elf_backend_fake_sections): Likewise. |
|
|
|
|
|
2002-07-10 Marco Walther <Marco.Walther@sun.com> |
|
|
|
|
|
* elf.c: (assign_section_numbers) Set sh_entsize for .stab only |
|
|
when not already set. |
|
|
* elf64-sparc.c: (sparc64_elf_fake_sections): New function. |
|
|
(elf_backend_fake_sections): Define. |
|
|
|
|
|
2002-07-10 Alan Modra <amodra@bigpond.net.au> |
|
|
|
|
|
* merge.c (_bfd_merge_section): Remove redundant output_section check. |
|
|
Formatting. |
|
|
(_bfd_merge_sections): Don't set SEC_EXCLUDE on unused sections. |
|
|
|
|
|
2002-07-09 Hans-Peter Nilsson <hp@axis.com> |
|
|
|
|
|
* elf32-cris.c (cris_elf_relocate_section): Move sanity-check for |
|
|
NULL sym_hashes to just before use. |
|
|
<case R_CRIS_32_GOTREL>: In test for local symbol, accept also |
|
|
symbol with non-default visibility. |
|
|
<case R_CRIS_32_GOTREL, case R_CRIS_32_PLT_GOTREL>: Ditto. |
|
|
<case R_CRIS_8_PCREL, case R_CRIS_16_PCREL, case R_CRIS_32_PCREL>: |
|
|
Ditto. |
|
|
(cris_elf_gc_sweep_hook): Only decrease h->plt.refcount for |
|
|
symbol with non-default visibility. |
|
|
(cris_elf_check_relocs): At tests for local symbol before |
|
|
increasing h->plt.refcount, also check for non-default |
|
|
visibility. Ditto when checking for local symbol to eliminate |
|
|
pc-relative runtime relocs. |
|
|
|
|
|
2002-07-08 Alan Modra <amodra@bigpond.net.au> |
|
|
|
|
|
* elf.c: Formatting. |
|
|
(IS_SOLARIS_PT_INTERP): Add p_paddr and p_memsz checks. |
|
|
(INCLUDE_SECTION_IN_SEGMENT): Remove IS_SOLARIS_PT_INTERP. |
|
|
(copy_private_bfd_data): Set p_vaddr on broken Solaris PT_INTERP |
|
|
segments. |
|
|
|
|
|
2002-07-07 Mark Mitchell <mark@codesourcery.com> |
|
|
Alan Modra <amodra@bigpond.net.au> |
|
|
|
|
|
* cofflink.c (_bfd_coff_final_link): On PE COFF systems, take into |
|
|
account the impact of relocation count overflow when computing |
|
|
section offsets. |
|
|
* coffcode.h (coff_write_relocs): Use obj_pe when deciding whether |
|
|
or not to apply the PE COFF reloc overflow handling. Fix a |
|
|
fencepost error in deciding whether or not to use that technique. |
|
|
|
|
|
2002-07-07 Alan Modra <amodra@bigpond.net.au> |
|
|
|
|
|
* elf-bfd.h (struct elf_reloc_cookie): Remove locsym_shndx, |
|
|
change type of locsyms. |
|
|
(bfd_elf_get_elf_syms): Declare. |
|
|
* elf.c (bfd_elf_get_elf_syms): New function. |
|
|
(group_signature): Use bfd_elf_get_elf_syms. |
|
|
(bfd_section_from_r_symndx): Likewise. |
|
|
* elfcode.h (elf_slurp_symbol_table): Likewise. |
|
|
* elflink.h (elf_link_is_defined_archive_symbol): Likewise. |
|
|
(elf_link_add_object_symbols): Likewise. Reorganise to increase |
|
|
locality of various data structures. Properly free internal relocs. |
|
|
(elf_bfd_final_link): Properly free internal relocs. |
|
|
(elf_link_check_versioned_symbol): Use bfd_elf_get_elf_syms. |
|
|
(elf_link_input_bfd): Likewise. |
|
|
(elf_gc_mark): Likewise. Properly free internal relocs. |
|
|
(elf_gc_sweep): Properly free internal relocs. |
|
|
(elf_reloc_symbol_deleted_p): No need to swap syms in. |
|
|
(elf_bfd_discard_info): Use bfd_elf_get_elf_syms. Properly free |
|
|
internal relocs. |
|
|
* elf-m10200.c (mn10200_elf_relax_section): Use bfd_elf_get_elf_syms. |
|
|
Properly free possibly cached info. |
|
|
(mn10200_elf_relax_delete_bytes): Remove symbol swapping code. |
|
|
(mn10200_elf_symbol_address_p): Pass in internal syms. Remove |
|
|
symbol swapping code. |
|
|
(mn10200_elf_get_relocated_section_contents): Use bfd_elf_get_elf_syms. |
|
|
Properly free possibly cached info. |
|
|
* elf-m10300.c (mn10300_elf_relax_section): As above for elf-m10200.c. |
|
|
(mn10300_elf_relax_delete_bytes): Likewise. |
|
|
(mn10300_elf_symbol_address_p): Likewise. |
|
|
(mn10300_elf_get_relocated_section_contents): Likewise. |
|
|
* elf32-h8300.c (elf32_h8_relax_section): As above for elf-m10200.c. |
|
|
(elf32_h8_relax_delete_bytes): Likewise. |
|
|
(elf32_h8_symbol_address_p): Likewise. |
|
|
(elf32_h8_get_relocated_section_contents): Likewise. |
|
|
* elf32-m32r.c (m32r_elf_relax_section): As above for elf-m10200.c. |
|
|
(m32r_elf_relax_delete_bytes): Likewise. |
|
|
(m32r_elf_get_relocated_section_contents): Likewise. |
|
|
* elf32-sh.c (sh_elf_reloc_loop): Free section contents using |
|
|
elf_section_data to determine whether cached. |
|
|
(sh_elf_relax_section): As above for elf-m10200.c. |
|
|
(sh_elf_relax_delete_bytes): Likewise. |
|
|
(sh_elf_get_relocated_section_contents): Likewise. |
|
|
* elf32-xstormy16.c (xstormy16_elf_relax_section): As above. |
|
|
* elf64-alpha.c (elf64_alpha_relax_section): As above. Also delay |
|
|
reading of local syms. |
|
|
* elf64-mmix.c (mmix_elf_relax_section): Likewise. |
|
|
* elf64-sh64.c (sh_elf64_get_relocated_section_contents): As above. |
|
|
* elfxx-ia64.c (elfNN_ia64_relax_section): As above. |
|
|
* elfxx-mips.c (_bfd_mips_elf_check_relocs): Properly free internal |
|
|
relocs. |
|
|
* elf32-arm.h (bfd_elf32_arm_process_before_allocation): Properly |
|
|
free internal relocs and section contents. Don't read symbols. |
|
|
* elf32-hppa.c (get_local_syms): Use bfd_elf_get_elf_syms. |
|
|
(elf32_hppa_size_stubs): Don't free local syms. |
|
|
* elf32-m68k.c (bfd_m68k_elf32_create_embedded_relocs): Delay |
|
|
reading of local syms. Use bfd_elf_get_elf_syms. Properly free |
|
|
possibly cached info. |
|
|
* elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): Likewise. |
|
|
* elf64-hppa.c (elf64_hppa_check_relocs): Use bfd_elf_get_elf_syms. |
|
|
* elf64-ppc.c (struct ppc_link_hash_table): Delete bfd_count and |
|
|
all_local_syms. |
|
|
(get_local_syms): Delete function. |
|
|
(edit_opd): Use bfd_elf_get_elf_syms. Free on error exit. Cache |
|
|
on exit. |
|
|
(ppc64_elf_size_stubs): Use bfd_elf_get_elf_syms. Free/cache on exit. |
|
|
|
|
|
2002-07-05 Jim Wilson <wilson@redhat.com> |
|
|
|
|
|
* syms.c (decode_section_type): New. |
|
|
(bfd_decode_symclass): Call decode_section_type. |
|
|
|
|
|
2002-07-04 Jakub Jelinek <jakub@redhat.com> |
|
|
|
|
|
* merge.c (_bfd_merged_section_offset): Avoid accessing byte before |
|
|
section content start. |
|
|
Reported by Michael Schumacher <mike@hightec-rt.com>. |
|
|
|
|
|
2002-07-04 Alan Modra <amodra@bigpond.net.au> |
|
|
|
|
|
* section.c (_bfd_strip_section_from_output): Remove unnecessary |
|
|
link order code. Don't actually remove the output section here; |
|
|
Just set a flag for the linker to do so. |
|
|
* elflink.c (_bfd_elf_link_renumber_dynsyms): Test for removed |
|
|
sections when setting up output section dynsyms. |
|
|
|
|
|
2002-07-04 Alan Modra <amodra@bigpond.net.au> |
|
|
|
|
|
* elflink.h (elf_link_add_object_symbols): Revert 1999-09-02 hpux |
|
|
fudge. |
|
|
* elf.c (bfd_section_from_shdr): Work around broken hpux shared |
|
|
libs here instead. |
|
|
|
|
|
2002-07-02 Martin Schwidefsky <schwidefsky@de.ibm.com> |
|
|
|
|
|
* elf64-s390.c (create_got_section): Set .got section alignment to |
|
|
8 bytes. |
|
|
(elf_s390_check_relocs): Set .rela.dyn section alignment to 8 bytes. |
|
|
|
|
|
2002-07-02 Alan Modra <amodra@bigpond.net.au> |
|
|
|
|
|
* elf.c (_bfd_elf_reloc_type_class): Fix comment grammar. |
|
|
|
|
|
2002-07-01 Matt Thomas <matt@3am-software.com> |
|
|
|
|
|
* elf32-vax.c (elf32_vax_print_private_bfd_data): Change EF_* |
|
|
to EF_VAX_*. |
|
|
|
|
|
2002-07-01 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
|
|
|
|
|
* elfxx-mips.c (ABI_64_P): Fix comment. |
|
|
(MIPS_ELF_OPTIONS_SECTION_NAME,MIPS_ELF_STUB_SECTION_NAME): Use the |
|
|
new section names for N64 ABI. |
|
|
(mips_elf_output_extsym): No special _gp_disp handling for NewABI. |
|
|
(mips_elf_calculate_relocation): Code formatting. |
|
|
(mips_elf_create_dynamic_relocation): Likewise. |
|
|
(_bfd_mips_elf_fake_sections): IRIX6 needs this hack, too. |
|
|
(_bfd_mips_elf_size_dynamic_sections): Handle GOT_PAGE for any NewABI. |
|
|
(_bfd_mips_elf_relocate_section): No special handling for R_MIPS_64 |
|
|
in any NewABI. |
|
|
(_bfd_mips_elf_finish_dynamic_symbol): No special _gp_disp handling |
|
|
for NewABI. |
|
|
(_bfd_mips_elf_modify_segment_map): Handle any N64 ABI. |
|
|
(_bfd_mips_elf_gc_sweep_hook): NewABI GOT relocs should be handled |
|
|
here, too. |
|
|
|
|
|
2002-07-01 Andreas Schwab <schwab@suse.de> |
|
135 |
|
|
136 |
* elf64-x86-64.c (elf64_x86_64_relocate_section): Only convert |
2005-05-01 Paul Brook <paul@codesourcery.com> |
|
R_X86_64_64 to R_X86_64_RELATIVE. |
|
137 |
|
|
138 |
2002-07-01 John David Anglin <dave@hiauly1.hia.nrc.ca> |
* elf32-arm.c (bfd_elf32_arm_process_before_allocation): Treat |
139 |
|
R_ARM_PLT32 the same as R_ARM_PC24. |
140 |
|
(arm_add_to_rel): Ditto. |
141 |
|
|
142 |
* vaxbsd.c: New BFD backend for VAX BSD and Ultrix. |
2005-04-29 Daniel Jacobowitz <dan@codesourcery.com> |
143 |
* Makefile.am (BFD32_BACKENDS, BFD32_BACKENDS_CFILES): Add new backend. |
|
144 |
Run "make dep-am". |
* aclocal.m4, Makefile.in: Regenerated. |
145 |
* config.bfd (vax-*-bsd* | vax-*-ultrix*): Use vaxbsd_vec instead of |
|
146 |
host_aout_vec. |
2005-04-27 Nick Clifton <nickc@redhat.com> |
147 |
* configure.in (vaxbsd_vec): Add. |
|
148 |
* targets.c (vaxbsd_vec): Add. |
* elflink.c (elf_link_input_bfd): Handle the case where a badly |
149 |
* Makefile.in: Rebuild. |
formatted input file results in a reloc which has no associated |
150 |
* configure: Rebuild. |
global symbol. |
151 |
* po/SRC-POTFILES.in: Rebuild. |
|
152 |
|
2005-04-20 Daniel Jacobowitz <dan@codesourcery.com> |
153 |
|
|
154 |
|
* configure.in: Bump version to 2.15.97. |
155 |
|
* configure: Regenerated. |
156 |
|
|
157 |
|
2005-04-19 Daniel Jacobowitz <dan@codesourcery.com> |
158 |
|
|
159 |
|
* elfxx-mips.c (struct mips_elf_link_hash_entry): Update comment. |
160 |
|
(mips_elf_create_local_got_entry): Check h->root.forced_local. |
161 |
|
|
162 |
|
2005-04-19 Alan Modra <amodra@bigpond.net.au> |
163 |
|
|
164 |
|
* elf32-ppc.c (ppc_elf_check_relocs): Don't bother with |
165 |
|
dynamic relocs in non-SEC_ALLOC sections. |
166 |
|
(ppc_elf_gc_sweep_hook): Likewise. |
167 |
|
(ppc_elf_relax_section): Likewise. |
168 |
|
(ppc_elf_relocate_section): Likewise. |
169 |
|
|
170 |
|
2005-04-15 Alan Modra <amodra@bigpond.net.au> |
171 |
|
|
172 |
|
PR ld/815 |
173 |
|
* elflink.c (elf_smash_syms): Clear undef.next if it's not being |
174 |
|
used as a list pointer. |
175 |
|
|
176 |
|
2005-04-05 Richard Sandiford <rsandifo@redhat.com> |
177 |
|
|
178 |
|
* elfxx-mips.c (MIPS_ELF_OPTIONS_SECTION_NAME_P): New macro. |
179 |
|
(_bfd_mips_elf_section_from_shdr): Use it to check for recognized |
180 |
|
SHT_MIPS_OPTIONS names. Allow all sections with unrecognised |
181 |
|
section flags. |
182 |
|
(_bfd_mips_elf_fake_sections): Use MIPS_ELF_OPTIONS_SECTION_NAME_P |
183 |
|
to check for SHT_MIPS_OPTIONS sections. |
184 |
|
(_bfd_mips_elf_set_section_contents): Likewise. |
185 |
|
|
186 |
|
2005-04-01 Alan Modra <amodra@bigpond.net.au> |
187 |
|
|
188 |
|
* elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Return -1 on errors |
189 |
|
rather than 0. |
190 |
|
(ppc64_elf_check_relocs): Remove unnecessary SEC_ALLOC check. |
191 |
|
|
192 |
|
2005-03-29 Daniel Jacobowitz <dan@codesourcery.com> |
193 |
|
|
194 |
|
* elf32-arm.c (elf32_arm_check_relocs): Increment count for all |
195 |
|
relocation types. Don't count relocations which will use a PLT. |
196 |
|
|
197 |
|
2005-03-22 Bob Wilson <bob.wilson@acm.org> |
198 |
|
|
199 |
|
* xtensa-isa.c (xtensa_opcode_lookup, xtensa_state_lookup, |
200 |
|
xtensa_sysreg_lookup_name, xtensa_interface_lookup, |
201 |
|
xtensa_funcUnit_lookup): Skip bsearch call if count is zero. |
202 |
|
(xtensa_opcode_decode): Rearrange code. |
203 |
|
|
204 |
|
2005-03-22 Daniel Jacobowitz <dan@codesourcery.com> |
205 |
|
|
206 |
|
* elf32-arm.c (elf32_arm_final_link_relocate): Don't fail for |
207 |
|
unresolved symbols in R_ARM_NONE relocations. |
208 |
|
|
209 |
|
2005-03-22 Daniel Jacobowitz <dan@codesourcery.com> |
210 |
|
|
211 |
2002-07-01 Alan Modra <amodra@bigpond.net.au> |
* elf32-arm.c (elf32_arm_final_link_relocate): Add |
212 |
|
UNRESOLVED_RELOC_P argument. Set it appropriately. |
213 |
|
(elf32_arm_relocate_section): Update call to |
214 |
|
elf32_arm_final_link_relocate. Don't clobber RELOCATION; use |
215 |
|
unresolved_reloc instead. |
216 |
|
|
217 |
* elflink.h (elf_gc_mark): Pass in the section whose relocs we are |
2005-03-23 Alan Modra <amodra@bigpond.net.au> |
|
examining to gc_mark_hook, rather than the bfd. |
|
|
(elf_gc_sections): Adjust. |
|
|
* elf-bfd.h (struct elf_backend_data <gc_mark_hook>): Likewise. |
|
|
* elf-m10300.c (mn10300_elf_gc_mark_hook): Likewise. |
|
|
* elf32-arm.h (elf32_arm_gc_mark_hook): Likewise. |
|
|
* elf32-avr.c (elf32_avr_gc_mark_hook): Likewise. |
|
|
* elf32-cris.c (cris_elf_gc_mark_hook): Likewise. |
|
|
* elf32-d10v.c (elf32_d10v_gc_mark_hook): Likewise. |
|
|
* elf32-fr30.c (fr30_elf_gc_mark_hook): Likewise. |
|
|
* elf32-hppa.c (elf32_hppa_gc_mark_hook): Likewise. |
|
|
* elf32-i386.c (elf_i386_gc_mark_hook): Likewise. |
|
|
* elf32-m32r.c (m32r_elf_gc_mark_hook): Likewise. |
|
|
* elf32-m68k.c (elf_m68k_gc_mark_hook): Likewise. |
|
|
* elf32-mcore.c (mcore_elf_gc_mark_hook): Likewise. |
|
|
* elf32-openrisc.c (openrisc_elf_gc_mark_hook): Likewise. |
|
|
* elf32-ppc.c (ppc_elf_gc_mark_hook): Likewise. |
|
|
* elf32-s390.c (elf_s390_gc_mark_hook): Likewise. |
|
|
* elf32-sh.c (sh_elf_gc_mark_hook): Likewise. |
|
|
* elf32-sparc.c (elf32_sparc_gc_mark_hook): Likewise. |
|
|
* elf32-v850.c (v850_elf_gc_mark_hook): Likewise. |
|
|
* elf32-vax.c (elf_vax_gc_mark_hook): Likewise. |
|
|
* elf32-xstormy16.c (xstormy16_elf_gc_mark_hook): Likewise. |
|
|
* elf64-mmix.c (mmix_elf_gc_mark_hook): Likewise. |
|
|
* elf64-ppc.c (ppc64_elf_gc_mark_hook): Likewise. |
|
|
* elf64-s390.c (elf_s390_gc_mark_hook): Likewise. |
|
|
* elf64-sh64.c (sh_elf64_gc_mark_hook): Likewise. |
|
|
* elfxx-mips.c (_bfd_mips_elf_gc_mark_hook): Likewise. |
|
|
* elfxx-mips.h (_bfd_mips_elf_gc_mark_hook): Likewise. |
|
|
* elf64-x86-64.c (elf64_x86_64_gc_mark_hook): Likewise. |
|
|
* elf32-frv.c (elf32_frv_gc_mark_hook): Likewise. Also remove |
|
|
redundant local sym tests. |
|
|
* elf64-ppc.c (struct ppc_link_hash_entry): Add is_entry. |
|
|
(link_hash_newfunc): Init is_entry. |
|
|
(ppc64_elf_copy_indirect_symbol): Copy is_entry. |
|
|
(ppc64_elf_link_hash_table_create): Init all_local_syms. |
|
|
(create_linkage_sections): Use bfd_make_section_anyway rather than |
|
|
bfd_make_section. |
|
|
(ppc64_elf_mark_entry_syms): New function. |
|
|
(ppc64_elf_check_relocs): Don't bother testing elf_bad_symtab. Set |
|
|
up opd entry to function section map. |
|
|
(ppc64_elf_gc_mark_hook): Special case opd section relocs, and |
|
|
relocs that reference the opd section. |
|
|
(edit_opd): New function. |
|
|
(ppc64_elf_size_dynamic_sections): Call get_local_syms and edit_opd. |
|
|
(ppc64_elf_setup_section_lists): Don't calculate htab->bfd_count here. |
|
|
(get_local_syms): Do so here. Exit if we already have local syms. |
|
|
Remove bogus comment imported from elf32-hppa.c. Don't attempt to |
|
|
read local syms on non-ELF input. |
|
|
(ppc64_elf_size_stubs): Call _bfd_elf64_link_read_relocs rather |
|
|
than duplicating it's function here. Adjust free of internal |
|
|
relocs to suit. |
|
|
(ppc64_elf_relocate_section): Adjust local syms in opd section. |
|
|
* elf64-ppc.h (ppc64_elf_mark_entry_syms): Declare. |
|
|
* elf32-hppa.c (elf32_hppa_size_stubs): Call |
|
|
_bfd_elf32_link_read_relocs rather than duplicating it's function |
|
|
here. Adjust free of internal relocs to suit. |
|
|
|
|
|
2002-07-01 Andreas Jaeger <aj@suse.de> |
|
|
|
|
|
* elf64-x86-64.c (elf64_x86_64_check_relocs): Certain relocations |
|
|
are not allowed in shared libs code, enforce -fPIC. |
|
|
|
|
|
2002-06-29 Hans-Peter Nilsson <hp@bitrange.com> |
|
|
|
|
|
* mmo.c (mmo_write_loc_chunk): Don't eliminate leading and |
|
|
trailing zero-sequences when there's previous left-over data. |
|
|
|
|
|
2002-06-27 John David Anglin <dave@hiauly1.hia.nrc.ca> |
|
|
|
|
|
* elf64-hppa.c (elf64_hppa_reloc_type_class): New function. |
|
|
(elf64_hppa_finish_dynamic_sections): Check other_rel_sec, dlt_rel_sec |
|
|
and opd_rel_sec in order for starting rela section. Check _raw_size. |
|
|
(elf_backend_reloc_type_class): Define. |
|
|
|
|
|
2002-06-27 Kevin Buettner <kevinb@redhat.com> |
|
|
|
|
|
* dwarf2.c (decode_line_info): Handle older, non-standard, 64-bit |
|
|
DWARF2 formats. |
|
|
|
|
|
2002-06-27 Alan Modra <amodra@bigpond.net.au> |
|
|
|
|
|
* cpu-powerpc.c: Comment on ordering of arch_info. |
|
|
* elf32-ppc.c (ppc_elf_object_p): New function. |
|
|
(elf_backend_object_p): Define. |
|
|
* elf64-ppc.c (ppc64_elf_object_p): New function. |
|
|
(elf_backend_object_p): Define. |
|
218 |
|
|
219 |
2002-06-26 Jason Thorpe <thorpej@wasabisystems.com> |
* elflink.c (elf_link_add_object_symbols): Set SEC_EXCLUDE on |
220 |
|
.gnu.warning.* sections. |
221 |
|
|
222 |
* configure.in (vax-*-netbsd*): Set COREFILE to netbsd-core.lo. |
2005-03-21 Alan Modra <amodra@bigpond.net.au> |
223 |
|
|
224 |
|
* elf32-ppc.c (is_ppc_elf_target): New function. |
225 |
|
(ppc_elf_merge_private_bfd_data): Use it rather than just testing |
226 |
|
for bfd_target_elf_flavour. Do this test before endian check. |
227 |
|
(ppc_elf_add_symbol_hook): Use is_pcc_elf_target. |
228 |
|
(ppc_elf_size_dynamic_sections): Likewise. |
229 |
|
|
230 |
|
2005-03-17 Paul Brook <paul@codesourcery.com> |
231 |
|
Dan Jacobowitz <dan@codesourcery.com> |
232 |
|
Mark Mitchell <mark@codesourcery.com> |
233 |
|
|
234 |
|
* elf32-arm.c (elf32_arm_modify_segment_map): New function. |
235 |
|
(elf32_arm_additional_program_headers): Likewise. |
236 |
|
(elf_backend_modify_segment_map): Define. |
237 |
|
(elf_backend_additional_program_headers): Likewise. |
238 |
|
(elf32_arm_symbian_modify_segment_map): Use |
239 |
|
elf32_arm_modify_segment_map. |
240 |
|
|
241 |
|
2005-03-16 Alan Modra <amodra@bigpond.net.au> |
242 |
|
|
243 |
|
* elf32-ppc.c (ppc_elf_create_linker_section): Set SEC_LINKER_CREATED |
244 |
|
on section. Correct comment, and add FIXME. |
245 |
|
(ppc_elf_additional_program_headers): Don't bump header count for |
246 |
|
interp. Test SEC_ALLOC, not SEC_LOAD, and don't test size. |
247 |
|
(ppc_elf_size_dynamic_sections): Don't strip sdata and sdata2, but |
248 |
|
do allocate memory if they need it. |
249 |
|
|
250 |
|
2005-03-15 Alan Modra <amodra@bigpond.net.au> |
251 |
|
|
252 |
|
* po/es.po: Commit new Spanish translation. |
253 |
|
|
254 |
|
2005-03-08 Daniel Jacobowitz <dan@codesourcery.com> |
255 |
|
|
256 |
|
* configure.in: Bump version to 2.15.96. |
257 |
|
* configure: Regenerated. |
258 |
|
|
259 |
|
2005-03-07 Jakub Jelinek <jakub@redhat.com> |
260 |
|
|
261 |
|
* opncls.c (opncls_bread, opncls_bclose): Fix if pread resp. |
262 |
|
close is a function like macro in system headers. |
263 |
|
|
264 |
|
2005-03-07 Alan Modra <amodra@bigpond.net.au> |
265 |
|
|
266 |
|
PR ld/778 |
267 |
|
* elf32-hppa.c (elf32_hppa_create_dynamic_sections): Reinstate |
268 |
|
_GLOBAL_OFFSET_TABLE_ as a normal dynamic symbol. |
269 |
|
|
270 |
|
2005-03-06 Alan Modra <amodra@bigpond.net.au> |
271 |
|
|
272 |
|
* elf.c (elfcore_grok_win32pstatus): Warning fixes. |
273 |
|
|
274 |
|
2005-03-05 Alan Modra <amodra@bigpond.net.au> |
275 |
|
|
276 |
|
* po/bfd.pot: Regenerate. |
277 |
|
|
278 |
|
2005-03-05 Alan Modra <amodra@bigpond.net.au> |
279 |
|
|
280 |
|
* elf64-ppc.c (update_plt_info): Don't mark new ABI call syms |
281 |
|
with is_func. |
282 |
|
(func_desc_adjust): Force dot-syms local in executables as well |
283 |
|
as shared libs. |
284 |
|
|
285 |
|
2005-03-04 David Daney <ddaney@avtrex.com> |
286 |
|
|
287 |
|
* elfxx-mips.c (mips_elf_calculate_relocation): Handle special |
288 |
|
'__gnu_local_gp' symbol used by gas -mno-shared. |
289 |
|
|
290 |
|
2005-03-03 H.J. Lu <hongjiu.lu@intel.com> |
291 |
|
|
292 |
|
* elf-bfd.h (elf_backend_data): Add "const char *" to |
293 |
|
elf_backend_section_from_phdr. |
294 |
|
|
295 |
|
* elf.c (bfd_section_from_phdr): Pass "proc" to the |
296 |
|
elf_backend_section_from_phdr hook. |
297 |
|
|
298 |
|
2005-03-02 Daniel Jacobowitz <dan@codesourcery.com> |
299 |
|
Joseph Myers <joseph@codesourcery.com> |
300 |
|
|
301 |
|
* elfxx-mips.c (struct mips_got_entry): Add tls_type. |
302 |
|
(struct mips_got_info): Add tls_gotno, tls_assigned_gotno, |
303 |
|
and tls_ldm_offset. |
304 |
|
(struct mips_elf_got_per_bfd_arg): Add global_count. |
305 |
|
(struct mips_elf_count_tls_arg): New. |
306 |
|
(struct mips_elf_hash_sort_data): Update comment for min_got_dynindx. |
307 |
|
(struct mips_elf_link_hash_entry): Add tls_type and tls_got_offset. |
308 |
|
(GOT_NORMAL, GOT_TLS_GD, GOT_TLS_LDM, GOT_TLS_IE) |
309 |
|
(GOT_TLS_OFFSET_DONE, GOT_TLS_DONE): Define. |
310 |
|
(TLS_RELOC_P): Define. |
311 |
|
(TP_OFFSET, DTP_OFFSET): Define. |
312 |
|
(dtprel_base, tprel_base): New functions. |
313 |
|
(mips_elf_link_hash_newfunc): Initialize tls_type. |
314 |
|
(mips_elf_got_entry_hash, mips_elf_got_entry_eq) |
315 |
|
(mips_elf_multi_got_entry_hash, mips_elf_multi_got_entry_eq): Handle |
316 |
|
TLS entries. |
317 |
|
(mips_tls_got_relocs, mips_elf_count_local_tls_relocs) |
318 |
|
(mips_elf_count_global_tls_entries, mips_elf_count_global_tls_relocs) |
319 |
|
(mips_elf_output_dynamic_relocation, mips_elf_initialize_tls_slots) |
320 |
|
(mips_tls_got_index): New functions. |
321 |
|
(mips_elf_local_got_index): Add new R_SYMNDX, H, and R_TYPE |
322 |
|
arguments. Pass them to mips_elf_create_local_got_entry. Use |
323 |
|
mips_tls_got_index. |
324 |
|
(mips_elf_global_got_index): Add new R_TYPE and INFO arguments. |
325 |
|
Handle TLS entries. |
326 |
|
(mips_elf_got_page, mips_elf_got16_entry): Update calls to |
327 |
|
mips_elf_create_local_got_entry. |
328 |
|
(mips_elf_create_local_got_entry): Add new R_SYMNDX, H, and R_TYPE |
329 |
|
arguments. Handle TLS entries. |
330 |
|
(mips_elf_sort_hash_table_f): Add non-TLS assertions. |
331 |
|
(mips_elf_record_local_got_symbol): Add new TLS_FLAG argument. Handle |
332 |
|
TLS entries. |
333 |
|
(mips_elf_record_global_got_symbol): Likewise. |
334 |
|
(mips_elf_make_got_per_bfd): Initialize new mips_got_info members. |
335 |
|
Count TLS entries. |
336 |
|
(mips_elf_merge_gots): Handle TLS entries when merging. |
337 |
|
(mips_elf_initialize_tls_index): New function. |
338 |
|
(mips_elf_set_global_got_offset): Handle TLS entries. |
339 |
|
(mips_elf_adjust_gp): Handle TLS. |
340 |
|
(mips_elf_multi_got): Remove redundant call to |
341 |
|
mips_elf_resolve_final_got_entries. Initialize global_count. |
342 |
|
Correct a comment. Initialize new TLS members of mips_got_info. |
343 |
|
Assign TLS GOT indexes for new GOTs. |
344 |
|
(mips_elf_create_got_section): Initialize new TLS members of |
345 |
|
mips_got_info. |
346 |
|
(mips_elf_calculate_relocation): Handle TLS relocs. |
347 |
|
(_bfd_mips_elf_check_relocs): Likewise. Update calls to changed |
348 |
|
functions. |
349 |
|
(_bfd_mips_elf_always_size_sections): Handle TLS. |
350 |
|
(_bfd_mips_elf_size_dynamic_sections): Likewise. |
351 |
|
(_bfd_mips_elf_finish_dynamic_symbol): Likewise. Update calls to |
352 |
|
changed functions. |
353 |
|
(_bfd_mips_elf_copy_indirect_symbol): Copy tls_type. |
354 |
|
(_bfd_mips_elf_hide_symbol): Handle TLS. |
355 |
|
* elfn32-mips.c (elf_mips_howto_table_rel, elf_mips_howto_table_rela) |
356 |
|
(mips_reloc_map): Add TLS relocs. |
357 |
|
* elf32-mips.c (elf_mips_howto_table_rel, mips_reloc_map): Likewise. |
358 |
|
* elf64-mips.c (mips_elf64_howto_table_rel) |
359 |
|
(mips_elf64_howto_table_rela, mips_reloc_map): Likewise. |
360 |
|
* reloc.c: Define new MIPS TLS relocations. |
361 |
|
* libbfd.h, bfd-in2.h: Regenerated. |
362 |
|
|
363 |
|
2005-03-02 Jan Beulich <jbeulich@novell.com> |
364 |
|
|
365 |
|
* Makefile.am: Add dependency of cache.o on libiberty.h. |
366 |
|
* cache.c: Include libiberty.h. |
367 |
|
(bfd_open_file): Use unlink_if_ordinary instead of unlink. |
368 |
|
|
369 |
|
2005-03-01 Zack Weinberg <zack@codesourcery.com> |
370 |
|
|
371 |
|
* elf.c (bfd_section_from_shdr <default case>): Call |
372 |
|
elf_backend_section_from_shdr hook unconditionally, and return |
373 |
|
what it returns. |
374 |
|
(bfd_section_from_phdr): Similarly, for elf_backend_section_from_phdr. |
375 |
|
* elfxx-target.h (elf_backend_section_from_shdr) |
376 |
|
(elf_backend_section_from_phdr): Default to |
377 |
|
_bfd_elf_make_section_from_shdr and _bfd_elf_make_section_from_phdr |
378 |
|
respectively. |
379 |
|
|
380 |
|
2005-03-01 Alan Modra <amodra@bigpond.net.au> |
381 |
|
|
382 |
|
* targets.h: Typo fix. |
383 |
|
* bfd-in2.h: Regenerate. |
384 |
|
|
385 |
|
* bout.c (b_out_write_object_contents): Don't use sizeof on host |
386 |
|
structs to size on-disk structures. |
387 |
|
(b_out_set_section_contents): Size the external struct, not the |
388 |
|
internal one for on-disk size. |
389 |
|
(b_out_sizeof_headers): Likewise. |
390 |
|
|
391 |
|
2005-03-01 Alan Modra <amodra@bigpond.net.au> |
392 |
|
|
393 |
|
* elf64-ppc.c (ppc64_elf_size_stubs): Override defined dot-sym |
394 |
|
entry points with the func descriptor as well as undefweak. |
395 |
|
|
396 |
|
2005-02-28 Ross Ridge <rridge@csclub.uwaterloo.ca> |
397 |
|
|
398 |
|
* peicode.h (pe_ILF_build_a_bfd): Do not assume that an @ will be |
399 |
|
present when IMPORT_NAME_UNDOECRATE is used. |
400 |
|
|
401 |
|
2005-02-28 H.J. Lu <hongjiu.lu@intel.com> |
402 |
|
|
403 |
|
PR 757 |
404 |
|
* elf-bfd.h (_bfd_elf_merge_symbol): Add a pointer to unsigned |
405 |
|
int. |
406 |
|
|
407 |
|
* elf32-sh-symbian.c (sh_symbian_relocate_section): Pass NULL |
408 |
|
to _bfd_elf_merge_symbol. |
409 |
|
|
410 |
|
* elflink.c (_bfd_elf_merge_symbol): Use the pointer to |
411 |
|
unsigned int to return the alignment of the old common symbol |
412 |
|
in the dynamic object. |
413 |
|
(_bfd_elf_add_default_symbol): Pass NULL to |
414 |
|
_bfd_elf_merge_symbol. |
415 |
|
(elf_link_add_object_symbols): Pass &old_alignment to |
416 |
|
_bfd_elf_merge_symbol. Get the alignment of the new common |
417 |
|
symbol in the dynamic object. |
418 |
|
|
419 |
|
2005-02-24 Ben Elliston <bje@au.ibm.com> |
420 |
|
|
421 |
|
* coffcode.h (coff_sym_filepos): Remove GNU960 conditional code. |
422 |
|
* format.c (bfd_check_format_matches): Likewise. |
423 |
|
* archive.c (BFD_GNU960_ARMAG): Likewise. |
424 |
|
(bfd_generic_archive_p): Likewise. |
425 |
|
(_bfd_write_archive_contents): Likewise. |
426 |
|
|
427 |
|
2005-02-24 H.J. Lu <hongjiu.lu@intel.com> |
428 |
|
|
429 |
|
* configure.in: (AM_INIT_AUTOMAKE): Set version to 2.15.95. |
430 |
* configure: Regenerate. |
* configure: Regenerate. |
431 |
|
|
432 |
2002-06-25 Jason Eckhardt <jle@rice.edu> |
2005-02-24 Julian Brown <julian@sirius.codesourcery.com> |
433 |
|
|
434 |
* dwarf2.c (decode_line_info): Check unit->addr_size |
* elflink.c (elf_link_add_object_symbols): Force symbols in discarded |
435 |
to read in the proper number of prologue bytes. |
COMDAT group sections to have default visibility. |
436 |
|
|
437 |
2002-06-25 Nick Clifton <nickc@cambridge.redhat.com> |
2005-02-24 Alan Modra <amodra@bigpond.net.au> |
438 |
|
|
439 |
* config.bfd (powerpc-*-aix5*): Only create a selvecs for |
* coffcode.h (coff_print_aux): Warning fix. |
440 |
aix5coff64_vec if 64-bit bfd support has been enabled. |
* elf-m10300.c (mn10300_elf_relax_section): Use section->id |
441 |
(powerpc64-*-aix5*): Only define if 64-bit bfd support has |
instead of section pointer to identify. |
442 |
been enabled. |
* coff-h8300.c (h8300_reloc16_extra_cases): Likewise. Allocate |
443 |
|
the correct size buffer for local sym mangling too. |
444 |
|
(h8300_bfd_link_add_symbols): Likewise. |
445 |
|
* elf32-sh-symbian.c (sh_symbian_process_embedded_commands): Fix |
446 |
|
warning. |
447 |
|
* elf32-sh64.c (shmedia_prepare_reloc): Use %B and %p in error message |
448 |
|
* elf32-xtensa.c (literal_value_hash): Warning fix. |
449 |
|
* versados.c (process_otr): Warning fix. |
450 |
|
(versados_canonicalize_reloc): Likewise. |
451 |
|
* vms-gsd.c (_bfd_vms_slurp_gsd): Warning fix. |
452 |
|
* vms.c (fill_section_ptr): Warning fix. |
453 |
|
|
454 |
|
2005-02-23 H.J. Lu <hongjiu.lu@intel.com> |
455 |
|
|
456 |
|
* coff-tic54x.c (SWAP_OUT_RELOC_EXTRA): Defined. |
457 |
|
* coff-tic80.c (SWAP_OUT_RELOC_EXTRA): Likewise. |
458 |
|
|
459 |
|
2005-02-23 Nick Clifton <nickc@redhat.com> |
460 |
|
|
461 |
|
* elfxx-mips.c (mips_elf_create_dynamic_relocation): Initialise |
462 |
|
the relvaddr field of the Elf32_crinfo structure. |
463 |
|
|
464 |
|
* elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Initialise |
465 |
|
variables that are passed by reference to |
466 |
|
m68hc11_get_relocation_value in case that function does not |
467 |
|
initialise them. |
468 |
|
|
469 |
|
* elf32-cr16c.c (cr16c_elf_final_link_relocate): Remove duplicated |
470 |
|
return statements and replace with a single return at the end of |
471 |
|
the function. This helps pacify the flow analysis code in gcc 4.0. |
472 |
|
|
473 |
|
* elf.c (_bfd_elf_compute_section_file_positions): Initialise |
474 |
|
strtab to avoid compile time warning. |
475 |
|
|
476 |
|
2005-02-23 Ben Elliston <bje@au.ibm.com> |
477 |
|
|
478 |
|
* opncls.c (bfd_zalloc): Document this function. |
479 |
|
|
480 |
|
2005-02-21 H.J. Lu <hongjiu.lu@intel.com> |
481 |
|
|
482 |
|
* coffcode.h (sec_to_styp_flags): Replaced SEC_CLINK with |
483 |
|
SEC_TIC54X_CLINK. Replace SEC_BLOCK with SEC_TIC54X_BLOCK. |
484 |
|
Replace SEC_SHARED with SEC_COFF_SHARED. |
485 |
|
(styp_to_sec_flags): Likewise. |
486 |
|
|
487 |
|
* elfxx-target.h (TARGET_BIG_SYM): Remove SEC_ARCH_BIT_0. |
488 |
|
(TARGET_LITTLE_SYM): Likewise. |
489 |
|
|
490 |
|
* section.c (SEC_ARCH_BIT_0): Removed. |
491 |
|
(SEC_LINK_DUPLICATES_SAME_CONTENTS): Defined with |
492 |
|
SEC_LINK_DUPLICATES_ONE_ONLY and SEC_LINK_DUPLICATES_SAME_SIZE. |
493 |
|
(SEC_SHARED): Renamed to ... |
494 |
|
(SEC_COFF_SHARED): This. |
495 |
|
(SEC_BLOCK): Renamed to ... |
496 |
|
(SEC_TIC54X_BLOCK): This. |
497 |
|
(SEC_CLINK): Renamed to ... |
498 |
|
(SEC_TIC54X_CLINK): This. |
499 |
|
(SEC_XXX): Rearranged. Move SEC_COFF_SHARED_LIBRARY, |
500 |
|
SEC_COFF_SHARED, SEC_TIC54X_BLOCK and SEC_TIC54X_CLINK to the |
501 |
|
end. |
502 |
|
* bfd-in2.h: Regenerated. |
503 |
|
|
504 |
* targets.c (_bfd_target_vector[]): Only include |
2005-02-21 Fred Fish <fnf@specifixinc.com> |
|
aix5coff64_vec if 64-bit bfd support has been enabled. |
|
505 |
|
|
506 |
2002-06-25 Alan Modra <amodra@bigpond.net.au> |
* dwarf2.c (find_abstract_instance_name): Call recursively |
507 |
|
to handle a DW_AT_specification. |
508 |
|
|
509 |
* elf64-ppc.c (ppc_add_stub): Replace strcpy/strncpy with memcpy. |
2005-02-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
510 |
* elf32-hppa.c (hppa_add_stub): Likewise. |
|
511 |
* elflink.c (_bfd_elf_link_record_dynamic_symbol): Likewise. |
* elfxx-mips.c (ecoff_swap_rpdr_out, mips_elf_output_extsym, |
512 |
* elflink.h (elf_add_default_symbol): Fix comment typo. |
mips_elf_create_dynamic_relocation, |
513 |
(elf_add_default_symbol): Replace strcpy and strncpy with memcpy. |
_bfd_mips_elf_size_dynamic_sections, _bfd_mips_elf_final_link): |
514 |
(elf_link_add_object_symbols): Likewise. |
Remove #if 0'd code. |
515 |
(elf_link_assign_sym_version): Likewise. |
|
516 |
* hash.c (bfd_hash_lookup): Likewise. |
2005-02-21 Alan Modra <amodra@bigpond.net.au> |
|
* linker.c (_bfd_generic_link_add_one_symbol): Likewise. |
|
|
* section.c (bfd_get_unique_section_name): Likewise. |
|
|
* syms.c (_bfd_stab_section_find_nearest_line): Likewise. |
|
|
* elf.c (_bfd_elf_make_section_from_phdr): Likewise. |
|
|
(assign_section_numbers): Likewise. |
|
|
(_bfd_elfcore_make_pseudosection): Likewise. |
|
|
(elfcore_grok_lwpstatus): Likewise. |
|
|
(elfcore_grok_win32pstatus): Likewise. |
|
|
(elfcore_write_note): Constify input params. Use PTR instead of |
|
|
void *. Include terminating NUL in namesz. Correct padding. |
|
|
Support NULL "name" param. Use memcpy instead of strcpy. |
|
|
(elfcore_write_prpsinfo): Constify input params. |
|
|
(elfcore_write_prstatus): Likewise. Use PTR instead of void *. |
|
|
(elfcore_write_lwpstatus): Likewise. |
|
|
(elfcore_write_pstatus): Likewise. |
|
|
(elfcore_write_prfpreg): Likewise. |
|
|
(elfcore_write_prxfpreg): Likewise. |
|
|
* elf-bfd.h (elfcore_write_note): Update declaration. |
|
|
(elfcore_write_prpsinfo): Likewise. |
|
|
(elfcore_write_prstatus): Likewise. |
|
|
(elfcore_write_pstatus): Likewise. |
|
|
(elfcore_write_prfpreg): Likewise. |
|
|
(elfcore_write_prxfpreg): Likewise. |
|
|
(elfcore_write_lwpstatus): Likewise. |
|
|
|
|
|
2002-06-25 Jason Eckhardt <jle@rice.edu> |
|
|
|
|
|
* ecoff.c (ecoff_set_symbol_info): Set BSF_FUNCTION for |
|
|
symbols of type stProc and stStaticProc. |
|
|
|
|
|
2002-06-25 Nick Clifton <nickc@redhat.com> |
|
|
|
|
|
* ecoff.c: VArious formatting fixes. |
|
517 |
|
|
518 |
2002-06-25 Alan Modra <amodra@bigpond.net.au> |
* Makefile.am: Run "make dep-am" |
519 |
|
* Makefile.in: Regenerate. |
520 |
|
|
521 |
* coff-rs6000.c (xcoff_generate_rtinit): Fix typo. |
2005-02-21 Alan Modra <amodra@bigpond.net.au> |
522 |
|
|
523 |
2002-06-25 Alan Modra <amodra@bigpond.net.au> |
* coffgen.c (bfd_coff_get_comdat_section): Check that |
524 |
|
coff_section_data isn't NULL. |
525 |
|
|
526 |
* aout-adobe.c: Don't compare against "true" or "false. |
2005-02-21 Alan Modra <amodra@bigpond.net.au> |
527 |
* aout-target.h: Likewise. |
|
528 |
* aoutx.h: Likewise. |
* bfd-in.h (bfd_elf_bfd_from_remote_memory): Warning fix. |
529 |
* archive.c: Likewise. |
* coff-m68k.c (bfd_m68k_coff_create_embedded_relocs): Likewise. |
530 |
* bout.c: Likewise. |
* coff-rs6000.c (xcoff_write_armap_big): Warning fixes. Remove |
531 |
* cache.c: Likewise. |
useless assignments. |
532 |
* coff-a29k.c: Likewise. |
(xcoff_write_archive_contents_big): Likewise. |
533 |
* coff-alpha.c: Likewise. |
(_bfd_xcoff_put_ldsymbol_name): Likewise. |
534 |
* coff-i386.c: Likewise. |
* coff64-rs6000.c (_bfd_xcoff64_put_ldsymbol_name): Likewise. |
535 |
* coff-mips.c: Likewise. |
* coffgen.c (coff_write_symbols): Make "written" a bfd_vma. |
536 |
* coff-or32.c: Likewise. |
* cofflink.c (process_embedded_commands): Warning fixes. |
537 |
* coff64-rs6000.c: Likewise. |
* cpu-arm.c: Delete unnecessary prototypes. Convert to C90. |
538 |
* coffcode.h: Likewise. |
Warning fixes. |
539 |
* coffgen.c: Likewise. |
* dwarf2.c: Warning fixes. |
540 |
* cpu-ns32k.c: Likewise. |
* elf-bfd.h: Likewise. |
541 |
* ecoff.c: Likewise. |
* elf-eh-frame.c: Likewise. |
542 |
* ecofflink.c: Likewise. |
* elf-strtab.c: Likewise. |
543 |
* elf.c: Likewise. |
* elf.c: Likewise. |
544 |
* elf32-arm.h: Likewise. |
* elf32-m68k.c: Likewise. |
|
* elf32-cris.c: Likewise. |
|
|
* elf32-d30v.c: Likewise. |
|
|
* elf32-i386.c: Likewise. |
|
|
* elf32-mcore.c: Likewise. |
|
545 |
* elf32-ppc.c: Likewise. |
* elf32-ppc.c: Likewise. |
546 |
* elf32-sh.c: Likewise. |
* elf32-sh-symbian.c: Likewise. |
547 |
* elf32-sh64.c: Likewise. |
* elf32-sh.c: Delete unnecessary prototypes. Warning fixes. |
|
* elf32-v850.c: Likewise. |
|
|
* elf64-alpha.c: Likewise. |
|
548 |
* elf64-sh64.c: Likewise. |
* elf64-sh64.c: Likewise. |
549 |
|
* peicode.h: Likewise. |
550 |
|
* elf64-mmix.c: Warning fixes. |
551 |
* elfcode.h: Likewise. |
* elfcode.h: Likewise. |
|
* elfcore.h: Likewise. |
|
|
* elflink.h: Likewise. |
|
552 |
* elfxx-mips.c: Likewise. |
* elfxx-mips.c: Likewise. |
553 |
* i386os9k.c: Likewise. |
* libbfd-in.h: Likewise. |
|
* ieee.c: Likewise. |
|
554 |
* libbfd.c: Likewise. |
* libbfd.c: Likewise. |
555 |
* linker.c: Likewise. |
* mach-o.c: Likewise. |
556 |
|
* merge.c: Likewise. |
557 |
* mmo.c: Likewise. |
* mmo.c: Likewise. |
558 |
* nlm32-alpha.c: Likewise. |
* opncls.c: Likewise. |
559 |
* nlm32-i386.c: Likewise. |
* pef.c: Likewise. |
|
* nlm32-ppc.c: Likewise. |
|
|
* nlm32-sparc.c: Likewise. |
|
|
* nlmcode.h: Likewise. |
|
|
* oasys.c: Likewise. |
|
|
* pdp11.c: Likewise. |
|
|
* peicode.h: Likewise. |
|
|
* reloc.c: Likewise. |
|
|
* som.c: Likewise. |
|
560 |
* srec.c: Likewise. |
* srec.c: Likewise. |
561 |
* tekhex.c: Likewise. |
* vms-hdr.c: Likewise. |
562 |
* vms.c: Likewise. |
* vms-tir.c: Likewise. |
563 |
* xcofflink.c: Likewise. |
* xtensa-isa.c: Likewise. |
564 |
* elf64-sparc.c: Edit comment to not use "== false". |
* xtensa-modules.c: Likewise. |
565 |
|
* xsym.c: Likewise. |
566 |
|
(pstrcmp): Use correct choice of string lengths. Fix return value. |
567 |
|
(bfd_sym_module_name): Correct string length. |
568 |
|
* bfd-in2.h: Regenerate. |
569 |
|
* libbfd.h: Regenerate. |
570 |
|
|
571 |
* aoutf1.h: Don't use "? true : false". |
2005-02-17 Alexandre Oliva <aoliva@redhat.com> |
|
* ecoff.c: Likewise. |
|
|
* format.c: Likewise. |
|
|
* ieee.c: Likewise. |
|
|
* linker.c: Likewise. |
|
|
* mmo.c: Likewise. |
|
|
* oasys.c: Likewise. |
|
572 |
|
|
573 |
2002-06-23 H.J. Lu <hjl@gnu.org> |
* elf32-frv.c (elf32_frv_relocate_section): Remove warning from |
574 |
|
uninitialized check_segment[1] in TLSMOFF case. |
575 |
|
Reported by Alan Modra. |
576 |
|
(elf32_frv_relocate_section): Improve errors and warnings. |
577 |
|
|
578 |
|
2005-02-17 Alan Modra <amodra@bigpond.net.au> |
579 |
|
|
580 |
|
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Fix warning. |
581 |
|
|
582 |
|
2005-02-16 Alan Modra <amodra@bigpond.net.au> |
583 |
|
|
584 |
|
* coff-arm.c (coff_arm_is_local_label_name): Warning fix. |
585 |
|
* elf32-frv.c (frvfdpic_relocs_info_hash): Likewise. |
586 |
|
* pef.c (bfd_pef_scan): Don't ignore return value of |
587 |
|
bfd_pef_scan_start_address. |
588 |
|
* mach-o.c (bfd_mach_o_scan): Don't ignore return value of |
589 |
|
bfd_mach_o_scan_start_address. |
590 |
|
* elfxx-ia64.c (elfNN_ia64_relax_brl): Rewrite for 32-bit bfd_vma. |
591 |
|
* elfxx-mips.c: Remove unnecessary prototypes. |
592 |
|
(sort_dynamic_relocs_64): Abort if not BFD64. |
593 |
|
|
594 |
|
2005-02-16 Alan Modra <amodra@bigpond.net.au> |
595 |
|
|
596 |
|
* elf64-ppc.c (ppc64_elf_edit_toc): Skip toc if size is zero. |
597 |
|
Skip toc reloc adjust if reloc_count is zero. |
598 |
|
|
599 |
|
2005-02-15 Nigel Stephens <nigel@mips.com> |
600 |
|
Maciej W. Rozycki <macro@mips.com> |
601 |
|
|
602 |
|
* elf32-mips.c (elf_mips16_howto_table_rel): New array for MIPS16 |
603 |
|
reloc howtos. Add R_MIPS16_HI16 and R_MIPS16_LO16 relocs and |
604 |
|
R_MIPS16_GOT16 and R_MIPS16_CALL16 placeholders. |
605 |
|
(elf_mips16_jump_howto): Move into elf_mips16_howto_table_rel. |
606 |
|
(elf_mips16_gprel_howto): Likewise. Redefine src_mask and |
607 |
|
dst_mask. |
608 |
|
(mips16_gprel_reloc): Remove bit shuffling; call |
609 |
|
_bfd_mips16_elf_reloc_unshuffle(), _bfd_mips_elf_gprel16_with_gp() |
610 |
|
and _bfd_mips16_elf_reloc_shuffle() instead. |
611 |
|
(mips16_reloc_map): New reloc map for MIPS16 relocs. |
612 |
|
(bfd_elf32_bfd_reloc_type_lookup): Use mips16_reloc_map for MIPS16 |
613 |
|
relocs. |
614 |
|
(mips_elf32_rtype_to_howto): Fetch MIPS16 howtos from |
615 |
|
elf_mips16_howto_table_rel. |
616 |
|
* elf64-mips.c (mips16_elf64_howto_table_rel): New array for |
617 |
|
MIPS16 REL reloc howtos. Add R_MIPS16_HI16 and R_MIPS16_LO16 |
618 |
|
relocs and R_MIPS16_GOT16 and R_MIPS16_CALL16 placeholders. |
619 |
|
(elf_mips16_jump_howto): Move into mips16_elf64_howto_table_rel. |
620 |
|
(elf_mips16_gprel_howto): Likewise. Redefine src_mask and |
621 |
|
dst_mask. |
622 |
|
(mips16_elf64_howto_table_rela): New array for MIPS16 RELA |
623 |
|
reloc howtos. Add R_MIPS16_26, R_MIPS16_GPREL, R_MIPS16_HI16 and |
624 |
|
R_MIPS16_LO16 relocs and R_MIPS16_GOT16 and R_MIPS16_CALL16 |
625 |
|
placeholders. |
626 |
|
(mips16_gprel_reloc): Remove bit shuffling; call |
627 |
|
_bfd_mips16_elf_reloc_unshuffle(), _bfd_mips_elf_gprel16_with_gp() |
628 |
|
and _bfd_mips16_elf_reloc_shuffle() instead. |
629 |
|
(mips16_reloc_map): New reloc map for MIPS16 relocs. |
630 |
|
(bfd_elf64_bfd_reloc_type_lookup): Use mips16_reloc_map for MIPS16 |
631 |
|
relocs. |
632 |
|
(mips_elf64_rtype_to_howto): Fetch MIPS16 howtos from |
633 |
|
mips16_elf64_howto_table_rela or mips16_elf64_howto_table_rel. |
634 |
|
* elfn32-mips.c (elf_mips16_howto_table_rel): New array for MIPS16 |
635 |
|
REL reloc howtos. Add R_MIPS16_HI16 and R_MIPS16_LO16 relocs and |
636 |
|
R_MIPS16_GOT16 and R_MIPS16_CALL16 placeholders. |
637 |
|
(elf_mips16_jump_howto): Move into elf_mips16_howto_table_rel. |
638 |
|
(elf_mips16_gprel_howto): Likewise. Redefine src_mask and |
639 |
|
dst_mask. |
640 |
|
(mips16_gprel_reloc): Remove bit shuffling; call |
641 |
|
_bfd_mips16_elf_reloc_unshuffle(), _bfd_mips_elf_gprel16_with_gp() |
642 |
|
and _bfd_mips16_elf_reloc_shuffle() instead. |
643 |
|
(mips16_reloc_map): New reloc map for MIPS16 relocs. |
644 |
|
(bfd_elf32_bfd_reloc_type_lookup): Use mips16_reloc_map for MIPS16 |
645 |
|
relocs. |
646 |
|
(mips_elf_n32_rtype_to_howto): Fetch MIPS16 howtos from |
647 |
|
elf_mips16_howto_table_rela or elf_mips16_howto_table_rel. |
648 |
|
* elfxx-mips.c (_bfd_mips16_elf_reloc_unshuffle): New function to |
649 |
|
handle bit shuffling for MIPS16 relocs. |
650 |
|
(_bfd_mips16_elf_reloc_shuffle): Likewise. |
651 |
|
(_bfd_mips_elf_lo16_reloc): Use _bfd_mips16_elf_reloc_unshuffle() |
652 |
|
and _bfd_mips16_elf_reloc_shuffle(). |
653 |
|
(_bfd_mips_elf_generic_reloc): Likewise. |
654 |
|
(mips_elf_calculate_relocation): Likewise. Handle R_MIPS16_HI16 |
655 |
|
and R_MIPS16_LO16. |
656 |
|
(mips_elf_obtain_contents): Remove bit shuffling. |
657 |
|
(mips_elf_perform_relocation): Likewise; call |
658 |
|
_bfd_mips16_elf_reloc_unshuffle() and _bfd_mips16_elf_reloc_shuffle() |
659 |
|
instead. |
660 |
|
(_bfd_mips_elf_relocate_section): Likewise. Handle R_MIPS16_HI16 |
661 |
|
and R_MIPS16_LO16. |
662 |
|
* elfxx-mips.h (_bfd_mips16_elf_reloc_unshuffle): Declare. |
663 |
|
(_bfd_mips16_elf_reloc_shuffle): Likewise. |
664 |
|
* reloc.c (BFD_RELOC_MIPS16_HI16): New reloc. |
665 |
|
(BFD_RELOC_MIPS16_HI16_S): Likewise. |
666 |
|
(BFD_RELOC_MIPS16_LO16): Likewise. |
667 |
|
* bfd-in2.h: Regenerate. |
668 |
|
* libbfd.h: Regenerate. |
669 |
|
|
670 |
* elflink.h (elf_link_add_archive_symbols): For the default |
2005-02-15 Jan Beulich <jbeulich@novell.com> |
|
version, check references with only one `@' first. |
|
671 |
|
|
672 |
2002-06-23 John David Anglin <dave@hiauly1.hia.nrc.ca> |
* elfxx-ia64.c (ia64_howto_table): Correct strings for |
673 |
|
R_IA64_DTPMOD64[LM]SB. |
674 |
|
|
675 |
* elf64-hppa.c (elf64_hppa_mark_milli_and_exported_functions): New |
2005-02-14 H.J. Lu <hongjiu.lu@intel.com> |
|
function. |
|
|
(allocate_global_data_dlt): Don't add millicode symbols to dynamic |
|
|
symbol table. |
|
|
(allocate_global_data_opd, allocate_dynrel_entries): Likewise. |
|
|
(elf64_hppa_size_dynamic_sections): Revise to use |
|
|
elf64_hppa_mark_milli_and_exported_functions. |
|
|
(elf64_hppa_finish_dynamic_symbol): Remove code to keep millicode |
|
|
symbols out of dynamic symbol table. |
|
676 |
|
|
677 |
2002-06-23 Alan Modra <amodra@bigpond.net.au> |
* elfxx-ia64.c (elfNN_ia64_relax_section): Allow relax |
678 |
|
backward branch in the same section. |
679 |
|
(elfNN_ia64_relocate_section): Inform users that the input |
680 |
|
section is too big to relax br instruction when overflow |
681 |
|
happens to R_IA64_PCREL21B, R_IA64_PCREL21BI, R_IA64_PCREL21M |
682 |
|
and R_IA64_PCREL21F. |
683 |
|
|
684 |
* Makefile.in: Regenerate. |
2005-02-14 Orjan Friberg <orjanf@axis.com> |
|
* libbfd.h: Regenerate. |
|
|
* bfd-in2.h: Regenerate. |
|
|
* configure: Regenerate. |
|
|
* po/SRC-POTFILES.in: Regenerate. |
|
685 |
|
|
686 |
* elflink.h: Comment typo fixes. |
* elfcore.h (elf_core_file_p): Move the call to |
687 |
|
elf_backend_object_p to allow the correct machine to be set before |
688 |
|
processing the program headers. |
689 |
|
|
690 |
2002-06-23 H.J. Lu <hjl@gnu.org> |
2005-02-14 Nick Clifton <nickc@redhat.com> |
691 |
|
|
692 |
* elf-bfd.h (elf_link_loaded_list): New structure. |
PR binutils/716 |
693 |
(elf_link_hash_table): Add "loaded". |
* peicode.h (pe_bfd_copy_private_bfd_data): Copy the large address |
694 |
* elf.c (_bfd_elf_link_hash_table_init): Initialize "loaded". |
aware flag from the input bfd to the output bfd. |
|
* elflink.h (elf_link_check_versioned_symbol): New function. |
|
|
(elf_link_output_extsym): Call elf_link_check_versioned_symbol. |
|
|
|
|
|
2002-06-19 Nick Clifton <nickc@cambridge.redhat.com> |
|
|
|
|
|
* elflink.h (size_dynamic_sections): If the target does not |
|
|
support an ELF style hash table, return true, indicating that |
|
|
nothing needed to be done, rather than false, indicating that the |
|
|
section's size could not be computed. |
|
|
|
|
|
2002-06-18 Dave Brolley <brolley@redhat.com> |
|
|
|
|
|
From Catherine Moore, Michael Meissner, Dave Brolley: |
|
|
* po/SRC-POTFILES.in: Add cpu-frv.c and elf32-frv.c |
|
|
* targets.c: Support bfd_elf32_frv_vec. |
|
|
* reloc.c: Add FRV relocs. |
|
|
* configure.in: Add support for bfd-elf32-frv-vec. |
|
|
* config.bfd (targ_cpu): Add support for frv-*-elf. |
|
|
* archures.c: Add frv arch and machines. |
|
|
* Makefile.am (ALL_MACHINES): Add cpu-frv.lo. |
|
|
(ALL_MACHINES_CFILES): Add cpu-frv.c. |
|
|
(BFD32_BACKENDS): Add elf32-frv.lo. |
|
|
(BFD32_BACKENDS_CFILES): Add elf32-frv.c |
|
|
(cpu-frv.lo): New target. |
|
|
(elf32-frv.lo): New target. |
|
|
* cpu-frv.c: New file. |
|
|
* elf32-frv.c: New file. |
|
|
|
|
|
2002-06-18 Jakub Jelinek <jakub@redhat.com> |
|
|
|
|
|
* elfcode.h (elf_object_p): Sanity check eh_shoff == 0 implies |
|
|
e_shnum == 0. |
|
|
Only read the first section header if e_shoff is non-zero. |
|
|
Don't consider e_shstrndx if there are no sections. |
|
|
|
|
|
2002-06-17 Tom Rix <trix@redhat.com> |
|
|
|
|
|
* elf32-d10v.c (elf_d10v_howto_table): Change R_D10V_10_PCREL_R, |
|
|
R_D10V_10_PCREL_L and R_D10V_18_PCREL to use |
|
|
complain_overflow_bitfield. |
|
|
|
|
|
2002-06-17 Alan Modra <amodra@bigpond.net.au> |
|
|
|
|
|
* opncls.c (bfd_openr): Remove redundant bfd_set_error. |
|
|
(bfd_fdopenr): Likewise. |
|
|
(bfd_openstreamr): Likewise. |
|
|
(bfd_openw): Likewise. |
|
|
|
|
|
* targets.c: Sort target vecs. |
|
|
(_bfd_target_vector): Add aix5coff64_vec, bfd_elf32_sh64_vec, |
|
|
bfd_elf32_sh64l_vec, bfd_elf32_sh64lnbsd_vec, |
|
|
bfd_elf32_sh64nbsd_vec, bfd_elf64_sh64_vec, bfd_elf64_sh64l_vec, |
|
|
bfd_elf64_sh64lnbsd_vec, bfd_elf64_sh64nbsd_vec. |
|
|
* configure.in: Sort target vecs. Add m88kmach3_vec. |
|
|
* configure: Regenerate. |
|
695 |
|
|
696 |
2002-06-16 Hans-Peter Nilsson <hp@bitrange.com> |
2005-02-11 Maciej W. Rozycki <macro@mips.com> |
697 |
|
|
698 |
* elf64-mmix.c (bpo_reloc_request_sort_fn): Use member |
* elf32-mips.c (_bfd_mips_elf32_gprel16_reloc): Reject |
699 |
bpo_reloc_no to break sort order ties, not address of items. |
R_MIPS_LITERAL relocations for external symbols. |
700 |
|
* elf64-mips.c (mips_elf64_literal_reloc): Likewise. |
701 |
|
* elfn32-mips.c (mips_elf_literal_reloc): Likewise. |
702 |
|
|
703 |
2002-06-16 John David Anglin <dave@hiauly1.hia.nrc.ca> |
2005-02-11 H.J. Lu <hongjiu.lu@intel.com> |
704 |
|
|
705 |
* elf-hppa.h (elf_hppa_final_link): Fix formatting in comment. |
* bfd-in2.h: Rebuilt. |
|
Skip excluded sections in determing __gp value. |
|
|
(elf_hppa_final_link_relocate): Use the symbol's address in |
|
|
R_PARISC_FPTR64 relocations that don't need an opd entry. |
|
|
* elf64-hppa.c (allocate_dynrel_entries): Simplify code. |
|
|
(elf64_hppa_finalize_dynreloc): Likewise. |
|
|
(elf64_hppa_size_dynamic_sections): Move comments and fix typo. |
|
|
(elf64_hppa_finish_dynamic_symbol): Break up assert. |
|
706 |
|
|
707 |
2002-06-14 Sergey Grigoriev <serge@leopold.Physik.Uni-Augsburg.DE> |
2005-02-11 Paul Brook <paul@codesourcery.com> |
708 |
|
|
709 |
* pei-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Enable 16 byte |
* elf-bfd.h (struct elf_link_hash_table): Add |
710 |
alignment for .bss, .data and .text sections so that sse and sse2 |
is_relocatable_executable. |
711 |
code will work. |
* elf.c (_bfd_elf_link_hash_table_init): Initialize it. |
712 |
* pe-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Likewise. |
* elflink.c (bfd_elf_link_record_dynamic_symbol): Create local dynamic |
713 |
|
symbols in relocatable executables. |
714 |
|
(bfd_elf_record_link_assignment): Create dynamic section symbols in |
715 |
|
relocatable executables. |
716 |
|
(_bfd_elf_link_renumber_dynsyms): Ditto. |
717 |
|
(bfd_elf_final_link): Ditto. |
718 |
|
* elf32-arm.c (elf32_arm_final_link_relocate): Copy absolute |
719 |
|
relocations into relocatable executables. |
720 |
|
(elf32_arm_check_relocs): Crate dynamic sections for relocatable |
721 |
|
executables. Also copy absolute relocations. |
722 |
|
(elf32_arm_adjust_dynamic_symbol): Don't create copy relocations |
723 |
|
in relocatable executables. |
724 |
|
(allocate_dynrelocs): Copy relocations for relocatable executables. |
725 |
|
Output dynamic symbols for symbols defined in linker scripts. |
726 |
|
|
727 |
2002-06013 J"orn Rennecke <joern.rennecke@superh.com> |
2005-02-11 Nick Clifton <nickc@redhat.com> |
728 |
|
|
729 |
config.bfd: Add support for sh[1234]l*-*-elf* | sh3el*-*-elf*, |
* libbfd.c (read_signed_leb128): Use an unsigned type for 'shift' |
730 |
sh[1234]*-elf*. |
to avoid a compile time warning. |
731 |
|
|
732 |
2002-06-12 John David Anglin <dave@hiauly1.hia.nrc.ca> |
* coff-alpha.c (alpha_adjust_reloc_in): Remove redundant test from |
733 |
|
BFD_ASSERT. |
734 |
|
|
735 |
* elflink.h (elf_bfd_final_link): Improve error handling for missing |
* coff-tic4x.c (coff_rtype_to_howto): Move definition before |
736 |
dynamic sections. |
inclusion of coffcode.h so that it is actually picked up. |
737 |
|
|
738 |
* elf64-hppa.c (allocate_global_data_opd): We don't need an opd entry |
* coffcode.h (coff_std_swap_table): Add an unused attribute in |
739 |
for a symbol that has no output section. |
case it is not used. |
|
(allocate_dynrel_entries): Correct comment. |
|
|
(elf64_hppa_finalize_dynreloc): Likewise. Don't create an opd entry |
|
|
unless we want one. |
|
|
(elf64_hppa_finalize_opd): Prevent segfault if dyn_h is NULL. |
|
|
(elf64_hppa_finalize_dlt): Likewise. Prevent segfault for symbols |
|
|
with no section. Remove unnecessary parentheses. |
|
740 |
|
|
741 |
2002-06-11 Tom Rix <trix@redhat.com> |
* elf32-ip2k.c (ip2k_call_opcode, IS_CALL_OPCODE): Remove unused |
742 |
|
structure and macro. |
743 |
|
|
744 |
* coffcode.h (coff_compute_section_file_positions): Add data |
* elf32-iq2000.c (iq2000_reloc_map): Remove unused structure and |
745 |
section to AIX loader alignment check. |
array. |
746 |
|
|
747 |
* coff-rs6000.c (_bfd_xcoff_mkobject): Set default text section |
* elf32-m32r.c (m32r_reloc_map_old): Use #ifdef USE_M32R_OLD_RELOC |
748 |
alignment to 4 bytes. |
to protect the declaration of this array. |
|
(_bfd_xcoff_copy_private_bfd_data): Use text and data alignment |
|
|
power accessor macro. |
|
|
(do_shared_object_padding): Remove invalid assertion. |
|
749 |
|
|
750 |
2002-06-10 Richard Sandiford <rsandifo@redhat.com> |
* xsym.c (bfd_sym_parse_contained_variables_table_entry_v32): |
751 |
|
Avoid call to memcpy with a size of 0. |
752 |
|
|
753 |
* section.c (_bfd_strip_section_from_output): Set SEC_EXCLUDE |
2005-02-12 Alan Modra <amodra@bigpond.net.au> |
|
for removed output sections. |
|
754 |
|
|
755 |
2002-06-10 Geoffrey Keating <geoffk@redhat.com> |
* elf64-ppc.c (toc_adjusting_stub_needed): Return true for |
756 |
|
old-style branches to undefined dot-symbols which will be |
757 |
|
satisfied by a plt call. |
758 |
|
|
759 |
* merge.c (merge_strings): Use htab_create_alloc with calloc, not |
2005-02-11 Alan Modra <amodra@bigpond.net.au> |
|
htab_alloc. |
|
|
* elf-strtab.c (_bfd_elf_strtab_finalize): Likewise. |
|
760 |
|
|
761 |
2002-06-08 H.J. Lu <hjl@gnu.org> |
* elf64-ppc.c (move_plt_plist): New function, extracted from.. |
762 |
|
(ppc64_elf_copy_indirect_symbol): ..here. |
763 |
|
(func_desc_adjust): Use move_plt_plist. |
764 |
|
|
765 |
* elf.c (copy_private_bfd_data): Don't cast to bfd_size_type to |
2005-02-10 Paul Brook <paul@codesourcery.com> |
|
work around a long long bug in gcc 2.96 on mips. |
|
766 |
|
|
767 |
2002-06-08 Jason Thorpe <thorpej@wasabisystems.com> |
* elf32-arm.c (elf32_arm_final_link_relocate): Handle R_ARM_THM_PC9. |
768 |
|
|
769 |
* Makefile.am (BFD32_BACKENDS): Add vax1knetbsd.lo. |
2005-02-10 Paul Brook <paul@codesourcery.com> |
|
(BFD32_BACKENDS_CFILES): Add vax1knetbsd.c. |
|
|
Regenerate dependency lists. |
|
|
* Makefile.in: Regenerate. |
|
|
* config.bfd (vax-*-netbsdelf*, vax-*-netbsdaout*): Add |
|
|
vax1knetbsd_vec to targ_selvecs. |
|
|
* configure.in: Add vax1knetbsd_vec. |
|
|
* configure: Regenerate. |
|
|
* targets.c (_bfd_target_vector): Add vax1knetbsd_vec. |
|
|
* vax1knetbsd.c: New file. |
|
|
* vaxnetbsd.c: Update copyright years. |
|
|
(TARGET_PAGE_SIZE): Set to 0x1000. |
|
|
(DEFAULT_MID): Set to M_VAX4K_NETBSD. |
|
770 |
|
|
771 |
2002-06-08 Matt Thomas <matt@3am-software.com> |
* elflink.c (bfd_elf_record_link_assignment): Make hidden and internal |
772 |
|
symbols local. |
773 |
|
(elf_link_renumber_hash_table_dynsyms): Ignore local symbols. |
774 |
|
(elf_link_renumber_local_hash_table_dynsyms): New function. |
775 |
|
(_bfd_elf_link_renumber_dynsyms): Number local dynamic symbols. |
776 |
|
|
777 |
* libaout.h (enum machine_type): Add M_VAX4K_NETBSD. |
2005-02-10 Jakub Jelinek <jakub@redhat.com> |
778 |
|
|
779 |
2002-06-08 Alan Modra <amodra@bigpond.net.au> |
* bfd-in.h (BFD_LINKER_CREATED): Define. |
780 |
|
* bfd-in2.h: Rebuilt. |
781 |
|
* elflink.c (bfd_elf_size_dynamic_sections): Disregard |
782 |
|
BFD_LINKER_CREATED bfds when determining input bfds without |
783 |
|
.note.GNU-stack section. |
784 |
|
|
785 |
* elf64-sh64.c (sh64_elf64_link_output_symbol_hook): Make static. |
2005-02-10 Maciej W. Rozycki <macro@mips.com> |
786 |
|
|
787 |
2002-06-08 Alan Modra <amodra@bigpond.net.au> |
* elf64-mips.c (mips16_gprel_reloc): Update a comment. |
788 |
|
* elfn32-mips.c (mips16_gprel_reloc): Keep R_MIPS16_GPREL |
789 |
|
relocations against external symbols unchanged. |
790 |
|
|
791 |
* Makefile.am: Run "make dep-am". |
2005-02-08 Paul Brook <paul@codesourcery.com> |
|
* Makefile.in: Regenerate. |
|
792 |
|
|
793 |
* armnetbsd.c: Replace CONST with const. |
* elflink.c (elf_link_input_bfd): Ignore symbols from null input |
794 |
* corefile.c: Likewise. |
sections. |
|
* elf32-dlx.c: Likewise. |
|
|
* elf64-mips.c: Likewise. |
|
|
* mmo.c: Likewise. |
|
|
* ns32knetbsd.c: Likewise. |
|
795 |
|
|
796 |
* elf64-sparc.c (sparc64_elf_add_symbol_hook): Check the hash |
2005-02-08 Hans-Peter Nilsson <hp@axis.com> |
|
table is elf64-sparc. |
|
797 |
|
|
798 |
2002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
* elflink.c (elf_link_add_object_symbols): Don't add "warning: " |
799 |
|
prefix here. |
800 |
|
|
801 |
* elfxx-mips.c (_bfd_mips_elf_relocate_section): Simplify code. |
2005-02-07 Maciej W. Rozycki <macro@mips.com> |
|
Fix RELA addends to get not shifted in the result. Don't do special |
|
|
handling of R_MIPS_64 for NewABI. |
|
802 |
|
|
803 |
2002-06-07 Alan Modra <amodra@bigpond.net.au> |
* elf64-mips.c: Fix formatting throughout. |
804 |
|
|
805 |
* aoutx.h (NAME(aout,slurp_symbol_table)): Use bfd_zmalloc. |
2005-02-07 Maciej W. Rozycki <macro@mips.com> |
806 |
(NAME(aout,slurp_reloc_table)): Likewise. |
|
807 |
* coff-mips.c (mips_relax_section): Use bfd_zalloc. |
* elfn32-mips.c (elf_mips_howto_table_rela): Fix a comment typo. |
808 |
* coff-rs6000.c (xcoff_write_armap_big): Use bfd_zmalloc. |
|
809 |
(xcoff_write_archive_contents_big): Likewise. |
2005-02-07 Alexandre Oliva <aoliva@redhat.com> |
810 |
(xcoff_generate_rtinit): Likewise. |
|
811 |
(xcoff_generate_rtinit): Likewise, and check error return. |
* elf32-frv.c (FRVFDPIC_SYM_LOCAL): Remove special handling for |
812 |
* coff64-rs6000.c (xcoff64_generate_rtinit): Likewise. |
*ABS*/*UND* sections. |
813 |
* coffgen.c (coff_section_symbol): Use bfd_zalloc. |
(elf32_frv_relocate_section): Move zero-addend-required error... |
814 |
(coff_get_normalized_symtab): Likewise. |
(_frv_emit_got_relocs_plt_entries): ... here. Report error for |
815 |
(coff_make_empty_symbol): Likewise. |
missing needed TLS section. |
816 |
(bfd_coff_set_symbol_class): Likewise. |
|
817 |
* cofflink.c (coff_link_add_symbols): Likewise. |
2005-02-07 Hans-Peter Nilsson <hp@axis.com> |
818 |
* ecoff.c (_bfd_ecoff_make_empty_symbol): Likewise. |
|
819 |
* ecofflink.c (ecoff_write_shuffle): Use bfd_zmalloc. |
* aoutx.h (NAME(aout,find_nearest_line)): Correct case for N_SO |
820 |
(bfd_ecoff_write_accumulated_debug): Likewise. |
being the last symbol. |
821 |
* elf64-alpha.c (get_got_entry): Use bfd_zalloc. |
(aout_link_add_symbols): Just return TRUE if a warning |
822 |
* i386linux.c (bfd_i386linux_size_dynamic_sections): Likewise. |
symbol was last. |
823 |
* i386lynx.c (NAME(lynx,slurp_reloc_table)): Use bfd_zmalloc. |
|
824 |
* ieee.c (do_with_relocs): Use bfd_zalloc. |
2005-02-07 Maciej W. Rozycki <macro@mips.com> |
825 |
* m68klinux.c (bfd_m68klinux_size_dynamic_sections): Likewise. |
|
826 |
* pdp11.c (NAME(aout,slurp_symbol_table)): Use bfd_zmalloc. |
* elf32-mips.c (mips_elf_gprel32_reloc): Reject |
827 |
(NAME(aout,slurp_reloc_table)): Likewise. |
R_MIPS_GPREL32 relocations against external symbols. |
828 |
(NAME(aout,squirt_out_relocs)): Don't memset when zalloc'd. |
* elf64-mips.c (mips_elf64_gprel32_reloc): Replace an incorrect |
829 |
* reloc16.c (bfd_coff_reloc16_relax_section): Use bfd_zmalloc. |
comment. |
830 |
* som.c (som_build_and_write_symbol_table): Likewise. |
|
831 |
(som_slurp_string_table): Likewise. |
2005-02-07 Alan Modra <amodra@bigpond.net.au> |
832 |
(som_slurp_symbol_table): Likewise. |
|
833 |
(som_bfd_ar_write_symbol_stuff): Likewise. |
* elf-bfd.h (elf_string_from_elf_strtab): Delete macro. |
834 |
* sparclinux.c (bfd_sparclinux_size_dynamic_sections): Use bfd_zalloc. |
* elf.c (bfd_elf_string_from_elf_section): Expand occurrence of |
835 |
* sunos.c (bfd_sunos_size_dynamic_sections): Likewise. |
elf_string_from_elf_strtab. |
836 |
* tekhex.c (find_chunk): Likewise. Get rid of unused "sname". |
(_bfd_elf_setup_group_pointers, bfd_section_from_shdr): Likewise. |
837 |
* vms-gsd.c (_bfd_vms_slurp_gsd): Use bfd_zmalloc. |
(bfd_section_from_shdr): For SHT_SYMTAB, load SHT_SYMTAB_SHNDX too |
838 |
* xcofflink.c (xcoff_link_add_symbols): Use bfd_zalloc/bfd_zmalloc. |
if it exists. Don't do the reverse for SHT_SYMTAB_SHNDX. For |
839 |
|
SHT_STRTAB, check whether the strtab is for symtab or dynsymtab by |
840 |
2002-06-07 Alan Modra <amodra@bigpond.net.au> |
looking at cached symtab info first, before iterating over headers. |
841 |
|
For SHT_REL and SHT_RELA, load dynsymtab if needed. |
842 |
* elf-bfd.h (struct bfd_elf_section_data <group_name>): Replace with |
* elfcode.h (elf_object_p): Don't load section header stringtab |
843 |
"group" union. |
specially. |
844 |
(elf_group_name): Update. |
|
845 |
(elf_group_id): Define. |
2005-02-06 H.J. Lu <hongjiu.lu@intel.com> |
846 |
(bfd_elf_set_group_contents): Declare. |
|
847 |
* elf.c (elf_fake_sections): Qualify use of elf_group_name. |
* elf32-i386.c (elf_i386_relocate_section): Disallow R_386_GOTOFF |
848 |
(set_group_contents): Rename to bfd_elf_set_group_contents. Remove |
against protected function when building shared library. |
849 |
ATTRIBUTE_UNUSED from failedptrarg. If elf_group_id is set, use |
|
850 |
that sym for the signature. |
PR 584 |
851 |
(_bfd_elf_compute_section_file_positions): Don't call |
* elf64-x86-64.c (is_32bit_relative_branch): New. |
852 |
set_group_contents for "ld -r" case. |
(elf64_x86_64_relocate_section): Alllow R_X86_64_PC32 on a |
853 |
(swap_out_syms): Use bfd_zalloc. |
protected function symbol when building shared library for |
854 |
* elflink.h (elf_link_add_archive_symbols): Likewise. |
32bit relative branch instruction. |
855 |
(NAME(bfd_elf,size_dynamic_sections)): Likewise. |
|
856 |
(elf_bfd_final_link): Call bfd_elf_set_group_contents. |
2005-02-06 Alan Modra <amodra@bigpond.net.au> |
857 |
|
|
858 |
|
* elf64-ppc.c (add_symbol_adjust): Don't create fake descriptor |
859 |
|
syms when doing a relocatable link. |
860 |
|
(ppc64_elf_gc_mark_hook): Check that syms are defined before looking |
861 |
|
at u.def.section. |
862 |
|
(ppc64_elf_tls_setup): Likewise. |
863 |
|
(ppc64_elf_edit_opd): Don't use an undefined func desc sym. |
864 |
|
|
865 |
|
2005-02-04 Alan Modra <amodra@bigpond.net.au> |
866 |
|
|
867 |
|
* elf64-ppc.c (struct ppc_link_hash_entry): Add "fake". |
868 |
|
(link_hash_newfunc): Clear all locals using memset. |
869 |
|
(make_fdh): Remove flags param. Always create fake func desc |
870 |
|
weak. Link the descriptor with the code entry sym. |
871 |
|
(ppc64_elf_archive_symbol_lookup): Don't return fake syms. |
872 |
|
(add_symbol_adjust): Adjust make_fdh call. |
873 |
|
(func_desc_adjust): Likewise. Twiddle any pre-existing fake |
874 |
|
descriptor to strong undefined if code entry is strong. |
875 |
|
|
876 |
|
2005-02-04 Alan Modra <amodra@bigpond.net.au> |
877 |
|
|
878 |
|
* elflink.c (bfd_elf_record_link_assignment): Do "provide" symbol |
879 |
|
lookup here. Set to new before calling bfd_link_repair_undef_list. |
880 |
|
(elf_smash_syms): Check that u.undef.weak isn't the not_needed bfd. |
881 |
|
|
882 |
|
2005-02-03 Alan Modra <amodra@bigpond.net.au> |
883 |
|
|
884 |
|
* linker.c (_bfd_link_hash_newfunc): Set all local fields. |
885 |
|
|
886 |
|
2005-02-03 Alan Modra <amodra@bigpond.net.au> |
887 |
|
|
888 |
|
* linker.c (_bfd_generic_link_add_one_symbol): Set u.undef.weak. |
889 |
|
* elflink.c (elf_smash_syms): Restore symbols that were undefweak |
890 |
|
before the as-needed lib was loaded. Abort on unexpected refs. |
891 |
|
|
892 |
|
2005-02-02 Alan Modra <amodra@bigpond.net.au> |
893 |
|
|
894 |
|
* elflink.c (elf_smash_syms): Expand comments. |
895 |
|
(elf_link_add_object_symbols): Only call elf_smash_syms for |
896 |
|
as-needed dynamic objects. |
897 |
|
|
898 |
|
* elfxx-ia64.c (elfNN_ia64_new_elf_hash_entry): Don't clear |
899 |
|
everything, just the field specific to ia64. |
900 |
|
* elf64-hppa.c (elf64_hppa_new_dyn_hash_entry): Likewise. |
901 |
|
|
902 |
|
2005-02-01 Alan Modra <amodra@bigpond.net.au> |
903 |
|
|
904 |
|
* elf64-ppc.c (func_desc_adjust): Move code creating func desc sym to.. |
905 |
|
(make_fdh): ..here. New function. Don't set BSF_OBJECT for |
906 |
|
undefined syms. |
907 |
|
(struct add_symbol_adjust_data): New. |
908 |
|
(add_symbol_adjust): Make an undefweak func desc for old ABI |
909 |
|
objects to link with --as-needed shared libs. Return fail status. |
910 |
|
Don't adjust old ABI func entry sym to weak if func desc syms |
911 |
|
isn't defined. |
912 |
|
(ppc64_elf_check_directives): Adjust call to add_symbol_adjust, |
913 |
|
and return status. |
914 |
|
|
915 |
|
2005-02-01 Hans-Peter Nilsson <hp@axis.com> |
916 |
|
|
917 |
|
* cpu-cris.c (get_compatible): Rearrange disabled code and comment |
918 |
|
for clarity. |
919 |
|
|
920 |
|
2005-02-01 Alan Modra <amodra@bigpond.net.au> |
921 |
|
|
922 |
|
* elf64-ppc.c (ppc64_elf_check_directives): Move undefs list fixup.. |
923 |
|
* linker.c (bfd_link_repair_undef_list): ..to new function, but don't |
924 |
|
remove anything but new and undefweak. |
925 |
|
* elflink.c (_bfd_elf_link_create_dynamic_sections): Override any |
926 |
|
existing _DYNAMIC. |
927 |
|
(_bfd_elf_create_dynamic_sections): Formatting. |
928 |
|
(bfd_elf_record_link_assignment): Call bfd_link_repair_undef_list. |
929 |
|
(_bfd_elf_merge_symbol): Don't handle as-needed syms here. |
930 |
|
(struct elf_smash_data): New. |
931 |
|
(elf_smash_syms): New function. |
932 |
|
(elf_link_add_object_symbols): Call elf_smash_syms. Don't add |
933 |
|
unneeded dynamic objects to loaded list. |
934 |
|
(elf_link_output_extsym): Don't handle as-needed here. Strip |
935 |
|
bfd_link_hash_new symbols. |
936 |
|
* elf32-cris.c (elf_cris_discard_excess_program_dynamics): Don't |
937 |
|
delref when dynindx is already -1. |
938 |
|
* elf64-alpha.c (elf64_alpha_output_extsym): Strip bfd_link_hash_new |
939 |
|
symbols. |
940 |
|
* elfxx-mips.c (mips_elf_output_extsym): Likewise. |
941 |
|
|
942 |
|
2005-02-01 Ben Elliston <bje@au.ibm.com> |
943 |
|
|
944 |
|
* elfxx-target.h (bfd_elfNN_bfd_discard_group): Redefine. |
945 |
|
|
946 |
|
2005-02-01 Ben Elliston <bje@au.ibm.com> |
947 |
|
|
948 |
|
* aout-arm.c, aout-target.h, aoutx.h, archive.c, armnetbsd.c, |
949 |
|
bfd-in.h, bfdio.c, coff-alpha.c, coff-arm.c, coff-h8300.c, |
950 |
|
coff-i860.c, coff-mcore.c, coff-or32.c, coff-ppc.c, coff-sh.c, |
951 |
|
coff-sparc.c, coffcode.h, coffgen.c, cofflink.c, cpu-cris.c, |
952 |
|
cpu-h8500.c, cpu-ns32k.c, ecoff.c, ecofflink.c, elf.c, |
953 |
|
elf32-dlx.c, elf32-fr30.c, elf32-frv.c, elf32-hppa.c, |
954 |
|
elf32-i860.c, elf32-ip2k.c, elf32-m32r.c, elf32-sh.c, |
955 |
|
elf32-v850.c, elf64-mips.c, elf64-sparc.c, elflink.c, |
956 |
|
i386aout.c, i386msdos.c, i386os9k.c, ieee.c, mach-o.c, |
957 |
|
nlm32-sparc.c, oasys.c, opncls.c, pdp11.c, pe-mips.c, peXXigen.c, |
958 |
|
pef.c, peicode.h, reloc.c, riscix.c, section.c, simple.c, som.c, |
959 |
|
sparclynx.c, targets.c, vms-misc.c, vms-tir.c, xsym.c, doc/chew.c, |
960 |
|
hosts/delta68.h, hosts/vaxbsd.h: Remove #if 0'd code |
961 |
|
throughout. Similarly, collapse #if 1'd code. |
962 |
|
|
963 |
|
2005-02-01 Ben Elliston <bje@au.ibm.com> |
964 |
|
|
965 |
|
* elf-bfd.h (bfd_elf_discard_group): Remove. |
966 |
|
* elf.c (bfd_elf_discard_group): Likewise. |
967 |
|
* elfxx-target.h (bfd_elfNN_bfd_discard_group): Remove macro. |
968 |
|
|
969 |
|
2005-01-31 Richard Sandiford <rsandifo@redhat.com> |
970 |
|
|
971 |
|
* elf-bfd.h (elf_backend_data): Add elf_backend_eh_frame_address_size. |
972 |
|
(_bfd_elf_eh_frame_address_size): Declare. |
973 |
|
* elfxx-target.h (elf_backend_eh_frame_address_size): Define a default. |
974 |
|
(elfNN_bed): Initialize elf_backend_eh_frame_address_size. |
975 |
|
* elfxx-mips.h (_bfd_mips_elf_eh_frame_address_size): Declare. |
976 |
|
(elf_backend_eh_frame_address_size): Define. |
977 |
|
* elfxx-mips.c (_bfd_mips_elf_eh_frame_address_size): New function. |
978 |
|
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Get the address |
979 |
|
size from the new backend hook. |
980 |
|
(_bfd_elf_write_section_eh_frame): Likewise. |
981 |
|
(_bfd_elf_eh_frame_address_size): New function. |
982 |
|
|
983 |
|
2005-01-31 Andrew Cagney <cagney@gnu.org> |
984 |
|
|
985 |
|
* configure: Regenerate to track ../gettext.m4. |
986 |
|
|
987 |
|
2005-01-31 Mark Mitchell <mark@codesourcery.com> |
988 |
|
|
989 |
|
* elf32-arm.c (elf32_arm_symbian_special_sections): Do not set |
990 |
|
SHF_WRITE for .init_array, .fini_array, and .preinit_array. |
991 |
|
|
992 |
|
2005-01-31 Nick Clifton <nickc@redhat.com> |
993 |
|
|
994 |
|
* confg.bfd: Make targets scheduled for obsoletion (m68k-lynxos, |
995 |
|
sparc-lynxos, vax-vms) be obsolete. |
996 |
|
|
997 |
|
2005-01-28 Daniel Jacobowitz <dan@codesourcery.com> |
998 |
|
|
999 |
|
* elf-bfd.h (struct elf_backend_data): Add minpagesize. |
1000 |
|
* elf32-arm.c (ELF_MINPAGESIZE): Define. |
1001 |
|
* elf32-ppc.c (ELF_MINPAGESIZE): Define. |
1002 |
|
* elfcode.h (elf_object_p): Use minpagesize instead of |
1003 |
|
maxpagesize. |
1004 |
|
* elfxx-target.h (ELF_MINPAGESIZE): Default to ELF_MAXPAGESIZE. |
1005 |
|
(elfNN_bed): Include ELF_MINPAGESIZE. |
1006 |
|
|
1007 |
|
2005-01-28 Julian Brown <julian@codesourcery.com> |
1008 |
|
|
1009 |
|
* bin-in.h (bfd_elf32_arm_set_target_relocs): Update prototype. |
1010 |
|
* bin-in2.h (bfd_elf32_arm_set_target_relocs): Update prototype. |
1011 |
|
* elf32-arm.c (elf32_arm_link_hash_table): Add fix_v4bx flag. |
1012 |
|
(bfd_elf32_arm_set_target_relocs): Add formal parameter fix_v4bx for |
1013 |
|
passing flag value from ld. Set flag value in global hash table entry. |
1014 |
|
(elf32_arm_final_link_relocate): Add code to implement R_ARM_V4BX |
1015 |
|
relocation. |
1016 |
|
|
1017 |
|
2005-01-27 Andrew Cagney <cagney@gnu.org> |
1018 |
|
|
1019 |
2002-06-07 Alan Modra <amodra@bigpond.net.au> |
* configure: Regenerate to track ../gettext.m4 change. |
1020 |
|
|
1021 |
* elf64-ppc.c (ppc64_elf_relocate_section): Allow unresolved |
2005-01-25 Mark Mitchell <mark@codesourcery.com> |
|
relocs in opd for non-shared too. |
|
1022 |
|
|
1023 |
2002-06-06 Jeffrey Law <law@redhat.com |
* elf32-arm.c (elf_backend_default_use_rela_p): Define to zero for |
1024 |
|
SymbianOS. |
1025 |
|
|
1026 |
* elf32-h8300.c (elf32_h8_relax_section): Ignore uninteresting |
2005-01-25 Alexandre Oliva <aoliva@redhat.com> |
1027 |
|
|
1028 |
|
2004-12-10 Alexandre Oliva <aoliva@redhat.com> |
1029 |
|
* elf32-frv.c (elf32_frv_relocate_section): Force local binding |
1030 |
|
for TLSMOFF. |
1031 |
|
* reloc.c: Add R_FRV_TLSMOFF. |
1032 |
|
* elf32-frv.c (elf32_frv_howto_table): Likewise. |
1033 |
|
(frv_reloc_map, frv_reloc_type_lookup): Map it. |
1034 |
|
(elf32_frv_relocate_section): Handle it. |
1035 |
|
(elf32_frv_check_relocs): Likewise. |
1036 |
|
* libbfd.h, bfd-in2.h: Rebuilt. |
1037 |
|
2004-11-26 Alexandre Oliva <aoliva@redhat.com> |
1038 |
|
* elf32-frv.c (_frvfdpic_emit_got_relocs_plt_entries): Don't crash |
1039 |
|
when given an undefweak TLS symbol. Fix constant TLS PLT entries |
1040 |
|
such that they return the constant in gr9. |
1041 |
|
(_frvfdpic_relax_tls_entries): Don't crash for undefweak TLS |
1042 |
|
symbols. |
1043 |
|
(_frvfdpic_size_got_plt): Set _cooked_size of dynamic sections. |
1044 |
|
too, such that they shrink on relaxation. |
1045 |
|
(elf32_frvfdpic_finish_dynamic_sections): Check __ROFIXUP_END__ as |
1046 |
|
marking the position right past the _GLOBAL_OFFSET_TABLE_ value. |
1047 |
|
(_frvfdpic_assign_plt_entries): Shrink constant TLS PLT entries |
1048 |
|
if we can guarantee the use of 16-bit constants. |
1049 |
|
2004-11-10 Alexandre Oliva <aoliva@redhat.com> |
1050 |
|
Introduce TLS support for FR-V FDPIC. |
1051 |
|
* reloc.c: Add TLS relocations. |
1052 |
|
* elf32-frv.c (elf32_frv_howto_table): Add TLS relocations. |
1053 |
|
(elf32_frv_rel_tlsdesc_value_howto): New. |
1054 |
|
(elf32_frv_rel_tlsoff_howto): New. |
1055 |
|
(frv_reloc_map): Add new mappings. |
1056 |
|
(struct frvfdpic_elf_link_hash_table): Add pointer to summary |
1057 |
|
reloc information. |
1058 |
|
(frvfdpic_dynamic_got_plt_info): New. |
1059 |
|
(frvfdpic_plt_tls_ret_offset): New. |
1060 |
|
(ELF_DYNAMIC_INTERPRETER, DEFAULT_STACK_SIZE): Move earlier. |
1061 |
|
(struct _frvfdpic_dynamic_got_info): Likewise. Add TLS members. |
1062 |
|
(struct _frvfdpic_dynamic_got_plt_info): Likewise. |
1063 |
|
(FRVFDPIC_SYM_LOCAL): Regard symbols defined in the absolute |
1064 |
|
section as local. |
1065 |
|
(struct frvfdpic_relocs_info): Add TLS fields. |
1066 |
|
(frvfdpic_relocs_info_hash): Warning clean up. |
1067 |
|
(frvfdpic_relocs_info_find): Initialize tlsplt_entry. |
1068 |
|
(frvfdpic_pic_merge_early_relocs_info): Merge TLS fields. |
1069 |
|
(FRVFDPIC_TLS_BIAS): Define. |
1070 |
|
(tls_biased_base): New. |
1071 |
|
(_frvfdpic_emit_got_relocs_plt_entries): Deal with TLS |
1072 |
relocations. |
relocations. |
1073 |
|
(frv_reloc_type_lookup): Likewise. |
1074 |
|
(frvfdpic_info_to_howto_rel): Likewise. |
1075 |
|
(elf32_frv_relocate_section): Likewise. |
1076 |
|
(_frv_create_got_section): Create the PLT section here. |
1077 |
|
(elf32_frvfdpic_create_dynamic_sections): Not here. |
1078 |
|
(_frvfdpic_count_nontls_entries): Move out of... |
1079 |
|
(_frvfdpic_count_got_plt_entries): ... here. |
1080 |
|
(_frvfdpic_count_tls_entries): Likewise. Add TLS support. |
1081 |
|
(_frvfdpic_count_relocs_fixups): Likewise. Add relaxation |
1082 |
|
support. |
1083 |
|
(_frvfdpic_relax_tls_entries): New. |
1084 |
|
(_frvfdpic_compute_got_alloc_data): Add TLS support. |
1085 |
|
(_frvfdpic_get_tlsdesc_entry): New. |
1086 |
|
(_frvfdpic_assign_got_entries): Add TLS support. |
1087 |
|
(_frvfdpic_assign_plt_entries): Likewise. |
1088 |
|
(_frvfdpic_reset_got_plt_entries): New. |
1089 |
|
(_frvfdpic_size_got_plt): Move out of... |
1090 |
|
(elf32_frvfdpic_size_dynamic_sections): ... here. |
1091 |
|
(_frvfdpic_relax_got_plt_entries): New. |
1092 |
|
(elf32_frvfdpic_relax_section): New. |
1093 |
|
(elf32_frvfdpic_finish_dynamic_sections): Add TLS sanity check. |
1094 |
|
(elf32_frv_check_relocs): Add TLS support. |
1095 |
|
(bfd_elf32_bfd_relax_section): Define for FDPIC. |
1096 |
|
* libbfd.h, bfd-in2.h: Rebuilt. |
1097 |
|
|
1098 |
2002-06-06 Nick Clifton <nickc@cambridge.redhat.com> |
2005-01-25 Alan Modra <amodra@bigpond.net.au> |
1099 |
|
|
1100 |
* merge.c: Include libiberty.h. |
* elf.c (_bfd_elf_get_dynamic_reloc_upper_bound): Only include |
1101 |
* elf-strtab.c: Include libiberty.h. |
loadable reloc sections. |
1102 |
|
(_bfd_elf_canonicalize_dynamic_reloc): Likewise. |
1103 |
|
(_bfd_elf_get_synthetic_symtab): Return 0 if no dynamic syms. |
1104 |
|
|
1105 |
2002-06-06 Elias Athanasopoulos <eathan@otenet.gr> |
2005-01-25 Alan Modra <amodra@bigpond.net.au> |
1106 |
|
|
1107 |
* peXXigen.c (pe_print_idata): Remove unused variable. |
* elflink.c (elf_link_add_object_symbols): Don't create link dynamic |
1108 |
|
sections immediately when linking shared libs. Instead, wait until |
1109 |
|
we know a lib is needed. |
1110 |
|
(_bfd_elf_link_create_dynstrtab): Extract from.. |
1111 |
|
(_bfd_elf_link_create_dynamic_sections_): ..here. |
1112 |
|
(elf_add_dt_needed_tag): Call _bfd_elf_link_create_dynstrtab and |
1113 |
|
_bfd_elf_link_create_dynamic_sections. Add abfd param. Allow |
1114 |
|
for non-existent .dynamic. |
1115 |
|
(elf_link_output_extsym): Don't complain about undefined symbols |
1116 |
|
in as-needed dynamic libs that aren't actually linked. |
1117 |
|
|
1118 |
2002-06-06 David Heine <dlheine@tensilica.com> |
2005-01-24 Andrew Cagney <cagney@gnu.org> |
1119 |
|
|
1120 |
* elf.c (assign_file_positions_for_segments): Remove unallocated |
* configure: Regenerate, ../gettext.m4 was updated. |
|
sections from the section to segment mapping for PT_LOAD segments. |
|
|
Update comment about empty loadable segments. |
|
1121 |
|
|
1122 |
2002-06-06 Richard Sandiford <rsandifo@redhat.com> |
2005-01-21 Ben Elliston <bje@au.ibm.com> |
1123 |
|
|
1124 |
* stabs.c (_bfd_link_section_stabs): Check that the symbol offset |
* aout-encap.c: Remove unused file. |
|
is within the .stabstr section. |
|
1125 |
|
|
1126 |
2002-06-06 Alan Modra <amodra@bigpond.net.au> |
2005-01-19 H.J. Lu <hongjiu.lu@intel.com> |
1127 |
|
|
1128 |
* elf-bfd.h (struct elf_size_info <swap_symbol_in>): Function args |
PR 679 |
1129 |
are "const PTR", not "const PTR *". |
* elflink.c (_bfd_elf_dynamic_symbol_p): Only protected |
1130 |
(bfd_elf32_swap_symbol_in): Likewise. |
non-function symbols are local. |
1131 |
(bfd_elf64_swap_symbol_in): Likewise. |
(_bfd_elf_symbol_refs_local_p): Likewise. |
|
* elfcode.h (elf_swap_symbol_in): Change input args to const PTR. |
|
|
(elf_slurp_symbol_table): Adjust call to elf_swap_symbol_in. |
|
|
* elflink.h (elf_link_is_defined_archive_symbol): Likewise. |
|
|
(elf_link_add_object_symbols): Likewise. |
|
|
(elf_link_record_local_dynamic_symbol): Likewise. |
|
|
(elf_link_input_bfd): Likewise. |
|
|
(elf_gc_mark): Likewise. |
|
|
(elf_reloc_symbol_deleted_p): Likewise. |
|
|
* elf-m10200.c (mn10200_elf_relax_section): Likewise. |
|
|
(mn10200_elf_relax_delete_bytes): Likewise. |
|
|
(mn10200_elf_symbol_address_p): Likewise. |
|
|
(mn10200_elf_get_relocated_section_contents): Likewise. |
|
|
* elf-m10300.c (mn10300_elf_relax_section): Likewise. |
|
|
(mn10300_elf_relax_section): Likewise. |
|
|
(mn10300_elf_relax_delete_bytes): Likewise. |
|
|
(mn10300_elf_symbol_address_p): Likewise. |
|
|
(mn10300_elf_get_relocated_section_contents): Likewise. |
|
|
* elf32-h8300.c (elf32_h8_relax_section): Likewise. |
|
|
(elf32_h8_relax_delete_bytes): Likewise. |
|
|
(elf32_h8_symbol_address_p): Likewise. |
|
|
(elf32_h8_get_relocated_section_contents): Likewise. |
|
|
* elf32-hppa.c (get_local_syms): Likewise. |
|
|
* elf32-m68k.c (bfd_m68k_elf32_create_embedded_relocs): Likewise. |
|
|
* elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): Likewise. |
|
|
* elf32-sh.c (sh_elf_relax_section): Likewise. |
|
|
(sh_elf_relax_delete_bytes): Likewise. |
|
|
(sh_elf_get_relocated_section_contents): Likewise. |
|
|
* elf32-xstormy16.c (xstormy16_elf_relax_section): Likewise. |
|
|
* elf64-alpha.c (elf64_alpha_relax_section): Likewise. |
|
|
* elf64-hppa.c (elf64_hppa_check_relocs): Likewise. |
|
|
* elf64-mmix.c (mmix_elf_relax_section): Likewise. |
|
|
* elf64-ppc.c (get_local_syms): Likewise. |
|
|
* elf64-sh64.c (sh_elf64_get_relocated_section_contents): Likewise. |
|
|
* elfxx-ia64.c (elfNN_ia64_relax_section): Likewise. |
|
1132 |
|
|
1133 |
2002-06-05 J"orn Rennecke <joern.rennecke@superh.com> |
2005-01-18 Alan Modra <amodra@bigpond.net.au> |
1134 |
|
|
1135 |
* config.bfd (sh64l*-*-elf*, shl*-*-elf*): New configurations. |
* bfd.c (bfd_link_just_syms): Add abfd param. |
1136 |
|
* bfd-in2.h: Regenerate. |
1137 |
|
|
1138 |
2002-06-05 Alan Modra <amodra@bigpond.net.au> |
2005-01-17 Richard Sandiford <rsandifo@redhat.com> |
1139 |
|
|
1140 |
* elf.c (group_signature): Swap in the whole symbol, and handle |
* elf-eh-frame.c (skip_cfa_op, skip_non_nops): New functions. |
1141 |
extracting section symbol names. |
(_bfd_elf_discard_section_eh_frame): Use them to interpret the CFA |
1142 |
(setup_group): Add comment. |
instructions. If the amount of padding is known, reduce the size |
1143 |
(set_group_contents): When called from objcopy or ld, arrange for |
of the CIE or FDE by that amount. |
1144 |
section contents to be written. Write group member output section |
|
1145 |
indices to allow objcopy to reorganize sections. |
2005-01-17 Richard Sandiford <rsandifo@redhat.com> |
1146 |
(_bfd_elf_copy_private_section_data): Copy group info. |
|
1147 |
|
* elf-bfd.h (struct cie): Use bfd_vmas for code_align, ra_column and |
1148 |
* elf-bfd.h (struct elf_size_info): Add swap_symbol_in field. |
augmentation_size. Use bfd_signed_vmas for data_align. |
1149 |
(bfd_elf32_swap_symbol_in): Update prototype. |
* elf-eh-frame.c (read_uleb128, read_sleb128): Delete in favor of... |
1150 |
(bfd_elf64_swap_symbol_in): Likewise. |
(read_byte, skip_leb128, read_uleb128, read_sleb128): ...these new |
1151 |
* elfcode.h (elf_swap_symbol_in): Change input args to const PTR *. |
functions. Don't read past the end of the enclosing CIE or FDE. |
1152 |
(elf_slurp_symbol_table): Adjust call to elf_swap_symbol_in. |
(skip_bytes): New utility function. |
1153 |
* elflink.h (elf_link_is_defined_archive_symbol): Likewise. |
(_bfd_elf_discard_section_eh_frame): Use new functions, adding more |
1154 |
(elf_link_add_object_symbols): Likewise. |
sanity checking. |
1155 |
(elf_link_record_local_dynamic_symbol): Likewise. |
(_bfd_elf_write_section_eh_frame): Use new functions. |
1156 |
(elf_link_input_bfd): Likewise. |
|
1157 |
(elf_gc_mark): Likewise. |
2005-01-17 Richard Sandiford <rsandifo@redhat.com> |
1158 |
(elf_reloc_symbol_deleted_p): Likewise. |
|
1159 |
* elf-m10200.c (mn10200_elf_relax_section): Likewise. |
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Use an |
1160 |
(mn10200_elf_relax_delete_bytes): Likewise. |
assert-style REQUIRE() macro to handle sanity checks. |
1161 |
(mn10200_elf_symbol_address_p): Likewise. |
|
1162 |
(mn10200_elf_get_relocated_section_contents): Likewise. |
2005-01-17 H.J. Lu <hongjiu.lu@intel.com> |
1163 |
* elf-m10300.c (mn10300_elf_relax_section): Likewise. |
|
1164 |
(mn10300_elf_relax_section): Likewise. |
* dwarf2.c (dwarf2_debug): Move info_ptr_unit to ... |
1165 |
(mn10300_elf_relax_delete_bytes): Likewise. |
(comp_unit): Here. |
1166 |
(mn10300_elf_symbol_address_p): Likewise. |
(read_unsigned_leb128): Removed. |
1167 |
(mn10300_elf_get_relocated_section_contents): Likewise. |
(read_signed_leb128): Removed. |
1168 |
* elf32-h8300.c (elf32_h8_relax_section): Likewise. |
(find_abstract_instance_name): Updated. |
1169 |
(elf32_h8_relax_delete_bytes): Likewise. |
(parse_comp_unit): Accept info_ptr_unit. |
1170 |
(elf32_h8_symbol_address_p): Likewise. |
(_bfd_dwarf2_find_nearest_line): Set info_ptr_unit for each |
1171 |
(elf32_h8_get_relocated_section_contents): Likewise. |
comp unit and pass it to parse_comp_unit. |
1172 |
* elf32-hppa.c (get_local_syms): Likewise. |
|
1173 |
* elf32-m68k.c (bfd_m68k_elf32_create_embedded_relocs): Likewise. |
* elf-eh-frame.c (read_unsigned_leb128): Moved to ... |
1174 |
* elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): Likewise. |
(read_signed_leb128): Moved to ... |
1175 |
* elf32-sh.c (sh_elf_relax_section): Likewise. |
* libbfd.c: Here. |
1176 |
(sh_elf_relax_delete_bytes): Likewise. |
|
1177 |
(sh_elf_get_relocated_section_contents): Likewise. |
* libbfd-in.h (read_unsigned_leb128): New prototype. |
1178 |
* elf32-xstormy16.c (xstormy16_elf_relax_section): Likewise. |
(read_signed_leb128): Likewise. |
1179 |
* elf64-alpha.c (elf64_alpha_relax_section): Likewise. |
* libbfd.h: Regenerated. |
1180 |
* elf64-hppa.c (elf64_hppa_check_relocs): Likewise. |
|
1181 |
* elf64-mmix.c (mmix_elf_relax_section): Likewise. |
2005-01-17 Andrew Stubbs <andrew.stubbs@st.com> |
1182 |
* elf64-ppc.c (get_local_syms): Likewise. |
Nick Clifton <nickc@redhat.com> |
1183 |
* elf64-sh64.c (sh_elf64_get_relocated_section_contents): Likewise. |
|
1184 |
* elfxx-ia64.c (elfNN_ia64_relax_section): Likewise. |
* cpu-sh.c (bfd_to_arch_table): Change arch_sh1_up to arch_sh_up, |
1185 |
* elfcode.h (NAME(_bfd_elf,size_info)): Update initialiser. |
arch__sh4_nofp_up to arch_sh4_nofpu_up and arch_sh4a_nofp_up to |
1186 |
* elf64-alpha.c (alpha_elf_size_info): Likewise. |
arch_sh4a_nofpu_up in order to match the external names and make the |
1187 |
* elf64-hppa.c (hppa64_elf_size_info): Likewise. |
testsuite's job easier. |
1188 |
* elf64-mips.c (mips_elf64_size_info): Likewise. |
* archuires.c: Rename bfd_mach_sh2a_fake? to more meaningful |
1189 |
* elf64-s390.c (s390_elf64_size_info): Likewise. |
names. |
1190 |
* elf64-sparc.c (sparc64_elf_size_info): Likewise. |
* bfd-in2.h: Regenerate. |
|
|
|
|
2002-06-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
|
|
|
|
|
* elf32-mips.c (elf32_mips_ignore_discarded_relocs): Move to... |
|
|
elfxx-mips.c (_bfd_mips_elf_ignore_discarded_relocs): ... here. |
|
|
elf64-mips.c (elf_backend_ignore_discarded_relocs): Use |
|
|
_bfd_mips_elf_ignore_discarded_relocs. |
|
|
elfxx-mips.h (_bfd_mips_elf_ignore_discarded_relocs): Declare. |
|
|
|
|
|
2002-06-05 H.J. Lu <hjl@gnu.org> |
|
|
|
|
|
* elfxx-mips.c (mips_elf_calculate_relocation): Call |
|
|
_bfd_elf_rel_local_sym for STT_SECTION relocations against |
|
|
the SEC_MERGE section. |
|
1191 |
|
|
1192 |
2002-06-05 Alan Modra <amodra@bigpond.net.au> |
2005-01-15 Andrew Cagney <cagney@gnu.org> |
1193 |
|
|
1194 |
* coff-alpha.c: Update copyright date. |
* bfd.m4: New file. |
1195 |
* coff-mips.c: Likewise. |
* acinclude.m4: Move BFD_NEED_DECLARATION, |
1196 |
* xcoff-target.h: Likewise. |
BFD_HAVE_SYS_PROCFS_TYPE and BFD_HAVE_SYS_PROCFS_TYPE_MEMBER to |
1197 |
|
the new file bfd.m4. Include ../bfd/bfd.m4. |
1198 |
|
* configure: Re-generate. |
1199 |
|
|
1200 |
* bfd-in.h: Remove "taken from the source" comment. |
2005-01-12 Alan Modra <amodra@bigpond.net.au> |
1201 |
* libbfd-in.h: Likewise. |
|
1202 |
* libcoff-in.h: Likewise. |
* elf32-ppc.c (ppc_elf_howto_raw): Delete RELAX32* entries. |
1203 |
|
(ppc_elf_relax_section): Use PLT variants of RELAX32 relocs for |
1204 |
|
reaching PLT. |
1205 |
|
(ppc_elf_relocate_section): Handle R_PPC_RELAX32_PLT and |
1206 |
|
R_PPC_RELAX32PC_PLT. |
1207 |
|
|
1208 |
|
2005-01-11 Alan Modra <amodra@bigpond.net.au> |
1209 |
|
|
1210 |
|
* elf64-ppc.c (ppc64_elf_gc_sweep_hook): Follow indirect and warning |
1211 |
|
symbols. |
1212 |
|
* elf32-arm.c (elf32_arm_gc_sweep_hook): Likewise. |
1213 |
|
* elf32-cris.c (cris_elf_gc_sweep_hook): Likewise. |
1214 |
|
* elf32-hppa.c (elf32_hppa_gc_sweep_hook): Likewise. |
1215 |
|
* elf32-i386.c (elf_i386_gc_sweep_hook): Likewise. |
1216 |
|
* elf32-m32r.c (m32r_elf_gc_sweep_hook): Likewise. |
1217 |
|
* elf32-m68k.c (elf_m68k_gc_sweep_hook): Likewise. |
1218 |
|
* elf32-ppc.c (ppc_elf_gc_sweep_hook): Likewise. |
1219 |
|
* elf32-s390.c (elf_s390_gc_sweep_hook): Likewise. |
1220 |
|
* elf32-sh.c (sh_elf_gc_sweep_hook): Likewise. |
1221 |
|
* elf32-sparc.c (elf32_sparc_gc_sweep_hook): Likewise. |
1222 |
|
* elf32-vax.c (elf_vax_gc_sweep_hook): Likewise. |
1223 |
|
* elf32-xtensa.c (elf_xtensa_gc_sweep_hook): Likewise. |
1224 |
|
* elf64-s390.c (elf_s390_gc_sweep_hook): Likewise. |
1225 |
|
* elf64-x86-64.c (elf64_x86_64_gc_sweep_hook): Likewise. |
1226 |
|
|
1227 |
|
2005-01-11 Alan Modra <amodra@bigpond.net.au> |
1228 |
|
|
1229 |
|
* elf32-ppc.c (ppc_elf_create_dynamic_sections): Correct |
1230 |
|
.dynsbss flags. |
1231 |
|
|
1232 |
|
2005-01-10 Inderpreet Singh <inderpreetb@noida.hcltech.com> |
1233 |
|
|
1234 |
|
* archures.c: Define bfd_mach_maxq10 and bfd_mach_maxq20. |
1235 |
|
* bfd-in2.h: Regenerate. |
1236 |
|
* coffcode.h (coff_set_arch_mach_hook, coff_set_flags): Add code |
1237 |
|
to support these new machine values. |
1238 |
|
* cpu-maxq.c (bfd_maxq10_arch): New architecture definition for |
1239 |
|
the maxq10. |
1240 |
|
(bfd_maxq_arch): Update values for the maxq20. |
1241 |
|
|
1242 |
|
2005-01-10 Eric Botcazou <ebotcazou@libertysurf.fr> |
1243 |
|
|
1244 |
|
* elf64-sparc.c (sparc64_elf_adjust_dynamic_symbol): When linking a |
1245 |
|
non-shared object, do not reserve space in .plt and .rela.plt for |
1246 |
|
regular symbols neither defined nor referenced in shared objects. |
1247 |
|
|
1248 |
|
2005-01-09 Eric Botcazou <ebotcazou@libertysurf.fr> |
1249 |
|
|
1250 |
|
* elf32-sparc.c (elf32_sparc_link_hash_table_create): Use bfd_zmalloc |
1251 |
|
to zero the structure. |
1252 |
|
(create_got_section): Use BFD_ASSERT instead of abort. |
1253 |
|
* elf64-sparc.c (struct sparc64_elf_link_hash_table): New 'sgot' and |
1254 |
|
'srelgot' fields. |
1255 |
|
(create_got_section): New function. |
1256 |
|
(sparc64_elf_create_dynamic_sections): Likewise. |
1257 |
|
(sparc64_elf_check_relocs): Invoke create_got_section instead of |
1258 |
|
_bfd_elf_create_got_section. Use the sgot and srelgot shortcuts. |
1259 |
|
(sparc64_elf_size_dynamic_sections): Use the srelgot shortcut. |
1260 |
|
(sparc64_elf_relocate_section): Use the sgot and srelgot shortcuts. |
1261 |
|
(sparc64_elf_finish_dynamic_symbol): Likewise. |
1262 |
|
(sparc64_elf_finish_dynamic_sections): Use the sgot shortcut. |
1263 |
|
(elf_backend_create_dynamic_sections): Define to |
1264 |
|
sparc64_elf_create_dynamic_sections. |
1265 |
|
|
1266 |
|
2005-01-09 Eric Botcazou <ebotcazou@libertysurf.fr> |
1267 |
|
|
1268 |
|
* elf32-sparc.c (elf32_sparc_omit_section_dynsym): New function. |
1269 |
|
(elf_backend_omit_section_dynsym): Define to it. |
1270 |
|
* elf64-sparc.c (sparc64_elf_omit_section_dynsym): New function. |
1271 |
|
(elf_backend_omit_section_dynsym): Define to it. |
1272 |
|
|
1273 |
|
2005-01-07 Jakub Jelinek <jakub@redhat.com> |
1274 |
|
|
1275 |
|
* bfd/elf.c (INCLUDE_SECTION_IN_SEGMENT): Don't put empty sections into |
1276 |
|
PT_DYNAMIC segment, unless .dynamic. |
1277 |
|
|
1278 |
|
2005-01-06 Paul Brook <paul@codesourcery.com> |
1279 |
|
|
1280 |
|
* config.bfd: Add entry for arm-*-vxworks and arm-*-windiss. |
1281 |
|
* configure.in: Add bfd_elf32_{big,little}arm_vxworks_vec. |
1282 |
|
* configure: Regenerate. |
1283 |
|
* elf32-arm.c: Add VxWorks target bfd. |
1284 |
|
(USE_REL): Remove. |
1285 |
|
(elf32_arm_link_hash_table): Add use_rel. |
1286 |
|
(elf32_arm_link_hash_table_create, elf32_arm_final_link_relocate, |
1287 |
|
elf32_arm_relocate_section): Replace USE_REL with runtime check. |
1288 |
|
Correct offset calculation for RELA case. |
1289 |
|
(elf_backend_may_use_rel_p, elf_backend_may_use_rela_p, |
1290 |
|
elf_backend_default_use_rela_p, elf_backend_rela_normal): Define. |
1291 |
|
(elf32_arm_vxworks_link_hash_table_create): New function. |
1292 |
|
* targets.c (bfd_elf32_bigarm_vxworks_vec): Add declaration. |
1293 |
|
(bfd_elf32_littlearm_vxworks_vec): Ditto. |
1294 |
|
(_bfd_target_vector): Add bfd_elf32_{big,little}arm_vxworks_vec. |
1295 |
|
|
1296 |
|
2005-01-06 Alan Modra <amodra@bigpond.net.au> |
1297 |
|
|
1298 |
|
* elf64-ppc.c (struct ppc_link_hash_table): Add no_multi_toc and |
1299 |
|
multi_toc_needed. |
1300 |
|
(has_toc_reloc, makes_toc_func_call, call_check_in_progress): Define. |
1301 |
|
(ppc64_elf_check_relocs): Update references to has_gp_reloc. |
1302 |
|
(ppc64_elf_setup_section_lists): Add no_multi_toc parm, set htab bit. |
1303 |
|
(ppc64_elf_next_toc_section): Heed no_multi_toc. |
1304 |
|
(ppc64_elf_reinit_toc): Set multi_toc_needed. |
1305 |
|
(toc_adjusting_stub_needed): Rewrite. |
1306 |
|
(ppc64_elf_next_input_section): Use multi_toc_needed to shortcut |
1307 |
|
toc tests. Adjust for toc_adjusting_stub_needed changes. |
1308 |
|
(ppc64_elf_size_stubs): Update references to has_gp_reloc. |
1309 |
|
* elf64-ppc.h (ppc64_elf_setup_section_lists): Update prototype. |
1310 |
|
* section.c: Expand comment on backend bits. |
1311 |
* bfd-in2.h: Regenerate. |
* bfd-in2.h: Regenerate. |
1312 |
* libbfd.h: Regenerate. |
* libbfd.h: Regenerate. |
|
* libcoff.h: Regenerate. |
|
1313 |
|
|
1314 |
* elf.c (bfd_elf_discard_group): Return true. |
2005-01-06 Alan Modra <amodra@bigpond.net.au> |
|
* elf-bfd.h (bfd_elf_discard_group): Declare. |
|
|
* bfd-in.h (bfd_elf_discard_group): Don't declare here. |
|
|
* section.c (bfd_discard_group): Rename to bfd_generic_discard_group. |
|
|
* bfd.c (bfd_discard_group): Define. |
|
|
* targets.c (struct bfd_target): Add _bfd_discard_group. |
|
|
(BFD_JUMP_TABLE_LINK): Here too. |
|
|
* libbfd-in.h (_bfd_nolink_bfd_discard_group): Define. |
|
|
* aout-adobe.c (aout_32_bfd_discard_group): Define. |
|
|
* aout-target.h (MY_bfd_discard_group): Define. |
|
|
* aout-tic30.c (MY_bfd_discard_group): Define. |
|
|
* binary.c (binary_bfd_discard_group): Define. |
|
|
* bout.c (b_out_bfd_discard_group): Define. |
|
|
* coff-alpha.c (_bfd_ecoff_bfd_discard_group): Define. |
|
|
* coffcode.h (coff_bfd_discard_group): Define. |
|
|
* coff-mips.c (_bfd_ecoff_bfd_discard_group): Define. |
|
|
* elfxx-target.h (bfd_elfNN_bfd_discard_group): Define. |
|
|
* i386msdos.c (msdos_bfd_discard_group): Define. |
|
|
* i386os9k.c (os9k_bfd_discard_group): Define. |
|
|
* ieee.c (ieee_bfd_discard_group): Define. |
|
|
* ihex.c (ihex_bfd_discard_group): Define. |
|
|
* mmo.c (mmo_bfd_discard_group): Define. |
|
|
* nlm-target.h (nlm_bfd_discard_group): Define. |
|
|
* oasys.c (oasys_bfd_discard_group): Define. |
|
|
* ppcboot.c (ppcboot_bfd_discard_group): Define. |
|
|
* som.c (som_bfd_discard_group): Define. |
|
|
* srec.c (srec_bfd_discard_group): Define. |
|
|
* tekhex.c (tekhex_bfd_discard_group): Define. |
|
|
* versados.c (versados_bfd_discard_group): Define. |
|
|
* vms.c (vms_bfd_discard_group): Define. |
|
|
* xcoff-target.h (_bfd_xcoff_bfd_discard_group): Define. |
|
|
* coff64-rs6000.c (rs6000coff64_vec): Update initialiser. |
|
|
(aix5coff64_vec): Likewise. |
|
|
* coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Likewise. |
|
1315 |
|
|
1316 |
2002-06-04 Jason Thorpe <thorpej@wasabisystems.com> |
* elf64-ppc.c (ppc64_elf_size_stubs): When determining need for |
1317 |
|
toc adjusting stub, do not test source section flags. |
1318 |
|
|
1319 |
* Makefile.am (BFD32_BACKENDS): Add elf32-sh64-com.lo. |
2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr> |
|
(BFD32_BACKENDS_CFILES): Add elf32-sh64-com.c. |
|
|
(elf32-sh64-com.lo): New dependency list. |
|
|
* Makefile.in: Regenerate. |
|
|
* configure.in (bfd_elf32_sh64_vec, bfd_elf32_sh64l_vec) |
|
|
(bfd_elf32_sh64nbsd_vec, bfd_elf32_sh64lnbsd_vec): Add |
|
|
elf32-sh64-com.lo. |
|
|
* configure: Regenerate. |
|
|
* elf32-sh64.c (sh64_address_in_cranges) |
|
|
(sh64_get_contents_type, sh64_address_is_shmedia): Move to... |
|
|
(crange_qsort_cmpb, crange_qsort_cmpl, crange_bsearch_cmpb): |
|
|
(crange_bsearch_cmpl): Prepend _bfd_sh64_ to name and move to... |
|
|
* elf32-sh64-com.c: ...here. New file. |
|
|
|
|
|
2002-06-04 Alan Modra <amodra@bigpond.net.au> |
|
|
|
|
|
* elf32-openrisc.c (openrisc_elf_gc_mark_hook): Remove |
|
|
ATTRIBUTE_UNUSED on used params. |
|
|
* elf32-vax.c (elf_vax_gc_mark_hook): Remove unnecessary checks |
|
|
before calling bfd_section_from_elf_index on local syms. |
|
|
* elf64-sh64.c (sh_elf64_gc_mark_hook): Likewise. |
|
|
|
|
|
2002-06-04 Jason Thorpe <thorpej@wasabisystems.com> |
|
|
|
|
|
* Makefile.am (BFD32_BACKENDS): Add elf32-sh64-nbsd.lo. |
|
|
(BFD32_BACKENDS_CFILES): Add elf32-sh64-nbsd.c. |
|
|
(BFD64_BACKENDS): Add elf64-sh64-nbsd.lo. |
|
|
(BFD64_BACKENDS_CFILES): Add elf64-sh64-nbsd.c. |
|
|
(elf32-sh64-nbsd.lo, elf64-sh64-nbsd.lo): New rules. |
|
|
* Makefile.in: Regenerate. |
|
|
* config.bfd (sh5le-*-netbsd*, sh5-*-netbsd*, sh64le-*-netbsd*) |
|
|
(sh64-*-netbsd*): New targets. |
|
|
* configure.in: Add bfd_elf32_sh64nbsd_vec, bfd_elf32_sh64lnbsd_vec, |
|
|
bfd_elf64_sh64nbsd_vec, and bfd_elf64_sh64lnbsd_vec. |
|
|
* configure: Regenerate. |
|
|
* elf32-sh64-nbsd.c: New file. |
|
|
* elf64-sh64-nbsd.c: New file. |
|
|
* targets.c: Add extern decls for bfd_elf32_sh64nbsd_vec, |
|
|
bfd_elf32_sh64lnbsd_vec, bfd_elf64_sh64nbsd_vec, and |
|
|
bfd_elf64_sh64lnbsd_vec. |
|
|
|
|
|
2002-06-04 Alan Modra <amodra@bigpond.net.au> |
|
|
|
|
|
* elf.c (setup_group): Set SEC_LINK_ONCE on GRP_COMDAT groups. |
|
|
(bfd_section_from_shdr): Likewise. Set section name of group |
|
|
sections from signature. |
|
|
(group_signature): Split out from setup_group. Ensure symbol table |
|
|
is available. |
|
|
(bfd_elf_discard_group): New function. |
|
|
(_bfd_elf_make_section_from_shdr): Don't set SEC_LINK_ONCE on |
|
|
.gnu.linkonce* sections if they are members of a group. |
|
|
(set_group_contents): Set GRP_COMDAT flag. |
|
|
* section.c (bfd_discard_group): New function. |
|
|
* bfd-in.h (bfd_elf_discard_group): Declare. |
|
|
* bfd-in2.h: Regenerate. |
|
|
* elf-bfd.h (struct bfd_elf_section_data): Add linkonce_p field. |
|
|
(elf_linkonce_p): Define. |
|
|
|
|
|
2002-06-04 Alan Modra <amodra@bigpond.net.au> |
|
|
|
|
|
* elf.c (bfd_section_from_shdr): Make "name" const. |
|
|
* elf-bfd.h (elf_backend_section_from_shdr): Likewise. |
|
|
* elf32-i370.c (i370_elf_section_from_shdr): Likewise. |
|
|
* elf32-ppc.c (ppc_elf_section_from_shdr): Likewise. |
|
|
* elf32-sh64.c (sh64_backend_section_from_shdr): Likewise. |
|
|
* elf32-v850.c (v850_elf_section_from_shdr): Likewise. |
|
|
* elf64-alpha.c (elf64_alpha_section_from_shdr): Likewise. |
|
|
* elf64-hppa.c (elf64_hppa_section_from_shdr): Likewise. |
|
|
* elf64-ppc.c (ppc64_elf_section_from_shdr): Likewise. |
|
|
* elfxx-ia64.c (elfNN_ia64_section_from_shdr): Likewise. |
|
|
* elfxx-mips.c (_bfd_mips_elf_section_from_shdr): Likewise. |
|
|
* elfxx-mips.h (_bfd_mips_elf_section_from_shdr): Likewise. |
|
1320 |
|
|
1321 |
2002-06-03 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
* elf64-sparc.c (sparc64_elf_relocate_section): Ignore overflows |
1322 |
|
from STABS debugging sections again. |
1323 |
|
|
1324 |
* elfxx-mips.c (ABI_64_P): Use backend's data to determine the |
2005-01-05 Fred Fish <fnf@specifixinc.com> |
|
ABI. |
|
1325 |
|
|
1326 |
2002-06-02 Kazu Hirata <kazu@cs.umass.edu> |
* dwarf2.c (struct dwarf2_debug): Add info_ptr_unit member. |
1327 |
|
(find_abstract_instance_name): New function. |
1328 |
|
(scan_unit_for_functions): Handle DW_TAG_inlined_subroutine. |
1329 |
|
(scan_unit_for_functions): Handle DW_AT_abstract_origin. |
1330 |
|
(_bfd_dwarf2_find_nearest_line): Initialize info_ptr_unit. |
1331 |
|
|
1332 |
* elf32-arc.c: Fix formatting. |
2004-12-31 Paul Brook <paul@copdesourcery.com> |
1333 |
* elf32-arm.h: Likewise. |
|
1334 |
* elf32-cris.c: Likewise. |
* elf32-arm.c (elf32_arm_symbian_plt_entry): Fix comment typo. |
|
* elf32-dlx.c: Likewise. |
|
|
* elf32-hppa.c: Likewise. |
|
|
* elf32-i386.c: Likewise. |
|
|
* elf32-i386qnx.c: Likewise. |
|
|
* elf32-or32.c: Likewise. |
|
|
* elf32-s390.c: Likewise. |
|
|
* elf32-sh64.c: Likewise. |
|
|
* elf32-vax.c: Likewise. |
|
|
* elf32-xstormy16.c: Likewise. |
|
|
* elf64-alpha.c: Likewise. |
|
|
* elf64-mmix.c: Likewise. |
|
|
* elf64-ppc.c: Likewise. |
|
|
* elf64-s390.c: Likewise. |
|
|
* elf64-sh64.c: Likewise. |
|
|
* elf64-x86-64.c: Likewise. |
|
1335 |
|
|
1336 |
2002-06-02 Richard Henderson <rth@redhat.com> |
2004-12-31 Alan Modra <amodra@bigpond.net.au> |
1337 |
|
|
1338 |
|
* reloc.c (BFD_RELOC_AVR_LDI, BFD_RELOC_AVR_6, BFD_RELOC_AVR_6_ADIW): |
1339 |
|
Commit missing changes from 2004-12-22. |
1340 |
|
* bfd-in2.h: Regenerate. |
1341 |
|
|
1342 |
* elf64-alpha.c (elf64_alpha_relocate_section): Don't dereference |
2004-12-23 Tomer Levi <Tomer.Levi@nsc.com> |
|
null when there are no got entries for a symbol. |
|
|
(elf64_alpha_relax_find_tls_segment): Rearrange to avoid |
|
|
uninitialized variable warning. |
|
|
|
|
|
2002-06-01 Richard Henderson <rth@redhat.com> |
|
|
|
|
|
* elf64-alpha.c (elf64_alpha_relax_with_lituse): Don't test for |
|
|
undefined symbols here. |
|
|
(elf64_alpha_relax_section): Do it here. Also test for not |
|
|
defined in the current module. |
|
|
(elf64_alpha_relocate_section_r): Split out of ... |
|
|
(elf64_alpha_relocate_section): ... here. Don't dereference |
|
|
NULL when looking up local got entries. |
|
|
|
|
|
2002-06-01 Richard Henderson <rth@redhat.com> |
|
|
|
|
|
* elf64-alpha.c (elf64_alpha_relax_with_lituse): Reject undefined |
|
|
symbols from JSR relaxation. |
|
|
(elf64_alpha_size_plt_section_1): New. |
|
|
(elf64_alpha_calc_dynrel_sizes): Split out .rela.got bits ... |
|
|
(elf64_alpha_size_rela_got_1): ... here. |
|
|
(elf64_alpha_size_dynamic_sections): Split out .rela.got bits ... |
|
|
(elf64_alpha_size_rela_got_section): ... here. |
|
|
(elf64_alpha_size_plt_section): New. |
|
|
(elf64_alpha_relax_section): Call them. |
|
|
(elf64_alpha_size_got_sections): Remove output_bfd arg. |
|
|
(elf64_alpha_finish_dynamic_symbol): Check gotent use_count. |
|
|
|
|
|
2002-06-01 Richard Henderson <rth@redhat.com> |
|
|
|
|
|
* elf64-alpha.c (alpha_get_dtprel_base, alpha_get_tprel_base): New. |
|
|
(elf64_alpha_relocate_section): Use them. Reject LE TLS relocs |
|
|
in shared libraries. Fix DTPRELHI and TPRELHI value. |
|
|
(INSN_ADDQ, INSN_RDUNIQ): New. |
|
|
(struct alpha_relax_info): Add symtab_hdr, tls_segment, first_gotent. |
|
|
(elf64_alpha_relax_with_lituse): Return boolean. Remove irelend |
|
|
argument. Reject dynamic symbols. Use LITUSE symbolic constants. |
|
|
(elf64_alpha_relax_got_load): Rename from relax_without_lituse. |
|
|
Handle GOTDTPREL and GOTTPREL relocations. |
|
|
(elf64_alpha_relax_gprelhilo): New. |
|
|
(elf64_alpha_relax_tls_get_addr): New. |
|
|
(elf64_alpha_relax_find_tls_segment): New. |
|
|
(elf64_alpha_relax_section): Handle TLS relocations. |
|
|
(ALPHA_ELF_LINK_HASH_TLS_IE): New. |
|
|
(elf64_alpha_check_relocs): Set it. |
|
|
|
|
|
2002-06-01 Richard Henderson <rth@redhat.com> |
|
1343 |
|
|
1344 |
* elf64-alpha.c (elf64_alpha_relax_section): Don't store computed gp. |
* elf32-crx.c (elf32_crx_relax_section): Support 'bcop' relaxation. |
1345 |
|
|
1346 |
* elf64-alpha.c (elf64_alpha_check_relocs): Fix typo on maybe_dynamic |
2004-12-21 Kris Warkentin <kewarken@qnx.com> |
|
check; don't suppress dynamic relocs for non-allocated sections. |
|
1347 |
|
|
1348 |
* elf64-alpha.c: Remove dead code. |
* elf.c (elfcore_grok_nto_gregs): Change name to elfcore_grok_nto_regs. |
1349 |
|
Add 'base' argument for constructing register sections. Reformat. |
1350 |
|
(elfcore_grok_nto_note): Call elfcore_grok_nto_regs for both |
1351 |
|
gp and fp regs. Reformat. |
1352 |
|
|
1353 |
2002-05-31 Alan Modra <amodra@bigpond.net.au> |
2004-12-22 Klaus Rudolph <lts-rudolph@gmx.de> |
1354 |
|
|
1355 |
|
* reloc.c: Add new relocs R_AVR_LDI, R_AVR_6, R_AVR_6_ADIW. |
1356 |
* bfd-in2.h: Regenerate. |
* bfd-in2.h: Regenerate. |
1357 |
* libbfd.h: Regenerate. |
* elf32-avr.c (elf_avr_nowto_table): Add the new relocs. |
1358 |
* po/SRC-POTFILES.in: Regenerate. |
(avr_reloc_map): Likewise. |
1359 |
|
(avr_final_link_relocate): Likewise. |
1360 |
|
|
1361 |
* elf64-ppc.c (ppc64_elf_size_dynamic_sections): Don't allocate |
2004-12-22 Alan Modra <amodra@bigpond.net.au> |
|
space for bss .plt. |
|
1362 |
|
|
1363 |
2002-05-31 Graeme Peterson <gp@qnx.com> |
* elflink.c (_bfd_elf_merge_symbol): Treat old definitions from |
1364 |
|
as-needed dynamic libs as undefined. |
1365 |
|
(elf_link_add_object_symbols): Remove DYN_AS_NEEDED from as-needed |
1366 |
|
libs when finding they are needed. |
1367 |
|
|
1368 |
* Makefile.am (BFD32_BACKENDS): Add elf32-i386qnx.lo. |
2004-12-20 Alan Modra <amodra@bigpond.net.au> |
1369 |
(BFD32_BACKENDS_CFILES): Add elf32-i386qnx.c. |
|
1370 |
Run "make dep-am". |
* elf64-ppc.c (struct ppc64_elf_obj_tdata): Add opd_relocs. |
1371 |
* Makefile.in: Regenerate. |
(opd_entry_value): Use opd_relocs if available. |
1372 |
* config.bfd: Add i[3456]86-*-nto-qnx* support. |
(ppc64_elf_relocate_section): Don't set reloc_done. Instead |
1373 |
* configure.in: Add bfd_elf32_i386qnx_vec support. |
copy .opd relocations to opd_relocs. |
1374 |
* configure: Regenerate. |
(ppc64_elf_edit_toc): Set rel_hdr.sh_size after editing relocs. |
1375 |
* elf-bfd.h (struct elf_backend_data): Add set_nonloadable_filepos, |
|
1376 |
is_contained_by_filepos, and copy_private_bfd_data_p. |
2004-12-16 Richard Sandiford <rsandifo@redhat.com> |
1377 |
* elf.c (assign_file_positions_for_segments): Call backend |
|
1378 |
set_nonloadable_filepos. Fix non-K&R call to _bfd_error_handler. |
* reloc.c (BFD_RELOC_V850_LO16_SPLIT_OFFSET): New bfd_reloc_code_type. |
1379 |
(IS_CONTAINED_BY_FILEPOS): Define. |
* elf32-v850.c (v850_elf_howto_table): Add entry for |
1380 |
(INCLUDE_SECTION_IN_SEGMENT): Also test IS_CONTAINED_BY_FILEPOS. |
R_V850_LO16_SPLIT_OFFSET. |
1381 |
(copy_private_bfd_data): Use IS_CONTAINED_BY_FILEPOS. Typo fix. |
(v850_elf_reloc_map): Map it to BFD_RELOC_V850_LO16_SPLIT_OFFSET. |
1382 |
Fix non-K&R call to _bfd_error_handler. |
(v850_elf_perform_lo16_relocation): New function, extracted from... |
1383 |
(_bfd_elf_copy_private_section_data): Use backend |
(v850_elf_perform_relocation): ...here. Use it to handle |
1384 |
copy_private_bfd_data_p. |
R_V850_LO16_SPLIT_OFFSET. |
1385 |
* elf32-i386.c: Don't include elfxx-target.h when |
(v850_elf_check_relocs, v850_elf_final_link_relocate): Handle |
1386 |
ELF32_I386_C_INCLUDED is defined. |
R_V850_LO16_SPLIT_OFFSET. |
1387 |
* elf32-i386qnx.c: New QNX elf backend file. |
* libbfd.h, bfd-in2.h: Regenerate. |
1388 |
* elfxx-target.h: Add elf_backend_set_nonloadable_filepos, |
|
1389 |
elf_backend_is_contained_by_filepos, and |
2004-12-14 P.J. Darcy <darcypj@us.ibm.com> |
1390 |
elf_backend_do_copy_private_bfd_data. |
|
1391 |
* targets.c: Add bfd_target bfd_elf32_i386qnx_vec. |
* config.bfd: Add s390x-ibm-tpf support. |
1392 |
|
|
1393 |
2002-05-31 Alan Modra <amodra@bigpond.net.au> |
2004-12-14 Tomer Levi <Tomer.Levi@nsc.com> |
1394 |
|
|
1395 |
* elfarm-oabi.c (bfd_elf32_arm_add_glue_sections_to_bfd): Define. |
* elf32-crx.c (elf32_crx_relax_delete_bytes): Add 'struct bfd_link_info *' |
1396 |
Move other similar defines to start of file. |
to prototype, to make hash info available. |
1397 |
|
Prevent wrapped symbols from being adjusted twice. |
1398 |
2002-05-30 Tom Rix <trix@redhat.com> |
|
1399 |
|
2004-12-14 Richard Sandiford <rsandifo@redhat.com> |
1400 |
* coff-rs6000.c (xcoff_rtype2howto): Handle 16 bit R_RBA. |
|
1401 |
* coff64-rs6000.c (xcoff64_rtype2howto): Same. |
* elfxx-mips.c (mips_elf_calculate_relocation): Don't report an |
1402 |
|
overflow for calls to undefined weak symbols. |
1403 |
2002-05-30 Richard Henderson <rth@redhat.com> |
|
1404 |
|
2004-12-11 Alan Modra <amodra@bigpond.net.au> |
1405 |
* elf64-alpha.c (ALPHA_ELF_LINK_HASH_LU_TLSGD, |
|
1406 |
ALPHA_ELF_LINK_HASH_LU_TLSLDM, ALPHA_ELF_LINK_HASH_LU_FUNC): New. |
* elfcode.h (elf_slurp_symbol_table): Use bfd_elf_sym_name so that |
1407 |
(ALPHA_ELF_GOT_ENTRY_RELOCS_DONE): Remove. |
canonical sections syms have a name. |
1408 |
(ALPHA_ELF_GOT_ENTRY_RELOCS_XLATED): Remove. |
|
1409 |
(struct alpha_elf_got_entry): Add reloc_type, reloc_done, reloc_xlated. |
2004-12-11 Alan Modra <amodra@bigpond.net.au> |
1410 |
(struct alpha_elf_obj_tdata): Rename total_got_entries and |
|
1411 |
n_local_got_entries to total_got_size and local_got_size. |
* elf64-ppc.c (opd_entry_value): Don't use cached relocs if they |
1412 |
(elf64_alpha_howto, elf64_alpha_reloc_map): Update for TLS relocs. |
have been adjusted for output. |
1413 |
(alpha_got_entry_size): New. |
(ppc64_elf_relocate_section): Mark sections with reloc_done. |
1414 |
(elf64_alpha_relax_with_lituse): Use it. |
|
1415 |
(elf64_alpha_relax_without_lituse): Likewise. |
2004-12-10 Alan Modra <amodra@bigpond.net.au> |
1416 |
(MAX_GOT_SIZE): Rename from MAX_GOT_ENTRIES. |
|
1417 |
(get_got_entry): New. |
* elf.c (bfd_elf_sym_name): Rename from bfd_elf_local_sym_name and |
1418 |
(elf64_alpha_check_relocs): Handle TLS relocs. Reorganize. |
add symtab_hdr param. |
1419 |
(elf64_alpha_adjust_dynamic_symbol): Test LU_FUNC as a mask. |
(group_signature): Update calls. |
1420 |
(elf64_alpha_merge_ind_symbols): Check gotent->reloc_type. |
* elf-bfd.h (bfd_elf_sym_name): Update. |
1421 |
(elf64_alpha_can_merge_gots, elf64_alpha_merge_gots): Likewise. |
* elf32-ppc.c (ppc_elf_relocate_section): Update. |
1422 |
(elf64_alpha_calc_got_offsets_for_symbol): Use alpha_got_entry_size. |
* elf64-ppc.c (ppc64_elf_edit_opd, ppc64_elf_edit_toc): Update. |
1423 |
(elf64_alpha_calc_got_offsets): Likewise. |
(ppc64_elf_relocate_section): Update. |
1424 |
(alpha_dynamic_entries_for_reloc): New. |
* elflink.c (elf_link_input_bfd): Update. |
1425 |
(elf64_alpha_calc_dynrel_sizes): Use it. |
|
1426 |
(elf64_alpha_size_dynamic_sections): Likewise. |
2004-12-10 Jakub Jelinek <jakub@redhat.com> |
1427 |
(elf64_alpha_relocate_section): Handle TLS relocations. |
|
1428 |
* reloc.c: Add Alpha TLS relocations. |
* elf.c (bfd_elf_local_sym_name): Avoid crashes with invalid |
1429 |
* bfd-in2.h, libbfd.h: Rebuild. |
st_shndx on STT_SECTION sections. |
1430 |
|
|
1431 |
2002-05-29 Ralf Habacker <ralf.habacker@freenet.de> |
2004-12-09 Daniel Jacobowitz <dan@codesourcery.com> |
1432 |
|
|
1433 |
* peXXigen.c (pe_print_idata): Remove double printed |
* elfcode.h (elf_slurp_reloc_table_from_section): Don't canonicalize |
1434 |
import table lines; add Bound-To comment. |
ELF section symbols. |
1435 |
|
|
1436 |
2002-05-29 Matt Thomas <matt@3am-software.com> |
2004-12-09 Ian Lance Taylor <ian@wasabisystems.com> |
1437 |
|
|
1438 |
* Makefile.am (BFD32_BACKENDS): Add elf32-vax.lo. |
* elfxx-mips.c (mips_elf_calculate_relocation): For R_MIPS_JALR, |
1439 |
(BFD32_BACKENDS_CFILES): Add elf32-vax.c. |
return a real value, unless it is a PLT symbol. |
1440 |
(elf32-vax.lo): New rule. |
(mips_elf_perform_relocation): On the RM9000, turn a jal into a |
1441 |
* Makefile.in: Regenerate. |
bal if possible. |
1442 |
* configure.in (bfd_elf32_vax_vec) |
|
1443 |
(vaxnetbsd_vec): New vectors. |
* elfn32-mips.c (elf_mips_howto_table_rela): Change dst_mask of |
1444 |
* configure: Regenerate. |
R_MIPS_JALR entry to 0. |
1445 |
* config.bfd (vax-*-netbsdelf*) |
|
1446 |
(vax-*-netbsdaout*) |
* archures.c: Define bfd_mach_mips9000. |
1447 |
(vax-*-netbsd*): New targets. |
* elfxx-mips.c (_bfd_elf_mips_mach): Handle E_MIPS_MACH_9000. |
1448 |
* elf32-vax.c: New file. |
(mips_set_isa_flags): Handle bfd_mach_mips9000. |
1449 |
* reloc.c: Add VAX relocations. |
* cpu-mips.c (I_mips9000): Define. |
1450 |
|
(arch_info_struct): Add case for bfd_mach_mips9000. |
1451 |
|
* aoutx.h (NAME(aout,machine_type)): Handle bfd_mach_mips9000. |
1452 |
* bfd-in2.h: Regenerate. |
* bfd-in2.h: Regenerate. |
|
* targets.c (_bfd_target_vector): Add bfd_elf32_vax_vec. |
|
1453 |
|
|
1454 |
2002-05-29 Jason Thorpe <thorpej@wasabisystems.com> |
2004-12-08 Ian Lance Taylor <ian@wasabisystems.com> |
1455 |
|
|
1456 |
|
* elfxx-mips.c (mips_elf_calculate_relocation): Test for R_MIPS_26 |
1457 |
|
overflow. |
1458 |
|
|
1459 |
|
2004-12-07 Ben Elliston <bje@gnu.org> |
1460 |
|
|
1461 |
* config.bfd (arm-*-netbsd*): Add bfd_elf32_littlearm_vec |
* netbsd-core.c (netbsd_core_file_p): Make `i' unsigned. |
|
and bfd_elf32_bigarm_vec to targ_selvecs. |
|
1462 |
|
|
1463 |
2002-05-29 Ralf Habacker <ralf.habacker@freenet.de> |
2004-12-06 Daniel Jacobowitz <dan@debian.org> |
1464 |
|
|
1465 |
* peXXigen.c (pe_print_idata): Fix seg faults on printing import tables |
Suggested by Fergal Daly <fergal@esatclear.ie>: |
1466 |
with auto-imported symbols. |
* simple.c (simple_dummy_multiple_definition): New function. |
1467 |
|
(bfd_simple_get_relocated_section_contents): Use it. |
1468 |
|
|
1469 |
2002-05-29 Adam Nemet <anemet@lnxw.com> |
2004-12-03 Jan Beulich <jbeulich@novell.com> |
1470 |
|
|
1471 |
* elf32-arm.h (bfd_elf32_arm_get_bfd_for_interworking): Don't add glue |
* elf.c (elf_find_function): Don't use the last file symbol ever, |
1472 |
sections only record bfd. |
seen, but the last one seen prior to the symbol being reported. |
1473 |
(bfd_elf32_arm_add_glue_sections_to_bfd): New function. |
Don't report a filename at all for global symbols when that might |
1474 |
* bfd-in.h (bfd_elf32_arm_add_glue_sections_to_bfd): Declare it. |
be ambiguous/wrong. |
1475 |
|
|
1476 |
|
2004-12-01 Paul Brook <paul@codesourcery.com> |
1477 |
|
|
1478 |
|
* elf32-arm.c (elf32_arm_copy_private_bfd_data): Set EI_OSABI. |
1479 |
|
(elf32_arm_post_process_headers): Set EI_OSABI depending on ABI |
1480 |
|
version. |
1481 |
|
|
1482 |
|
2004-12-01 Paul Brook <paul@codesourcery.com> |
1483 |
|
|
1484 |
|
* elflink.c (elf_link_add_object_symbols): Make symbols from discarded |
1485 |
|
sections undefined. |
1486 |
|
|
1487 |
|
2004-11-30 Paul Brook <paul@codesourcery.com> |
1488 |
|
|
1489 |
|
* elf32-arm.c (struct elf32_arm_link_hash_table): Remove |
1490 |
|
no_pipeline_knowledge |
1491 |
|
(elf32_arm_link_hash_table_create): Ditto. |
1492 |
|
(bfd_elf32_arm_process_before_allocation): Ditto. |
1493 |
|
(elf32_arm_final_link_relocate): Ditto. Remove oabi relocation |
1494 |
|
handling. |
1495 |
|
* bfd-in.h (bfd_elf32_arm_process_before_allocation): Update |
1496 |
|
prototype. |
1497 |
* bfd-in2.h: Regenerate. |
* bfd-in2.h: Regenerate. |
1498 |
|
|
1499 |
2002-05-28 Nick Clifton <nickc@cambridge.redhat.com> |
2004-11-30 Randolph Chung <tausq@debian.org> |
1500 |
|
|
1501 |
* syms.c (_bfd_stab_section_find_nearest_line): Move |
* elf32-hppa.c (elf32_hppa_grok_prstatus): New function. |
1502 |
declaration and initialisation of saw_line and saw_func out of |
(elf32_hppa_grok_psinfo): New function. |
1503 |
for loop. |
(elf_backend_grok_prstatus): Define. |
1504 |
|
(elf_backend_grok_psinfo): Define. |
1505 |
|
|
1506 |
2002-05-29 Alan Modra <amodra@bigpond.net.au> |
2004-11-24 H.J. Lu <hongjiu.lu@intel.com> |
1507 |
|
|
1508 |
* elf64-ppc.c (ppc64_elf_get_symbol_info): New function. |
PR 574: |
1509 |
(bfd_elf64_get_symbol_info): Define. |
* elfcode.h (elf_slurp_symbol_table): Handle STT_TLS. |
|
* elfxx-target.h (bfd_elfNN_get_symbol_info): Only define if undef. |
|
1510 |
|
|
1511 |
2002-05-29 Andrey Volkov <avolkov@transas.com> |
2004-11-24 Paul Brook <paul@codesourcery.com> |
1512 |
|
|
1513 |
* cpu-h8300.c: Make default h8300 machine first in machine list. |
* elf.c (assign_section_numbers): Number SHT_GROUP sections first. |
1514 |
|
|
1515 |
2002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net> |
2004-11-24 Paul Brook <paul@codesourcery.com> |
1516 |
|
|
1517 |
* config.bfd: Added DLX configuraton. |
* elf32-arm.c (elf32_arm_swap_symbol_in): New function. |
1518 |
* Makefile.am: Added DLX configuraton. |
(elf32_arm_swap_symbol_out): New function. |
1519 |
* configure.in: Added DLX configuraton. |
(elf32_arm_size_info): Add. |
1520 |
* archures.c: Add DLX architecure. |
(elf_backend_size_info): Define. |
|
* reloc.c: Add DLX relocs. |
|
|
* targets.c: Added DLX target vector. |
|
|
* configure: Regenerate. |
|
|
* Makefile.in: Regenreate. |
|
|
* bfd-in2.h: Regenreate. |
|
|
* elf32-dlx.c: New file: Support DLX target. |
|
|
* cpu-dlx.c: New file: Support DLX target. |
|
1521 |
|
|
1522 |
2002-05-25 Alan Modra <amodra@bigpond.net.au> |
2004-11-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
1523 |
|
|
1524 |
* elf32-m68k.c (elf32_m68k_print_private_bfd_data): Formatting. |
* hpux-core.c (hpux_core_core_file_p): Use offsetof macro in calls to |
1525 |
|
make_bfd_asection. |
1526 |
|
|
1527 |
* elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Revert last change. |
2004-11-19 Alan Modra <amodra@bigpond.net.au> |
|
(ppc64_elf_check_relocs): Don't set up function descriptor symbol |
|
|
strings to point inside function code sym string. |
|
|
(func_desc_adjust): Likewise. |
|
|
(ppc64_elf_hide_symbol): Rewrite code to look up function code sym. |
|
1528 |
|
|
1529 |
2002-05-24 Michal Ludvig <mludvig@suse.cz> |
* elf32-arm.c (elf32_arm_finish_dynamic_sections): Warning fix. |
1530 |
|
* elf32-iq2000.c (iq2000_reloc_type_lookup): C90 function decl. |
1531 |
|
* nlmcode.h (nlm_write_object_contents): Warning fix. |
1532 |
|
|
1533 |
* elf64-x86-64.c (elf64_x86_64_grok_prstatus): Added. |
2004-11-18 Bob Wilson <bob.wilson@acm.org> |
|
(elf64_x86_64_grok_psinfo): Added. |
|
1534 |
|
|
1535 |
2002-05-24 TAMURA Kent <kent@netbsd.org> |
* elf32-xtensa.c (ebb_propose_action): Fix argument order. |
1536 |
|
|
1537 |
* config.bfd: Add a target for i386-netbsdpe. |
2004-11-17 Daniel Jacobowitz <dan@codesourcery.com> |
1538 |
|
|
1539 |
2002-05-24 Alan Modra <amodra@bigpond.net.au> |
* elf32-arm.c (PLT_THUMB_STUB_SIZE): Define. |
1540 |
|
(elf32_arm_plt_thumb_stub): New. |
1541 |
|
(struct elf32_arm_link_hash_entry): Add plt_thumb_refcount |
1542 |
|
and plt_got_offset. |
1543 |
|
(elf32_arm_link_hash_traverse): Fix typo. |
1544 |
|
(elf32_arm_link_hash_table): Add obfd. |
1545 |
|
(elf32_arm_link_hash_newfunc): Initialize new fields. |
1546 |
|
(elf32_arm_copy_indirect_symbol): Copy plt_thumb_refcount. |
1547 |
|
(elf32_arm_link_hash_table_create): Initialize obfd. |
1548 |
|
(record_arm_to_thumb_glue): Mark the glue as a local ARM function. |
1549 |
|
(record_thumb_to_arm_glue): Mark the glue as a local Thumb function. |
1550 |
|
(bfd_elf32_arm_get_bfd_for_interworking): Verify that the |
1551 |
|
interworking BFD is not dynamic. |
1552 |
|
(bfd_elf32_arm_process_before_allocation): Handle R_ARM_PLT32. Do |
1553 |
|
not emit glue for PLT references. |
1554 |
|
(elf32_arm_final_link_relocate): Handle Thumb functions. Do not |
1555 |
|
emit glue for PLT references. Support the Thumb PLT prefix. |
1556 |
|
(elf32_arm_gc_sweep_hook): Handle R_ARM_THM_PC22 and |
1557 |
|
plt_thumb_refcount. |
1558 |
|
(elf32_arm_check_relocs): Likewise. |
1559 |
|
(elf32_arm_adjust_dynamic_symbol): Handle Thumb functions and |
1560 |
|
plt_thumb_refcount. |
1561 |
|
(allocate_dynrelocs): Handle Thumb PLT references. |
1562 |
|
(elf32_arm_finish_dynamic_symbol): Likewise. |
1563 |
|
(elf32_arm_symbol_processing): New function. |
1564 |
|
(elf_backend_symbol_processing): Define. |
1565 |
|
|
1566 |
* elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Don't copy is_func |
2004-11-16 Richard Sandiford <rsandifo@redhat.com> |
|
and is_func_descriptor. |
|
|
(func_desc_adjust): Hide function code sym in shared libs unless |
|
|
there is a matching exported function descriptor sym. |
|
1567 |
|
|
1568 |
2002-05-23 Jakub Jelinek <jakub@redhat.com> |
* elf-bfd.h (eh_cie_fde): Add new fields: add_augmentation_size and |
1569 |
|
add_fde_encoding. Remove need_relative. |
1570 |
|
* elf-eh-frame.c (extra_augmentation_string_bytes) |
1571 |
|
(extra_augmentation_data_bytes, size_of_output_cie_fde): New functions. |
1572 |
|
(_bfd_elf_discard_section_eh_frame): Consider changing the FDE encoding |
1573 |
|
in cases where the CIE has no existing 'R' augmentation. Use |
1574 |
|
size_of_output_cie_fde when assigning offsets. Use the final offset |
1575 |
|
as the new section size. |
1576 |
|
(_bfd_elf_eh_frame_section_offset): Remove need_relative handling. |
1577 |
|
Account for any extra augmentation bytes in the returned offset. |
1578 |
|
(_bfd_elf_write_section_eh_frame): Rework so that the entries are |
1579 |
|
moved before being modified. Pad growing entries with DW_CFA_nops. |
1580 |
|
Add 'z' and 'R' augmentations as directed by add_augmentation_size |
1581 |
|
and add_fde_encoding. |
1582 |
|
|
1583 |
* elf.c (_bfd_elf_make_section_from_shdr): Set SEC_THREAD_LOCAL |
2004-11-15 Mark Mitchell <mark@codesourcery.com> |
|
for symbols from SHF_TLS section. |
|
|
(_bfd_elf_print_private_bfd_data): Add PT_TLS. |
|
|
(elf_fake_sections): Set SHF_TLS for SEC_THREAD_LOCAL sections. |
|
|
(map_sections_to_segments): Build PT_TLS segment if necessary. |
|
|
(assign_file_positions_for_segments): Likewise. |
|
|
(get_program_header_size): Account for PT_TLS segment. |
|
|
(swap_out_syms): Set type of BSF_THREAD_LOCAL symbols and symbols from |
|
|
SEC_THREAD_LOCAL sections to STT_TLS. |
|
|
* reloc.c: Add 386 and IA-64 TLS relocs. |
|
|
* section.c (SEC_THREAD_LOCAL): Define. |
|
|
(SEC_CONSTRUCTOR_TEXT, SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS): |
|
|
Remove. |
|
|
* elflink.h (elf_link_add_object_symbols): Support .tcommon. |
|
|
(size_dynamic_sections): If DF_STATIC_TLS, set DF_FLAGS |
|
|
unconditionally. |
|
|
(struct elf_final_link_info): Add first_tls_sec. |
|
|
(elf_bfd_final_link): Set first_tls_sec. |
|
|
Compute elf_hash_table (info)->tls_segment. |
|
|
(elf_link_output_extsym): Handle STT_TLS symbols. |
|
|
(elf_link_input_bfd): Likewise. |
|
|
* syms.c (BSF_THREAD_LOCAL): Define. |
|
|
* bfd-in2.h: Rebuilt. |
|
|
* libbfd.h: Rebuilt. |
|
|
* elf32-i386.c (elf_i386_tls_transition, dtpoff_base, tpoff, |
|
|
elf_i386_mkobject, elf_i386_object_p): New functions. |
|
|
(elf_howto_table): Add TLS relocs. |
|
|
(elf_i386_reloc_type_lookup): Support TLS relocs. |
|
|
(elf_i386_info_to_howto_rel): Likewise. |
|
|
(struct elf_i386_link_hash_entry): Add tls_type. |
|
|
(struct elf_i386_obj_tdata): New. |
|
|
(elf_i386_hash_entry, elf_i386_tdata, elf_i386_local_got_tls_type): |
|
|
New macros. |
|
|
(struct elf_i386_link_hash_table): Add tls_ldm_got. |
|
|
(link_hash_newfunc): Clear tls_type. |
|
|
(elf_i386_check_relocs): Support TLS relocs. |
|
|
(elf_i386_gc_sweep_hook): Likewise. |
|
|
(allocate_dynrelocs): Likewise. |
|
|
(elf_i386_size_dynamic_sections): Likewise. |
|
|
(elf_i386_relocate_section): Likewise. |
|
|
(elf_i386_finish_dynamic_symbol): Likewise. |
|
|
(bfd_elf32_mkobject, elf_backend_object_p): Define. |
|
|
* elfxx-ia64.c (struct elfNN_ia64_dyn_sym_info): Add tprel_offset, |
|
|
dtpmod_offset, dtprel_offset, tprel_done, dtpmod_done, dtprel_done, |
|
|
want_tprel, want_dtpmod, want_dtprel. |
|
|
(elfNN_ia64_tprel_base, elfNN_ia64_dtprel_base): New functions. |
|
|
(ia64_howto_table): Add TLS relocs, rename R_IA64_LTOFF_TP22 to |
|
|
R_IA64_LTOFF_TPREL22. |
|
|
(elf_code_to_howto_index): Add TLS relocs. |
|
|
(elfNN_ia64_check_relocs): Support TLS relocs. |
|
|
(allocate_global_data_got): Account for TLS .got data. |
|
|
(allocate_dynrel_entries): Account for TLS dynamic relocations. |
|
|
(elfNN_ia64_install_value): Supprt TLS relocs. |
|
|
(set_got_entry): Support TLS relocs. |
|
|
(elfNN_ia64_relocate_section): Likewise. |
|
1584 |
|
|
1585 |
2002-05-23 Nick Clifton <nickc@cambridge.redhat.com> |
* elf32-arm.c (elf32_arm_relocate_section): Use |
1586 |
|
arm_real_reloc_type. |
1587 |
|
|
1588 |
* elf32-arm.h (elf32_arm_final_link_relocate): For the Thumb |
2004-11-16 Richard Sandiford <rsandifo@redhat.com> |
|
BLX reloc round the relocation up rather than down. |
|
|
* coff-arm.c (coff_arm_relocate_section): Likewise. |
|
1589 |
|
|
1590 |
2002-05-21 H.J. Lu (hjl@gnu.org) |
* elfxx-mips.c (mips_elf_create_dynamic_relocation): Return early |
1591 |
|
for discard relocations; don't add an R_MIPS_NONE to the main body |
1592 |
|
of .rel.dyn. |
1593 |
|
|
1594 |
* linker.c (_bfd_generic_link_add_one_symbol): Allow multiple |
2004-11-04 Paul Brook <paul@codesourcery.com> |
|
definition. |
|
1595 |
|
|
1596 |
2002-05-22 Alan Modra <amodra@bigpond.net.au> |
* elf-bfd.h (_bfd_elf_slurp_version_tables): Update prototype. |
1597 |
|
* elf.c (_bfd_elf_print_private_bfd_data): Pass extra argument. |
1598 |
|
(_bfd_elf_slurp_version_tables): Add extra argument. Create extra |
1599 |
|
default version definition for unversioned symbols. |
1600 |
|
* elfcode.h (elf_slurp_symbol_table): Pass extra argument. |
1601 |
|
* elflink.c (elf_link_add_object_symbols): Pass extra argument to |
1602 |
|
_bfd_elf_slurp_version_tables. Set default version for unversioned |
1603 |
|
imported symbols. |
1604 |
|
|
1605 |
* elf64-ppc.c (ppc64_elf_size_stubs): Don't strip .branch_lt. |
2004-11-15 Paul Brook <paul@codesourcery.com> |
|
(ppc64_elf_relocate_section): Handle unresolved relocs in opd. |
|
1606 |
|
|
1607 |
2002-05-22 Alan Modra <amodra@bigpond.net.au> |
* elflink.c (elf_link_add_object_symbols): Don't assume version |
1608 |
|
indices are consecutive. |
1609 |
|
|
1610 |
* elf64-ppc.c (ppc64_elf_relocate_section): Return false for |
2004-11-14 Richard Sandiford <rsandifo@redhat.com> |
|
unresolved relocs. |
|
|
(ppc64_elf_size_dynamic_sections): Check for splt NULL. |
|
1611 |
|
|
1612 |
2002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Deal with |
1613 |
|
composite relocations against the personality data. |
1614 |
|
|
1615 |
* bfd/bfd.c (bfd_get_arch_size): Remove bfd_set_error call for |
2004-11-13 Paul Brook <paul@codesourcery.com> |
|
non-ELF targets. |
|
1616 |
|
|
1617 |
2002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
* bfd/elf32-arm.c (elf32_arm_final_link_relocate): Resolve |
1618 |
|
R_ARM_PREL31 relocations to PLT entries. |
1619 |
|
(elf32_arm_relocate_section, elf32_arm_gc_sweep_hook): Ditto. |
1620 |
|
(elf32_arm_check_relocs): Ditto. |
1621 |
|
|
1622 |
* elf-bfd.h (elf_backend_emit_relocs): Change prototype to return |
2004-11-12 Bob Wilson <bob.wilson@acm.org> |
|
an error value. |
|
|
* elflink.h (elf_link_output_relocs): Likewise. Improve error message. |
|
|
return with false on error. |
|
|
(elf_link_input_bfd): Check reloc_emitter return value. |
|
1623 |
|
|
1624 |
2002-05-21 Jason Thorpe <thorpej@wasabisystems.com> |
* xtensa-isa.c (xtensa_interface_class_id): New. |
1625 |
|
|
1626 |
* config.bfd (armeb-*-netbsdelf*): New target. |
2004-11-11 Bob Wilson <bob.wilson@acm.org> |
1627 |
|
|
1628 |
2002-05-20 Alan Modra <amodra@bigpond.net.au> |
* elf32-xtensa.c (property_table_compare): Remove assertion about |
1629 |
|
entries with the same address and non-zero size. |
1630 |
|
(xtensa_read_table_entries): Report such entries as errors. |
1631 |
|
|
1632 |
* elf64-ppc.c (ppc_build_one_stub): Point undefined function syms |
2004-11-11 Mark Mitchell <mark@codesourcery.com> |
|
at the plt call stub. |
|
1633 |
|
|
1634 |
2002-05-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
* elf32-arm.c (elf32_arm_final_link_relocate): Correct logic for |
1635 |
|
R_ARM_RELATIVE on Symbian OS. |
1636 |
|
|
1637 |
* cpu-mips.c (mips_compatible): Don't try to check machine |
2004-11-09 Mark Mitchell <mark@codesourcery.com> |
|
compatibility. |
|
1638 |
|
|
1639 |
2002-05-18 Tom Rix <trix@redhat.com> |
* som.c (som_bfd_print_private_bfd_data): New function. |
1640 |
|
(som_object_setup): Save the auxiliary header. Don't assume that |
1641 |
|
zero is an invalid entry point for a shared library. |
1642 |
|
(som_object_p): Allocate the auxiliary header on the heap. |
1643 |
|
|
1644 |
* coff64-rs6000.c (_bfd_xcoff64_swap_aux_out): Fix C_FILE auxent. |
* elf32-arm.c (elf32_arm_begin_write_processing): Do not use a K&R |
1645 |
|
declaration. |
1646 |
|
(elf32_arm_symbian_modify_segment_map): Likewise. |
1647 |
|
|
1648 |
2002-05-17 Alan Modra <amodra@bigpond.net.au> |
2004-11-09 Daniel Jacobowitz <dan@debian.org> |
1649 |
|
|
1650 |
* elf64-ppc.c (ppc64_elf_info_to_howto): Formatting. |
From David Poole <daveml@mbuf.com>: |
1651 |
(ppc64_elf_relocate_section): Don't warn about reloc overflow when |
* elf32-arm.c (elf32_arm_readonly_dynrelocs): New function. |
1652 |
we've already warned about an undefined symbol. Report more |
(elf32_arm_size_dynamic_sections): Call it. |
|
detail on reloc errors. |
|
1653 |
|
|
1654 |
2002-05-17 Alan Modra <amodra@bigpond.net.au> |
2004-11-09 Alan Modra <amodra@bigpond.net.au> |
1655 |
|
|
1656 |
* acinclude.m4 (AM_INSTALL_LIBBFD): New. |
* Makefile.am (SOURCE_HFILES): Remove elf32-arm.h. |
1657 |
* configure.in: Invoke AM_INSTALL_LIBBFD. |
(ALL_MACHINES_CFILES): Fix typo. |
|
* Makefile.am (install-data-local): Revert 2002-05-13. Move to.. |
|
|
(install_libbfd): .. New target. |
|
|
(uninstall_libbfd): Likewise. |
|
|
(install-bfdlibLTLIBRARIES): Likewise. |
|
|
(uninstall-bfdlibLTLIBRARIES): Likewise. |
|
|
(bfdlibdir): New. |
|
|
(bfdincludedir): New. |
|
|
(lib_LTLIBRARIES): Rename to bfdlib_LTLIBRARIES. |
|
|
* aclocal.m4: Regenerate. |
|
|
* configure: Regenerate. |
|
1658 |
* Makefile.in: Regenerate. |
* Makefile.in: Regenerate. |
1659 |
|
* po/SRC-POTFILES.in: Regenerate. |
1660 |
|
|
1661 |
2002-05-17 Stuart Balfour <sbalfour@cisco.com> |
2004-11-08 Mark Mitchell <mark@codesourcery.com> |
1662 |
|
|
1663 |
* hash.c (bfd_hash_lookup): Remove computation of len from inside |
* elf32-arm.c (elf32_arm_final_link_relocate): When generating an |
1664 |
hash loop. |
R_ARM_RELATIVE relocation for Symbian OS, mention the section |
1665 |
|
symbol in the relocation. |
1666 |
|
|
1667 |
2002-05-16 Nick Clifton <nickc@cambridge.redhat.com> |
2004-11-08 Inderpreet Singh <inderpreetb@nioda.hcltech.com> |
1668 |
|
Vineet Sharma <vineets@noida.hcltech.com> |
1669 |
|
|
1670 |
* config.bfd: Add targets for sh64-linux (little endian and |
* coff-maxq.c: New File. |
1671 |
big endian). |
* cpu-maxq.c: New File. |
1672 |
|
* coffcode.h: Likewise. |
1673 |
|
* config.bfd: Likewise. |
1674 |
|
* configure.in (maxqcoff_vec): New target vector. |
1675 |
|
* Makefile.am: Add support for maxq target. |
1676 |
|
* configure.in: Likewise. |
1677 |
|
* archures.c:. Likewise. |
1678 |
|
* targets.c: Likewise. |
1679 |
|
* bfd_in2.h : Regenerated. |
1680 |
|
* Makefile.in: Regenerated. |
1681 |
|
* configure: Regenerated. |
1682 |
|
* doc/Makefile.in: Regenerated. |
1683 |
|
|
1684 |
2002-05-15 Laurent Pinchart <laurent.pinchart@skynet.be> |
2004-11-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> |
1685 |
|
|
1686 |
* peXXigen.c (pe_print_idata): Do not assume that the first thunk |
* coff-i386.c (coff_i386_reloc): Fix weak symbols. |
1687 |
is located in the same section as the import table. Instead |
* cofflink.c (_bfd_coff_link_input_bfd): Don't process |
1688 |
check, and if necessary load the section containing the thunk. |
C_NT_WEAK aux entries. |
1689 |
|
(_bfd_coff_generic_relocate_section): Handle undefined |
1690 |
|
aliases. |
1691 |
|
|
1692 |
|
2004-11-07 Andreas Schwab <schwab@suse.de> |
1693 |
|
|
1694 |
|
* elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Use |
1695 |
|
SYMBOL_CALLS_LOCAL and check for undefweak symbols with |
1696 |
|
non-default visibility. |
1697 |
|
|
1698 |
|
2004-11-01 Mark Mitchell <mark@codesourcery.com> |
1699 |
|
|
1700 |
|
* elf32-arm.c (elf32_arm_symbian_begin_write_processing): Clear |
1701 |
|
D_PAGED. |
1702 |
|
(elf32_arm_symbian_modify_segment_map): Don't |
1703 |
|
reset includes_filehdr and includes_phdrs here. |
1704 |
|
|
1705 |
|
2004-11-04 Daniel Jacobowitz <dan@debian.org> |
1706 |
|
|
1707 |
|
* Makefile.am (BFD32_BACKENDS, BFD32_BACKENDS_CFILES): Replace |
1708 |
|
elfarm-nabi with elf32-arm. Remove elfarm-oabi. |
1709 |
|
(elf32-arm.lo): Replace elfarm-nabi.lo rule. Remove elf32-arm.h |
1710 |
|
dependency. |
1711 |
|
* config.bfd: Move arm-*-oabi* and thumb-*-oabi* from obsolete list |
1712 |
|
to a new removed list. Remove normal configuration stanzas. |
1713 |
|
* configure.in: (bfd_elf32_bigarm_vec, bfd_elf32_bigarm_symbian_vec) |
1714 |
|
(bfd_elf32_littlearm_symbian_vec, bfd_elf32_littlearm_vec): Replace |
1715 |
|
elfarm-nabi.lo with elf32-arm.lo. |
1716 |
|
(bfd_elf32_bigarm_oabi_vec, bfd_elf32_littlearm_oabi_vec): Remove. |
1717 |
|
* elf32-arm.c: Renamed from elfarm-nabi.c. Inline elf32-arm.h. |
1718 |
|
* elf32-arm.h: Remove. |
1719 |
|
* elfarm-oabi.c: Remove. |
1720 |
|
* targets.c (_bfd_target_vector): Remove bfd_elf32_bigarm_oabi_vec |
1721 |
|
and bfd_elf32_littlearm_oabi_vec. |
1722 |
|
* aclocal.m4, Makefile.in, configure, doc/Makefile.in: Regenerated. |
1723 |
|
|
1724 |
|
2004-11-04 Hans-Peter Nilsson <hp@axis.com> |
1725 |
|
|
1726 |
|
* config.bfd: Support crisv32-*-* like cris-*-*. |
1727 |
|
* archures.c (bfd_mach_cris_v0_v10, bfd_mach_cris_v32) |
1728 |
|
(bfd_mach_cris_v10_v32): New macros. |
1729 |
|
* cpu-cris.c: Tweak formatting. |
1730 |
|
(get_compatible): New function. |
1731 |
|
(N): New macro. |
1732 |
|
(bfd_cris_arch_compat_v10_v32, bfd_cris_arch_v32): New |
1733 |
|
bfd_arch_info_type:s. |
1734 |
|
(bfd_cris_arch): Use bfd_mach_cris_v0_v10 for member mach, |
1735 |
|
get_compatible for member compatible and link bfd_cris_arch_v32 as |
1736 |
|
next. |
1737 |
|
* elf32-cris.c (cris_elf_pcrel_reloc) |
1738 |
|
(cris_elf_set_mach_from_flags): New functions. |
1739 |
|
(cris_elf_howto_table) <R_CRIS_8_PCREL, R_CRIS_16_PCREL> |
1740 |
|
<R_CRIS_32_PCREL>: Use cris_elf_pcrel_reloc. |
1741 |
|
(cris_elf_grok_prstatus, cris_elf_grok_psinfo): Give correct |
1742 |
|
numbers for bfd_mach_cris_v32. |
1743 |
|
(PLT_ENTRY_SIZE_V32): New macro. |
1744 |
|
(elf_cris_plt0_entry): Drop last comma in initializer. |
1745 |
|
(elf_cris_plt0_entry_v32, elf_cris_plt_entry_v32) |
1746 |
|
(elf_cris_pic_plt0_entry_v32, elf_cris_pic_plt_entry_v32): New |
1747 |
|
PLT initializers. |
1748 |
|
(cris_elf_relocate_section): Change all "%B(%A)" messages to |
1749 |
|
"%B, section %A". |
1750 |
|
(elf_cris_finish_dynamic_symbol): Do V32-specific PLT entries. |
1751 |
|
(elf_cris_finish_dynamic_sections): Similar. |
1752 |
|
(elf_cris_adjust_dynamic_symbol): Similar. |
1753 |
|
(cris_elf_check_relocs): Change all "%B(%A)" messages to "%B, |
1754 |
|
section %A". |
1755 |
|
<switch with PIC relocs>: Emit error and return FALSE for |
1756 |
|
bfd_mach_cris_v10_v32. |
1757 |
|
<case R_CRIS_8_PCREL, case R_CRIS_16_PCREL, case R_CRIS_32_PCREL>: |
1758 |
|
Emit warning when generating textrel reloc. |
1759 |
|
(cris_elf_object_p): Call cris_elf_set_mach_from_flags. |
1760 |
|
(cris_elf_final_write_processing): Set flags according to mach. |
1761 |
|
(cris_elf_print_private_bfd_data): Display |
1762 |
|
EF_CRIS_VARIANT_COMMON_V10_V32 and EF_CRIS_VARIANT_V32. |
1763 |
|
(cris_elf_merge_private_bfd_data): Drop variables old_flags, |
1764 |
|
new_flags. Don't call cris_elf_final_write_processing. Don't |
1765 |
|
look at the actual elf header flags at all; use |
1766 |
|
bfd_get_symbol_leading_char to check ibfd, obfd. Trap difference |
1767 |
|
in bfd_get_mach for ibfd and obfd and handle merging of compatible |
1768 |
|
objects. |
1769 |
|
(bfd_elf32_bfd_copy_private_bfd_data): Define. |
1770 |
|
* reloc.c (BFD_RELOC_CRIS_SIGNED_8, BFD_RELOC_CRIS_UNSIGNED_8) |
1771 |
|
(BFD_RELOC_CRIS_SIGNED_16, BFD_RELOC_CRIS_UNSIGNED_16) |
1772 |
|
(BFD_RELOC_CRIS_LAPCQ_OFFSET): New relocs. |
1773 |
|
* bfd-in2.h, libbfd.h: Regenerate. |
1774 |
|
|
1775 |
2002-05-15 Nick Clifton <nickc@cambridge.redhat.com> |
2004-11-04 Alan Modra <amodra@bigpond.net.au> |
1776 |
|
|
1777 |
* aix5ppc-core.c (xcoff64_core_p): Replace bfd_read with |
* elf64-ppc.h (ppc64_elf_edit_toc): Declare. |
1778 |
bfd_bread. |
* elf64-ppc.c (struct ppc_link_hash_entry <adjust_done>): Update |
1779 |
(xcoff64_core_file_matches_executable_p): Replace bfd_read |
comment. |
1780 |
with bfd_bread. |
(struct adjust_toc_info): New. |
1781 |
|
(adjust_toc_syms, ppc64_elf_edit_toc): New functions. |
1782 |
|
|
1783 |
2002-05-15 Alan Modra <amodra@bigpond.net.au> |
2004-11-03 Bob Wilson <bob.wilson@acm.org> |
1784 |
|
|
1785 |
* aix5ppc-core.c: Warning fixes. |
* elf.c (assign_file_positions_for_segments): Set next_file_pos even |
1786 |
* aout-adobe.c (aout_32_bfd_link_just_syms): Define. |
if there are no segments. |
|
* aout-target.h (MY_bfd_link_just_syms): Define. |
|
|
* aout-tic30.c (MY_bfd_link_just_syms): Define. |
|
|
* bfd.c (bfd_link_just_syms): Define. |
|
|
* binary.c (binary_bfd_link_just_syms): Define. |
|
|
* bout.c (b_out_bfd_link_just_syms): Define. |
|
|
* coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Update initializer. |
|
|
* coff64-rs6000.c (rs6000coff64_vec, aix5coff64_vec): Likewise. |
|
|
* coffcode.h (coff_bfd_link_just_syms): Define. |
|
|
* elf-bfd.h (enum elf_link_info_type): Add ELF_INFO_TYPE_JUST_SYMS. |
|
|
(elf_discarded_section): Check for ELF_INFO_TYPE_JUST_SYMS. |
|
|
(_bfd_elf_link_just_syms): Declare. |
|
|
* elf.c (_bfd_elf_link_just_syms): New function. |
|
|
* elf-eh-frame.c (_bfd_elf_maybe_strip_eh_frame_hdr): Check that |
|
|
sections haven't already been discarded by the linker. |
|
|
* elflink.h (elf_link_add_object_symbols): Likewise for stab |
|
|
sections and SEC_MERGE sections. |
|
|
(elf_bfd_discard_info): Similarly here. |
|
|
* elfxx-target.h (bfd_elfNN_bfd_link_just_syms): Define. |
|
|
* i386msdos.c (msdos_bfd_link_just_syms): Define. |
|
|
* i386os9k.c (os9k_bfd_link_just_syms): Define. |
|
|
* ieee.c (ieee_bfd_link_just_syms): Define. |
|
|
* ihex.c (ihex_bfd_link_just_syms): Define. |
|
|
* libbfd-in.h (_bfd_nolink_bfd_link_just_syms): Define. |
|
|
(_bfd_generic_link_just_syms): Declare. |
|
|
* libecoff.h (_bfd_ecoff_bfd_link_just_syms): Define. |
|
|
* linker.c (_bfd_generic_link_just_syms): New function. |
|
|
* mmo.c (mmo_bfd_link_just_syms): Define. |
|
|
* nlm-target.h (nlm_bfd_link_just_syms): Define. |
|
|
* oasys.c (oasys_bfd_link_just_syms): Define. |
|
|
* ppcboot.c (ppcboot_bfd_link_just_syms): Define. |
|
|
* som.c (som_bfd_link_just_syms): Define. |
|
|
* srec.c (srec_bfd_link_just_syms): Define. |
|
|
* targets.c (struct bfd_target): Add _bfd_link_just_syms. |
|
|
(BFD_JUMP_TABLE_LINK): And here. |
|
|
* tekhex.c (tekhex_bfd_link_just_syms): Define. |
|
|
* versados.c (versados_bfd_link_just_syms): Define. |
|
|
* vms.c (vms_bfd_link_just_syms): Define. |
|
|
* libbfd.h: Regenerate. |
|
|
* bfd-in2.h: Regenerate. |
|
1787 |
|
|
1788 |
2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
2004-11-02 Daniel Jacobowitz <dan@debian.org> |
1789 |
|
|
1790 |
* elf32-mips.c: Remove superfluous definitions copied from |
* config.bfd: Mark arm-*-oabi and thumb-*-oabi as obsolete. |
|
elfxx-mips.c. |
|
|
(bfd_elf32_bigmips_vec,bfd_elf32_littlemips_vec): Use the |
|
|
SGIish vectors to check the special case. |
|
|
(mips_elf_hi16_reloc): Fix comment. |
|
|
(mips_elf_got16_reloc): Likewise. |
|
|
(_bfd_mips_elf32_gprel16_reloc): Likewise. |
|
|
(elf_reloc_map): Code cleanup. |
|
|
(mips_reloc_map): Add comment. |
|
|
(bfd_elf23_bfd_reloc_type_lookup): Code cleanup. |
|
|
(mips_elf32_rtype_to_howto): Likewise. |
|
|
(mips_elf32_discard_info): Likewise. |
|
|
(elf32_mips_irix_compat): Invert logic: Only SGIish vectors |
|
|
lead to IRIX compatibility now. |
|
|
|
|
|
2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
|
|
|
|
|
* elfxx-mips.c: Call it IRIX, not Irix in comments. |
|
|
|
|
|
2002-05-13 Jason Thorpe <thorpej@wasabisystems.com> |
|
1791 |
|
|
1792 |
* config.bfd (shle-*-netbsdelf*): Add target which includes |
2004-11-02 Nick Clifton <nickc@redhat.com> |
|
sh64 support. |
|
1793 |
|
|
1794 |
2002-05-13 David Edelsohn <edelsohn@gnu.org> |
* elf32-iq2000.c: Convert to ISO C90 formatting. |
1795 |
|
|
1796 |
* configure.in: Revert 2002-04-07. Instead, auto-configure |
2004-11-02 Hans-Peter Nilsson <hp@axis.com> |
|
HAVE_ST_C_IMPL. |
|
|
* configure: Regenerate. |
|
|
* config.in: Regenerate. |
|
|
* rs6000-core.c (CNEW_IMPL): Guard use of c_impl with HAVE_ST_C_IMPL |
|
|
or AIX_5_CORE. |
|
1797 |
|
|
1798 |
2002-05-11 Federico G. Schwindt <fgsch@olimpo.com.br> |
* elflink.c (_bfd_elf_create_got_section): Hide _GLOBAL_OFFSET_TABLE_. |
1799 |
|
|
1800 |
* configure.in (sparc*-*-openbsd*): Support sparc64-openbsd |
2004-10-28 H.J. Lu <hongjiu.lu@intel.com> |
|
corefiles as well.2 |
|
|
* configure: Regenerate. |
|
1801 |
|
|
1802 |
2002-05-13 Alan Modra <amodra@bigpond.net.au> |
* elfxx-ia64.c (elfNN_ia64_relocate_section): Handle weak |
1803 |
|
undefined symbols for R_IA64_SECREL32MSB, R_IA64_SECREL32LSB, |
1804 |
|
R_IA64_SECREL64MSB and R_IA64_SECREL64LSB. |
1805 |
|
|
1806 |
* Makefile.am (install-data-local): Install headers to |
2004-10-28 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
|
$(exec_prefix)/include. |
|
|
* Makefile.in: Regenerate. |
|
1807 |
|
|
1808 |
2002-05-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
* elf32-sh.c (tpoff): Take alignment into account. |
|
Daniel Jacobowitz <drow@mvista.com> |
|
1809 |
|
|
1810 |
* coff-sh.c (sh_reloc_map): Map to R_SH_IMM32 for non-PE. Don't |
2004-10-28 Nick Clifton <nickc@redhat.com> |
|
map BFD_RELOC_RVA. |
|
1811 |
|
|
1812 |
2002-05-11 Federico G. Schwindt <fgsch@olimpo.com.br> |
* elf32-iq2000.c (iq2000_elf_relocate_section): Do nothing when |
1813 |
|
performing a relocatable link. |
1814 |
|
(iq2000_elf_object_p): Do not set elf_bad_symtab. This is only |
1815 |
|
for MIPS ports under Irix. |
1816 |
|
|
1817 |
* config.bfd (alpha*-*-openbsd*, sparc64*-*-openbsd*, |
2004-10-27 Richard Earnshaw <rearnsha@arm.com> |
1818 |
hppa*-*-openbsd*): New targets. |
|
1819 |
* configure.in (alpha*-*-openbsd*): Set COREFILE. |
* elf32-arm.h (bfd_elf32_arm_process_before_allocation): Handle |
1820 |
* configure: Regenerate. |
R_ARM_CALL and R_ARM_JUMP24 as aliases of R_ARM_PC24. |
1821 |
|
(elf32_arm_final_link_relocate): Ditto. |
1822 |
|
(arm_add_to_rel, elf32_arm_relocate_section): Ditto. |
1823 |
|
(elf32_arm_gc_sweep_hook, elf32_arm_check_relocs): Ditto |
1824 |
|
(elf32_arm_adjust_dynamic_symbol): Ditto. |
1825 |
|
* elfarm-nabi.c (elf32_arm_howto_table): Add R_ARM_CALL and |
1826 |
|
R_ARM_JUMP32. Move R_ARM_R{REL32,ABS32,PC24,BASE}... |
1827 |
|
(elf32_arm_r_howto): ... To here. |
1828 |
|
(elf32_arm_howto_from_type): Use elf32_arm_r_howto. |
1829 |
|
|
1830 |
2002-05-10 Tom Rix <trix@redhat.com> |
2004-10-26 H.J. Lu <hongjiu.lu@intel.com> |
1831 |
|
|
1832 |
* coff64-rs6000.c (xcoff64_reloc_type_br): New function for |
PR 475 |
1833 |
xcoff64_ppc_relocate_section. |
* elfxx-ia64.c (elfNN_ia64_relocate_section): Correct |
1834 |
* coff-rs6000.c : Extern common xcoff_reloc_type functions. |
R_IA64_SECREL32MSB, R_IA64_SECREL32LSB, R_IA64_SECREL64MSB |
1835 |
* libxcoff.h: Common xcoff_reloc_type function declaration. |
and R_IA64_SECREL64LSB. |
1836 |
|
|
1837 |
2002-05-10 Alan Modra <amodra@bigpond.net.au> |
2004-10-26 Paul Brook <paul@codesourcery.com> |
1838 |
|
|
1839 |
* elf32-i386.c (elf_i386_relocate_section): Remove overflow checks |
* elflink.c (elf_finalize_dynstr): Skip shared aux structure. |
1840 |
added in 2002-05-09 commit. |
(bfd_elf_size_dynamic_sections): Create default version definition. |
1841 |
|
(elf_link_output_extsym): Adjust for default symbol version. |
1842 |
|
|
1843 |
* elf32-hppa.c (elf32_hppa_size_stubs): Revert part of 2002-05-04, |
2004-10-24 Hans-Peter Nilsson <hp@bitrange.com> |
|
don't look for stubs on all undefined syms. |
|
1844 |
|
|
1845 |
2002-05-09 Alan Modra <amodra@bigpond.net.au> |
* mmo.c: Adjust to ISO C. |
1846 |
|
|
1847 |
* elf64-ppc.c (RA_REGISTER_MASK, RA_REGISTER_SHIFT): Delete. |
* mmo.c (mmo_write_section_description): New function broken out |
1848 |
(ppc64_elf_howto_raw <R_PPC64_RELATIVE>): Not pc_relative or |
of mmo_internal_write_section. |
1849 |
pcrel_offset. |
(mmo_internal_write_section): For each of .text and .data, call |
1850 |
|
mmo_write_section_description before outputting contents if it has |
1851 |
|
nontrivially deducible vma or contents. |
1852 |
|
(mmo_has_leading_or_trailing_zero_tetra_p): New function. |
1853 |
|
(mmo_canonicalize_symtab): Adjust absolute symbols to .data |
1854 |
|
symbols if found within the .data address range. |
1855 |
|
|
1856 |
* elf32-i386.c (elf_howto_table): Comments. |
2004-10-24 Daniel Jacobowitz <dan@debian.org> |
|
(elf_i386_relocate_section): Handle more relocs for relocatable |
|
|
linking and against SEC_MERGE sections. |
|
1857 |
|
|
1858 |
2002-05-08 Alan Modra <amodra@bigpond.net.au> |
* opncls.c (bfd_close): Return TRUE for BFD_IN_MEMORY. |
1859 |
|
|
1860 |
* elf32-ppc.c (ppc_elf_create_got): New function. |
2004-10-24 Hans-Peter Nilsson <hp@bitrange.com> |
|
(ppc_elf_create_dynamic_sections): Call ppc_elf_create_got before |
|
|
_bfd_elf_create_dynamic_sections. Correct .plt flags. |
|
|
(ppc_elf_check_relocs): Use ppc_elf_create_got in place of |
|
|
_bfd_elf_create_got_section. |
|
1861 |
|
|
1862 |
2002-05-07 Alan Modra <amodra@bigpond.net.au> |
* mmo.c (File Layout): Correct place of misplaced blurb about |
1863 |
|
special data. |
1864 |
|
|
1865 |
* elf-bfd.h (struct elf_backend_data): Add rela_normal. |
2004-10-22 Mark Kettenis <kettenis@gnu.org> |
1866 |
* elfxx-target.h (elf_backend_rela_normal): Define. |
|
1867 |
(elfNN_bed): Init rela_normal. |
* config.bfd: Add mips64*-*-openbsd. |
1868 |
* elflink.h (elf_link_input_bfd <emit_relocs>): Handle adjustment |
|
1869 |
for section symbols here if rela_normal. Simplify abs section test. |
2004-10-21 Bob Wilson <bob.wilson@acm.org> |
1870 |
* elf-m10200.c (mn10200_elf_relocate_section): If relocatable, |
|
1871 |
return immediately. Remove code handling relocatable linking. |
* elf32-xtensa.c (ebb_propose_action): Put declarations before |
1872 |
|
statements. |
1873 |
|
|
1874 |
|
2004-10-21 H.J. Lu <hongjiu.lu@intel.com> |
1875 |
|
|
1876 |
|
* configure.in: (AM_INIT_AUTOMAKE): Set version to 2.15.94. |
1877 |
|
* configure: Regenerate. |
1878 |
|
|
1879 |
|
2004-10-21 H.J. Lu <hongjiu.lu@intel.com> |
1880 |
|
|
1881 |
|
PR 463 |
1882 |
|
* aoutx.h (aout_link_input_section_std): Pass proper hash entry |
1883 |
|
to linker reloc_overflow callback. |
1884 |
|
(aout_link_input_section_ext): Likewise. |
1885 |
|
(aout_link_reloc_link_order): Likewise. |
1886 |
|
* coff-a29k.c (coff_a29k_relocate_section): Likewise. |
1887 |
|
* coff-alpha.c (alpha_ecoff_get_relocated_section_contents): |
1888 |
|
Likewise. |
1889 |
|
(alpha_relocate_section): Likewise. |
1890 |
|
* coff-arm.c (coff_arm_relocate_section): Likewise. |
1891 |
|
* coff-h8300.c (h8300_reloc16_extra_cases): Likewise. |
1892 |
|
* coff-h8500.c (extra_case): Likewise. |
1893 |
|
* coff-i960.c (coff_i960_relocate_section): Likewise. |
1894 |
|
* coff-mcore.c (coff_mcore_relocate_section): Likewise. |
1895 |
|
* coff-mips.c (mips_relocate_section): Likewise. |
1896 |
|
* coff-or32.c (coff_or32_relocate_section): Likewise. |
1897 |
|
* coff-ppc.c (coff_ppc_relocate_section): Likewise. |
1898 |
|
* coff-rs6000.c (xcoff_ppc_relocate_section): Likewise. |
1899 |
|
* coff-sh.c (sh_relocate_section): Likewise. |
1900 |
|
* coff-tic80.c (coff_tic80_relocate_section): Likewise. |
1901 |
|
* coff-w65.c (w65_reloc16_extra_cases): Likewise. |
1902 |
|
* coff-z8k.c (extra_case): Likewise. |
1903 |
|
* coff64-rs6000.c (xcoff64_ppc_relocate_section): Likewise. |
1904 |
|
* cofflink.c (_bfd_coff_reloc_link_order): Likewise. |
1905 |
|
(_bfd_coff_generic_relocate_section): Likewise. |
1906 |
|
* ecoff.c (ecoff_reloc_link_order): Likewise. |
1907 |
|
* elf-hppa.h (elf_hppa_relocate_section): Likewise. |
1908 |
|
* elf-m10200.c (mn10200_elf_relocate_section): Likewise. |
1909 |
* elf-m10300.c (mn10300_elf_relocate_section): Likewise. |
* elf-m10300.c (mn10300_elf_relocate_section): Likewise. |
1910 |
|
* elf32-arm.h (elf32_arm_relocate_section): Likewise. |
1911 |
|
* elf32-avr.c (elf32_avr_relocate_section): Likewise. |
1912 |
|
* elf32-cr16c.c (elf32_cr16c_relocate_section): Likewise. |
1913 |
|
* elf32-cris.c (cris_elf_relocate_section): Likewise. |
1914 |
|
* elf32-crx.c (elf32_crx_relocate_section): Likewise. |
1915 |
|
* elf32-d10v.c (elf32_d10v_relocate_section): Likewise. |
1916 |
* elf32-fr30.c (fr30_elf_relocate_section): Likewise. |
* elf32-fr30.c (fr30_elf_relocate_section): Likewise. |
1917 |
|
* elf32-frv.c (elf32_frv_relocate_section): Likewise. |
1918 |
|
* elf32-h8300.c (elf32_h8_relocate_section): Likewise. |
1919 |
|
* elf32-hppa.c (elf32_hppa_relocate_section): Likewise. |
1920 |
* elf32-i370.c (i370_elf_relocate_section): Likewise. |
* elf32-i370.c (i370_elf_relocate_section): Likewise. |
1921 |
|
* elf32-i386.c (elf_i386_relocate_section): Likewise. |
1922 |
* elf32-i860.c (elf32_i860_relocate_section): Likewise. |
* elf32-i860.c (elf32_i860_relocate_section): Likewise. |
1923 |
|
* elf32-ip2k.c (ip2k_elf_relocate_section): Likewise. |
1924 |
|
* elf32-iq2000.c (iq2000_elf_relocate_section): Likewise. |
1925 |
|
* elf32-m32r.c (m32r_elf_relocate_section): Likewise. |
1926 |
|
* elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Likewise. |
1927 |
* elf32-m68k.c (elf_m68k_relocate_section): Likewise. |
* elf32-m68k.c (elf_m68k_relocate_section): Likewise. |
1928 |
* elf32-mcore.c (mcore_elf_relocate_section): Likewise. |
* elf32-mcore.c (mcore_elf_relocate_section): Likewise. |
1929 |
|
* elf32-msp430.c (elf32_msp430_relocate_section): Likewise. |
1930 |
* elf32-openrisc.c (openrisc_elf_relocate_section): Likewise. |
* elf32-openrisc.c (openrisc_elf_relocate_section): Likewise. |
1931 |
* elf32-ppc.c (ppc_elf_relocate_section): Likewise. |
* elf32-ppc.c (ppc_elf_relocate_section): Likewise. |
1932 |
* elf32-s390.c (elf_s390_relocate_section): Likewise. |
* elf32-s390.c (elf_s390_relocate_section): Likewise. |
1933 |
|
* elf32-sh.c (sh_elf_relocate_section): Likewise. |
1934 |
|
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise. |
1935 |
|
* elf32-v850.c (v850_elf_relocate_section): Likewise. |
1936 |
|
* elf32-vax.c (elf_vax_relocate_section): Likewise. |
1937 |
* elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise. |
* elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise. |
1938 |
|
* elf64-alpha.c (elf64_alpha_relocate_section): Likewise. |
1939 |
|
* elf64-mmix.c (mmix_elf_relocate_section): Likewise. |
1940 |
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise. |
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise. |
1941 |
* elf64-s390.c (elf_s390_relocate_section): Likewise. |
* elf64-s390.c (elf_s390_relocate_section): Likewise. |
1942 |
|
* elf64-sh64.c (sh_elf64_relocate_section): Likewise. |
1943 |
|
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise. |
1944 |
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. |
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. |
1945 |
|
* elflink.c (elf_reloc_link_order): Likewise. |
1946 |
* elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise. |
* elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise. |
1947 |
* elf32-arm.h (elf32_arm_relocate_section): Likewise #ifndef USE_REL. |
* elfxx-mips.c (_bfd_mips_elf_relocate_section): Likewise. |
1948 |
* elf32-m32r.c (m32r_elf_relocate_section): Likewise. |
(_bfd_elf_mips_get_relocated_section_contents): Likewise. |
1949 |
* elf-m10200.c (elf_backend_rela_normal): Define. |
* linker.c (_bfd_generic_reloc_link_order): Likewise. |
1950 |
* elf-m10300.c (elf_backend_rela_normal): Define. |
* pdp11.c (pdp11_aout_link_input_section): Likewise. |
1951 |
* elf32-fr30.c (elf_backend_rela_normal): Define. |
(aout_link_reloc_link_order): Likewise. |
1952 |
* elf32-i370.c (elf_backend_rela_normal): Define. |
* reloc.c (bfd_generic_get_relocated_section_contents): |
1953 |
* elf32-i860.c (elf_backend_rela_normal): Define. |
Likewise. |
1954 |
* elf32-m68k.c (elf_backend_rela_normal): Define. |
* xcofflink.c (xcoff_reloc_link_order): Likewise. |
1955 |
* elf32-mcore.c (elf_backend_rela_normal): Define. |
* simple.c (simple_dummy_reloc_overflow): Updated. |
|
* elf32-openrisc.c (elf_backend_rela_normal): Define. |
|
|
* elf32-ppc.c (elf_backend_rela_normal): Define. |
|
|
* elf32-s390.c (elf_backend_rela_normal): Define. |
|
|
* elf32-xstormy16.c (elf_backend_rela_normal): Define. |
|
|
* elf64-ppc.c (elf_backend_rela_normal): Define. |
|
|
* elf64-s390.c (elf_backend_rela_normal): Define. |
|
|
* elf64-x86-64.c (elf_backend_rela_normal): Define. |
|
|
* elfxx-ia64.c (elf_backend_rela_normal): Define. |
|
|
* elf32-arm.h (elf_backend_rela_normal): Define #ifndef USE_REL. |
|
|
* elf32-m32r.c (elf_backend_rela_normal): Likewise. |
|
|
|
|
|
2002-05-06 Nick Clifton <nickc@cambridge.redhat.com> |
|
|
|
|
|
* elf32-arm.h (elf32_arm_final_link_relocate): Convert |
|
|
'reloc_signed_max' and 'reloc_signed_min' into half-word offsets. |
|
|
|
|
|
2002-05-06 Alan Modra <amodra@bigpond.net.au> |
|
|
|
|
|
* elflink.h (elf_link_input_bfd <emit_relocs>): Adjust r_offset |
|
|
when not relocatable. Fix reloc_emitter call for K&R. |
|
|
|
|
|
2002-05-04 Alan Modra <amodra@bigpond.net.au> |
|
|
|
|
|
* elf64-ppc.c (ppc64_elf_relocate_section): Reinstate code |
|
|
reloading local sym addend mistakenly removed in 2002-05-01 change. |
|
|
|
|
|
* dwarf2.c (struct line_head): Make prologue_length a bfd_vma. |
|
|
(read_abbrevs): Change "offset" param to bfd_vma. |
|
|
(parse_comp_unit): Change "version" and addr_size to unsigned ints. |
|
|
Change "abbrev_offset" to bfd_vma. |
|
|
(read_indirect_string): Use correct conversion chars in error |
|
|
message format string, cast bfd_vma's to unsigned long. |
|
|
(read_abbrevs): Likewise. |
|
|
(read_attribute_value): Likewise. |
|
|
(decode_line_info): Likewise. |
|
|
(scan_unit_for_functions): Likewise. |
|
|
(parse_comp_unit): Likewise. |
|
|
|
|
|
2002-05-04 Tom Rix <trix@redhat.com> |
|
|
|
|
|
* coffswap.h (coff_swap_reloc_in): Remove XCOFF support. |
|
|
(coff_swap_reloc_out): Same. |
|
|
* coff-rs6000.c: (xcoff_swap_reloc_in): Moved from coffswap.h. |
|
|
(xcoff_swap_reloc_out): Same. |
|
|
(xcoff_rtype2howto): Renamed from _bfd_xcoff_rtype2howto. Special |
|
|
case some 16 bit relocs. Add reloc value to output. |
|
|
(xcoff_howto_table): Remove 64 bit R_POS, add 16 bit |
|
|
R_RBR. Improve names. |
|
|
(_bfd_xcoff_reloc_type_lookup): Adjust for removal of 64 bit R_POS. |
|
|
(bfd_xcoff_backend_data): Update with new reloc swap names. |
|
|
(bfd_pmac_xcoff_backend_data) : Same. |
|
|
* coff64-rs6000.c: (xcoff64_swap_reloc_in): Moved from coffswap.h. |
|
|
(xcoff64_swap_reloc_out): Same. |
|
|
(xcoff64_rtype2howto): Special case some 16 bit relocs and 32 bit |
|
|
R_POS. Add reloc value to output. |
|
|
(xcoff64_howto_table): Move 64 bit R_POS to first entry. Add 16 |
|
|
bit R_RBR. Improve names, masks. |
|
|
(xcoff64_reloc_type_lookup): Adjust for move of 64 bit R_POS. |
|
|
(bfd_xcoff_backend_data): Update with new reloc swap names. |
|
|
(bfd_xcoff_aix5_backend_data) : Same. |
|
|
|
|
|
2002-05-04 Alan Modra <amodra@bigpond.net.au> |
|
|
|
|
|
* elf32-hppa.c (struct elf32_hppa_link_hash_table): Add |
|
|
bfd_count top_index, input_list, all_local_syms. |
|
|
(elf32_hppa_setup_section_lists): New function, split from |
|
|
elf32_hppa_size_stubs. |
|
|
(elf32_hppa_next_input_section): Likewise. |
|
|
(group_sections): Likewise. |
|
|
(get_local_syms): Likewise. |
|
|
(elf32_hppa_size_stubs): Adjust for split out functions. Look for |
|
|
stubs on undefined syms too. |
|
|
(elf32_hppa_set_gp): Use bfd_link_hash* instead of elf_link_hash*. |
|
|
Only access htab elf fields when we have an elf hash table. |
|
|
* elf32-hppa.h (elf32_hppa_setup_section_lists): Declare. |
|
|
(elf32_hppa_next_input_section): Declare. |
|
|
|
|
|
2002-05-04 Bob Byrnes <byrnes@curl.com> |
|
|
|
|
|
* opncls.c (_bfd_new_bfd_contained_in): Check return value of |
|
|
_bfd_new_bfd. |
|
|
|
|
|
2002-05-03 H.J. Lu (hjl@gnu.org) |
|
|
|
|
|
* elfxx-mips.c (mips_elf_link_hash_entry): Add forced_local. |
|
|
(mips_elf_link_hash_newfunc): Initialize forced_local to false. |
|
|
(mips_elf_record_global_got_symbol): Call _bfd_mips_elf_hide_symbol |
|
|
to hide a global symbol. |
|
|
(_bfd_mips_elf_hide_symbol): Return if forced_local is true. Set |
|
|
forced_local to true. |
|
|
|
|
|
2002-05-02 Richard Henderson <rth@redhat.com> |
|
|
|
|
|
* elf64-alpha.c (elf64_alpha_relocate_section): Force relative relocs |
|
|
vs SHN_UNDEF to zero. |
|
|
|
|
|
2002-05-02 Alan Modra <amodra@bigpond.net.au> |
|
|
|
|
|
* elf64-ppc.c (ppc64_elf_howto_raw <R_PPC64_SECTOFF>): Change to a |
|
|
16 bit reloc. |
|
|
<R_PPC64_SECTOFF_DS>: Likewise. |
|
|
(ppc64_elf_reloc_type_lookup): Map from BFD_RELOC_16_BASEREL to |
|
|
SECTOFF reloc. |
|
|
* elf32-ppc.c (ppc_elf_howto_raw <R_PPC_SECTOFF>): Correct. |
|
|
(ppc_elf_reloc_type_lookup): Map from BFD_RELOC_16_BASEREL to |
|
|
SECTOFF reloc. |
|
|
|
|
|
* elf64-ppc.c (ppc64_elf_addr16_ha_reloc): Delete. |
|
|
(ppc64_elf_ha_reloc): New function. |
|
|
(ppc64_elf_brtaken_reloc): New function. |
|
|
(ppc64_elf_sectoff_reloc): New function. |
|
|
(ppc64_elf_sectoff_ha_reloc): New function. |
|
|
(ppc64_elf_toc_reloc): New function. |
|
|
(ppc64_elf_toc_ha_reloc): New function. |
|
|
(ppc64_elf_toc64_reloc): New function. |
|
|
(ppc64_elf_unhandled_reloc): New function. |
|
|
(ppc64_elf_howto_raw): Use the above. |
|
|
<R_PPC64_RELATIVE>: Mark pc_relative, pcrel_offset. |
|
|
<R_PPC64_SECTOFF>: Not pc_relative or pcrel_offset. Fix dst_mask. |
|
|
<R_PPC64_SECTOFF_DS>: Likewise. |
|
|
(IS_ABSOLUTE_RELOC): Update. |
|
|
(struct ppc_link_hash_table): Add have_undefweak. |
|
|
(ppc64_elf_link_hash_table_create): Init. |
|
|
(func_desc_adjust): Set have_undefweak. |
|
|
(ppc64_elf_func_desc_adjust): Call func_desc_adjust earlier. Only |
|
|
add the .sfpr blr when have_undefweak. |
|
|
(ppc64_elf_setup_section_lists): Check hash table flavour. |
|
|
(ppc64_elf_next_input_section): Move output_section->owner test to |
|
|
ppc64elf.em. |
|
|
(ppc64_elf_set_toc): Rename to ppc64_elf_toc, remove info param |
|
|
and relocatable test. Return TOCstart and don't set elf_gp. |
|
|
(ppc64_elf_relocate_section): Correct BRTAKEN/BRNTAKEN branch |
|
|
offset calculation. Add assert on weak sym branch tweaks. |
|
|
* elf64-ppc.h (ppc64_elf_set_toc): Delete. |
|
|
(ppc64_elf_toc): Declare. |
|
|
(ppc64_elf_next_input_section): Update. |
|
|
|
|
|
2002-05-01 Alan Modra <amodra@bigpond.net.au> |
|
|
|
|
|
* syms.c (_bfd_stab_section_find_nearest_line): Don't bomb on NULL |
|
|
file_name. |
|
|
|
|
|
2002-05-01 Alan Modra <amodra@bigpond.net.au> |
|
|
|
|
|
* elf64-ppc.c (CROR_151515, CROR_313131): Define. |
|
|
(ppc64_elf_relocate_section): Use them. Don't look for plt calls |
|
|
on R_PPC64_ADDR24 relocs. Require a nop or no link reg on plt |
|
|
call branches. Correct undefined weak destination. |
|
|
(ppc64_elf_func_desc_adjust): Always create at least one blr in |
|
|
.sfpr, and correct case where either only savef* or restf* is |
|
|
needed. |
|
1956 |
|
|
1957 |
Long branch stubs, multiple stub sections. |
2004-10-20 Andreas Schwab <schwab@suse.de> |
|
* elf64-ppc.h (ppc64_elf_setup_section_lists): Declare. |
|
|
(ppc64_elf_next_input_section): Declare. |
|
|
* elf64-ppc.c: Move linker-only prototypes. |
|
|
(STUB_SUFFIX): Define. |
|
|
(enum ppc_stub_type): New. |
|
|
(struct ppc_stub_hash_entry): New. |
|
|
(struct ppc_branch_hash_entry): New. |
|
|
(struct ppc_link_hash_entry): Add stub_cache, oh. |
|
|
(struct ppc_link_hash_table): Add stub_hash_table etc. Remove |
|
|
sstub. Add sbrlt, srelbrlt, has_14bit_branch, stub_iteration. |
|
|
Rename plt_overflow to stub_error. |
|
|
(ppc_stub_hash_lookup): Define. |
|
|
(ppc_branch_hash_lookup): Define. |
|
|
(stub_hash_newfunc): New function. |
|
|
(branch_hash_newfunc): New function. |
|
|
(link_hash_newfunc): Init new fields. |
|
|
(ppc64_elf_link_hash_table_create): Likewise. |
|
|
(ppc64_elf_link_hash_table_free): New function. |
|
|
(ppc_stub_name): New function. |
|
|
(ppc_get_stub_entry): New function. |
|
|
(ppc_add_stub): New function. |
|
|
(create_linkage_sections): Use bfd_make_section_anyway. Create |
|
|
.branch_lt and .rela.branch_lt sections. Don't create .stub. |
|
|
(ppc64_elf_check_relocs): Set has_14bit_branch on R_PPC64_REL14*, |
|
|
and set up for plt call stubs. Link func and func desc syms. |
|
|
(ppc64_elf_gc_sweep_hook): Handle REL14* as per REL24. |
|
|
(func_desc_adjust): Avoid hash lookup when func desc sym available |
|
|
via shortcut, and set links when processing. |
|
|
(ppc64_elf_hide_symbol): Likewise. |
|
|
(allocate_dynrelocs): Don't allocate stub section here. |
|
|
(ppc64_elf_size_dynamic_sections): Handle sbrlt and srelbrlt. |
|
|
Remove sstub code. |
|
|
(ppc_type_of_stub): New function. |
|
|
(build_one_stub): Delete. |
|
|
(ppc_build_one_stub): New function. |
|
|
(ppc_size_one_stub): New function. |
|
|
(ppc64_elf_setup_section_lists): New function. |
|
|
(ppc64_elf_next_input_section): New function. |
|
|
(group_sections): New function. |
|
|
(get_local_syms): New function. |
|
|
(ppc64_elf_size_stubs): Rewrite. |
|
|
(ppc64_elf_build_stubs): Rewrite. |
|
|
(ppc64_elf_relocate_section): Look up stub entry for REL24 |
|
|
relocs. Don't propagate REL14* to dynamic objects. Look for long |
|
|
branch stubs if REL14* or REL24 relocs won't reach. |
|
|
(bfd_elf64_bfd_link_hash_table_free): Define. |
|
|
|
|
|
2002-04-30 Mark Mitchell <mark@codesourcery.com> |
|
|
|
|
|
* bfd/config.bfd: Add support for powerpc-*-windiss. |
|
|
|
|
|
2002-04-30 Tom Rix <trix@redhat.com> |
|
|
|
|
|
* xcofflink.c (xcoff_link_add_symbols): Always copy undef C_EXT |
|
|
symbol names into the hash table. |
|
|
|
|
|
2002-04-28 Tom Rix <trix@redhat.com> |
|
|
|
|
|
* coff-rs6000.c (xcoff_calculate_relocation) : Function table for |
|
|
calulating relocations. |
|
|
(xcoff_complain_overflow) : Function table for relocation errors. |
|
|
(xcoff_ppc_relocate_section): Use relocation and complain function |
|
|
tables. |
|
|
(xcoff_complain_overflow_unsigned_func): New complain function. |
|
|
(xcoff_complain_overflow_signed_func): Same. |
|
|
(xcoff_complain_overflow_bitfield_func): Same. |
|
|
(xcoff_complain_overflow_dont_func): Same. |
|
|
(xcoff_reloc_type_crel): New recot function. |
|
|
(xcoff_reloc_type_br): Same. |
|
|
(xcoff_reloc_type_ba): Same. |
|
|
(xcoff_reloc_type_toc): Same. |
|
|
(xcoff_reloc_type_rel): Same. |
|
|
(xcoff_reloc_type_neg): Same. |
|
|
(xcoff_reloc_type_pos): Same. |
|
|
(xcoff_reloc_type_fail): Same. |
|
|
(xcoff_reloc_type_noop): Same. |
|
|
* libxcoff.h : Declare common parts for xcoff64. |
|
|
* coff64-rs6000.c (xcoff64_ppc_relocate_section): Use relocation |
|
|
and complain function tables. |
|
|
|
|
|
2002-04-28 Alan Modra <amodra@bigpond.net.au> |
|
|
|
|
|
* elf64-x86-64.c (struct elf64_x86_64_dyn_relocs): Comment typo. |
|
|
* elf32-hppa.c (elf32_hppa_final_link): Formatting. |
|
|
|
|
|
2002-04-26 Alan Modra <amodra@bigpond.net.au> |
|
|
|
|
|
* opncls.c (bfd_make_readable): Call bfd_section_list_clear. |
|
|
* xcofflink.c (xcoff_link_add_dynamic_symbols): Likewise. |
|
|
|
|
|
* elflink.h (elf_bfd_final_link): Ensure input bfd class is the |
|
|
same as the output before calling elf_link_input_bfd. |
|
|
|
|
|
* coffcode.h (coff_compute_section_file_positions): Set |
|
|
section_tail after shuffling section list. |
|
|
|
|
|
2002-04-24 Christian Groessler <chris@groessler.org> |
|
|
|
|
|
* coff-z8k.c (extra_case): Fix R_IMM32 relocations: The |
|
|
addresses are 23bit with a special layout, not plain 32bit |
|
|
values. Prevent relocation of immediate values. |
|
|
|
|
|
2002-04-24 Chris G. Demetriou <cgd@broadcom.com> |
|
|
|
|
|
* elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data): If MDMX or |
|
|
MIPS-16 ASE flags are set, print something to indicate that. |
|
|
|
|
|
2002-04-23 Alan Modra <amodra@bigpond.net.au> |
|
|
|
|
|
* elf32-hppa.c (hppa_type_of_stub): Correct and simplify condition |
|
|
under which a plt call stub is used. |
|
|
(final_link_relocate): Similarly. |
|
|
(allocate_plt_static): Clear h-plabel except when plt entry is |
|
|
exclusively used for a plabel. |
|
|
(allocate_dynrelocs): Use the above to simplify plt sizing. |
|
|
(struct elf32_hppa_link_hash_table): Add has_22bit_branch. |
|
|
(elf32_hppa_link_hash_table_create): Init. |
|
|
(BL22_RP): Define. |
|
|
(hppa_build_one_stub): Use BL22_RP if has_22bit_branch. |
|
|
(elf32_hppa_check_relocs): Set has_22bit_branch. |
|
1958 |
|
|
1959 |
* elf32-hppa.c (elf32_hppa_check_relocs): Remove debug message. |
* elf32-m68k.c (elf_m68k_plt_sym_val): New function. |
1960 |
(final_link_relocate): Likewise. |
(elf_backend_plt_sym_val): Define. |
1961 |
|
|
1962 |
|
2004-10-19 Danny Smith <dannysmith@users.sourceforege.net> |
1963 |
|
|
1964 |
|
* config.bfd: Set targ_underscore=yes for PE COFF targets |
1965 |
|
|
1966 |
2002-04-22 Jakub Jelinek <jakub@redhat.com> |
2004-10-19 Alan Modra <amodra@bigpond.net.au> |
1967 |
|
|
1968 |
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't build |
* elf64-ppc.c (opd_entry_value): Handle --just-symbols objects. |
1969 |
search table if some FDE is DW_EH_PE_aligned encoded either. |
(ppc64_elf_edit_opd): Likewise. |
|
(_bfd_elf_write_section_eh_frame): Handle terminating FDE specially. |
|
1970 |
|
|
1971 |
2002-04-22 Richard Smith <richard@ex-parrot.com> |
2004-10-18 Mark Mitchell <mark@codesourcery.com> |
|
Jakub Jelinek <jakub@redhat.com> |
|
1972 |
|
|
1973 |
* elf-eh-frame.c (struct eh_cie_fde): Add per_encoding_relative. |
* elfarm-nabi.c (ELF_DYNAMIC_SEC_FLAGS): Add comment. |
1974 |
(_bfd_elf_discard_section_eh_frame): Set it for CIEs with pcrel |
* elflink.c (_bfd_elf_create_dynamic_sections): For a loaded PLT, |
1975 |
encoded personality. |
set SEC_ALLOC and SEC_LOAD. |
|
(_bfd_elf_write_section_eh_frame): Adjust pcrel encoded personality |
|
|
for CIE/FDE removal. |
|
1976 |
|
|
1977 |
2002-04-20 Tom Rix <trix@redhat.com> |
2004-10-18 Nick Clifton <nickc@redhat.com> |
1978 |
|
|
1979 |
* coff64-rs6000.c (_bfd_xcoff64_swap_aux_in): Fix C_FILE auxent. |
* elf32-xstormy16.c (xstormy16_elf_relocate_section): Compute |
1980 |
|
'name' for relocs against both local and global symbols. |
1981 |
|
|
1982 |
2002-04-20 Alan Modra <amodra@bigpond.net.au> |
2004-10-16 Daniel Jacobowitz <dan@debian.org> |
1983 |
|
|
|
* archures.c (bfd_lookup_arch): Move the list order comment.. |
|
|
(struct bfd_arch_info): ..to where it belongs. |
|
1984 |
* bfd-in2.h: Regenerate. |
* bfd-in2.h: Regenerate. |
1985 |
|
* bfd.c (struct bfd): Add no_export. |
1986 |
|
* elflink.c (elf_link_add_object_symbols): Handle no_export. |
1987 |
|
|
1988 |
* archures.c (bfd_lookup_arch): Add comment on list order. |
2004-10-15 Alan Modra <amodra@bigpond.net.au> |
|
(bfd_default_set_arch_mach): Use bfd_lookup_arch. |
|
|
* cpu-powerpc.c (bfd_powerpc_archs): Re-order so that the default |
|
|
is always at head of list. |
|
1989 |
|
|
1990 |
2002-04-18 Nick Clifton <nickc@cambridge.redhat.com> |
* config.bfd: Whitespace cleanup. |
1991 |
|
* Makefile.am: Run "make dep-am" |
1992 |
|
* Makefile.in: Regenerate. |
1993 |
|
|
1994 |
* coff-arm.c (coff_thumb_pcrel_12, coff_thumb_pcrel_9, |
2004-10-15 Jakub Jelinek <jakub@redhat.com> |
|
insert_thumb_branch, record_thumb_to_arm_glue): Suppress |
|
|
definition of these functions for ARM_WINCE builds as they are |
|
|
not used. |
|
|
(SWAP_IN_RELOC_OFFSET, SWAP_OUT_RELOC_OFFSET): Do not define |
|
|
for ARM_WINCE builds. |
|
1995 |
|
|
1996 |
2002-04-18 Nick Clifton <nickc@cambridge.redhat.com> |
* elflink.c (struct already_linked_section): Removed. |
1997 |
|
(try_match_symbols_in_sections, already_linked): Removed. |
1998 |
|
(_bfd_elf_section_already_linked): Skip ^\.gnu\.linkonce\.[^.]*\. |
1999 |
|
prefix of section names when finding already_linked_table |
2000 |
|
chain. Compare section names. Instead of calling already_linked, |
2001 |
|
do it inline and only for sections in the same already_linked_list. |
2002 |
|
|
2003 |
* coff-arm.c (bfd_arm_process_before_allocation): |
2004-10-15 Alan Modra <amodra@bigpond.net.au> |
2004 |
|
|
2005 |
2002-04-17 J"orn Rennecke <joern.rennecke@superh.com> |
* elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Add "info" |
2006 |
|
parameter. If called after _bfd_elf_write_section_eh_frame, |
2007 |
|
don't allow a -2 return unless need_* bit is already set, and |
2008 |
|
handle offsets adjusted for output_offset. |
2009 |
|
* elf-bfd.h (_bfd_elf_eh_frame_section_offset): Update prototype. |
2010 |
|
* elf.c (_bfd_elf_section_offset): Update call. |
2011 |
|
|
2012 |
* cpu-sh.c (scan_mach): Delete. |
2004-10-13 H.J. Lu <hongjiu.lu@intel.com> |
|
(arch_info_struct): Replace scan_mach with bfd_default_scan. |
|
|
(bfd_sh_arch): Likewise. |
|
2013 |
|
|
2014 |
2002-04-16 Nick Clifton <nickc@cambridge.redhat.com> |
PR 440 |
2015 |
|
* coffcode.h (coff_compute_section_file_positions): Cast to |
2016 |
|
bfd_vma when computing page alignment. |
2017 |
|
|
2018 |
* ihex.c (ihex_write_object_contents): Fix check for records |
2004-10-13 Mark Mitchell <mark@codesourcery.com> |
|
crossing 64K boundaries. |
|
2019 |
|
|
2020 |
2002-04-16 Alan Modra <amodra@bigpond.net.au> |
* elf32-arm.h (elf32_arm_finish_dynamic_sections): Use file |
2021 |
|
offsets, not VMAs, for DT_VERSYM, DT_VERDEF, DT_VERNEED. |
2022 |
|
|
2023 |
* elf32-m32r.c (m32r_elf_add_symbol_hook): Check the hash table |
2004-10-12 Mark Mitchell <mark@codesourcery.com> |
|
type rather than just assuming entries are ELF. |
|
|
* elf32-sh64.c (sh64_elf_add_symbol_hook): Likewise. |
|
|
* elf64-sh64.c (sh64_elf64_add_symbol_hook): Likewise. |
|
|
* elf64-sparc.c (sparc64_elf_add_symbol_hook): Likewise. |
|
|
* elf64-mmix.c (mmix_elf_add_symbol_hook): Use bfd_link_hash_entry |
|
|
rather than elf_link_hash_entry. |
|
2024 |
|
|
2025 |
2002-04-15 Richard Henderson <rth@redhat.com> |
* elf32-arm.h (elf32_arm_finish_dynamic_symbol): Make .rel.plt |
2026 |
|
relocations use a virtual address, not a section offset. |
2027 |
|
|
2028 |
* elf32-mips.c (mips_elf32_object_p): Revert 0404 fragment: allow |
2004-10-12 Bob Wilson <bob.wilson@acm.org> |
|
n32 binaries. |
|
2029 |
|
|
2030 |
2002-04-15 Michael Snyder <msnyder@redhat.com> |
* elf32-xtensa.c (elf_xtensa_get_private_bfd_flags): Delete. |
2031 |
|
(narrow_instruction, widen_instruction): Remove unnecessary calls to |
2032 |
|
xtensa_format_encode. |
2033 |
|
(ebb_propose_action): Inline call to ebb_add_proposed_action. |
2034 |
|
(ebb_add_proposed_action): Delete. |
2035 |
|
|
2036 |
* opncls.c (bfd_close): Write contents if writeable. |
2004-10-12 Bob Wilson <bob.wilson@acm.org> |
|
Minor formatting tidy-ups. |
|
2037 |
|
|
2038 |
2002-04-15 Alan Modra <amodra@bigpond.net.au> |
* elf32-xtensa.c: Use ISO C90 formatting. |
2039 |
|
|
2040 |
* elf32-ppc.c (ppc_elf_add_symbol_hook): Check the hash table type. |
2004-10-12 Paul Brook <paul@codesourcery.com> |
2041 |
|
|
2042 |
2002-04-12 Michael Snyder <msnyder@redhat.com> |
* elf32-arm.h (elf32_arm_merge_private_bfd_data): Rephrase error |
2043 |
|
message. |
2044 |
|
|
2045 |
* bfd-in.h (bfd_get_section_lma): New access macro. |
2004-10-12 Paul Brook <paul@codesourcery.com> |
|
Minor white-space fix-up. |
|
2046 |
|
|
2047 |
2002-04-12 Alan Modra <amodra@bigpond.net.au> |
* elf32-arm.h: Support EABI version 4 objects. |
2048 |
|
|
2049 |
* elf.c (prep_headers): Don't zero EI_OSABI, EI_ABIVERSION or |
2004-10-12 Alan Modra <amodra@bigpond.net.au> |
|
header pad. |
|
2050 |
|
|
2051 |
2002-04-09 DJ Delorie <dj@redhat.com> |
PR 325 |
2052 |
|
* cpu-i386.c (bfd_x86_64_arch_intel_syntax): Place last in chain. |
2053 |
|
Don't mark as default. |
2054 |
|
(bfd_x86_64_arch): Don't mark as default. |
2055 |
|
|
2056 |
* elfarm-nabi.c (elf32_arm_howto_table): Fix ABS16 masks. |
2004-10-12 Alan Modra <amodra@bigpond.net.au> |
2057 |
|
|
2058 |
2002-04-09 Casper S. Hornstrup <chorns@users.sourceforge.net> |
* elflink.c (enum action_discarded): New. |
2059 |
|
(elf_section_complain_discarded): Delete. |
2060 |
|
(elf_action_discarded): New function subsuming the above and also |
2061 |
|
controlling reloc behaviour. |
2062 |
|
(elf_link_input_bfd): Use it. |
2063 |
|
|
2064 |
* coffcode.h (coff_read_word): New. |
2004-10-11 Jakub Jelinek <jakub@redhat.com> |
|
(coff_compute_checksum): New. |
|
|
(coff_apply_checksum): New. |
|
|
(coff_write_object_contents): Call coff_apply_checksum () to |
|
|
apply checksum to PE image. |
|
2065 |
|
|
2066 |
2002-04-08 Randolph Chung <tausq@debian.org> |
* elf.c (bfd_section_from_shdr): Handle SHT_GNU_LIBLIST. |
2067 |
|
(special_sections): Add .gnu.liblist and .gnu.conflict. |
2068 |
|
(assign_section_numbers): Handle SHT_GNU_LIBLIST. |
2069 |
|
|
2070 |
* elf32-hppa.c (hppa_unwind_entry_compare): Move to elf-hppa.h. |
2004-10-11 Alan Modra <amodra@bigpond.net.au> |
|
(elf32_hppa_final_link): Split out sorting logic to.. |
|
|
* elf-hppa.h (elf_hppa_sort_unwind): ..here. |
|
|
(elf_hppa_final_link): Call elf_hppa_sort_unwind. |
|
2071 |
|
|
2072 |
2002-04-07 Andrew Cagney <ac131313@redhat.com> |
PR 233 |
2073 |
|
* elflink.c (elf_link_input_bfd): Try harder to support |
2074 |
|
relocations against symbols in removed linkonce sections. |
2075 |
|
|
2076 |
* configure.in: Add missing ``|'' to powerpc-*-aix4.[4-9]* |
2004-10-11 Alan Modra <amodra@bigpond.net.au> |
|
pattern. |
|
|
* configure: Re-generate. |
|
2077 |
|
|
2078 |
2002-04-07 Andrew Cagney <ac131313@redhat.com> |
* elflink.c (elf_link_input_bfd): Revert PR 354 change. |
2079 |
|
|
2080 |
* configure.in: Only define AIX_CORE_DUMPX_CORE when AIX version |
PR 354 |
2081 |
is greater or equal to 4.3.3. |
* elflink.c (elf_link_input_bfd): Check that relocs in SEC_ALLOC |
2082 |
* configure: Regenerate. |
sections do not reference symbols in non-SEC_ALLOC sections. |
|
Fix PR gdb/344. |
|
2083 |
|
|
2084 |
2002-04-05 Hans-Peter Nilsson <hp@axis.com> |
2004-10-11 Alan Modra <amodra@bigpond.net.au> |
2085 |
|
|
2086 |
* elf32-cris.c (cris_elf_howto_table) <R_CRIS_16_PCREL, |
PR 437 |
2087 |
R_CRIS_32_PCREL>: Fix typo in name. |
* elflink.c (elf_link_sort_relocs): Don't bomb on unusual sections. |
2088 |
(cris_elf_check_relocs): Always create .rela.got here when |
(_bfd_elf_link_omit_section_dynsym): Formatting. |
2089 |
R_CRIS_16_GOTPLT or R_CRIS_32_GOTPLT is seen. |
|
2090 |
(elf_cris_adjust_gotplt_to_got): Don't create .rela.got here; |
2004-10-10 Alan Modra <amodra@bigpond.net.au> |
2091 |
assume it's created. |
|
2092 |
|
* libbfd-in.h (BFD_ASSERT, BFD_FAIL): Wrap macro body in do while. |
2093 |
2002-04-04 Daniel Jacobowitz <drow@mvista.com> |
* libbfd.h: Regnerate. |
2094 |
|
* elf32-cris.c: Add missing semicolon to BFD_ASSERTs. |
2095 |
* aout-adobe.c (aout_32_bfd_link_hash_table_free): Define. |
* elf32-frv.c: Likewise. |
2096 |
* aout-target.h (MY_bfd_link_hash_table_free): Conditionally |
* elf32-m32r.c: Likewise. |
2097 |
define. |
* elf32-ppc.c: Likewise. |
2098 |
* aout-tic30.c (MY_bfd_link_hash_table_free): Likewise. |
* elf64-hppa.c: Likewise. |
2099 |
* bfd.c (bfd_link_hash_table_free): Define. |
* elfxx-ia64.c: Likewise. |
2100 |
* binary.c (binary_bfd_link_hash_table_free): Define. |
* opncls.c: Likewise. |
2101 |
* bout.c (b_out_bfd_link_hash_table_free): Define. |
|
2102 |
* coff-rs6000.c (rs6000coff_vec): Include |
2004-10-10 Alan Modra <amodra@bigpond.net.au> |
2103 |
_bfd_generic_link_hash_table_free. |
|
2104 |
(pmac_xcoff_vec): Likewise. |
* elf-bfd.h (struct eh_frame_hdr_info): Add offsets_adjusted. |
2105 |
|
* elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Adjust |
2106 |
|
offsets stored in struct eh_cie_fde entries before doing other |
2107 |
|
work. |
2108 |
|
|
2109 |
|
* elf-bfd.h (struct eh_cie_fde): Add cie_inf, remove sec. |
2110 |
|
(struct eh_frame_hdr_info): Add last_cie_inf, remove last_cie_offset. |
2111 |
|
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Delete code |
2112 |
|
setting offsets for removed CIEs. Don't set "sec", instead set |
2113 |
|
cie_inf for FDEs. Keep a pointer to last struct eh_cie_fde for a |
2114 |
|
CIE in hdr_info. Only set make_relative and make_lsda_relative |
2115 |
|
for CIEs. Use pointers rather than array indices. |
2116 |
|
(_bfd_elf_eh_frame_section_offset): Test/set make_relative, |
2117 |
|
make_lsda_relative, need_* on cie_inf for FDEs. |
2118 |
|
(_bfd_elf_write_section_eh_frame): Adjust offset and new_offset for |
2119 |
|
section output_offset. Delete cie_offset, instead use cie_inf |
2120 |
|
pointer to CIE entry. Use need_relative and need_lsda_relative on |
2121 |
|
CIE entry for FDEs. Use pointers rather than array indices. |
2122 |
|
|
2123 |
|
2004-10-09 Alan Modra <amodra@bigpond.net.au> |
2124 |
|
|
2125 |
|
* coff-rs6000.c (rs6000coff_vec): Add initializer for |
2126 |
|
bfd_is_target_special_symbol. |
2127 |
* coff64-rs6000.c (rs6000coff64_vec): Likewise. |
* coff64-rs6000.c (rs6000coff64_vec): Likewise. |
2128 |
(aix5coff64_vec): Likewise. |
* som.c (som_bfd_is_target_special_symbol): Define. |
|
* coffcode.h (coff_bfd_link_hash_table_free): Conditionally define. |
|
|
* elf-m10300.c (elf32_mn10300_link_hash_table_free): New function. |
|
|
(bfd_elf32_bfd_link_hash_table_free): Define. |
|
|
* elf32-hppa.c (elf32_hppa_link_hash_table_free): New function. |
|
|
(bfd_elf32_bfd_link_hash_table_free): Define. |
|
|
* elfxx-target.h (bfd_elfNN_bfd_link_hash_table_free): Conditionally |
|
|
define. |
|
|
* i386msdos.c (msdos_bfd_link_hash_table_free): Define. |
|
|
* i386os9k.c (os9k_bfd_link_hash_table_free): Define. |
|
|
* ieee.c (ieee_bfd_link_hash_table_free): Define. |
|
|
* ihex.c (ihex_bfd_link_hash_table_free): Define. |
|
|
* libbfd-in.h (_bfd_nolink_bfd_link_hash_table_free): Define. |
|
|
(_bfd_generic_link_hash_table_free): Add prototype. |
|
|
* libcoff-in.h (_bfd_xcoff_bfd_link_hash_table_free): Add prototype. |
|
|
* libecoff.h (_bfd_ecoff_bfd_link_hash_table_free): Define. |
|
|
* linker.c (_bfd_generic_link_hash_table_free): New function. |
|
|
* mmo.c (mmo_bfd_link_hash_table_free): Define. |
|
|
* nlm-target.h (nlm_bfd_link_hash_table_free): Define. |
|
|
* oasys.c (oasys_bfd_link_hash_table_free): Define. |
|
|
* ppcboot.c (ppcboot_bfd_link_hash_table_free): Define. |
|
|
* som.c (som_bfd_link_hash_table_free): Define. |
|
|
* srec.c (srec_bfd_link_hash_table_free): Define. |
|
|
* tekhex.c (tekhex_bfd_link_hash_table_free): Define. |
|
|
* versados.c (versados_bfd_link_hash_table_free): Define. |
|
|
* vms.c (vms_bfd_link_hash_table_free): New function. |
|
|
* xcofflink.c (_bfd_xcoff_bfd_link_hash_table_free): New function. |
|
|
|
|
|
* coff-arm.c (coff_arm_link_hash_table_create): Use bfd_malloc |
|
|
instead of bfd_alloc. |
|
|
* coff-h8300.c (h8300_coff_link_hash_table_create): Likewise. |
|
|
* coff-mcore.c (coff_mcore_link_hash_table_create): Likewise. |
|
|
* coff-ppc.c (ppc_coff_link_hash_table_create): Likewise. |
|
|
* cofflink.c (_bfd_coff_link_hash_table_create): Likewise. |
|
|
* ecoff.c (_bfd_ecoff_bfd_link_hash_table_create): Likewise. |
|
|
* elf-m10300.c (elf32_mn10300_link_hash_table_create): Likewise. |
|
|
* elf.c (_bfd_elf_link_hash_table_create): Likewise. |
|
|
* elf32-arm.h (elf32_arm_link_hash_table_create): Likewise. |
|
|
* elf32-cris.c (elf_cris_link_hash_table_create): Likewise. |
|
|
* elf32-hppa.c (elf32_hppa_link_hash_table_create): Likewise. |
|
|
* elf32-i386.c (elf_i386_link_hash_table_create): Likewise. |
|
|
* elf32-m68k.c (elf_m68k_link_hash_table_create): Likewise. |
|
|
* elf32-s390.c (elf_s390_link_hash_table_create): Likewise. |
|
|
* elf32-sh.c (sh_elf_link_hash_table_create): Likewise. |
|
|
* elf64-alpha.c (elf64_alpha_bfd_link_hash_table_create): Likewise. |
|
|
* elf64-ppc.c (ppc64_elf_link_hash_table_create): Likewise. |
|
|
* elf64-s390.c (elf_s390_link_hash_table_create): Likewise. |
|
|
* elf64-sh64.c (sh64_elf64_link_hash_table_create): Likewise. |
|
|
* elf64-sparc.c (sparc64_elf_bfd_link_hash_table_create): Likewise. |
|
|
* elf64-x86-64.c (elf64_x86_64_link_hash_table_create): Likewise. |
|
|
* elfxx-mips.c (_bfd_mips_elf_link_hash_table_create): Likewise. |
|
|
* linker.c (_bfd_generic_link_hash_table_create): Likewise. |
|
|
* m68klinux.c (linux_link_hash_table_create): Likewise. |
|
|
* sparclinux.c (linux_link_hash_table_create): Likewise. |
|
|
* sunos.c (sunos_link_hash_table_create): Likewise. |
|
|
* xcofflink.c (_bfd_xcoff_bfd_link_hash_table_create): Likewise. |
|
2129 |
|
|
2130 |
* targets.c: Add _bfd_link_hash_table_free to xvec. |
2004-10-08 Nick Clifton <nickc@redhat.com> |
2131 |
|
|
2132 |
|
* configure.in: (AM_INIT_AUTOMAKE): Set version to 2.15.93. |
2133 |
|
* configure: Regenerate. |
2134 |
* bfd-in2.h: Regenerate. |
* bfd-in2.h: Regenerate. |
2135 |
|
* syms.c (bfd_is_target_special_symbol): New interface function. |
2136 |
|
Returns true when a symbol should be considered to be special. |
2137 |
|
* targets.c (bfd_target): Include bfd_is_target_special_symbol in |
2138 |
|
the symbol jump table. |
2139 |
|
* elf32-arm.h (elf32_arm_is_target_special_symbol): New function. |
2140 |
|
Return true iff the symbol is a mapping symbol. |
2141 |
|
(bfd_elf32_bfd_is_target_special_symbol): Define. |
2142 |
|
* elfxx-target.h: Provide a default definition for |
2143 |
|
bfd_is_target_special_symbol. |
2144 |
|
* aout-target.h: Likewise. |
2145 |
|
* aout-tic30.c: Likewise. |
2146 |
|
* binary.c: Likewise. |
2147 |
|
* coffcode.h: Likewise. |
2148 |
|
* i386msdos.c: Likewise. |
2149 |
|
* ieee.c: Likewise. |
2150 |
|
* ihex.c: Likewise. |
2151 |
|
* libaout.h: Likewise. |
2152 |
|
* libbfd-in.h: Likewise |
2153 |
|
* libecoff.h: Likewise. |
2154 |
|
* mach-o.c: Likewise. |
2155 |
|
* mmo.c: Likewise. |
2156 |
|
* nlm-target.h: Likewise. |
2157 |
|
* oasys.c: Likewise. |
2158 |
|
* pef.c: Likewise. |
2159 |
|
* ppcboot.c: Likewise. |
2160 |
|
* srec.c: Likewise. |
2161 |
|
* tekhex.c: Likewise. |
2162 |
|
* versados.c: Likewise. |
2163 |
|
* vms.c: Likewise. |
2164 |
|
* xcoff-target.h: Likewise. |
2165 |
|
* xsym.c: Likewise. |
2166 |
* libbfd.h: Regenerate. |
* libbfd.h: Regenerate. |
|
* libcoff.h: Regenerate. |
|
2167 |
|
|
2168 |
2002-04-04 Alan Modra <amodra@bigpond.net.au> |
2004-10-08 Daniel Jacobowitz <dan@debian.org> |
2169 |
|
|
2170 |
* dep-in.sed: Cope with absolute paths. |
* config.bfd: Include 64-bit support for i[3-7]86-*-solaris2*. |
2171 |
* Makefile.am (dep.sed): Subst TOPDIR, and not INCDIR. |
* elf64-x86-64.c (elf64_x86_64_section_from_shdr): New function. |
2172 |
Run "make dep-am". |
(elf_backend_section_from_shdr): Define. |
|
* Makefile.in: Regenerate. |
|
|
* coff-arm.c: Fix copyright date. |
|
|
* cpu-h8300.c: Likewise. |
|
|
* cpu-i370.c: Likewise. |
|
|
* cpu-s390.c: Likewise. |
|
|
* cpu-mips.c: Likewise. |
|
|
* po/SRC-POTFILES.in: Regenerate. |
|
2173 |
|
|
2174 |
2002-04-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
2004-10-08 Alan Modra <amodra@bigpond.net.au> |
2175 |
|
|
2176 |
* Makefile.am: Add elfxx-mips.c to the known backends. |
* syms.c (bfd_is_local_label): Return false for file symbols. |
2177 |
(elf32-mips.lo): remove dependency to coff/external.h. |
|
2178 |
|
2004-10-07 Bob Wilson <bob.wilson@acm.org> |
2179 |
|
David Heine <dlheine@tensilica.com> |
2180 |
|
|
2181 |
|
* elf32-xtensa.c (elf32xtensa_size_opt): New global variable. |
2182 |
|
(xtensa_default_isa): Global variable moved here from xtensa-isa.c. |
2183 |
|
(elf32xtensa_no_literal_movement): New global variable. |
2184 |
|
(elf_howto_table): Add entries for new relocations. |
2185 |
|
(elf_xtensa_reloc_type_lookup): Handle new relocations. |
2186 |
|
(property_table_compare): When addresses are equal, compare sizes and |
2187 |
|
various property flags. |
2188 |
|
(property_table_matches): New. |
2189 |
|
(xtensa_read_table_entries): Extend to read new property tables. Add |
2190 |
|
output_addr parameter to indicate that output addresses should be used. |
2191 |
|
Use bfd_get_section_limit. |
2192 |
|
(elf_xtensa_find_property_entry): New. |
2193 |
|
(elf_xtensa_in_literal_pool): Use elf_xtensa_find_property_entry. |
2194 |
|
(elf_xtensa_check_relocs): Handle new relocations. |
2195 |
|
(elf_xtensa_do_reloc): Use bfd_get_section_limit. Handle new |
2196 |
|
relocations. Use new xtensa-isa.h functions. |
2197 |
|
(build_encoding_error_message): Remove encode_result parameter. Add |
2198 |
|
new target_address parameter used to detect alignment errors. |
2199 |
|
(elf_xtensa_relocate_section): Use bfd_get_section_limit. Clean up |
2200 |
|
error handling. Use new is_operand_relocation function. |
2201 |
|
(elf_xtensa_combine_prop_entries, elf_xtensa_merge_private_bfd_data): |
2202 |
|
Use underbar macro for error messages. Formatting. |
2203 |
|
(get_const16_opcode): New. |
2204 |
|
(get_l32r_opcode): Add a separate flag for initialization. |
2205 |
|
(get_relocation_opnd): Operand number is no longer explicit in the |
2206 |
|
relocation. Change to decode the opcode and analyze its operands. |
2207 |
|
(get_relocation_slot): New. |
2208 |
|
(get_relocation_opcode): Add bfd parameter. Use bfd_get_section_limit. |
2209 |
|
Use new xtensa-isa.h functions to handle multislot instructions. |
2210 |
|
(is_l32r_relocation): Add bfd parameter. Use is_operand_relocation. |
2211 |
|
(get_asm_simplify_size, is_alt_relocation, is_operand_relocation, |
2212 |
|
insn_decode_len, insn_decode_opcode, check_branch_target_aligned, |
2213 |
|
check_loop_aligned, check_branch_target_aligned_address, narrowable, |
2214 |
|
widenable, narrow_instruction, widen_instruction, op_single_fmt_table, |
2215 |
|
get_single_format, init_op_single_format_table): New. |
2216 |
|
(elf_xtensa_do_asm_simplify): Add error_message parameter and use it |
2217 |
|
instead of calling _bfd_error_handler. Use new xtensa-isa.h functions. |
2218 |
|
(contract_asm_expansion): Add error_message parameter and pass it to |
2219 |
|
elf_xtensa_do_asm_simplify. Replace use of R_XTENSA_OP0 relocation |
2220 |
|
with R_XTENSA_SLOT0_OP. |
2221 |
|
(get_expanded_call_opcode): Extend to handle either L32R or CONST16 |
2222 |
|
instructions. Use new xtensa-isa.h functions. |
2223 |
|
(r_reloc struct): Add new virtual_offset field. |
2224 |
|
(r_reloc_init): Add contents and content_length parameters. Set |
2225 |
|
virtual_offset field to zero. Add contents to target_offset field for |
2226 |
|
partial_inplace relocations. |
2227 |
|
(r_reloc_is_defined): Check for null. |
2228 |
|
(print_r_reloc): New debug function. |
2229 |
|
(source_reloc struct): Replace xtensa_operand field with pair of the |
2230 |
|
opcode and the operand position. Add is_abs_literal field. |
2231 |
|
(init_source_reloc): Specify operand by opcode/position pair. Set |
2232 |
|
is_abs_literal field. |
2233 |
|
(source_reloc_compare): When target_offsets are equal, compare other |
2234 |
|
fields to make sorting predictable. |
2235 |
|
(literal_value struct): Add is_abs_literal field. |
2236 |
|
(value_map_hash_table struct): Add has_last_loc and last_loc fields. |
2237 |
|
(init_literal_value): New. |
2238 |
|
(is_same_value): Replace with ... |
2239 |
|
(literal_value_equal): ... this function. Add comparisons of |
2240 |
|
virtual_offset and is_abs_literal fields. |
2241 |
|
(value_map_hash_table_init): Use bfd_zmalloc. Check for allocation |
2242 |
|
failure. Initialize has_last_loc field. |
2243 |
|
(value_map_hash_table_delete): New. |
2244 |
|
(hash_literal_value): Rename to ... |
2245 |
|
(literal_value_hash): ... this. Include is_abs_literal flag and |
2246 |
|
virtual_offset field in the hash value. |
2247 |
|
(get_cached_value): Rename to ... |
2248 |
|
(value_map_get_cached_value): ... this. Update calls to |
2249 |
|
literal_value_hash and literal_value_equal. |
2250 |
|
(add_value_map): Check for allocation failure. Update calls to |
2251 |
|
value_map_get_cached_value and literal_value_hash. |
2252 |
|
(text_action, text_action_list, text_action_t): New types. |
2253 |
|
(find_fill_action, compute_removed_action_diff, adjust_fill_action, |
2254 |
|
text_action_add, text_action_add_literal, offset_with_removed_text, |
2255 |
|
offset_with_removed_text_before_fill, find_insn_action, |
2256 |
|
print_action_list, print_removed_literals): New. |
2257 |
|
(offset_with_removed_literals): Delete. |
2258 |
|
(xtensa_relax_info struct): Add is_relaxable_asm_section, action_list, |
2259 |
|
fix_array, fix_array_count, allocated_relocs, relocs_count, and |
2260 |
|
allocated_relocs_count fields. |
2261 |
|
(init_xtensa_relax_info): Initialize new fields. |
2262 |
|
(reloc_bfd_fix struct): Add new translated field. |
2263 |
|
(reloc_bfd_fix_init): Add translated parameter and use it to set the |
2264 |
|
translated field. |
2265 |
|
(fix_compare, cache_fix_array): New. |
2266 |
|
(get_bfd_fix): Remove fix_list parameter and get all relax_info for the |
2267 |
|
section via get_xtensa_relax_info. Use cache_fix_array to set up |
2268 |
|
sorted fix_array and use bsearch instead of linear search. |
2269 |
|
(section_cache_t): New struct. |
2270 |
|
(init_section_cache, section_cache_section, clear_section_cache): New. |
2271 |
|
(ebb_t, ebb_target_enum, proposed_action, ebb_constraint): New types. |
2272 |
|
(init_ebb_constraint, free_ebb_constraint, init_ebb, extend_ebb_bounds, |
2273 |
|
extend_ebb_bounds_forward, extend_ebb_bounds_backward, |
2274 |
|
insn_block_decodable_len, ebb_propose_action, ebb_add_proposed_action): |
2275 |
|
New. |
2276 |
|
(retrieve_contents): Use bfd_get_section_limit. |
2277 |
|
(elf_xtensa_relax_section): Add relocations_analyzed flag. Update call |
2278 |
|
to compute_removed_literals. Free value_map_hash_table when no longer |
2279 |
|
needed. |
2280 |
|
(analyze_relocations): Check is_relaxable_asm_section flag. Call |
2281 |
|
compute_text_actions for all sections. |
2282 |
|
(find_relaxable_sections): Mark sections as relaxable if they contain |
2283 |
|
ASM_EXPAND relocations that can be optimized. Adjust r_reloc_init |
2284 |
|
call. Increment relax_info src_count field only for appropriate |
2285 |
|
relocation types. Remove is_literal_section check. |
2286 |
|
(collect_source_relocs): Use bfd_get_section_limit. Adjust calls to |
2287 |
|
r_reloc_init and find_associated_l32r_irel. Check |
2288 |
|
is_relaxable_asm_section flag. Handle L32R instructions with absolute |
2289 |
|
literals. Pass is_abs_literal flag to init_source_reloc. |
2290 |
|
(is_resolvable_asm_expansion): Use bfd_get_section_limit. Check for |
2291 |
|
CONST16 instructions. Adjust calls to r_reloc_init and |
2292 |
|
pcrel_reloc_fits. Handle weak symbols conservatively. |
2293 |
|
(find_associated_l32r_irel): Add bfd parameter and pass it to |
2294 |
|
is_l32r_relocation. |
2295 |
|
(compute_text_actions, compute_ebb_proposed_actions, |
2296 |
|
compute_ebb_actions, check_section_ebb_pcrels_fit, |
2297 |
|
check_section_ebb_reduces, text_action_add_proposed, |
2298 |
|
compute_fill_extra_space): New. |
2299 |
|
(remove_literals): Replace with ... |
2300 |
|
(compute_removed_literals): ... this function. Call |
2301 |
|
init_section_cache. Use bfd_get_section_limit. Sort internal_relocs. |
2302 |
|
Call xtensa_read_table_entries to get the property table. Skip |
2303 |
|
relocations other than R_XTENSA_32 and R_XTENSA_PLT. Use new |
2304 |
|
is_removable_literal, remove_dead_literal, and |
2305 |
|
identify_literal_placement functions. |
2306 |
|
(get_irel_at_offset): Rewrite to use bsearch on sorted relocations |
2307 |
|
instead of linear search. |
2308 |
|
(is_removable_literal, remove_dead_literal, |
2309 |
|
identify_literal_placement): New. |
2310 |
|
(relocations_reach): Update check for literal not referenced by any |
2311 |
|
PC-relative relocations. Adjust call to pcrel_reloc_fits. |
2312 |
|
(coalesce_shared_literal, move_shared_literal): New. |
2313 |
|
(relax_section): Use bfd_get_section_limit. Call |
2314 |
|
translate_section_fixes. Update calls to r_reloc_init and |
2315 |
|
offset_with_removed_text. Check new is_relaxable_asm_section flag. |
2316 |
|
Add call to pin_internal_relocs. Add special handling for |
2317 |
|
R_XTENSA_ASM_SIMPLIFY and R_XTENSA_DIFF* relocs. Use virtual_offset |
2318 |
|
info to calculate new addend_displacement variable. Replace code for |
2319 |
|
deleting literals with more general code to perform the actions |
2320 |
|
determined by the action_list for the section. |
2321 |
|
(translate_section_fixes, translate_reloc_bfd_fix): New. |
2322 |
|
(translate_reloc): Check new is_relaxable_asm_section flag. Call |
2323 |
|
find_removed_literal only if is_operand_relocation. Update call to |
2324 |
|
offset_with_removed_text. Use new target_offset and removed_bytes |
2325 |
|
variables. |
2326 |
|
(move_literal): New. |
2327 |
|
(relax_property_section): Use bfd_get_section_limit. Set new |
2328 |
|
is_full_prop_section flag and handle new property tables. Update calls |
2329 |
|
to r_reloc_init and offset_with_removed_text. Check |
2330 |
|
is_relaxable_asm_section flag. Handle expansion of zero-sized |
2331 |
|
unreachable entries, with use of offset_with_removed_text_before_fill. |
2332 |
|
For relocatable links, combine entries only for literal tables. |
2333 |
|
(relax_section_symbols): Check is_relaxable_asm_section flag. Update |
2334 |
|
calls to offset_with_removed_text. Translate st_size field for |
2335 |
|
function symbols. |
2336 |
|
(do_fix_for_relocatable_link): Change to return bfd_boolean to indicate |
2337 |
|
failure. Add contents parameter. Update call to get_bfd_fix. Update |
2338 |
|
call to r_reloc_init. Call _bfd_error_handler and return FALSE for |
2339 |
|
R_XTENSA_ASM_EXPAND relocs. |
2340 |
|
(do_fix_for_final_link): Add input_bfd and contents parameters. Update |
2341 |
|
call to get_bfd_fix. Include offset from contents for partial_inplace |
2342 |
|
relocations. |
2343 |
|
(is_reloc_sym_weak): New. |
2344 |
|
(pcrel_reloc_fits): Use new xtensa-isa.h functions. |
2345 |
|
(prop_sec_len): New. |
2346 |
|
(xtensa_is_property_section): Handle new property sections. |
2347 |
|
(is_literal_section): Delete. |
2348 |
|
(internal_reloc_compare): When r_offset matches, compare r_info and |
2349 |
|
r_addend to make sorting predictable. |
2350 |
|
(internal_reloc_matches): New. |
2351 |
|
(xtensa_get_property_section_name): Handle new property sections. |
2352 |
|
(xtensa_get_property_predef_flags): New. |
2353 |
|
(xtensa_callback_required_dependence): Use bfd_get_section_limit. |
2354 |
|
Update calls to xtensa_isa_init, is_l32r_relocation, and r_reloc_init. |
2355 |
|
* xtensa-isa.c (xtensa_default_isa): Moved to elf32-xtensa.c. |
2356 |
|
(xtisa_errno, xtisa_error_msg): New variables. |
2357 |
|
(xtensa_isa_errno, xtensa_isa_error_msg): New. |
2358 |
|
(xtensa_insnbuf_alloc): Add error handling. |
2359 |
|
(xtensa_insnbuf_to_chars): Add num_chars parameter. Update to |
2360 |
|
use xtensa_format_decode. Add error handling. |
2361 |
|
(xtensa_insnbuf_from_chars): Add num_chars parameter. Decode the |
2362 |
|
instruction length to find the number of bytes to copy. |
2363 |
|
(xtensa_isa_init): Add error handling. Replace calls to |
2364 |
|
xtensa_load_isa and xtensa_extend_isa with code to initialize lookup |
2365 |
|
tables in the xtensa_modules structure. |
2366 |
|
(xtensa_check_isa_config, xtensa_add_isa, xtensa_load_isa, |
2367 |
|
xtensa_extend_isa): Delete. |
2368 |
|
(xtensa_isa_free): Change to only free lookup tables. |
2369 |
|
(opname_lookup_compare): Replace with ... |
2370 |
|
(xtensa_isa_name_compare): ... this function. Use strcasecmp. |
2371 |
|
(xtensa_insn_maxlength): Rename to ... |
2372 |
|
(xtensa_isa_maxlength): ... this. |
2373 |
|
(xtensa_insn_length): Delete. |
2374 |
|
(xtensa_insn_length_from_first_byte): Replace with ... |
2375 |
|
(xtensa_isa_length_from_chars): ... this function. |
2376 |
|
(xtensa_num_opcodes): Rename to ... |
2377 |
|
(xtensa_isa_num_opcodes): ... this. |
2378 |
|
(xtensa_isa_num_pipe_stages, xtensa_isa_num_formats, |
2379 |
|
xtensa_isa_num_regfiles, xtensa_isa_num_stages, |
2380 |
|
xtensa_isa_num_sysregs, xtensa_isa_num_interfaces, |
2381 |
|
xtensa_isa_num_funcUnits, xtensa_format_name, xtensa_format_lookup, |
2382 |
|
xtensa_format_decode, xtensa_format_encode, xtensa_format_length, |
2383 |
|
xtensa_format_num_slots, xtensa_format_slot_nop_opcode, |
2384 |
|
xtensa_format_get_slot, xtensa_format_set_slot): New functions. |
2385 |
|
(xtensa_opcode_lookup): Add error handling. |
2386 |
|
(xtensa_decode_insn): Replace with ... |
2387 |
|
(xtensa_opcode_decode): ... this function, with new format and |
2388 |
|
slot parameters. Add error handling. |
2389 |
|
(xtensa_encode_insn): Replace with ... |
2390 |
|
(xtensa_opcode_encode): ... this function, which does the encoding via |
2391 |
|
one of the entries in the "encode_fns" array. Add error handling. |
2392 |
|
(xtensa_opcode_name): Add error handling. |
2393 |
|
(xtensa_opcode_is_branch, xtensa_opcode_is_jump, xtensa_opcode_is_loop, |
2394 |
|
xtensa_opcode_is_call): New. |
2395 |
|
(xtensa_num_operands): Replace with ... |
2396 |
|
(xtensa_opcode_num_operands): ... this function. Add error handling. |
2397 |
|
(xtensa_opcode_num_stateOperands, |
2398 |
|
xtensa_opcode_num_interfaceOperands, xtensa_opcode_num_funcUnit_uses, |
2399 |
|
xtensa_opcode_funcUnit_use, xtensa_operand_name, |
2400 |
|
xtensa_operand_is_visible): New. |
2401 |
|
(xtensa_get_operand, xtensa_operand_kind): Delete. |
2402 |
|
(xtensa_operand_inout): Add error handling and special-case for |
2403 |
|
"sout" operands. |
2404 |
|
(xtensa_operand_get_field, xtensa_operand_set_field): Rewritten to |
2405 |
|
operate on one slot of an instruction. Added error handling. |
2406 |
|
(xtensa_operand_encode): Handle default operands with no encoding |
2407 |
|
functions. Check for success by comparing against decoded value. |
2408 |
|
Add error handling. |
2409 |
|
(xtensa_operand_decode): Handle default operands. Return decoded value |
2410 |
|
through argument pointer. Add error handling. |
2411 |
|
(xtensa_operand_is_register, xtensa_operand_regfile, |
2412 |
|
xtensa_operand_num_regs, xtensa_operand_is_known_reg): New. |
2413 |
|
(xtensa_operand_isPCRelative): Rename to ... |
2414 |
|
(xtensa_operand_is_PCrelative): ... this. Add error handling. |
2415 |
|
(xtensa_operand_do_reloc, xtensa_operand_undo_reloc): Return value |
2416 |
|
through argument pointer. Add error handling. |
2417 |
|
(xtensa_stateOperand_state, xtensa_stateOperand_inout, |
2418 |
|
xtensa_interfaceOperand_interface, xtensa_regfile_lookup, |
2419 |
|
xtensa_regfile_lookup_shortname, xtensa_regfile_name, |
2420 |
|
xtensa_regfile_shortname, xtensa_regfile_view_parent, |
2421 |
|
xtensa_regfile_num_bits, xtensa_regfile_num_entries, |
2422 |
|
xtensa_state_lookup, xtensa_state_name, xtensa_state_num_bits, |
2423 |
|
xtensa_state_is_exported, xtensa_sysreg_lookup, |
2424 |
|
xtensa_sysreg_lookup_name, xtensa_sysreg_name, xtensa_sysreg_number, |
2425 |
|
xtensa_sysreg_is_user, xtensa_interface_lookup, xtensa_interface_name, |
2426 |
|
xtensa_interface_num_bits, xtensa_interface_inout, |
2427 |
|
xtensa_interface_has_side_effect, xtensa_funcUnit_lookup, |
2428 |
|
xtensa_funcUnit_name, xtensa_funcUnit_num_copies): New. |
2429 |
|
* xtensa-modules.c: Rewrite to use new data structures. |
2430 |
|
* reloc.c (BFD_RELOC_XTENSA_DIFF8, BFD_RELOC_XTENSA_DIFF16, |
2431 |
|
BFD_RELOC_XTENSA_DIFF32, BFD_RELOC_XTENSA_SLOT0_OP, |
2432 |
|
BFD_RELOC_XTENSA_SLOT1_OP, BFD_RELOC_XTENSA_SLOT2_OP, |
2433 |
|
BFD_RELOC_XTENSA_SLOT3_OP, BFD_RELOC_XTENSA_SLOT4_OP, |
2434 |
|
BFD_RELOC_XTENSA_SLOT5_OP, BFD_RELOC_XTENSA_SLOT6_OP, |
2435 |
|
BFD_RELOC_XTENSA_SLOT7_OP, BFD_RELOC_XTENSA_SLOT8_OP, |
2436 |
|
BFD_RELOC_XTENSA_SLOT9_OP, BFD_RELOC_XTENSA_SLOT10_OP, |
2437 |
|
BFD_RELOC_XTENSA_SLOT11_OP, BFD_RELOC_XTENSA_SLOT12_OP, |
2438 |
|
BFD_RELOC_XTENSA_SLOT13_OP, BFD_RELOC_XTENSA_SLOT14_OP, |
2439 |
|
BFD_RELOC_XTENSA_SLOT0_ALT, BFD_RELOC_XTENSA_SLOT1_ALT, |
2440 |
|
BFD_RELOC_XTENSA_SLOT2_ALT, BFD_RELOC_XTENSA_SLOT3_ALT, |
2441 |
|
BFD_RELOC_XTENSA_SLOT4_ALT, BFD_RELOC_XTENSA_SLOT5_ALT, |
2442 |
|
BFD_RELOC_XTENSA_SLOT6_ALT, BFD_RELOC_XTENSA_SLOT7_ALT, |
2443 |
|
BFD_RELOC_XTENSA_SLOT8_ALT, BFD_RELOC_XTENSA_SLOT9_ALT, |
2444 |
|
BFD_RELOC_XTENSA_SLOT10_ALT, BFD_RELOC_XTENSA_SLOT11_ALT, |
2445 |
|
BFD_RELOC_XTENSA_SLOT12_ALT, BFD_RELOC_XTENSA_SLOT13_ALT, |
2446 |
|
BFD_RELOC_XTENSA_SLOT14_ALT): Add new relocations. |
2447 |
|
* Makefile.am (xtensa-isa.lo, xtensa-modules.lo): Update dependencies. |
2448 |
* Makefile.in: Regenerate. |
* Makefile.in: Regenerate. |
2449 |
* configure.in: Add elfxx-mips.lo to all vectors using elf32-mips.lo |
* bfd-in2.h: Likewise. |
2450 |
Remove elf32-mips.lo from 64 bit vectors. Update dependencies |
* libbfd.h: Likewise. |
|
accordingly. |
|
|
* configure: Regenerate. |
|
|
* elf-bfd.h: Move all MIPS ELF specific prototypes to elfxx-mips.h. |
|
|
(irix_compat_t): IRIX compatibility level, moved from elf32-mips.c. |
|
|
(elf_backend_mips_irix_compat, elf_backend_mips_rtype_to_howto): New |
|
|
MIPS specific backend functions. |
|
|
* elf32-mips.c: Moved most code to elfxx-mips.c. |
|
|
(mips_elf_hi16_reloc): Rename from _bfd_mips_elf_hi16_reloc and make |
|
|
static. |
|
|
(mips_elf_lo16_reloc): Likewise, was _bfd_mips_elf_lo16_reloc. |
|
|
(mips_elf_got16_reloc): Likewise, was _bfd_mips_elf_got16_reloc. |
|
|
(mips_elf_gprel32_reloc): Likewise, was _bfd_mips_elf_gprel32_reloc. |
|
|
(mips_elf32_rtype_to_howto): Rename from mips_rtype_to_howto. Changed |
|
|
interface to allow selection of the right REL or RELA howto table. |
|
|
(mips_elf32_object_p): Rename from _bfd_mips_elf_object_p and made |
|
|
static. Let it refuse n32 objects. |
|
|
(elf32_mips_grok_prstatus): Rename from _bfd_elf32_mips_grok_prstatus. |
|
|
(elf32_mips_grok_psinfo): Rename from _bfd_elf32_mips_grok_psinfo. |
|
|
(elf32_mips_discard_info): Rename from _bfd_elf32_mips_discard_info. |
|
|
(elf32_mips_ignore_discarded_relocs): Rename from |
|
|
_bfd_elf32_mips_ignore_discarded_relocs. |
|
|
(elf32_mips_write_section): Rename from _bfd_elf32_mips_write_section. |
|
|
(elf32_mips_irix_compat): New function, replaces IRIX_COMPAT. |
|
|
(elf_mips_howto_table_rela): Remove. |
|
|
* elf64-mips.c: Moved most code to elfxx-mips.c. |
|
|
(bfd_elf64_bfd_reloc_type_lookup): Make static. |
|
|
(mips_elf64_rtype_to_howto): New function. |
|
|
(mips_elf64_object_p): Likewise. |
|
|
(elf64_mips_irix_compat): Likewise. |
|
|
* elfxx-mips.c: New file containing common code merged together from |
|
|
elf32-mips.c and elf64-mips.c. |
|
|
* elfxx-mips.h: New file containing MIPS specific prototypes from |
|
|
elf-bfd.h. |
|
|
* elfxx-target.h: Add handling for elf_backend_mips_irix_compat and |
|
|
elf_backend_mips_rtype_to_howto. |
|
|
|
|
|
2002-04-04 Alan Modra <amodra@bigpond.net.au> |
|
|
|
|
|
* srec.c (MAXCHUNK, Chunk): Revise comments. |
|
|
(srec_write_record): Correct buffer size. |
|
|
(srec_write_header): Do without intermediate buffer. |
|
|
(srec_write_section): Validate Chunk. |
|
|
(srec_write_terminator): Pass NULL instead of dummy buffer. |
|
|
(srec_write_symbols): Pass file and symbol names directly to |
|
|
bfd_bwrite so sprintf won't overflow buffer. |
|
2451 |
|
|
2452 |
2002-04-03 Jakub Jelinek <jakub@redhat.com> |
2004-10-07 Richard Sandiford <rsandifo@redhat.com> |
2453 |
|
|
2454 |
* elf32-sparc.c (elf32_sparc_relocate_section): Don't emit dynamic |
* elf64-mips.c (mips_elf64_write_rel): Use STN_UNDEF for relocs |
2455 |
PC relative relocs against hidden symbols. |
against the absolute section. |
2456 |
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise. |
(mips_elf64_write_rela): Likewise. |
2457 |
|
|
2458 |
2002-04-03 Alan Modra <amodra@bigpond.net.au> |
2004-10-07 Jan Beulich <jbeulich@novell.com> |
2459 |
|
|
2460 |
* elf.c (_bfd_elf_make_section_from_shdr): When setting section |
* elf.c (elf_find_function): Don't generally check for matching |
2461 |
LMAs, loop over segments until p_vaddr and p_memsz specify an |
section, just for non-file symbols. Remove redunant comparison |
2462 |
extent enclosing the section. |
for the latter. |
2463 |
|
* elf32-arm.h (arm_elf_find_function): Likewise. |
2464 |
|
|
2465 |
2002-04-02 Nick Clifton <nickc@cambridge.redhat.com> |
2004-10-07 Jeff Baker <jbaker@qnx.com> |
2466 |
|
|
2467 |
* ihex.c (ihex_write_object_contents): Do not allow records to |
* elflink.c (_bfd_elf_add_dynamic_entry): Add code to warn if |
2468 |
cross a 64K boundary - wrap if necessary. |
adding a DT_TEXTREL to a shared object and --warn-shared-textrel |
2469 |
|
was specified. |
2470 |
|
|
2471 |
2002-04-01 Nathan Williams <nathanw@wasabisystems.com> |
2004-10-04 Roland McGrath <roland@redhat.com> |
2472 |
|
|
2473 |
* elf.c (elfcore_netbsd_get_lwpid): Fix off-by-one error |
* hash.c (bfd_hash_set_default_size): Use const for table. |
2474 |
which caused the returned LWP ID to always be 0. |
Use size_t instead of int for variable compared to sizeof results. |
2475 |
|
|
2476 |
2002-04-01 Richard Henderson <rth@redhat.com> |
2004-10-05 Alan Modra <amodra@bigpond.net.au> |
2477 |
|
|
2478 |
* elf32-sparc.c (WILL_CALL_FINISH_DYNAMIC_SYMBOL): New. |
PR 425 |
2479 |
(elf32_sparc_relocate_section): Use it to figure out when to |
* syms.c (_bfd_stab_section_find_nearest_line): Ignore R_*_NONE relocs. |
|
initialize .got entries. |
|
|
* elf64-sparc.c: Similarly. |
|
2480 |
|
|
2481 |
2002-03-28 Alan Modra <amodra@bigpond.net.au> |
2004-10-01 Paul Brook <paul@codesourcery.com> |
2482 |
|
|
2483 |
* linker.c (link_action): Ignore duplicate warning syms. |
* elf32-arm.h (elf32_arm_fake_sections, |
2484 |
(_bfd_generic_link_write_global_symbol): Follow warning symbol link. |
is_arm_elf_unwind_section_name, elf32_arm_section_from_shdr): New |
2485 |
* elflink.h (elf_adjust_dynstr_offsets): Likewise. |
functions. |
2486 |
(elf_adjust_dynamic_symbol): Likewise. |
(elf_backend_fake_sections, elf_backend_section_from_shdr): Define. |
2487 |
(elf_export_symbol): Likewise. |
|
2488 |
(elf_link_find_version_dependencies): Likewise. |
2004-10-01 Alan Modra <amodra@bigpond.net.au> |
2489 |
(elf_link_assign_sym_version): Likewise. |
|
2490 |
(elf_link_sec_merge_syms): Likewise. |
* elf-bfd.h (struct eh_cie_fde): Add need_relative and |
2491 |
(elf_link_output_extsym): Likewise. |
need_lsda_relative. |
2492 |
(elf_gc_sweep_symbol): Likewise. |
* elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Set |
2493 |
(elf_gc_propagate_vtable_entries_used): Likewise. |
need_relative or need_lsda_relative if we are processing an |
2494 |
(elf_gc_smash_unused_vtentry_relocs): Likewise. |
offset for a reloc on a FDE initial loc or LSDA field |
2495 |
(elf_gc_allocate_got_offsets): Likewise. |
respectively. |
2496 |
(elf_collect_hash_codes): Likewise. |
(_bfd_elf_write_section_eh_frame): Test need_relative and |
2497 |
* elflink.c (elf_link_renumber_hash_table_dynsyms): Likewise. |
need_lsda_relative in place of corresponding make_* field |
2498 |
* elf-hppa.h (elf_hppa_unmark_useless_dynamic_symbols): Likewise. |
when deciding to use pc-relative encodings. |
2499 |
(elf_hppa_remark_useless_dynamic_symbols): Likewise. |
|
2500 |
* elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Likewise. |
2004-09-30 Paul Brook <paul@codesourcery.com> |
|
* elf32-arm.h (elf32_arm_discard_copies): Likewise. |
|
|
* elf32-cris.c (elf_cris_adjust_gotplt_to_got): Likewise. |
|
|
(elf_cris_discard_excess_dso_dynamics): Likewise. |
|
|
* elf32-hppa.c (clobber_millicode_symbols): Likewise. |
|
|
(mark_PIC_calls): Likewise. |
|
|
(allocate_plt_static): Likewise. |
|
|
(allocate_dynrelocs): Likewise. |
|
|
(readonly_dynrelocs): Likewise. |
|
|
* elf32-i386.c (allocate_dynrelocs): Likewise. |
|
|
(readonly_dynrelocs): Likewise. |
|
|
* elf32-i370.c (i370_elf_adjust_dynindx): Likewise. |
|
|
* elf32-m68k.c (elf_m68k_discard_copies): Likewise. |
|
|
* elf32-mips.c (mips_elf_output_extsym): Likewise. |
|
|
(mips_elf_sort_hash_table_f): Likewise. |
|
|
(mips_elf_check_mips16_stubs): Likewise. |
|
|
* elf32-s390.c (allocate_dynrelocs): Likewise. |
|
|
(readonly_dynrelocs): Likewise. |
|
|
* elf32-sh.c (sh_elf_discard_copies): Likewise. |
|
|
* elf32-xstormy16.c (xstormy16_relax_plt_check): Likewise. |
|
|
(xstormy16_relax_plt_realloc): Likewise. |
|
|
* elf64-alpha.c (elf64_alpha_calc_got_offsets_for_symbol): Likewise. |
|
|
(elf64_alpha_output_extsym): Likewise. |
|
|
* elf64-hppa.c (elf64_hppa_mark_exported_functions): Likewise. |
|
|
* elf64-mips.c (mips_elf64_sort_hash_table_f): Likewise. |
|
|
(mips_elf64_check_mips16_stubs): Likewise. |
|
|
(mips_elf64_output_extsym): Likewise. |
|
|
* elf64-ppc.c (func_desc_adjust): Likewise. |
|
|
(allocate_dynrelocs): Likewise. |
|
|
(readonly_dynrelocs): Likewise. |
|
|
* elf64-s390.c (allocate_dynrelocs): Likewise. |
|
|
(readonly_dynrelocs): Likewise. |
|
|
* elf64-sh64.c (sh64_elf64_discard_copies): Likewise. |
|
|
* elf64-x86-64.c (allocate_dynrelocs): Likewise. |
|
|
(readonly_dynrelocs): Likewise. |
|
|
* elfxx-ia64.c (elfNN_ia64_global_dyn_sym_thunk): Likewise. |
|
|
* aoutx.h (aout_link_write_other_symbol): Likewise. |
|
|
* cofflink.c (_bfd_coff_write_task_globals): Likewise. |
|
|
(_bfd_coff_write_global_sym): Likewise. |
|
|
* i386linux.c (linux_tally_symbols): Likewise. |
|
|
* m68klinux.c (linux_tally_symbols): Likewise. |
|
|
* sparclinux.c (linux_tally_symbols): Likewise. |
|
|
* pdp11.c (aout_link_write_other_symbol): Likewise. |
|
|
* sunos.c (sunos_scan_dynamic_symbol): Likewise. |
|
|
* xcofflink.c (xcoff_build_ldsyms): Likewise. |
|
|
(xcoff_write_global_symbol): Likewise. |
|
|
|
|
|
* cofflink.c (_bfd_coff_final_link): Formatting. |
|
|
* cpu-mips.c (mips_compatible): Make static, prototype. |
|
|
* elf32-i386.c (elf_i386_check_relocs): Formatting. |
|
|
* elf32-sh.c (sh_elf_size_dynamic_sections): Likewise. |
|
|
* elf64-alpha.c (elf64_alpha_output_extsym): Likewise. |
|
|
* elf64-mips.c (mips_elf64_sort_hash_table): Likewise. |
|
|
(mips_elf64_final_link): Likewise. |
|
|
* elflink.h (elf_link_find_version_dependencies): Remove duplicate |
|
|
prototype. |
|
2501 |
|
|
2502 |
2002-03-27 Nick Clifton <nickc@cambridge.redhat.com> |
* elf32-arm.h (bfd_elf32_arm_set_target_relocs): Handle "abs" |
2503 |
|
target2 relocation type. |
2504 |
|
|
2505 |
* coff-arm.c (SWAP_IN_RELOC_OFFSET): Define. |
2004-09-30 H.J. Lu <hongjiu.lu@intel.com> |
|
(SWAP_OUT_RELOC_OFFSET): Define. |
|
2506 |
|
|
2507 |
2002-03-27 Gregory Steuck <greg@nest.cx> |
PR 414 |
2508 |
|
* elflink.c (_bfd_elf_merge_symbol): Check TLS symbol. |
2509 |
|
|
2510 |
* elf.c (_bfd_elf_get_symtab_upper_bound): Leave space for |
2004-09-30 Paul Brook <paul@codesourcery.com> |
|
terminating NULL if empty symbol table. |
|
|
(_bfd_elf_get_dynamic_symtab_upper_bound): Likewise. |
|
2511 |
|
|
2512 |
2002-03-26 H.J. Lu (hjl@gnu.org) |
* reloc.c: Add BFD_RELOC_ARM_SMI. |
2513 |
|
* bfd-in2.h: Regenerate. |
2514 |
|
* libbfd.h: Ditto. |
2515 |
|
|
2516 |
|
2004-09-24 Alan Modra <amodra@bigpond.net.au> |
2517 |
|
|
2518 |
|
* dwarf2.c (_bfd_dwarf2_find_nearest_line): Add output section |
2519 |
|
vma and output offset to address. |
2520 |
|
* simple.c (simple_save_output_info): Only set output section |
2521 |
|
and offset for debug sections, or those not already set up by |
2522 |
|
the linker. |
2523 |
|
(bfd_simple_get_relocated_section_contents): Update comment. |
2524 |
|
|
2525 |
* elflink.h (elf_link_input_bfd): Revert the last change since |
2004-09-24 Alan Modra <amodra@bigpond.net.au> |
|
the gcc exception handling isn't fixed yet. |
|
2526 |
|
|
2527 |
2002-03-26 H.J. Lu (hjl@gnu.org) |
* elf.c (IS_LOADED): Delete. |
2528 |
|
(assign_file_positions_for_segments): Just test SEC_LOAD instead. |
2529 |
|
Restore SEC_HAS_CONTENTS test to the one place it was used prior |
2530 |
|
to 2004-09-22. |
2531 |
|
|
2532 |
* elflink.h (elf_link_input_bfd): Complain about relocations |
2004-09-23 Alan Modra <amodra@bigpond.net.au> |
|
against local symbols in discarded sections. |
|
2533 |
|
|
2534 |
2002-03-26 Alan Modra <amodra@bigpond.net.au> |
PR gas/396 |
2535 |
|
* elf32-sparc.c (elf32_sparc_final_write_processing): Handle |
2536 |
|
bfd_mach_sparc_sparclet and bfd_mach_sparc_sparclite. Remove |
2537 |
|
redundant assignment of EM_SPARC. |
2538 |
|
|
2539 |
* elflink.h (elf_gc_mark): Don't recurse into non-ELF sections. |
2004-09-22 Brian Ford <ford@vss.fsi.com> |
2540 |
|
|
2541 |
|
* pei-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Enable 16 byte |
2542 |
|
alignment for .rdata sections so sse[2] code works with gcc >= 3.3.3 |
2543 |
|
constants. |
2544 |
|
* pe-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Likewise. |
2545 |
|
|
2546 |
2002-03-23 Alan Modra <amodra@bigpond.net.au> |
2004-09-22 Alan Modra <amodra@bigpond.net.au> |
2547 |
|
|
2548 |
* elf.c (_bfd_elf_make_section_from_shdr): Don't set lma based on |
* elf32-ppc.c (ppc_elf_modify_segment_map): Delete. |
2549 |
section file offset for !SEC_LOAD sections. |
(elf_backend_modify_segment_map): Don't define. |
2550 |
|
|
2551 |
2002-03-21 Richard Earnshaw <rearnsha@arm.com> |
2004-09-22 Alan Modra <amodra@bigpond.net.au> |
2552 |
|
|
2553 |
* elf32-arm.h (elf32_arm_final_link_relocate <case R_ARM_GOTOFF>, |
* elf.c (IS_LOADED): Define. |
2554 |
<case R_ARM_GOT>): Handle relocations to Thumb functions. |
(assign_file_positions_for_segments): Don't round up file offset of |
2555 |
|
PT_LOAD segments containing no SEC_LOAD sections, instead round down. |
2556 |
|
Delete code handling link script adjustment of lma. Do the adjust |
2557 |
|
in later code handling similar ajustments. Remove dead code error |
2558 |
|
check. Warn if section lma would require a negative offset |
2559 |
|
adjustment. Tweak lma adjustment to use p_filesz rather than p_memsz. |
2560 |
|
Use p_vaddr + p_memsz inside section loop in place of voff. Don't |
2561 |
|
update voff in section loop. Change voff in segment loop to be an |
2562 |
|
adjustment on top of "off". Set sec->filepos and update "off" later. |
2563 |
|
Test for loadable sections consistently using IS_LOADED. Similarly, |
2564 |
|
test for alloc-only sections other than .tbss consistently. |
2565 |
|
Don't bother checking SEC_ALLOC in PT_LOAD segments. Remove FIXME. |
2566 |
|
Tidy PT_NOTE handling. Use %B and %A in error messages. |
2567 |
|
(assign_file_positions_except_relocs): Use %B in error message. |
2568 |
|
|
2569 |
|
2004-09-17 H.J. Lu <hongjiu.lu@intel.com> |
2570 |
|
|
2571 |
|
* Makefile.am (AUTOMAKE_OPTIONS): Require 1.9. |
2572 |
|
(CONFIG_STATUS_DEPENDENCIES): New. |
2573 |
|
(Makefile): Removed. |
2574 |
|
(config.status): Likewise. |
2575 |
|
* Makefile.in: Regenerated. |
2576 |
|
|
2577 |
2002-03-21 Alan Modra <amodra@bigpond.net.au> |
2004-09-17 Paul Brook <paul@codesourcery.com> |
2578 |
|
|
2579 |
* coff64-rs6000.c (_bfd_xcoff64_put_symbol_name): Prototype. |
* bfd-in.h (bfd_elf32_arm_set_target_relocs): Add prototype. |
2580 |
Whitespace changes. |
(bfd_elf32_arm_process_before_allocation): Update prototype. |
|
* archive.c: Update copyright date. |
|
2581 |
* bfd-in2.h: Regenerate. |
* bfd-in2.h: Regenerate. |
2582 |
|
* bfd/elf32-arm.h (elf32_arm_link_hash_table): Add target2_reloc. |
2583 |
|
(elf32_arm_link_hash_table_create): Set it. |
2584 |
|
(bfd_elf32_arm_process_before_allocation): Remove target1_is_rel. |
2585 |
|
(bfd_elf32_arm_set_target_relocs): New function. |
2586 |
|
(arm_real_reloc_type): New function. |
2587 |
|
(elf32_arm_final_link_relocate): Use it. Handle R_ARM_PREL31 and |
2588 |
|
R_ARM_GOT_PREL. Remove R_ARM_TARGET1. |
2589 |
|
(elf32_arm_gc_sweep_hook): Ditto. |
2590 |
|
(elf32_arm_check_relocs): Ditto. |
2591 |
|
(elf32_arm_relocate_section): Handle R_ARM_GOT_PREL. |
2592 |
|
* elfarm-nabi.c (elf32_arm_howto_table): Add R_ARM_PREL31 and |
2593 |
|
R_ARM_GOT_TARGET2. |
2594 |
|
(elf32_arm_got_prel): New variable. |
2595 |
|
(elf32_arm_howto_from_type): New function. |
2596 |
|
(elf32_arm_info_to_howto): Use it. |
2597 |
|
(elf32_arm_reloc_map): Add BFD_RELOC_ARM_PREL31 and |
2598 |
|
BFD_RELOC_ARM_TARGET2. |
2599 |
* libbfd.h: Regenerate. |
* libbfd.h: Regenerate. |
2600 |
* Makefile.am: Run "make dep-am" |
* reloc.c: Add BFD_RELOC_ARM_TARGET2 and BFD_RELOC_ARM_PREL31. |
2601 |
|
|
2602 |
|
2004-09-17 Alan Modra <amodra@bigpond.net.au> |
2603 |
|
|
2604 |
|
* ecoff.c: Update u.undef.next refs. |
2605 |
|
* elf64-ppc.c: Likewise. |
2606 |
|
* elflink.c: Likewise. |
2607 |
|
* linker.c: Likewise. |
2608 |
|
* xcofflink.c: Likewise. |
2609 |
|
|
2610 |
|
* elf-bfd.h (struct elf_link_hash_entry): Rearrange. Add FIXME to |
2611 |
|
dynamic_def. Combine weakdef and elf_hash_value. Move vtable |
2612 |
|
fields to indirect struct. |
2613 |
|
* elf-m10300.c: Update u.weakdef refs. |
2614 |
|
* elf32-arm.h: Likewise. |
2615 |
|
* elf32-cris.c: Likewise. |
2616 |
|
* elf32-frv.c: Likewise. |
2617 |
|
* elf32-hppa.c: Likewise. |
2618 |
|
* elf32-i370.c: Likewise. |
2619 |
|
* elf32-i386.c: Likewise. |
2620 |
|
* elf32-m32r.c: Likewise. |
2621 |
|
* elf32-m68k.c: Likewise. |
2622 |
|
* elf32-ppc.c: Likewise. |
2623 |
|
* elf32-s390.c: Likewise. |
2624 |
|
* elf32-sh.c: Likewise. |
2625 |
|
* elf32-sparc.c: Likewise. |
2626 |
|
* elf32-vax.c: Likewise. |
2627 |
|
* elf32-xtensa.c: Likewise. |
2628 |
|
* elf64-alpha.c: Likewise. |
2629 |
|
* elf64-hppa.c: Likewise. |
2630 |
|
* elf64-ppc.c: Likewise. |
2631 |
|
* elf64-s390.c: Likewise. |
2632 |
|
* elf64-sh64.c: Likewise. |
2633 |
|
* elf64-sparc.c: Likewise. |
2634 |
|
* elf64-x86-64.c: Likewise. |
2635 |
|
* elfxx-ia64.c: Likewise. |
2636 |
|
* elfxx-mips.c: Likewise. |
2637 |
|
* elflink.c: Likewise. Also u.elf_hash_value. |
2638 |
|
(elf_gc_propagate_vtable_entries_used): Update for h->vtable |
2639 |
|
indirection. |
2640 |
|
(elf_gc_smash_unused_vtentry_relocs): Likewise. |
2641 |
|
(bfd_elf_gc_record_vtinherit): Alloc vtable. |
2642 |
|
(bfd_elf_gc_record_vtentry): Likewise. |
2643 |
|
* elf.c (_bfd_elf_link_hash_newfunc): Use memset. |
2644 |
|
|
2645 |
|
2004-09-17 Alan Modra <amodra@bigpond.net.au> |
2646 |
|
|
2647 |
|
* Makefile.am: Run "make dep-am". |
2648 |
* Makefile.in: Regenerate. |
* Makefile.in: Regenerate. |
2649 |
|
* bfd-in2.h: Regenerate. |
2650 |
* po/SRC-POTFILES.in: Regenerate. |
* po/SRC-POTFILES.in: Regenerate. |
2651 |
|
* po/bfd.pot: Regenerate. |
2652 |
|
|
2653 |
2002-03-20 Daniel Jacobowitz <drow@mvista.com> |
2004-09-16 Alan Modra <amodra@bigpond.net.au> |
2654 |
|
|
2655 |
* dwarf2.c (struct funcinfo): Move up. |
* elf-bfd.h (struct elf_link_hash_entry): Replace elf_link_hash_flags |
2656 |
(lookup_address_in_function_table): New argument function_ptr. |
with bitfields. Make "type" and "other" bitfields too. |
2657 |
Set it. |
(ELF_LINK_HASH_REF_REGULAR, ELF_LINK_HASH_DEF_REGULAR, |
2658 |
(lookup_address_in_line_table): New argument function. If function |
ELF_LINK_HASH_REF_DYNAMIC, ELF_LINK_HASH_DEF_DYNAMIC, |
2659 |
is non-NULL, use it to handle ``addr'' before the first line note of |
ELF_LINK_HASH_REF_REGULAR_NONWEAK, ELF_LINK_HASH_DYNAMIC_ADJUSTED, |
2660 |
the function. |
ELF_LINK_HASH_NEEDS_COPY, ELF_LINK_HASH_NEEDS_PLT, ELF_LINK_NON_ELF, |
2661 |
(comp_unit_find_nearest_line): Update and swap calls to |
ELF_LINK_HIDDEN, ELF_LINK_FORCED_LOCAL, ELF_LINK_HASH_MARK, |
2662 |
lookup_address_in_function_table and lookup_address_in_line_table. |
ELF_LINK_NON_GOT_REF, ELF_LINK_DYNAMIC_DEF, ELF_LINK_DYNAMIC_WEAK, |
2663 |
* syms.c (_bfd_stab_section_find_nearest_line): Use the first |
ELF_LINK_POINTER_EQUALITY_NEEDED): Delete. |
2664 |
N_SLINE encountered if we see an N_FUN before any N_SLINE. |
(ELF_COMMON_DEF_P, WILL_CALL_FINISH_DYNAMIC_SYMBOL): Update. |
2665 |
|
* elf-hppa.h: Update all uses of elf_link_hash_flags. |
2666 |
2002-03-20 Tom Rix <trix@redhat.com> |
* elf-m10300.c: Likewise. |
2667 |
|
* elf.c: Likewise. |
2668 |
* coff-rs6000.c (_bfd_xcoff_stat_arch_elt): Renamed from |
* elf32-arm.h: Likewise. |
2669 |
_bfd_xcoff_generic_stat_arch_elt. Fix format check. |
* elf32-cris.c: Likewise. |
2670 |
* coff64-rs6000.c : Use _bfd_xcoff_stat_arch_elt. |
* elf32-frv.c: Likewise. |
2671 |
|
* elf32-hppa.c: Likewise. |
2672 |
2002-03-19 Tom Rix <trix@redhat.com> |
* elf32-i370.c: Likewise. |
2673 |
|
* elf32-i386.c: Likewise. |
2674 |
* xcofflink.c (_bfd_xcoff_bfd_link_add_symbols): Look through all |
* elf32-m32r.c: Likewise. |
2675 |
dynamic objects in archives. |
* elf32-m68k.c: Likewise. |
2676 |
|
* elf32-ppc.c: Likewise. |
2677 |
2002-03-19 Hans-Peter Nilsson <hp@bitrange.com> |
* elf32-s390.c: Likewise. |
2678 |
|
* elf32-sh-symbian.c: Likewise. |
2679 |
* elflink.h (NAME(bfd_elf,record_link_assignment)): Don't set |
* elf32-sh.c: Likewise. |
2680 |
STT_NOTYPE symbols to STT_OBJECT. |
* elf32-sh64.c: Likewise. |
2681 |
|
* elf32-sparc.c: Likewise. |
2682 |
2002-03-18 Jan Hubicka <jh@suse.cz> |
* elf32-vax.c: Likewise. |
2683 |
|
* elf32-xtensa.c: Likewise. |
2684 |
* cpu-i386.c (bfd_x86_64_arch): Rename to "i386:x86-64" |
* elf64-alpha.c: Likewise. |
2685 |
|
* elf64-hppa.c: Likewise. |
2686 |
2002-03-18 Tom Rix <trix@redhat.com> |
* elf64-ppc.c: Likewise. |
2687 |
|
* elf64-s390.c: Likewise. |
2688 |
* aix5ppc.core.c : New file for AIX 5 64 bit core support. |
* elf64-sh64.c: Likewise. |
2689 |
* bfd-in.h : Add bfd_xcoff_ar_archive_set_magic declaration. |
* elf64-sparc.c: Likewise. |
2690 |
* coff-rs6000 (do_pad) : New function for archive padding. |
* elf64-x86-64.c: Likewise. |
2691 |
(do_copy) : New function for object file copying in archives. |
* elflink.c: Likewise. |
2692 |
(do_shared_object_padding) : New function for padding shared |
* elfxx-ia64.c: Likewise. |
2693 |
objects to their text section alignment in archives. |
* elfxx-mips.c: Likewise. |
2694 |
(bfd_xcoff_ar_achive_set_magic) : Stub. |
* configure.in (AM_INIT_AUTOMAKE): Set version to 2.15.92. |
2695 |
(xcoff_write_armap_big) : Use do_copy and do_pad. |
* configure: Regenerate. |
2696 |
(xcoff_write_archive_contents_big) : Use do_shared_object_padding, |
* aclocal.m4: Regenerate. |
|
do_copy and do_pad. |
|
|
* coff64-rs6000.c (xcoff64_write_ojbect_contents) : Use |
|
|
bfd_xcoff_magic_number. |
|
|
(xcoff64_bad_format_hook) : New function for _bfd_bad_format_hook |
|
|
fop. |
|
|
(xcoff_backend_data_r) : Use xcoff64_bad_format_hook. |
|
|
(bfd_xcoff_aix5_backend_data) : New Aix 5 backend data. |
|
|
(aix5coff64_vec) : New Aix 5 target aix5coff64-rs6000. |
|
|
* rs6000-core.c : Update copyright date. |
|
|
* xcofflink.c (bfd_xcoff_size_dynamic_sections): Check for NULL |
|
|
csectpp. |
|
|
* coffcode.h (coff_new_section_hook) : Use new accessor macros. |
|
|
(coff_set_arch_mach_hook) : Add Aix 5 U64_TOCMAGIC magic #. |
|
|
(coff_set_flags) : Use bfd_xcoff_magic_number. |
|
|
* libxcoff.h (bfd_xcoff_is_xcoff64): Add U64_TOCMAGIC. |
|
|
* configure.in : Add powerpc-*-aix5 and rs6000-*-aix5 support. |
|
|
* Makefile.am : Same. |
|
|
* config.bfd : Same. |
|
|
* targets.c : Same. |
|
|
* configure : Regnerate. |
|
|
* Makefile.in : Same. |
|
|
* bfd-in2.h : Same. |
|
2697 |
|
|
2698 |
2002-03-18 Nick Clifton <nickc@cambridge.redhat.com> |
2004-09-16 Alan Modra <amodra@bigpond.net.au> |
2699 |
|
|
2700 |
* po/fr.po: Updated version. |
* elf32-arm.h (elf32_arm_gc_sweep_hook): Add #ifndef OLD_ARM_ABI |
2701 |
|
around uses of R_ARM_TARGET1. |
2702 |
|
(elf32_arm_check_relocs): Likewise. |
2703 |
|
|
2704 |
2002-03-18 Alan Modra <amodra@bigpond.net.au> |
2004-09-13 Paul Brook <paul@codesourcery.com> |
2705 |
|
|
2706 |
* libbfd.c (bfd_write_bigendian_4byte_int): Return true iff success. |
* bfd-in.h (bfd_elf32_arm_process_before_allocation): Update |
2707 |
|
prototype. |
2708 |
|
* bfd-in2.h: Regenerate. |
2709 |
* libbfd.h: Regenerate. |
* libbfd.h: Regenerate. |
2710 |
* archive.c (coff_write_armap): Pass on failures from |
* elf32-arm.h (elf32_arm_link_hash_table): Add target1_is_rel. |
2711 |
bfd_write_bigendian_4byte_int. |
(elf32_arm_link_hash_table_create): Set target1_is_rel. |
2712 |
|
(bfd_elf32_arm_process_before_allocation): Ditto. |
2713 |
|
(elf32_arm_final_link_relocate): Handle R_ARM_TARGET1. |
2714 |
|
(elf32_arm_gc_sweep_hook, elf32_arm_check_relocs): Ditto. |
2715 |
|
* elfarm-nabi.c (elf32_arm_howto_table): Rename RELABS to TARGET1. |
2716 |
|
* reloc.c: Ditto. |
2717 |
|
|
2718 |
|
2004-09-10 Joel Brobecker <brobecker@gnat.com> |
2719 |
|
|
2720 |
|
* hpux-core.c (thread_section_p): New function. |
2721 |
|
(hpux_core_core_file_p): Fix computation of offset in call |
2722 |
|
to bfd_seek. Create a ".reg" section from an arbitrary |
2723 |
|
".reg/<id>" section if none was created after having read |
2724 |
|
all sections. |
2725 |
|
|
2726 |
2002-03-14 H.J. Lu <hjl@gnu.org> |
2004-09-11 Andreas Schwab <schwab@suse.de> |
2727 |
|
|
2728 |
* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set the BFD |
* acinclude.m4: Fix spelling of ACX_NONCANONICAL_*. |
2729 |
error to bfd_error_nonrepresentable_section for reinit_array |
* aclocal.m4: Rebuild. |
2730 |
section in DSO. |
* configure: Rebuild. |
2731 |
|
|
2732 |
2002-03-14 Nick Clifton <nickc@cambridge.redhat.com> |
2004-09-10 Joel Brobecker <brobecker@gnat.com> |
2733 |
|
|
2734 |
* coffcode.h (coff_slurp_symbol_table): When adding BSF_WEAK flag, |
* section.c (bfd_sections_find_if): Fix parameter name in |
2735 |
OR it in rather than replacing previously selected flags. |
comment to match code. |
2736 |
|
|
2737 |
* elfxx-target.h (TARGET_BIG_SYM): Set ar_max_namelen to 15. |
2004-09-10 Alan Modra <amodra@bigpond.net.au> |
|
(TARGET_LITTLE_SYM): Set ar_max_namelen to 15. |
|
2738 |
|
|
2739 |
2002-03-14 Alan Modra <amodra@bigpond.net.au> |
* elf.c (assign_file_positions_except_relocs): Assign relocs |
2740 |
|
stored in a bfd section. |
2741 |
|
|
2742 |
|
2004-09-08 Hans-Peter Nilsson <hp@axis.com> |
2743 |
|
|
2744 |
|
* elf32-cris.c (elf_cris_adjust_gotplt_to_got): Reset |
2745 |
|
h->gotplt_refcount to 0, not -1. |
2746 |
|
|
2747 |
|
2004-09-07 Hans-Peter Nilsson <hp@axis.com> |
2748 |
|
|
2749 |
|
* elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_16_GOTPLT, |
2750 |
|
case R_CRIS_32_GOTPLT>: For internal error message, handle NULL |
2751 |
|
symname. |
2752 |
|
(cris_elf_check_relocs) <case R_CRIS_32_PLT_PCREL>: Don't try to |
2753 |
|
handle symbol visibility here. |
2754 |
|
|
2755 |
|
2004-09-07 Alan Modra <amodra@bigpond.net.au> |
2756 |
|
|
2757 |
|
* elf64-ppc.c (struct ppc_link_hash_table): Add stub_globals. |
2758 |
|
(is_ppc64_elf_target): Rename from is_ppc64_target. Update all |
2759 |
|
callers. |
2760 |
|
(ppc_stub_name): Remove trailing "+0" on stub name. |
2761 |
|
(create_linkage_sections): Create relocations for |
2762 |
|
branch lookup table when --emit-relocs as well as when --shared. |
2763 |
|
(ppc_build_one_stub): Emit relocs for long branch stubs. Adjust |
2764 |
|
relbrlt test. For --emit-stub-syms, always output a sym even when |
2765 |
|
one already exists on a plt call stub. Put stub type in the stub |
2766 |
|
symbol name. |
2767 |
|
(ppc_size_one_stub): Size long branch stub relocs. Adjust relbrlt |
2768 |
|
test. |
2769 |
|
(ppc64_elf_size_stubs): Count global sym stubs added. Zero |
2770 |
|
reloc_count in stub sections. Adjust relbrlt test. |
2771 |
|
(ppc64_elf_build_stubs): Adjust relbrlt test. Tweak stats output. |
2772 |
|
* elflink.c (bfd_elf_size_dynamic_sections): Fix comment typo. |
2773 |
|
(elf_link_input_bfd): Ignore symbol index zero relocs when checking |
2774 |
|
for relocs against discarded symbols. Fix comments. |
2775 |
|
|
2776 |
|
2004-09-06 Mark Mitchell <mark@codesourcery.com> |
2777 |
|
|
2778 |
|
* elf-bfd.h (_bfd_elf_make_dynamic_segment): Declare it. |
2779 |
|
* elf.c (_bfd_elf_make_dynamic_segment): New function, split out |
2780 |
|
from ... |
2781 |
|
(map_sections_to_segments): ... here. Use it. Assign a file |
2782 |
|
position to the .dynamic section if it is not loadable, but part |
2783 |
|
of the PT_DYNAMIC segment. |
2784 |
|
* elf32-arm.h (elf32_arm_finish_dynamic_sections): Use file |
2785 |
|
offsets, not VMAs, for the BPABI. Do not fill in the header in |
2786 |
|
the .got.plt section for the BPABI. |
2787 |
|
* elfarm-nabi.c (elf32_arm_symbian_modify_segment_map): Add a |
2788 |
|
PT_DYNAMIC segment. |
2789 |
|
(elf_backend_want_got_plt): Define to zero for Symbian OS. |
2790 |
|
|
2791 |
|
2004-09-06 Nick Clifton <nickc@redhat.com> |
2792 |
|
|
2793 |
|
* elflink.c (elf_link_add_object_symbols): Set the error code to |
2794 |
|
bfd_error_wrong_format when the input format does not match the |
2795 |
|
output format. |
2796 |
|
|
2797 |
|
2004-09-06 Alan Modra <amodra@bigpond.net.au> |
2798 |
|
|
2799 |
|
* elf64-ppc.c (is_ppc64_target): New function, extracted from.. |
2800 |
|
(ppc64_elf_check_directives): ..here. |
2801 |
|
(ppc64_elf_size_dynamic_sections): Use it here to check bfd type |
2802 |
|
before accessing ppc64_elf_tdata. |
2803 |
|
(ppc64_elf_finish_dynamic_sections): And here too. |
2804 |
|
|
2805 |
|
2004-09-04 Alan Modra <amodra@bigpond.net.au> |
2806 |
|
|
2807 |
|
* bfd.c (_bfd_default_error_handler): Correct loop exit. |
2808 |
|
|
2809 |
|
2004-09-03 Mark Mitchell <mark@codesourcery.com> |
2810 |
|
|
2811 |
|
* config.bfd (arm*-*-symbianelf*): Use OS-specific target vectors. |
2812 |
|
* configure.in (bfd_elf32_bigarm_symbian_vec): Add it. |
2813 |
|
(bfd_elf32_littlearm_symbian_vec): Likewise. |
2814 |
|
* configure: Regenerated. |
2815 |
|
* elf-bfd.h (elf_backend_data): Add dynamic_sec_flags. |
2816 |
|
* elf32-arm.h (PLT_HEADER_SIZE): Do not define. |
2817 |
|
(PLT_ENTRY_SIZE): Likewise. |
2818 |
|
(bfd_vma_elf32_arm_symbian_plt_entry): New |
2819 |
|
variable. |
2820 |
|
(elf32_arm_link_hash_table): Add plt_header_size, plt_entry_size, |
2821 |
|
and symbian_p. |
2822 |
|
(create_got_section): Don't create sections when generating BPABI |
2823 |
|
objects. |
2824 |
|
(elf32_arm_create_dynamic_sections): Tidy. |
2825 |
|
(elf32_arm_link_hash_table_create): Set plt_header_size, |
2826 |
|
plt_entry_size, and symbian_p. |
2827 |
|
(elf32_arm_check_relocs): Do not mark .rel.dyn as loadable when |
2828 |
|
generating BPABI objects. |
2829 |
|
(allocate_dynrelocs): Use htab->plt_header_size, not |
2830 |
|
PLT_HEADER_SIZE. Do not add to .got.plt when |
2831 |
|
generating BPABI objects. |
2832 |
|
(elf32_arm_finish_dynamic_symbol): Generate Symbian OS PLTs. |
2833 |
|
* elfarm-nabi.c: Add SymbianOS target vectors. |
2834 |
|
* elflink.c (_bfd_elf_create_got_section): Use dynamic_sec_flags. |
2835 |
|
(_bfd_elf_link_create_dynamic_sections): Likewise. |
2836 |
|
* elfxx-target.h (ELF_DYNAMIC_SEC_FLAGS): New macro. |
2837 |
|
(elfNN_bed): Use it. |
2838 |
|
* targets.c (bfd_elf32_bigarm_symbian_vec): New variable. |
2839 |
|
(bfd_elf32_littlearm_symbian_vec): Likewise. |
2840 |
|
(_bfd_target_vector): Add them. |
2841 |
|
|
2842 |
|
2004-09-03 Nick Clifton <nickc@redhat.com> |
2843 |
|
|
2844 |
|
PR 360 |
2845 |
|
* coffcode.h (handle_COMDAT): Replace abort with an warning |
2846 |
|
message and allow the scan to continue. |
2847 |
|
|
2848 |
|
2004-09-02 Alan Modra <amodra@bigpond.net.au> |
2849 |
|
|
2850 |
|
* elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Use static_syms passed |
2851 |
|
in when reading relocs, not our sorted syms. Remove unnecessary |
2852 |
|
var. |
2853 |
|
|
2854 |
|
2004-08-31 Eric Botcazou <ebotcazou@libertysurf.fr> |
2855 |
|
|
2856 |
|
* elf.c (special_sections): Add .gnu.linkonce.b modelled on .bss. |
2857 |
|
|
2858 |
|
2004-08-30 Nathanael Nerode <neroden@gcc.gnu.org> |
2859 |
|
|
2860 |
|
* acinclude.m4: Require AC_CANONICAL_TARGET, not AC_CANONICAL_SYSTEM. |
2861 |
|
Include ../config/acx.m4 and use ACX_NONCANONICAL_* where appropriate; |
2862 |
|
replace uses of *_alias with *_noncanonical. |
2863 |
|
* aclocal.m4: Rebuild with aclocal 1.4p6. |
2864 |
|
* Makefile.in: Rebuild with automake 1.4p6. |
2865 |
|
* doc/Makefile.in: Rebuild with automake 1.4p6. |
2866 |
|
* configure.in: Autoupdate with autoupdate 2.59. |
2867 |
|
* config.in: Regenerate with autoheader 2.59. |
2868 |
|
* configure: Regnerate with autoconf 2.59. |
2869 |
|
|
2870 |
|
2004-08-28 Alan Modra <amodra@bigpond.net.au> |
2871 |
|
|
2872 |
|
* elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Copy input |
2873 |
|
symbol pointer arrays before modifying. |
2874 |
|
|
2875 |
|
2004-08-28 Alan Modra <amodra@bigpond.net.au> |
2876 |
|
|
2877 |
|
* bfd.c (bfd_get_synthetic_symtab): Pass counts and both symbol tables. |
2878 |
|
* elf-bfd.h (_bfd_elf_get_synthetic_symtab): Adjust. |
2879 |
|
* elf.c (_bfd_elf_get_synthetic_symtab): Adjust. |
2880 |
|
* libbfd-in.h (_bfd_nodynamic_get_synthetic_symtab): Adjust. |
2881 |
|
* targets.c (struct bfd_target <_bfd_get_synthetic_symtab>): Adjust. |
2882 |
|
* elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Don't read symbols. |
2883 |
|
Use both symbol tables on non-relocatable objects. Use a common |
2884 |
|
error exit. Fix "mid" warning. |
2885 |
|
* libbfd.h: Regenerate. |
2886 |
|
* bfd-in2.h: Regenerate. |
2887 |
|
|
2888 |
* cpu-mips.c (mips_compatible): New. Don't check bits_per_word. |
2004-08-28 Alan Modra <amodra@bigpond.net.au> |
|
(N): Use the above. |
|
|
* elflink.h (elf_bfd_final_link): Revert last change. Instead, |
|
|
ensure reloc size matches before calling elf_link_input_bfd. |
|
|
Add an assert to check reloc size when counting output relocs. |
|
2889 |
|
|
2890 |
2002-03-14 Nick Clifton <nickc@cambridge.redhat.com> |
* elf64-ppc.c (ppc64_elf_branch_reloc): Check .opd is in a regular |
2891 |
|
object file. |
2892 |
|
(struct sfpr_def_parms): Save some space. |
2893 |
|
(sfpr_define): Here too. |
2894 |
|
|
2895 |
* mmo.c (mmo_get_loc): Return NULL rather than false. |
* elf64-ppc.c (compare_symbols): Put section syms first. |
2896 |
|
(sym_exists_at): New function. |
2897 |
|
(ppc64_elf_get_synthetic_symtab): Use relocs to find code entry |
2898 |
|
points only for relocatable files. Use .opd section contents |
2899 |
|
otherwise. Generally clean up the code. |
2900 |
|
|
2901 |
2002-03-13 Nick Clifton <nickc@cambridge.redhat.com> |
2004-08-27 Alan Modra <amodra@bigpond.net.au> |
2902 |
|
|
2903 |
* po/fr.po: Updated version. |
* elf64-ppc.c (STD_R0_0R1, STD_R0_0R12, LD_R0_0R1, LD_R0_0R12, |
2904 |
|
LI_R12_0, STVX_VR0_R12_R0, LVX_VR0_R12_R0, MTLR_R0, SFPR_MAX): Define. |
2905 |
|
(struct sfpr_def_parms): New. |
2906 |
|
(sfpr_define): New function. |
2907 |
|
(savegpr0, savegpr0_tail, restgpr0, restgpr0_tail): New functions. |
2908 |
|
(savegpr1, savegpr1_tail, restgpr1, restgpr1_tail): New functions. |
2909 |
|
(savefpr, savefpr0_tail, restfpr, restfpr0_tail): New functions. |
2910 |
|
(savefpr1_tail, restfpr1_tail): New functions. |
2911 |
|
(savevr, savevr_tail, restvr, restvr_tail): New functions. |
2912 |
|
(MIN_SAVE_FPR, MAX_SAVE_FPR): Don't define. |
2913 |
|
(ppc64_elf_func_desc_adjust): Use sfpr_define in place of existing |
2914 |
|
code. Define all ABI mandated _save and _rest functions. |
2915 |
|
|
2916 |
2002-03-13 Alan Modra <amodra@bigpond.net.au> |
2004-08-26 Paul Brook <paul@codesourcery.com> |
2917 |
|
|
2918 |
* archures.c (bfd_default_compatible): Test bits_per_word. |
* elf32-arm.h (INTERWORK_FLAG): Return true for EABIv3 objects. |
|
* cpu-i386.c (i386_compatible): Remove. Replace occurrences with |
|
|
bfd_default_compatible. |
|
|
* cpu-i370.c (i370_compatible): Likewise. |
|
|
* cpu-sparc.c (sparc_compatible): Likewise. |
|
|
* cpu-h8300.c (compatible): Test in->arch == out->arch. |
|
2919 |
|
|
2920 |
* elflink.h: Formatting fixes. |
2004-08-26 Alan Modra <amodra@bigpond.net.au> |
|
(elf_link_output_extsym): Merge undefined and undef weak cases. |
|
2921 |
|
|
2922 |
* elflink.h (elf_bfd_final_link): Only call elf_link_input_bfd |
* elf32-m32r.c (m32r_elf_relocate_section): Don't compare with |
2923 |
when word size of input matches output word size. |
TRUE or FALSE. |
2924 |
|
|
2925 |
2002-03-12 Andreas Jaeger <aj@suse.de> |
2004-08-26 Alan Modra <amodra@bigpond.net.au> |
2926 |
|
|
2927 |
* cpu-i386.c (i386_compatible): New. Use it instead of |
* elf32-i386.c (elf_i386_relocate_section): Tweak last change so |
2928 |
bfd_default_compatible. |
that pcrel correction is applied for R_386_PC32. |
2929 |
|
|
2930 |
2002-03-07 H.J. Lu (hjl@gnu.org) |
2004-08-25 Alan Modra <amodra@bigpond.net.au> |
2931 |
|
|
2932 |
* coff-sh.c (shcoff_reloc_map): Use bfd_reloc_code_real_type |
* elf32-i386.c (elf_i386_relocate_section): Zero section contents |
2933 |
as the type for bfd_reloc_val. |
for R_386_32 and R_386_PC32 relocs against symbols defined in |
2934 |
|
discarded sections. |
2935 |
|
|
2936 |
2002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca> |
2004-08-25 Dmitry Diky <diwil@spec.ru> |
2937 |
|
|
2938 |
* elf-hppa.h (elf_hppa_is_dynamic_loader_symbol): New function. |
* reloc.c (BFD_RELOC_MSP430_2X_PCREL,BFD_RELOC_MSP430_RL_PCREL): |
2939 |
(elf_hppa_relocate_section): Ignore undefined dynamic loader symbols. |
Add new relocations. |
2940 |
(elf_hppa_final_link_relocate): Correct relocations for indirect |
* bfd-in2.h: Regenerate. |
2941 |
references to local data through the DLT. Fix .opd creation for |
* libbfd.h: Regenerate. |
2942 |
local symbols using R_PARISC_LTOFF_FPTR32 and R_PARISC_FPTR64 |
* elf32-msp430.c: Clean-up code. |
2943 |
relocations. Use e_lsel selector for R_PARISC_DLTIND21L, |
(elf_msp430_howto_table): Add new relocation entries. |
2944 |
R_PARISC_LTOFF_FPTR21L and R_PARISC_LTOFF_TP21L as per |
(bfd_elf32_bfd_reloc_type_lookup): New relocation handlers. |
2945 |
"Processor-Specific ELF for PA_RISC, Version 1.43" document. |
(msp430_elf_relax_section): New function. |
2946 |
Similarly, use e_rsel for DLT and LTOFF 'R' relocations. |
(msp430_elf_relax_delete_bytes): New function. |
2947 |
* elf32-hppa.c (final_link_relocate): Revise relocation selectors |
(msp430_elf_symbol_address_p): New function. |
|
as per "Processor-Specific ELF for PA_RISC, Version 1.43" document. |
|
2948 |
|
|
2949 |
2002-03-05 Jakub Jelinek <jakub@redhat.com> |
2004-08-24 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
2950 |
|
|
2951 |
* merge.c (_bfd_merge_sections): Don't segfault if there |
* elf32-m32r.c (m32r_elf_relocate_section): Handle |
2952 |
is nothing to merge due to GC. |
R_M32R_SDA16_RELA in the same way as R_M32R_SDA16. |
2953 |
|
|
2954 |
2002-03-05 Alan Modra <amodra@bigpond.net.au> |
2004-08-20 Daniel Jacobowitz <dan@debian.org> |
2955 |
|
|
2956 |
* elf32-hppa.c (clobber_millicode_symbols): Remove hack to keep |
* elflink.c (_bfd_elf_section_already_linked): Handle |
2957 |
symbols that have been forced local. |
SEC_LINK_DUPLICATES_SAME_CONTENTS. |
2958 |
|
|
2959 |
* elflink.h (elf_bfd_final_link): Call elf_link_output_extsym |
2004-08-19 Mark Mitchell <mark@codesourcery.com> |
|
to output forced local syms for non-shared link. |
|
|
(elf_link_output_extsym): Tweak condition for calling backend |
|
|
adjust_dynamic_symbol so that previous behaviour is kept. |
|
|
Whitespace changes throughout file. |
|
2960 |
|
|
2961 |
2002-03-04 H.J. Lu <hjl@gnu.org> |
* config.bfd (arm*-*-symbianelf*): New target. |
2962 |
|
(arm*-*-eabi*): Likewise. |
2963 |
|
|
2964 |
* elf.c (bfd_section_from_shdr): Handle special sections, |
2004-08-19 Alan Modra <amodra@bigpond.net.au> |
|
.init_array, .fini_array and .preinit_array. |
|
|
(elf_fake_sections): Likewise. |
|
2965 |
|
|
2966 |
* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Create the |
* elf64-ppc.c (ppc_get_stub_entry): Change third param to a |
2967 |
DT entry only if the section is in output for .init_array, |
"struct ppc_link_hash_entry *". |
2968 |
.fini_array and .preinit_array. Complain about .preinit_array |
(ppc64_elf_relocate_section): Ditto for type of h. Introduce h_elf |
2969 |
section in DSO. |
to satisfy RELOC_FOR_GLOBAL_SYMBOL. |
|
(elf_bfd_final_link): Warn zero size for .init_array, |
|
|
.fini_array and .preinit_array sections. |
|
2970 |
|
|
2971 |
* elfxx-ia64.c (elfNN_ia64_section_from_shdr): Remove |
2004-08-19 Jakub Jelinek <jakub@redhat.com> |
|
SHT_INIT_ARRAY, SHT_FINI_ARRAY and SHT_PREINIT_ARRAY. |
|
|
(elfNN_ia64_fake_sections): Remove .init_array, .fini_array and |
|
|
.preinit_array. |
|
2972 |
|
|
2973 |
2002-03-04 Alan Modra <amodra@bigpond.net.au> |
* elf64-ppc.c (ppc64_elf_edit_opd): Support 16 byte long .opd |
2974 |
|
entries (where fd_aux overlaps next entry's fd_func). |
2975 |
|
Add non_overlapping argument, use it. |
2976 |
|
(ppc64_elf_check_relocs, ppc64_elf_gc_mark_hook, adjust_opd_syms, |
2977 |
|
ppc64_elf_size_stubs, ppc64_elf_relocate_section, |
2978 |
|
ppc64_elf_output_symbol_hook): Use address / 8 instead of address / 24 |
2979 |
|
as indexes into opd_sym_map/opd_adjust array. |
2980 |
|
* elf64-ppc.h (ppc64_elf_edit_opd): Adjust prototype. |
2981 |
|
|
2982 |
* configure.in (WIN32LIBADD): Don't eval PICFLAG assignment. |
2004-08-18 Alan Modra <amodra@bigpond.net.au> |
|
* configure: Regenerate. |
|
2983 |
|
|
2984 |
2002-03-02 Tom Rix <trix@redhat.com> |
* elf64-ppc.c (func_desc_adjust): Give undefined dot-symbols a value |
2985 |
|
if we can look up their function descriptor in a regular file. |
2986 |
|
|
2987 |
* coff64-rs6000.c (xcoff64_howto_table): Replace howto types with |
2004-08-18 Nick Clifton <nickc@redhat.com> |
|
symbolic equiv. |
|
|
* coff-rs6000.c (xcoff_howto_table): Same. |
|
2988 |
|
|
2989 |
2002-03-01 David Mosberger <davidm@hpl.hp.com> |
PR 324 |
2990 |
|
* cofflink.c (coff_link_add_symbols): Check that the comdat |
2991 |
|
pointer in the coff_section_data structure has been initialised |
2992 |
|
before using it. |
2993 |
|
|
2994 |
* elflink.h (size_dynamic_sections): If section named |
2004-08-18 Alan Modra <amodra@bigpond.net.au> |
|
".preinit_array" exists, create DT_PREINIT_ARRAY and |
|
|
DT_PREINIT_ARRAYSZ entries in dynamic table. Analogously for |
|
|
".init_array" and ".fini_array". |
|
|
(elf_bfd_final_link): Handle DT_PREINIT_ARRAYSZ, DT_INIT_ARRAYSZ, |
|
|
DT_FINI_ARRAYSZ, DT_PREINIT_ARRAY, DT_INIT_ARRAY, and |
|
|
DT_FINI_ARRAY. |
|
2995 |
|
|
2996 |
2002-02-26 Andrew Macleod <amacleod@cygnus.com> |
PR 338 |
2997 |
|
* elflink.c (bfd_elf_record_link_assignment): Add comment about |
2998 |
|
changing bfd_link_hash_undefined to bfd_link_hash_new. |
2999 |
|
|
3000 |
* elflink.h (elf_bfd_final_link): Don't crash on SHN_UNDEF local |
2004-08-17 Jakub Jelinek <jakub@redhat.com> |
|
dynsyms. |
|
3001 |
|
|
3002 |
2002-02-25 Alan Modra <amodra@bigpond.net.au> |
* elfxx-target.h (bfd_elfNN_get_synthetic_symtab): Only define |
3003 |
|
if not yet defined. |
3004 |
|
* elf64-ppc.c (bfd_elf64_get_synthetic_symtab): Define. |
3005 |
|
(synthetic_opd, synthetic_relocatable): New variables. |
3006 |
|
(compare_symbols, compare_relocs): New helper routines. |
3007 |
|
(ppc64_elf_get_synthetic_symtab): New function. |
3008 |
|
* bfd.c (bfd_get_synthetic_symtab): Rename dynsyms argument |
3009 |
|
to relsyms. |
3010 |
|
* bfd-in2.h: Regenerated. |
3011 |
|
* elf.c (_bfd_elf_get_synthetic_symtab): Rename dynsyms argument |
3012 |
|
to relsyms. Return 0 if abfd is relocatable. |
3013 |
|
|
3014 |
* elf64-hppa.h: Update copyright date. |
2004-08-17 Alan Modra <amodra@bigpond.net.au> |
3015 |
|
|
3016 |
* elf64-ppc.c (ppc64_elf_check_relocs): Warning fix. |
* elflink.h (elf_gc_sweep): Keep non-alloc, non-load sections. |
|
(ppc64_elf_relocate_section): Don't generate power4 style branch |
|
|
hints for *_BRTAKEN and *_BRNTAKEN relocs. |
|
3017 |
|
|
3018 |
2002-02-22 Jakub Jelinek <jakub@redhat.com> |
2004-08-17 Nick Clifton <nickc@redhat.com> |
3019 |
|
|
3020 |
* elf64-sh64.c (sh_elf64_relocate_section): Fix a typo from my |
* (is_arm_mapping_symbol_name): New function - return true |
3021 |
last patch. |
when a symbol name matches the requirements for an ARM mapping |
3022 |
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. |
symbol name. |
3023 |
|
(arm_elf_find_function): New function based on |
3024 |
|
elf_find_function in elf.c but skipping ARM mapping symbols |
3025 |
|
and including thumb function symbols. |
3026 |
|
(elf32_arm_find_nearest_line): Use arm_elf_find_function. |
3027 |
|
(elf32_arm_output_symbol_hook): Use is_arm_mapping_symbol_name. |
3028 |
|
|
3029 |
2002-02-21 Andreas Jaeger <aj@suse.de> |
2004-08-17 Alan Modra <amodra@bigpond.net.au> |
3030 |
|
|
3031 |
* elf64-x86-64.c: Major rework that introduces all recent changes |
* elf64-ppc.c (ppc64_elf_branch_reloc): New function. |
3032 |
to the x86-64 backend. Get a closer match to elf32-i386. |
(ppc64_elf_howto_raw): Use ppc64_elf_branch_reloc. |
3033 |
(struct elf64_x86_64_dyn_relocs): Rename from |
(ppc64_elf_brtaken_reloc): Here too. |
|
elf64_x86_64_pcrel_relocs_copied, add additional fields. Change |
|
|
all users. |
|
|
(struct elf64_x86_64_link_hash_table): Add short cuts to some |
|
|
sections. |
|
|
(link_hash_newfunc): Rename from elf64_x86_64_link_hash_newfunc, |
|
|
remove casts, initialize new hash members. |
|
|
(create_got_section): New. |
|
|
(elf64_x86_64_create_dynamic_sections): New. |
|
|
(elf64_x86_64_copy_indirect_symbol): New. |
|
|
(elf64_x86_64_check_relocs): Don't allocate space for dynamic |
|
|
relocs, .got or .relgot here but do it in allocate_dynrelocs. |
|
|
Reference count possible .plt and .got entries. Don't test input |
|
|
section SEC_READONLY here to try to avoid copy relocs, and keep |
|
|
dyn_relocs regardless of ELF_LINK_NON_GOT_REF. Don't set |
|
|
DF_TEXTREL here. Delay setting of variables until needed. Cache |
|
|
pointer to "sreloc" section in elf_section_data. Tweak condition |
|
|
under which .got created. Report files with bad relocation |
|
|
section names. |
|
|
(elf64_x86_64_gc_sweep_hook): Sweep dyn_relocs and local_dynrel. |
|
|
Reference count possible .plt entries. Don't deallocate .got and |
|
|
.relgot space here. |
|
|
(elf64_x86_64_adjust_dynamic_symbol): Handle nocopyreloc. Don't |
|
|
do copy reloc processing for weakdefs. Remove redundant casts and |
|
|
aborts. Delay setting of vars until needed. Move creation of |
|
|
dynamic symbols and allocation of .plt and .rela.plt to |
|
|
allocate_dynrelocs. Replace BFD_ASSERT with abort. |
|
|
(WILL_CALL_FINISH_DYNAMIC_SYMBOL): New. |
|
|
(allocate_dynrelocs): New. |
|
|
(readonly_dynrelocs): New. |
|
|
(elf64_x86_64_size_dynamic_sections): Call readonly_dynrelocs. |
|
|
Allocate space for dyn relocs. Replace BFD_ASSERT with abort. |
|
|
Zero out the dynamic allocated content space. |
|
|
(elf64_x86_64_discard_copies): Removed. |
|
|
(elf64_x86_64_relocate_section): Make use of dynamic section |
|
|
short-cuts. Localise vars, and delay setting. Better error |
|
|
reporting, replace BFD_ASSERT with abort. Check |
|
|
ELF_LINK_HASH_DEF_DYNAMIC to see if a symbol is not defined in the |
|
|
regular object file and tread the weak definition as the normal |
|
|
one. Don't discard relocs for undefweak or undefined symbols and |
|
|
check !DEF_REGULAR as well as DEF_DYNAMIC in test for avoided copy |
|
|
relocs. |
|
|
(elf64_x86_64_finish_dynamic_symbol): Don't copy relocs for |
|
|
symbols that have been forced local. Use same test to decide if |
|
|
we can use a relative reloc for got as relocate_section. Expand |
|
|
SHN_UNDEF comment. Move expressions out of function calls. |
|
|
Replace BFD_ASSERT with abort. |
|
|
(bfd_elf64_bfd_final_link): Removed. |
|
|
(elf_backend_copy_indirect_symbol): Define. |
|
|
|
|
|
2002-02-20 Tom Rix <trix@redhat.com> |
|
|
|
|
|
* coff-rs6000.c (xcoff_howto_table): Add 16 bit R_BA. |
|
|
(_bfd_xcoff_reloc_type_lookup): Use it. |
|
|
* coff64-rs6000.c (xcoff64_howto_table): Same. |
|
|
(xcoff64_reloc_type_lookup): Same. |
|
|
|
|
|
2002-02-20 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
|
|
|
|
|
* osf-core.c (osf_core_vec): OSF/1 (Digital Unix) core files are |
|
|
little endian. |
|
|
|
|
|
2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com> |
|
|
|
|
|
* archures.c (bfd_mach_s390_esa): Rename to bfd_mach_s390_31. |
|
|
(bfd_mach_s390_esame): Rename to bfd_mach_s390_64. |
|
|
* bfd-in2.h: Regenerate. |
|
|
* cpu-s390.c (arch_info_struct): Use renamed architecture defines. |
|
|
Replace architecture name "s390" with "s390:31-bit" and "s390:esame" |
|
|
with "s390:64-bit". |
|
|
* elf32-s390.c (elf_howto_table): Add 32 bit pc relative relocations. |
|
|
(elf_s390_reloc_type_lookup): Likewise. |
|
|
(elf_s390_check_relocs): Likewise. |
|
|
(elf_s390_gc_sweep_hook): Likewise. |
|
|
(elf_s390_relocate_section): Likewise. |
|
|
(elf_s390_object_p): Use renamed architecture define. |
|
|
* elf64-s390.c (elf_s390_object_p): Use renamed architecture define. |
|
3034 |
|
|
3035 |
2002-02-19 Frank Ch. Eigler <fche@redhat.com> |
2004-08-17 Alan Modra <amodra@bigpond.net.au> |
3036 |
|
|
3037 |
* syms.c (stt[]): Sorted. Added .init/.fini -> "t" mapping. |
* elf64-ppc.c (add_symbol_adjust): Correct mismatched function |
3038 |
|
symbol visibility. |
3039 |
|
(ppc64_elf_check_directives): Check that we have the right hash |
3040 |
|
table before proceeding. |
3041 |
|
|
3042 |
2002-02-19 Jakub Jelinek <jakub@redhat.com> |
2004-08-17 Alan Modra <amodra@bigpond.net.au> |
3043 |
|
|
3044 |
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Enable |
* elf64-ppc.c (struct ppc64_elf_obj_tdata): Add "deleted_section". |
3045 |
absptr -> pcrel optimization for shared libs. |
(adjust_opd_syms): Attach opd syms for deleted entries to one of |
3046 |
Only create minimal .eh_frame_hdr if absptr FDE encoding in shared |
the sections that will be discarded. |
|
library cannot be converted to pcrel. |
|
|
(_bfd_elf_eh_frame_section_offset): Return -2 if making absptr |
|
|
relative. |
|
|
* elf32-i386.c (elf_i386_relocate_section): If |
|
|
_bfd_elf_section_offset returned -2, skip, but make sure the |
|
|
relocation is installed. |
|
|
* elf32-arm.h (elf32_arm_final_link_relocate): Likewise. |
|
|
* elf32-cris.c (cris_elf_relocate_section): Likewise. |
|
|
* elf32-hppa.c (elf32_hppa_relocate_section): Likewise. |
|
|
* elf32-i370.c (i370_elf_relocate_section): Likewise. |
|
|
* elf32-m68k.c (elf_m68k_relocate_section): Likewise. |
|
|
* elf32-ppc.c (ppc_elf_relocate_section): Likewise. |
|
|
* elf32-s390.c (elf_s390_relocate_section): Likewise. |
|
|
* elf32-sh.c (sh_elf_relocate_section): Likewise. |
|
|
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise. |
|
|
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise. |
|
|
* elf64-s390.c (elf_s390_relocate_section): Likewise. |
|
|
* elf64-sh64.c (sh_elf64_relocate_section): Likewise. |
|
|
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise. |
|
|
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. |
|
|
* elf64-alpha.c (elf64_alpha_relocate_section): Handle |
|
|
_bfd_elf_section_offset returning -2 the same way as -1. |
|
|
* elfxx-ia64.c (elfNN_ia64_install_dyn_reloc): Likewise. |
|
|
* elf32-mips.c (mips_elf_create_dynamic_relocation): Add FIXME |
|
|
and BFD_ASSERT. |
|
|
* elf64-mips.c (mips_elf64_create_dynamic_relocation): Likewise. |
|
|
|
|
|
2002-02-18 Tom Rix <trix@redhat.com> |
|
|
|
|
|
* xcofflink.c (bfd_xcoff_link_gernate_rtinit): Add -brtl support. |
|
|
(bfd_xcoff_size_dynamic_sections): Same. |
|
|
* bfd-in.h (bfd_xcoff_link_generate_rtinit): Same. |
|
|
(bfd_xcoff_size_dynamic_sections): Same. |
|
|
* coff-rs6000.c (xcoff_generate_rtinit): Same. |
|
|
* coff-rs646000.c (xcoff64_generate_rtinit): Same. |
|
|
* libxcoff.h (struct xcoff_backend_data_rec): Same. |
|
|
* xcofflink.c (xcoff_build_ldsyms, xcoff_link_add_symbols): Clean. |
|
|
* bfd-in2.h: Regenerate. |
|
|
|
|
|
2002-02-18 Alan Modra <amodra@bigpond.net.au> |
|
|
|
|
|
* elf64-ppc.c (STFD_FR0_0R1, LFD_FR0_0R1, BLR): Define. |
|
|
(struct ppc_link_hash_table): Add sfpr. |
|
|
(ppc64_elf_link_hash_table_create): Init it. |
|
|
(ppc64_elf_create_dynamic_sections): Split creation of .stub and |
|
|
.glink out to.. |
|
|
(create_linkage_sections): ..here. Make .sfpr too. |
|
|
(ppc64_elf_check_relocs): Call create_linkage_sections, and set |
|
|
dynobj early. |
|
|
(MIN_SAVE_FPR, MAX_SAVE_FPR): Define. |
|
|
(ppc64_elf_func_desc_adjust): Look for missing ._savef* and |
|
|
._restf* functions, and create as needed. |
|
|
(func_desc_adjust): Only force_local for shared libs. |
|
3047 |
|
|
3048 |
2002-02-18 David O'Brien <obrien@FreeBSD.org> |
2004-08-16 Alan Modra <amodra@bigpond.net.au> |
3049 |
|
|
3050 |
* configure.in: Bump version number post 2.12 branching. |
* elflink.c (elf_section_complain_discarded): Ignore .fixup. |
|
* configure: Regenerate. |
|
3051 |
|
|
3052 |
2002-02-17 Hans-Peter Nilsson <hp@bitrange.com> |
2004-08-16 Alan Modra <amodra@bigpond.net.au> |
3053 |
|
|
3054 |
* mmo.c: Correct and improve comments. |
* bfd.c (_bfd_default_error_handler): Account for doubled '%' in |
3055 |
(mmo_write_chunk): Store trailing byte in bfd buffer; don't |
free space available. |
|
zero-pad. Use input to fill up non-empty bfd buffer. |
|
|
(mmo_flush_chunk): New function. |
|
|
(mmo_write_loc_chunk): Add parameter last_vmap, all callers |
|
|
changed. Don't emit location specifier if VMA is same as |
|
|
*LAST_VMAP after omitting leading zero contents. Call |
|
|
mmo_flush_chunk before emitting location specifier. |
|
|
(mmo_write_loc_chunk_list): Call mmo_flush_chunk when finished |
|
|
with mmo_write_loc_chunk calls. |
|
|
(mmo_internal_write_section): Call mmo_flush_chunk after |
|
|
mmo_write_chunk. |
|
|
(mmo_write_symbols_and_terminator): Move :Main to first position |
|
|
in symbol array. Add faked one if it does not exist if there are |
|
|
other symbols. Don't add it if there are no symbols at all. Move |
|
|
out test for value of :Main from symbol loop. Rename table |
|
|
fakemain to maintable and variable mainsym to fakemain. |
|
|
|
|
|
2002-02-15 Richard Henderson <rth@redhat.com> |
|
|
|
|
|
* elf64-alpha.c (elf64_alpha_relocate_section) [BRSGP]: A target |
|
|
section with no got matches any got. Simplify error generaion. |
|
|
|
|
|
2002-02-15 Alan Modra <amodra@bigpond.net.au> |
|
|
|
|
|
Support arbitrary length fill patterns. |
|
|
* linker.c (bfd_new_link_order): Zero all fields with bfd_zalloc. |
|
|
(_bfd_default_link_order): Remove bfd_fill_link_order code. |
|
|
Call default_data_link_order. |
|
|
(default_fill_link_order): Delete. |
|
|
(default_data_link_order): New function. |
|
|
* elf32-mips.c (_bfd_mips_elf_final_link): Replace occurrences |
|
|
of bfd_fill_link_order with bfd_data_link_order. |
|
|
* elf64-alpha.c (elf64_alpha_final_link): Likewise. |
|
|
* elf64-mips.c (mips_elf64_final_link): Likewise. |
|
|
|
|
|
* bfd.c (bfd_scan_vma): Clamp overflows to max bfd_vma value. |
|
|
Correct value returned in "end" for "0x<non-hex>". |
|
|
|
|
|
2002-02-14 Nick Clifton <nickc@cambridge.redhat.com> |
|
|
|
|
|
* cpu-arm.c (processors): Replace 'arch' field with 'mach'. |
|
|
(scan): Test against 'mach' field in info structure. |
|
|
|
|
|
2002-02-14 Alan Modra <amodra@bigpond.net.au> |
|
|
|
|
|
* elf.c (elf_fake_sections): Use SHT_NOBITS when SEC_NEVER_LOAD. |
|
|
|
|
|
2002-02-14 Matt Fredette <fredette@netbsd.org> |
|
3056 |
|
|
3057 |
* elf32-m68k.c (elf32_m68k_print_private_bfd_data): Recognize |
2004-08-16 Alan Modra <amodra@bigpond.net.au> |
|
EF_M68000. |
|
3058 |
|
|
3059 |
2002-02-13 Nick Clifton <nickc@cambridge.redhat.com> |
* pdp11.c (struct pdp11_aout_reloc_external): Delete. Replace |
3060 |
|
occurrences with bfd_byte * thoughout file. |
3061 |
|
|
3062 |
* elf.c (_bfd_elf_make_section_from_shdr): Do not insist on |
* coff-rs6000.c (do_shared_object_padding): Warning fix. |
3063 |
non-zero physical addresses when adjusting the LMAs of new |
(xcoff_write_armap_big): Likewise. |
3064 |
sections. |
(xcoff_write_archive_contents_old): Likewise. |
3065 |
|
(xcoff_write_archive_contents_big): Likewise. |
3066 |
|
|
3067 |
2002-02-12 John David Anglin <dave@hiauly1.hia.nrc.ca> |
* elf64-mmix.c (mmix_elf_get_section_contents): Delete declaration. |
3068 |
|
|
3069 |
* elf-hppa.h (elf_hppa_reloc_final_type): New function stripped |
2004-08-13 Nick Clifton <nickc@redhat.com> |
|
from _bfd_elf_hppa_gen_reloc_type. |
|
|
(_bfd_elf_hppa_gen_reloc_type): Remove duplicate prototype. |
|
|
* elf32-hppa.h (elf32_hppa_reloc_final_type): Add protptype. |
|
|
* elf32-hppa.c: Include elf32-hppa.h before elf-hppa.h. |
|
|
* elf64-hppa.h (elf64_hppa_reloc_final_type): Add protptype. |
|
3070 |
|
|
3071 |
2002-02-12 Alexandre Oliva <aoliva@redhat.com> |
* elf32-arm.h: Convert to ISO C90. |
3072 |
|
|
3073 |
* elf-m10300.c (mn10300_elf_relax_section): Skip section before |
2004-08-13 Alan Modra <amodra@bigpond.net.au> |
|
loading its contents if there's nothing to do in it. |
|
3074 |
|
|
3075 |
2002-02-12 Alan Modra <amodra@bigpond.net.au> |
PR 293 |
3076 |
|
* elf32-hppa.c (elf32_hppa_hide_symbol): Use init_refcount to |
3077 |
|
zero the plt field. |
3078 |
|
|
3079 |
|
2004-08-13 Alan Modra <amodra@bigpond.net.au> |
3080 |
|
|
3081 |
|
* bfd.c (_bfd_default_error_handler): Handle %A and %B. |
3082 |
|
(bfd_archive_filename, bfd_get_section_ident): Delete. |
3083 |
|
* ecofflink.c (bfd_ecoff_debug_accumulate_other): Don't call |
3084 |
|
bfd_archive_filename. |
3085 |
|
* elflink.c (elf_link_input_bfd): Don't use callbacks->error_handler |
3086 |
|
to warn about symbols in discarded sections. Use _bfd_error_handler. |
3087 |
|
* aout-adobe.c (aout_adobe_callback): See below. |
3088 |
|
* aout-cris.c (swap_ext_reloc_in): .. |
3089 |
|
* coff-arm.c (find_thumb_glue, find_arm_glue, |
3090 |
|
coff_arm_relocate_section, bfd_arm_process_before_allocation, |
3091 |
|
coff_arm_merge_private_bfd_data, _bfd_coff_arm_set_private_flags, |
3092 |
|
coff_arm_copy_private_bfd_data): .. |
3093 |
|
* coff-i860.c (i860_reloc_processing): .. |
3094 |
|
* coff-mcore.c (mcore_coff_unsupported_reloc, |
3095 |
|
coff_mcore_relocate_section): .. |
3096 |
|
* coff-ppc.c (coff_ppc_relocate_section): .. |
3097 |
|
* coff-rs6000.c (xcoff_create_csect_from_smclas |
3098 |
|
* coff-sh.c (sh_relax_section, sh_relax_delete_bytes, |
3099 |
|
sh_swap_insns, sh_relocate_section): .. |
3100 |
|
* coff-tic54x.c (tic54x_reloc_processing): .. |
3101 |
|
* coff-tic80.c (coff_tic80_relocate_section): .. |
3102 |
|
* coff64-rs6000.c (xcoff64_create_csect_from_smclas): .. |
3103 |
|
* coffcode.h (styp_to_sec_flags, coff_slurp_line_table, |
3104 |
|
coff_slurp_symbol_table, coff_classify_symbol, |
3105 |
|
coff_slurp_reloc_table): .. |
3106 |
|
* coffgen.c (_bfd_coff_read_string_table): .. |
3107 |
|
* cofflink.c (coff_link_add_symbols, _bfd_coff_link_input_bfd, |
3108 |
|
_bfd_coff_generic_relocate_section): .. |
3109 |
|
* cpu-arm.c (bfd_arm_merge_machines): .. |
3110 |
|
* cpu-sh.c (sh_merge_bfd_arch): .. |
3111 |
|
* elf-hppa.h (elf_hppa_relocate_section): .. |
3112 |
|
* elf.c (bfd_elf_string_from_elf_section, setup_group, |
3113 |
|
_bfd_elf_setup_group_pointers, bfd_section_from_shdr, |
3114 |
|
assign_section_numbers, _bfd_elf_symbol_from_bfd_symbol, |
3115 |
|
copy_private_bfd_data, _bfd_elf_validate_reloc): .. |
3116 |
|
* elf32-arm.h (find_thumb_glue, find_arm_glue, |
3117 |
|
bfd_elf32_arm_process_before_allocation, elf32_thumb_to_arm_stub, |
3118 |
|
elf32_arm_to_thumb_stub, elf32_arm_final_link_relocate, |
3119 |
|
elf32_arm_relocate_section, elf32_arm_set_private_flags, |
3120 |
|
elf32_arm_copy_private_bfd_data, elf32_arm_merge_private_bfd_data): .. |
3121 |
|
* elf32-cris.c (cris_elf_relocate_section, cris_elf_check_relocs, |
3122 |
|
cris_elf_merge_private_bfd_data |
3123 |
|
* elf32-frv.c (elf32_frv_relocate_section, elf32_frv_check_relocs): .. |
3124 |
|
* elf32-gen.c (elf32_generic_link_add_symbols): .. |
3125 |
|
* elf32-hppa.c (hppa_add_stub, hppa_build_one_stub, |
3126 |
|
elf32_hppa_check_relocs, get_local_syms, final_link_relocate, |
3127 |
|
elf32_hppa_relocate_section): .. |
3128 |
|
* elf32-i370.c (i370_elf_merge_private_bfd_data, |
3129 |
|
i370_elf_check_relocs, i370_elf_relocate_section): .. |
3130 |
|
* elf32-i386.c (elf_i386_info_to_howto_rel, elf_i386_check_relocs, |
3131 |
|
elf_i386_relocate_section): .. |
3132 |
|
* elf32-m32r.c (m32r_elf_relocate_section, |
3133 |
|
m32r_elf_merge_private_bfd_data): .. |
3134 |
|
* elf32-m68hc1x.c (m68hc12_add_stub, |
3135 |
|
_bfd_m68hc11_elf_merge_private_bfd_data): .. |
3136 |
|
* elf32-m68k.c (elf_m68k_relocate_section): .. |
3137 |
|
* elf32-mcore.c (mcore_elf_unsupported_reloc, |
3138 |
|
mcore_elf_relocate_section): .. |
3139 |
|
* elf32-ppc.c (ppc_elf_merge_private_bfd_data, bad_shared_reloc, |
3140 |
|
ppc_elf_check_relocs, ppc_elf_relocate_section, |
3141 |
|
ppc_elf_begin_write_processing): .. |
3142 |
|
* elf32-s390.c (elf_s390_check_relocs, invalid_tls_insn, |
3143 |
|
elf_s390_relocate_section): .. |
3144 |
|
* elf32-sh-symbian.c (sh_symbian_import_as, |
3145 |
|
sh_symbian_process_embedded_commands, |
3146 |
|
sh_symbian_relocate_section): .. |
3147 |
|
* elf32-sh.c (sh_elf_relax_section, sh_elf_relax_delete_bytes, |
3148 |
|
sh_elf_swap_insns, sh_elf_relocate_section, sh_elf_check_relocs, |
3149 |
|
sh_elf_merge_private_data): .. |
3150 |
|
* elf32-sparc.c (elf32_sparc_check_relocs, |
3151 |
|
elf32_sparc_relocate_section, |
3152 |
|
elf32_sparc_merge_private_bfd_data): .. |
3153 |
|
* elf32-v850.c (v850_elf_check_relocs, |
3154 |
|
v850_elf_merge_private_bfd_data): .. |
3155 |
|
* elf32-xtensa.c (elf_xtensa_check_relocs, |
3156 |
|
elf_xtensa_relocate_section, elf_xtensa_merge_private_bfd_data): .. |
3157 |
|
* elf64-alpha.c (elf64_alpha_relax_with_lituse, |
3158 |
|
elf64_alpha_relax_got_load, elf64_alpha_size_got_sections, |
3159 |
|
elf64_alpha_relocate_section_r, elf64_alpha_relocate_section): .. |
3160 |
|
* elf64-gen.c (elf64_generic_link_add_symbols): .. |
3161 |
|
* elf64-ppc.c (ppc64_elf_merge_private_bfd_data, ppc_add_stub, |
3162 |
|
ppc64_elf_check_relocs, ppc64_elf_edit_opd, |
3163 |
|
ppc64_elf_relocate_section): .. |
3164 |
|
* elf64-s390.c (elf_s390_check_relocs, invalid_tls_insn, |
3165 |
|
elf_s390_relocate_section): .. |
3166 |
|
* elf64-sh64.c (sh_elf64_relocate_section): .. |
3167 |
|
* elf64-sparc.c (sparc64_elf_check_relocs, |
3168 |
|
sparc64_elf_add_symbol_hook, sparc64_elf_relocate_section, |
3169 |
|
sparc64_elf_merge_private_bfd_data): .. |
3170 |
|
* elf64-x86-64.c (elf64_x86_64_check_relocs, |
3171 |
|
elf64_x86_64_relocate_section): .. |
3172 |
|
* elflink.c (_bfd_elf_add_default_symbol, |
3173 |
|
_bfd_elf_link_assign_sym_version, elf_link_read_relocs_from_section, |
3174 |
|
_bfd_elf_link_output_relocs, elf_link_add_object_symbols, |
3175 |
|
bfd_elf_size_dynamic_sections, elf_link_output_extsym, |
3176 |
|
elf_get_linked_section_vma, elf_fixup_link_order, |
3177 |
|
bfd_elf_final_link, bfd_elf_gc_record_vtinherit, |
3178 |
|
bfd_elf_gc_record_vtinherit, _bfd_elf_section_already_linked): .. |
3179 |
|
* elfxx-ia64.c (elfNN_ia64_relax_section, |
3180 |
|
elfNN_ia64_relocate_section, elfNN_ia64_merge_private_bfd_data): .. |
3181 |
|
* elfxx-mips.c (mips_elf_perform_relocation, |
3182 |
|
_bfd_mips_elf_check_relocs, |
3183 |
|
_bfd_mips_elf_merge_private_bfd_data): .. |
3184 |
|
* ieee.c (ieee_slurp_external_symbols): .. |
3185 |
|
* ihex.c (ihex_bad_byte, ihex_scan, ihex_read_section): .. |
3186 |
|
* libbfd.c (_bfd_generic_verify_endian_match): .. |
3187 |
|
* linker.c (_bfd_generic_link_add_one_symbol, |
3188 |
|
_bfd_generic_section_already_linked): .. |
3189 |
|
* pdp11.c (translate_to_native_sym_flags): .. |
3190 |
|
* pe-mips.c (coff_pe_mips_relocate_section): .. |
3191 |
|
* peicode.h (pe_ILF_build_a_bfd): .. |
3192 |
|
* srec.c (srec_bad_byte): .. |
3193 |
|
* stabs.c (_bfd_link_section_stabs): .. |
3194 |
|
* xcofflink.c (xcoff_link_add_symbols, xcoff_link_input_bfd): .. |
3195 |
|
Replace all uses of bfd_archive_filename and bfd_get_section_ident |
3196 |
|
with corresponding %B and %A in _bfd_error_handler format string. |
3197 |
|
Replace occurrences of "fprintf (stderr," with _bfd_error_handler |
3198 |
|
calls to use %A and %B. Fix "against symbol .. from section" and |
3199 |
|
similar error messages. Combine multiple _bfd_error_handler calls |
3200 |
|
where they were separated due to bfd_archive_filename deficiencies. |
3201 |
|
* bfd-in2.h: Regenerate. |
3202 |
|
|
3203 |
* elf64-ppc.c (ppc64_elf_size_stubs): Correct test for crossing |
2004-08-12 H.J. Lu <hongjiu.lu@intel.com> |
|
64k boundary. |
|
3204 |
|
|
3205 |
* elf64-ppc.c (ppc64_elf_size_dynamic_sections): Add dynamic |
* elf32-i386.c (elf_i386_relocate_section): Report unrecognized |
3206 |
DT_PPC64_OPD and DT_PPC64_OPDSZ tags. |
relocation. |
|
(ppc64_elf_finish_dynamic_sections): Set values for them. |
|
3207 |
|
|
3208 |
2002-02-11 Michael Snyder <msnyder@redhat.com> |
2004-08-10 Alan Modra <amodra@bigpond.net.au> |
3209 |
|
|
3210 |
* elf-bfd.h (elfcore_write_lwpstatus): Add prototype. |
* elf64-ppc.c (struct ppc_link_hash_entry): Add was_undefined. |
3211 |
* elf.c (elfcore_grok_pstatus): Add prototype. |
(struct ppc_link_hash_table): Remove no_multi_toc, multi_toc_needed. |
3212 |
(elfcore_grok_lwpstatus): Add prototype. |
Make emit_stub_syms, stub_error and has_14bit_branch bit-fields. |
3213 |
(elfcore_write_lwpstatus): New function. |
Add twiddled_syms. |
3214 |
(elfcore_write_pstatus): Fix typo, eliminate unnecessary memcpy. |
(link_hash_newfunc): Init was_undefined. |
3215 |
|
(add_symbol_adjust): Don't set undefined dot symbols to defweak; |
3216 |
|
Use undefweak instead. |
3217 |
|
(ppc64_elf_check_directives): Fix undefs chain. |
3218 |
|
(ppc64_elf_next_toc_section): Remove no_multi_toc and multi_toc_needed |
3219 |
|
references. |
3220 |
|
(ppc64_elf_size_stubs): Adjust for add_symbol_adjust change. |
3221 |
|
(undo_symbol_twiddle, ppc64_elf_restore_symbols): New functions. |
3222 |
|
* elf64-ppc.h (ppc64_elf_restore_symbols): Declare. |
3223 |
|
|
3224 |
|
2004-08-09 Jakub Jelinek <jakub@redhat.com> |
3225 |
|
|
3226 |
|
* elf64-x86-64.c (elf64_x86_64_relocate_section): For -fno-pic |
3227 |
|
error, test input_section flags rather than sec. |
3228 |
|
|
3229 |
|
2004-08-09 Alan Modra <amodra@bigpond.net.au> |
3230 |
|
|
3231 |
|
* elf-bfd.h (struct elf_backend_data): Add |
3232 |
|
elf_backend_archive_symbol_lookup. |
3233 |
|
(_bfd_elf_archive_symbol_lookup): Declare. |
3234 |
|
* elflink.c (_bfd_elf_archive_symbol_lookup): New function.. |
3235 |
|
(elf_link_add_archive_symbols): ..extracted from here. Call the |
3236 |
|
backend version. |
3237 |
|
* elfxx-target.h (elf_backend_archive_symbol_lookup): Provide default. |
3238 |
|
(elfNN_bed): Init new field. |
3239 |
|
* elf64-ppc.c (elf_backend_check_directives): Define. |
3240 |
|
(elf_backend_archive_symbol_lookup): Define. |
3241 |
|
(struct ppc_link_hash_table): Add tls_get_add_fd. Make tls_get_add |
3242 |
|
a ppc_link_hash_entry pointer. |
3243 |
|
(get_fdh): Move. |
3244 |
|
(ppc64_elf_archive_symbol_lookup, opd_entry_value): New functions. |
3245 |
|
(add_symbol_adjust, ppc64_elf_check_directives): New functions. |
3246 |
|
(ppc64_elf_check_relocs, ppc64_elf_gc_mark_hook, func_desc_adjust, |
3247 |
|
ppc64_elf_adjust_dynamic_symbol, ppc64_elf_tls_setup, |
3248 |
|
ppc64_elf_tls_optimize, allocate_dynrelocs, ppc_type_of_stub, |
3249 |
|
ppc_build_one_stub, ppc64_elf_size_stubs, ppc64_elf_relocate_section, |
3250 |
|
ppc64_elf_finish_dynamic_symbol): Handle branch relocs to function |
3251 |
|
descriptor symbols. |
3252 |
|
|
3253 |
|
2004-08-09 Alan Modra <amodra@bigpond.net.au> |
3254 |
|
|
3255 |
|
* elf64-ppc.c (struct ppc_link_hash_entry): Expand adjust_done comment. |
3256 |
|
(ppc64_elf_add_symbol_hook): Test for NULL section. |
3257 |
|
(get_sym_h): Formatting. |
3258 |
|
(ppc64_elf_size_stubs): Include reloc addend in value stored as |
3259 |
|
stub target_value. |
3260 |
|
|
3261 |
|
* elf64-ppc.c (ppc64_elf_relocate_section): Combine handling of |
3262 |
|
long branch stubs with code handling plt and r2off branch stubs. |
3263 |
|
|
3264 |
|
2004-08-09 Alan Modra <amodra@bigpond.net.au> |
3265 |
|
|
3266 |
|
* elf-bfd.h (_bfd_elf_gc_mark): Declare. |
3267 |
|
* elflink.c (elf_link_input_bfd): Formatting. |
3268 |
|
(_bfd_elf_gc_mark): Rename from elf_gc_mark and make global. Adjust |
3269 |
|
all callers. |
3270 |
|
* elf64-ppc.c (struct ppc_link_hash_entry): Remove is_entry. |
3271 |
|
(link_hash_newfunc): Don't set it. |
3272 |
|
(ppc64_elf_copy_indirect_symbol): Nor copy it. |
3273 |
|
(ppc64_elf_mark_entry_syms): Delete. |
3274 |
|
(ppc64_elf_gc_mark_hook): Mark entry syms here. Also mark opd |
3275 |
|
sections. Use get_opd_info. |
3276 |
|
* elf64-ppc.h (ppc64_elf_mark_entry_syms): Delete. |
3277 |
|
|
3278 |
|
2004-08-09 Alan Modra <amodra@bigpond.net.au> |
3279 |
|
|
3280 |
|
* elf64-ppc.c (adjust_opd_syms): Fix merge error. |
3281 |
|
|
3282 |
|
* elf64-ppc.c (struct ppc_link_hash_table): Remove have_undefweak. |
3283 |
|
(func_desc_adjust): Don't set have_undefweak. |
3284 |
|
(ppc64_elf_func_desc_adjust): Don't add an extr nop to sfpr. |
3285 |
|
(ppc64_elf_relocate_section): NOP out calls to undefweak functions. |
3286 |
|
|
3287 |
|
* elf64-ppc.c (struct ppc_link_hash_entry): Make "oh" a |
3288 |
|
"struct ppc_link_hash_entry *". Adjust all references. |
3289 |
|
(ppc64_elf_hide_symbol): Correct a comment. |
3290 |
|
|
3291 |
|
* elf64-ppc.c (get_opd_info): New function. |
3292 |
|
(adjust_opd_syms): Use get_opd_info. Define removed symbols as zero. |
3293 |
|
(ppc64_elf_edit_opd): Use get_opd_info. Check that sym has a dot |
3294 |
|
before calling get_fdh. Test fdh rather than h before dereferencing |
3295 |
|
fdh. Mark removed symbols in opd_adjust. |
3296 |
|
(ppc64_elf_tls_optimize): Don't bother with opd adjustment here. |
3297 |
|
(ppc64_elf_relocate_section): Use get_opd_info, and handle removed |
3298 |
|
opd symbols. |
3299 |
|
(ppc64_elf_output_symbol_hook): Likewise. |
3300 |
|
|
3301 |
|
2004-08-06 Paul Brook <paul@codesourcery.com> |
3302 |
|
|
3303 |
|
* elfarm-nabi.c (elf32_arm_howto_table): Add new EABI relocations. |
3304 |
|
(elf32_arm_reloc_map): Add BFD_RELOC_ARM_RELABS32, |
3305 |
|
BFD_RELOC_ARM_ROSEGREL32 and BFD_RELOC_ARM_SBREL32. |
3306 |
|
* reloc.c: Add BFD_RELOC_ARM_RELABS32, BFD_RELOC_ARM_ROSEGREL32 |
3307 |
|
and BFD_RELOC_ARM_SBREL32. |
3308 |
|
* bfd-in2.h, bbfd.h: Regenerate. |
3309 |
|
|
3310 |
|
2004-08-01 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
3311 |
|
|
3312 |
|
* elfxx-mips.c (mips_elf_calculate_relocation): Test only for |
3313 |
|
the dynamic link symbol actually in use. |
3314 |
|
|
3315 |
|
2004-08-01 Stephane Carrez <stcarrez@nerim.fr> |
3316 |
|
|
3317 |
|
* elf32-m68hc1x.c (elf32_m68hc11_size_stubs): Handle bfd_link_hash_new |
3318 |
|
|
3319 |
|
2004-07-31 Joel Brobecker <brobecker@gnat.com> |
3320 |
|
Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
3321 |
|
|
3322 |
|
* elfxx-mips.c (_bfd_mips_elf_symbol_processing): Handle |
3323 |
|
SHN_MIPS_TEXT and SHN_MIPS_DATA. |
3324 |
|
|
3325 |
|
2004-07-30 H.J. Lu <hongjiu.lu@intel.com> |
3326 |
|
Nick Clifton <nickc@redhat.com> |
3327 |
|
|
3328 |
|
PR 290 |
3329 |
|
* bfd.c (_bfd_default_error_handler): Make it global. |
3330 |
|
|
3331 |
|
* elf-bfd.h (elf_backend_data): Add link_order_error_handler. |
3332 |
|
|
3333 |
|
* elf.c (assign_section_numbers): Cope gracefully with sections |
3334 |
|
which have SHF_LINK_ORDER set but no sh_link set up. |
3335 |
|
* elflink.c (elf_get_linked_section_vma): Likewise. |
3336 |
|
|
3337 |
|
* elfxx-ia64.c (elf_backend_link_order_error_handler): New. Set |
3338 |
|
it to NULL. |
3339 |
|
|
3340 |
|
* elfxx-target.h (elf_backend_link_order_error_handler): New. |
3341 |
|
Set it to _bfd_default_error_handler. |
3342 |
|
(elfNN_bed): Add elf_backend_link_order_error_handler. |
3343 |
|
|
3344 |
2002-02-11 Alexandre Oliva <aoliva@redhat.com> |
* libbfd-in.h (_bfd_default_error_handler): New. |
3345 |
|
|
3346 |
* elf32-sh.c: Added missing prototypes. |
* libbfd.h: Regenerated. |
|
* elf32-sh64.c: Likewise. |
|
|
(sh_elf_align_loads): Mark unused args as such. |
|
|
* elf64-sh64.c: Added missing prototypes. |
|
|
(struct elf_sh64_link_hash_entry): Fix typo. |
|
|
(sh_elf64_relocate_section): Fix info argument passed to |
|
|
_bfd_elf_section_offset. |
|
3347 |
|
|
3348 |
2002-02-11 Alan Modra <amodra@bigpond.net.au> |
2004-07-30 Jakub Jelinek <jakub@redhat.com> |
3349 |
|
|
3350 |
* Makefile.am: "make dep-am". |
* archures.c (bfd_mach_sparc_64bit_p): Define. |
3351 |
* Makefile.in: Regenerate. |
* elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Use it. |
3352 |
* aclocal.m4: Regenerate. |
* bfd-in2.h: Rebuilt. |
3353 |
* config.in: Regenerate. |
|
3354 |
|
2004-07-29 Alexandre Oliva <aoliva@redhat.com> |
3355 |
|
|
3356 |
|
Introduce SH2a support. |
3357 |
|
2004-02-18 Corinna Vinschen <vinschen@redhat.com> |
3358 |
|
* archures.c (bfd_mach_sh2a_nofpu): New. |
3359 |
|
* bfd-in2.h: Rebuilt. |
3360 |
|
* cpu-sh.c (SH2A_NOFPU_NEXT): New. |
3361 |
|
(arch_info_struct): Add sh2a_nofpu. |
3362 |
|
* elf32-sh.c (sh_elf_set_mach_from_flags): Handle sh2a_nofpu. |
3363 |
|
2003-12-29 DJ Delorie <dj@redhat.com> |
3364 |
|
* reloc.c: Add relocs for sh2a. |
3365 |
|
* bfd-in2.h: Regenerate. |
3366 |
|
* libbfd.hh: Regenerate. |
3367 |
|
2003-12-01 Michael Snyder <msnyder@redhat.com> |
3368 |
|
* archures.c (bfd_mach_sh2a): New. |
3369 |
|
* bfd-in2.h: Rebuilt. |
3370 |
|
* cpu-sh.c (SH_NEXT, SH2_NEXT, etc.): Change defines to enums. |
3371 |
|
(SH2A_NEXT): New. |
3372 |
|
(arch_info_struct): Add sh2a. |
3373 |
|
* elf32-sh.c (sh_elf_set_mach_from_flags): Handle sh2a. |
3374 |
|
|
3375 |
|
2004-07-28 Nick Clifton <nickc@redhat.com> |
3376 |
|
John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
3377 |
|
|
3378 |
|
PR 273 |
3379 |
|
* som.c (setup_sections): Improve estimation of space sizes in |
3380 |
|
relocatable objects. |
3381 |
|
|
3382 |
|
2004-07-27 Jason Thorpe <thorpej@wasabisystems.com> |
3383 |
|
* config.bfd (hppa*-*-netbsd*): Set targ_defvec to |
3384 |
|
bfd_elf32_hppa_nbsd_vec. Add bfd_elf32_hppa_linux_vec |
3385 |
|
to targ_selvecs. |
3386 |
|
* configure.in (bfd_elf32_hppa_nbsd_vec): Add case. |
3387 |
* configure: Regenerate. |
* configure: Regenerate. |
3388 |
|
* elf32-hppa.c (elf32_hppa_object_p): Add "elf32-hppa-netbsd" |
3389 |
|
case that accepts OSABI=NetBSD and OSABI=SysV. |
3390 |
|
(elf32_hppa_set_gp): For "elf32-hppa-netbsd", set the GP to |
3391 |
|
the base of .got or .data (if .got does not exist). |
3392 |
|
(elf32_hppa_post_process_headers): For elf32-hppa-netbsd, |
3393 |
|
set OSABI=NetBSD. |
3394 |
|
(TARGET_BIG_SYM): Add bfd_elf32_hppa_nbsd_vec case. |
3395 |
|
(TARGET_BIG_NAME): Add "elf32-hppa-netbsd" case. |
3396 |
|
* targets.c (bfd_elf32_hppa_nbsd_vec): Add extern declaration. |
3397 |
|
(_bfd_target_vector): Add bfd_elf32_hppa_nbsd_vec. |
3398 |
|
|
3399 |
|
2004-07-27 H.J. Lu <hongjiu.lu@intel.com> |
3400 |
|
|
3401 |
|
PR 161/251 |
3402 |
|
* elf-bfd.h (bfd_elf_section_data): Add sec_group. |
3403 |
|
(elf_sec_group): Defined. |
3404 |
|
(bfd_elf_match_symbols_in_sections): New prototype. |
3405 |
|
(_bfd_elf_setup_group_pointers): Likewise. |
3406 |
|
|
3407 |
|
* elf.c (bfd_elf_discard_group): Abort. |
3408 |
|
(bfd_elf_set_group_contents): Also include relocation sections. |
3409 |
|
Remove zero-fill for ld -r. |
3410 |
|
(_bfd_elf_setup_group_pointers): New function. |
3411 |
|
(elf_sort_elf_symbol): Likewise. |
3412 |
|
(elf_sym_name_compare): Likewise. |
3413 |
|
(bfd_elf_match_symbols_in_sections): Likewise. |
3414 |
|
|
3415 |
|
* elfcode.h (elf_object_p): Call _bfd_elf_setup_group_pointers. |
3416 |
|
|
3417 |
|
* elflink.c (match_group_member): New. |
3418 |
|
(elf_link_input_bfd): Check group member for discarded section. |
3419 |
|
(try_match_symbols_in_sections): New function. |
3420 |
|
(already_linked): Likewise. |
3421 |
|
(_bfd_elf_section_already_linked): Support mixing comdat group |
3422 |
|
and linkonce section. |
3423 |
|
|
3424 |
|
* libbfd-in.h (bfd_section_already_linked_table_traverse): New. |
3425 |
|
* linker.c (bfd_section_already_linked_table_traverse): New. |
3426 |
|
|
3427 |
2002-02-10 Daniel Jacobowitz <drow@mvista.com> |
* libbfd.h: Regenerated. |
3428 |
|
|
3429 |
* coff-rs6000.c (xcoff_generate_rtinit): Silence uninitialized |
2004-07-27 Tomer Levi <Tomer.Levi@nsc.com> |
|
variable warnings. |
|
|
* elf32-sh.c (sh_elf_relax_section): Silence signed/unsigned |
|
|
comparison warning. |
|
|
* trad-core.c (trad_unix_core_file_p): Silence pointer/integer |
|
|
cast warnings for the common case. |
|
3430 |
|
|
3431 |
2002-02-10 Hans-Peter Nilsson <hp@bitrange.com> |
* reloc.c: Add BFD_RELOC_CRX_SWITCH8, BFD_RELOC_CRX_SWITCH16, |
3432 |
|
BFD_RELOC_CRX_SWITCH32. |
3433 |
|
* bfd-in2.h: Regenerate. |
3434 |
|
* libbfd.h: Regenerate. |
3435 |
|
* elf32-crx.c: Support relocation/relaxation of |
3436 |
|
BFD_RELOC_CRX_SWITCH* types. |
3437 |
|
|
3438 |
* config.bfd (sh-*-linux*, sh-*-elf* | sh-*-rtemself*): Add sh64 |
2004-07-27 Alan Modra <amodra@bigpond.net.au> |
|
vectors. |
|
|
(sh-*-netbsdelf*): New, to trump sh*-*-netbsdelf* and add sh64 |
|
|
vectors. |
|
3439 |
|
|
3440 |
2002-02-09 Richard Henderson <rth@redhat.com> |
* elf64-ppc.c: Correct "Linker stubs" comment. |
3441 |
|
|
3442 |
* elf64-alpha.c (elf64_alpha_howto): Add R_ALPHA_BRSGP. |
2004-07-26 H.J. Lu <hongjiu.lu@intel.com> |
|
(elf64_alpha_reloc_map, elf64_alpha_check_relocs): Likewise. |
|
|
(elf64_alpha_relocate_section): Likewise. |
|
|
* reloc.c (BFD_RELOC_ALPHA_BRSGP): New. |
|
|
* bfd-in2.h, libbfd.h: Rebuild. |
|
3443 |
|
|
3444 |
2002-02-09 Hans-Peter Nilsson <hp@bitrange.com> |
* elf-bfd.h (bfd_elf_section_data): Add a pointer for the |
3445 |
|
linked-to section. |
3446 |
|
(elf_linked_to_section): New. |
3447 |
|
|
3448 |
|
* elf.c (assign_section_numbers): Set up sh_link for |
3449 |
|
SHF_LINK_ORDER. |
3450 |
|
|
3451 |
|
* elfxx-ia64.c (elfNN_ia64_final_write_processing): Set sh_info |
3452 |
|
to sh_link for SHT_IA_64_UNWIND sections. |
3453 |
|
|
3454 |
|
2004-07-22 H.J. Lu <hongjiu.lu@intel.com> |
3455 |
|
|
3456 |
|
* elflink.c (elf_fixup_link_order): Add _() to error message. |
3457 |
|
|
3458 |
|
2004-07-22 H.J. Lu <hongjiu.lu@intel.com> |
3459 |
|
|
3460 |
|
* elflink.c (elf_fixup_link_order): Issue a warning and flag |
3461 |
|
an error if failed. |
3462 |
|
|
3463 |
|
2004-07-21 H.J. Lu <hongjiu.lu@intel.com> |
3464 |
|
|
3465 |
|
* aout-adobe.c (aout_32_section_already_linked): Defined. |
3466 |
|
* aout-target.h (MY_section_already_linked): Likewise. |
3467 |
|
* aout-tic30.c (MY_section_already_linked): Likewise. |
3468 |
|
* binary.c (binary_section_already_linked): Likewise. |
3469 |
|
* bout.c (b_out_section_already_linked): Likewise. |
3470 |
|
* coff-alpha.c (_bfd_ecoff_section_already_linked): Likewise. |
3471 |
|
* coff-mips.c (_bfd_ecoff_section_already_linked): Likewise. |
3472 |
|
* coffcode.h (coff_section_already_linked): Likewise. |
3473 |
|
* i386msdos.c (msdos_section_already_linked): Likewise. |
3474 |
|
* i386os9k.c (os9k_section_already_linked): Likewise. |
3475 |
|
* ieee.c (ieee_section_already_linked): Likewise. |
3476 |
|
* ihex.c (ihex_section_already_linked): Likewise. |
3477 |
|
* mach-o.c (bfd_mach_o_section_already_linked): Likewise. |
3478 |
|
* mmo.c (mmo_section_already_linked): Likewise. |
3479 |
|
* nlm-target.h (nlm_section_already_linked): Likewise. |
3480 |
|
* oasys.c (oasys_section_already_linked): Likewise. |
3481 |
|
* pef.c (bfd_pef_section_already_linked): Likewise. |
3482 |
|
* ppcboot.c (ppcboot_section_already_linked): Likewise. |
3483 |
|
* som.c (som_bfd_discard_group): Likewise. |
3484 |
|
* srec.c (srec_section_already_linked): Likewise. |
3485 |
|
* tekhex.c (tekhex_section_already_linked): Likewise. |
3486 |
|
* versados.c (versados_section_already_linked): Likewise. |
3487 |
|
* vms.c (vms_section_already_linked): Likewise. |
3488 |
|
* coff-target.h (_bfd_xcoff_section_already_linked): Likewise. |
3489 |
|
* xsym.c (bfd_sym_section_already_linked): Likewise. |
3490 |
|
|
3491 |
* elf64-mmix.c (_bfd_mmix_finalize_linker_allocated_gregs): Check |
* bfd-in.h (bfd_section_already_linked_table_init): New. |
3492 |
that base-plus-offset reloc accounting is consistent. |
(bfd_section_already_linked_table_free): Likewise. |
|
(mmix_elf_relax_section): Keep base-plus-offset reloc accounting |
|
|
up to date for undefined symbols. |
|
3493 |
|
|
3494 |
2002-02-08 Eric Christopher <echristo@redhat.com> |
* coff-rs6000.c (rs6000coff_vec): Add |
3495 |
|
_bfd_generic_section_already_linked. |
3496 |
|
(pmac_xcoff_vec): Likewise. |
3497 |
|
* coff64-rs6000.c (rs6000coff64_vec): Likewise. |
3498 |
|
(aix5coff64_vec): Likewise. |
3499 |
|
|
3500 |
From Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
* elf-bfd.h (_bfd_elf_section_already_linked): New prototype. |
3501 |
|
* elflink.c (_bfd_elf_section_already_linked): New function. |
3502 |
|
|
3503 |
* elf32-mips.c (_bfd_mips_elf_fake_sections): Don't create .rela |
* elfxx-target.h (bfd_elfNN_section_already_linked): Defined. |
|
sections for the O32 ABI. |
|
3504 |
|
|
3505 |
2002-02-08 Chris Demetriou <cgd@broadcom.com> |
* libbfd-in.h (_bfd_nolink_section_already_linked): Defined. |
3506 |
|
(_bfd_generic_section_already_linked): New. |
3507 |
|
(bfd_section_already_linked_hash_entry): Likewise. |
3508 |
|
(bfd_section_already_linked): Likewise. |
3509 |
|
(bfd_section_already_linked_table_lookup): Likewise. |
3510 |
|
(bfd_section_already_linked_table_insert): Likewise. |
3511 |
|
|
3512 |
|
* linker.c (bfd_section_already_linked): New. |
3513 |
|
(_bfd_section_already_linked_table): Likewise. |
3514 |
|
(bfd_section_already_linked_table_lookup): Likewise. |
3515 |
|
(bfd_section_already_linked_table_insert): Likewise. |
3516 |
|
(already_linked_newfunc): Likewise. |
3517 |
|
(bfd_section_already_linked_table_init): Likewise. |
3518 |
|
(bfd_section_already_linked_table_free): Likewise. |
3519 |
|
(_bfd_generic_section_already_linked): Likewise. |
3520 |
|
|
3521 |
|
* section.c (bfd_section): Remove comdat. |
3522 |
|
(bfd_comdat_info): Moved to ... |
3523 |
|
* bfd-in.h (coff_comdat_info): Here. |
3524 |
|
(bfd_coff_get_comdat_section): New. |
3525 |
|
* coffgen.c (bfd_coff_get_comdat_section): Likewise. |
3526 |
|
* libcoff-in.h (coff_section_tdata): Add comdat. |
3527 |
|
* coffcode.h (handle_COMDAT): Updated. |
3528 |
|
* cofflink.c (coff_link_add_symbols): Likewise. |
3529 |
|
* ecoff.c (bfd_debug_section): Likewise. |
3530 |
|
|
3531 |
* elf32-arm.h: Fix formatting of _("..."). |
* targets.c (bfd_target): Add _section_already_linked. |
3532 |
* elf32-d10v.c: Likewise. |
(BFD_JUMP_TABLE_LINK): Updated. |
|
* elf32-m68k.c: Likewise. |
|
|
* elf32-mips.c: Likewise. |
|
3533 |
|
|
3534 |
2002-02-08 Ivan Guzvinec <ivang@opencores.org> |
* bfd-in2.h: Regenerated. |
3535 |
|
* libbfd.h: Likewise. |
3536 |
|
* libcoff.h: Likewise. |
3537 |
|
|
3538 |
* coff-or32.c: Fix compile time warning messages. |
2003-07-21 Paul Brook <paul@codesourcery.com> |
3539 |
|
|
3540 |
2002-02-08 Alexandre Oliva <aoliva@redhat.com> |
* elflink.c (elf_get_linked_section_vma, compare_link_order, |
3541 |
|
elf_fixup_link_order): New functions. |
3542 |
|
(bfd_elf_final_link): Call elf_fixup_link_order. |
3543 |
|
|
3544 |
|
2004-07-21 Alexandre Oliva <aoliva@redhat.com> |
3545 |
|
|
3546 |
|
* elf-bfd.h (ELF_COMMON_DEF_P): New. |
3547 |
|
* elflink.c (_bfd_elf_symbol_refs_local_p): Use it to handle |
3548 |
|
common definitions. |
3549 |
|
* elf-m10300.c: Use SYMBOL_REFERENCES_LOCAL instead of |
3550 |
|
_bfd_elf_symbol_refs_local_p. |
3551 |
|
* elf32-frv.c (FRVFDPIC_SYM_LOCAL): Remove hack for common |
3552 |
|
symbols. |
3553 |
|
|
3554 |
|
2004-07-19 H.J. Lu <hongjiu.lu@intel.com> |
3555 |
|
|
3556 |
|
* bfd-in.h (dynamic_lib_link_class): Add DYN_NO_ADD_NEEDED and |
3557 |
|
DYN_NO_NEEDED. |
3558 |
|
(bfd_elf_get_dyn_lib_class): New prototype. |
3559 |
|
* elf.c (bfd_elf_get_dyn_lib_class): New function. |
3560 |
|
|
3561 |
|
* elflink.c (elf_link_add_object_symbols): Check DYN_AS_NEEDED, |
3562 |
|
DYN_DT_NEEDED and DYN_NO_NEEDED bits to see if a DT_NEEDED |
3563 |
|
entry is needed. Issue an error if a DT_NEEDED entry is needed |
3564 |
|
for a file marked DYN_NO_NEEDED. |
3565 |
|
(elf_link_check_versioned_symbol): Check the DYN_DT_NEEDED bit |
3566 |
|
for DT_NEEDED tags. |
3567 |
|
|
3568 |
Contribute sh64-elf. |
* bfd-in2.h: Regenerated. |
3569 |
2002-01-23 Alexandre Oliva <aoliva@redhat.com> |
|
3570 |
* reloc.c (R_SH_GOTPLT32, R_SH_GOT_LOW16, R_SH_GOT_MEDLOW16, |
2004-07-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
3571 |
R_SH_GOT_MEDHI16, R_SH_GOT_HI16, R_SH_GOTPLT_LOW16, |
|
3572 |
R_SH_GOTPLT_MEDLOW16, R_SH_GOTPLT_MEDHI16, R_SH_GOTPLT_HI16, |
* elflink.c (elf_section_complain_discarded): Don't complain in |
3573 |
R_SH_PLT_LOW16, R_SH_PLT_MEDLOW16, R_SH_PLT_MEDHI16, |
.PARISC.unwind. |
3574 |
R_SH_PLT_HI16, R_SH_GOTOFF_LOW16, R_SH_GOTOFF_MEDLOW16, |
|
3575 |
R_SH_GOTOFF_MEDHI16, R_SH_GOTOFF_HI16, R_SH_GOTPC_LOW16, |
2004-07-10 James E Wilson <wilson@specifixinc.com> |
3576 |
R_SH_GOTPC_MEDLOW16, R_SH_GOTPC_MEDHI16, R_SH_GOTPC_HI16, |
|
3577 |
R_SH_GOT10BY4, R_SH_GOTPLT10BY4, R_SH_GOT10BY8, R_SH_GOTPLT10BY8, |
* elfxx-ia64.c (elfNN_ia64_relax_ldxmov): Remove abfd parameter. |
3578 |
R_SH_COPY64, R_SH_GLOB_DAT64, R_SH_JMP_SLOT64, R_SH_RELATIVE64): |
(elfNN_ia64_install_value, elfNN_ia64_relax_brl): Likewise. |
3579 |
New relocs. |
(elfNN_ia64_relax_section, elfNN_ia64_relocate_section, |
3580 |
* libbfd.h, bfd-in2.h: Rebuilt. |
elfNN_ia64_finish_dynamic_symbol, elfNN_ia64_finish_dynamic_sections): |
3581 |
* elf32-sh.c (sh_elf_howto_table): Define new relocs. |
Fix callers. |
3582 |
(sh_reloc_map): Map them. |
(elfNN_ia64_relax_brl): Change bfd_get_64 to bfd_getl64. Change |
3583 |
(PLT_ENTRY_SIZE, elf_sh_plt0_entry_be, elf_sh_plt0_entry_le, |
bfd_put_64 to bfd_putl64. |
3584 |
elf_sh_plt_entry_be, elf_sh_plt_entry_le, elf_sh_pic_plt_entry_be, |
(elfNN_ia64_relax_ldxmov, elfNN_ia64_install_value): Likewise. |
3585 |
elf_sh_pic_plt_entry_le, elf_sh_plt0_entry, elf_sh_plt_entry, |
|
3586 |
elf_sh_pic_plt_entry, elf_sh_sizeof_plt, elf_sh_plt_plt0_offset, |
2004-07-09 H.J. Lu <hongjiu.lu@intel.com> |
3587 |
elf_sh_plt0_gotplt_offset, elf_sh_plt_temp_offset, |
|
3588 |
elf_sh_plt_symbol_offset, elf_sh_plt_reloc_offset, |
PR 240 |
3589 |
movi_shori_putval) [INCLUDE_SHMEDIA]: New. |
* elfxx-ia64.c (elfNN_ia64_relax_section): Only warn br in |
3590 |
(elf_sh_link_hash_entry) [INCLUDE_SHMEDIA]: Add |
.init/.fini sections when trying to relax it. |
3591 |
datalabel_got_offset. |
|
3592 |
(sh_elf_link_hash_newfunc): Initialize it. |
2004-07-09 Jie Zhang <zhangjie@magima.com.cn> |
3593 |
(sh_elf_relocate_section): Augment the scope of |
|
3594 |
seen_stt_datalabel. Introduce GOTPLT support. Extend GOTPC, PLT, |
* elf.c (assign_file_positions_for_segments): Make sure the |
3595 |
GOT and GOTOFF handling to new SHmedia relocation types. Support |
.dynamic section is the first section in the PT_DYNAMIC segment. |
3596 |
GOT_BIAS. |
|
3597 |
(sh_elf_check_relocs): Likewise. |
2004-07-09 Nick Clifton <nickc@redhat.com> |
3598 |
(sh_elf_finish_dynamic_symbol) [TARGET_SHMEDIA]: Set up values in |
|
3599 |
PLT entries using movi_shori_putval. Support GOT_BIAS. |
* config.bfd: Change sh-sybmian-elf to sh-*-symbianelf. |
3600 |
(sh_elf_finish_dynamic_sections): Likewise. |
* elf32-sh-symbian.c: Rename the sh_find_elf_flags and |
3601 |
* elf32-sh64.c (shmedia_prepare_reloc): Do not add addend to |
sh_elf_get_flags_from_mach functions so that they do not conflict |
3602 |
relocation, it's now done by the caller. |
when this target is built with other sh-elf targets. |
3603 |
(GOT_BIAS): New. |
* elf32-sh.c (sh_elf_get_flags_from_mach): Remove bogus |
3604 |
* elf64-sh64.c (GOT_BIAS, PLT_ENTRY_SIZE, elf_sh64_sizeof_plt, |
suppression of this function. |
3605 |
elf_sh64_plt_plt0_offset, elf_sh64_plt0_gotplt_offset, |
(sh_elf_find_flags): Likewise. |
3606 |
elf_sh64_plt_temp_offset, elf_sh64_plt_symbol_offset, |
|
3607 |
elf_sh64_plt_reloc_offset, ELF_DYNAMIC_INTERPRETER, |
2004-07-07 Tomer Levi <Tomer.Levi@nsc.com> |
3608 |
elf_sh64_pcrel_relocs_copied, elf_sh64_link_hash_entry, |
|
3609 |
elf_sh64_link_hash_table, sh64_elf64_link_hash_traverse, |
* Makefile.am (ALL_MACHINES): Add cpu-crx.lo. |
3610 |
sh64_elf64_hash_table): New. |
(ALL_MACHINES_CFILES): Add cpu-crx.c. |
3611 |
(sh_elf64_howto_table): Introduce new relocs. |
(BFD32_BACKENDS): Add elf32-crx.lo. |
3612 |
(sh_elf64_info_to_howto): Accept new PIC relocs. |
(BFD32_BACKENDS_CFILES): Add elf32-crx.c. |
3613 |
(sh_elf64_relocate_section): Augment the scope of |
(cpu-crx.lo): New target. |
3614 |
seen_stt_datalabel. Support new PIC relocs. |
(elf32-crx.lo): New target. |
|
(sh_elf64_check_relocs): Support new PIC relocs. |
|
|
(elf_sh64_plt0_entry_be, elf_sh64_plt0_entry_le, |
|
|
elf_sh64_plt_entry_be, elf_sh64_plt_entry_le, |
|
|
elf_sh64_pic_plt_entry_be, elf_sh64_pic_plt_entry_le, |
|
|
elf_sh64_plt0_entry, elf_sh64_plt_entry, elf_sh64_pic_plt_entry, |
|
|
sh64_elf64_link_hash_newfunc, sh64_elf64_link_hash_table_create, |
|
|
movi_shori_putval, movi_3shori_putval, |
|
|
sh64_elf64_create_dynamic_sections, |
|
|
sh64_elf64_adjust_dynamic_symbol, sh64_elf64_discard_copies, |
|
|
sh64_elf64_size_dynamic_sections, |
|
|
sh64_elf64_finish_dynamic_symbol, |
|
|
sh64_elf64_finish_dynamic_sections): New. |
|
|
(elf_backend_create_dynamic-sections, |
|
|
bfd_elf64_bfd_link_hash_table_create, |
|
|
elf_backend_adjust_dynamic_symbol, |
|
|
elf_backend_size_dynamic_sections, |
|
|
elf_backend_finish_dynamic_symbol, |
|
|
elf_backend_finish_dynamic_sections, elf_backend_want_got_plt, |
|
|
elf_backend_plt_readonly, elf_backend_want_plt_sym, |
|
|
elf_backend_got_header_size, elf_backend_plt_header_size): |
|
|
Define. |
|
|
2001-05-16 Alexandre Oliva <aoliva@redhat.com> |
|
|
* elf32-sh.c: Renumbered and renamed some SH5 relocations to |
|
|
match official numbers and names; moved unmaching ones to the |
|
|
range 0xf2-0xff. |
|
|
* elf32-sh64.c, elf64-sh64.c: Likewise. |
|
|
2001-03-12 DJ Delorie <dj@redhat.com> |
|
|
* elf32-sh.c (sh_elf_relax_section): Don't relax SHmedia |
|
|
sections. |
|
|
2001-03-12 DJ Delorie <dj@redhat.com> |
|
|
* elf32-sh64.c (shmedia_prepare_reloc): Validate relocs that must |
|
|
be aligned. |
|
|
* elf64-sh64.c (sh_elf64_relocate_section): Ditto. |
|
|
2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com> |
|
|
* elf32-sh64.c (bfd_elf32_bfd_copy_private_section_data): Define. |
|
|
(sh64_elf_fake_sections): Set type to SHT_SH5_CR_SORTED for a |
|
|
.cranges section with SEC_SORT_ENTRIES set. |
|
|
(sh64_backend_section_from_shdr): Set SEC_SORT_ENTRIES on an |
|
|
incoming sorted .cranges section. |
|
|
(sh64_bfd_elf_copy_private_section_data): New. |
|
|
(sh64_elf_final_write_processing): Only sort .cranges and modify |
|
|
start address if called by linker. |
|
|
2001-01-08 Ben Elliston <bje@redhat.com> |
|
|
* elf32-sh64.c (sh64_elf_final_write_processing): Activate |
|
|
Hans-Peter Nilsson's set bit 0 patch from 2001-01-06. |
|
|
* elf64-sh64.c (sh64_elf64_final_write_processing): Ditto. |
|
|
2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com> |
|
|
* elf64-sh64.c (sh_elf64_howto_table): No open brace at start of |
|
|
line. Add comments before all entries. |
|
|
<R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct and clarify describing |
|
|
comment. |
|
|
(sh_elf64_reloc): Correct head comment. |
|
|
(sh_elf64_relocate_section): Correct spacing. |
|
|
<relocating for a local symbol>: Do not honour STO_SH5_ISA32; |
|
|
instead call reloc_dangerous callback. |
|
|
<case R_SH_SHMEDIA_CODE>: New case. |
|
|
(sh_elf64_gc_mark_hook): Correct spacing. |
|
|
(sh_elf64_check_relocs): Ditto. |
|
|
* elf32-sh64.c (shmedia_prepare_reloc) <case R_SH_SHMEDIA_CODE>: |
|
|
New case. |
|
|
* elf32-sh.c: Correct #endif comments for #ifndef-wrapped |
|
|
functions. |
|
|
(sh_elf_howto_table) <R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct, |
|
|
clarify describing comment. Add comments before all entries. |
|
|
(sh_elf_relocate_section) <relocating for a local symbol>: Do not |
|
|
honour STO_SH5_ISA32; instead call reloc_dangerous callback. |
|
|
2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com> |
|
|
Sort .cranges section in final link. Prepare to set bit 0 on |
|
|
entry address. |
|
|
* elf32-sh64.c (struct sh64_find_section_vma_data): New. |
|
|
(sh64_elf_link_output_symbol_hook): Fix typo in prototype. |
|
|
(sh64_elf_set_mach_from_flags): Set SEC_DEBUGGING on incoming |
|
|
.cranges section. |
|
|
(sh64_backend_section_from_shdr): New, to recognize |
|
|
SHT_SH5_CR_SORTED on incoming .cranges section. |
|
|
(elf_backend_section_from_shdr): Define. |
|
|
(sh64_elf_final_write_processing): Sort outgoing .cranges |
|
|
section. (New, temporarily disabled:) Set bit 0 on entry address |
|
|
according to ISA type. |
|
|
(sh64_find_section_for_address): New. |
|
|
(crange_qsort_cmpb, crange_qsort_cmpl, crange_bsearch_cmpb, |
|
|
crange_bsearch_cmpl): Move here from opcodes/sh64-dis.c. |
|
|
(sh64_address_in_cranges): Move here from opcodes/sh64-dis.c. Use |
|
|
bfd_malloc, not xmalloc. |
|
|
(sh64_get_contents_type): Move here from opcodes/sh64-dis.c. Make |
|
|
global. |
|
|
* elf32-sh64.c (sh64_elf64_final_write_processing): New, (but |
|
|
temporarily disabled) setting bit 0 on entry address. |
|
|
(elf_backend_final_write_processing): Define. |
|
|
2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com> |
|
|
* elf32-sh.c (sh_elf_howto_table) <R_SH_PT_16>: Adjust fields to |
|
|
be a proper relocation for PTA and PTB rather than a marker. |
|
|
<R_SH_IMMU5, R_SH_IMMS6, R_SH_IMMU6, R_SH_IMMS10, R_SH_IMMS10BY2, |
|
|
R_SH_IMMS10BY4, R_SH_IMMS10BY8, R_SH_IMMS16, R_SH_IMMU16, |
|
|
R_SH_IMM_LOW16, R_SH_IMM_LOW16_PCREL, R_SH_IMM_MEDLOW16, |
|
|
R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16, R_SH_IMM_MEDHI16_PCREL, |
|
|
R_SH_IMM_HI16, R_SH_IMM_HI16_PCREL, R_SH_64, R_SH_64_PCREL>: |
|
|
Zero src_mask. |
|
|
* elf64-sh64.c: Ditto. |
|
|
(sh_elf64_relocate_section) <case R_SH_PT_16>: New case. |
|
|
* elf32-sh64.c: Include opcodes/sh64-opc.h |
|
|
(shmedia_prepare_reloc): Take a bfd_link_info pointer as first |
|
|
argument. Drop const qualifiers from "bfd *" and "bfd_byte *" |
|
|
parameters. No unused parameters. Caller changed. |
|
|
<case R_SH_PT_16>: New case. |
|
|
* Makefile.am (elf32-sh64.lo): Add dependency on sh64-opc.h. |
|
|
* Makefile.in: Regenerate. |
|
|
2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com> |
|
|
* elf64-sh64.c (sh64_elf64_fake_sections): Set SHF_SH5_ISA32 for |
|
|
all code sections. |
|
|
(sh_elf64_set_mach_from_flags): Change from EF_SH64 to EF_SH5. |
|
|
(sh64_elf_merge_private_data): Ditto. |
|
|
* elf32-sh64.c (sh64_elf_fake_sections): Use sh64_elf_section_data |
|
|
to access stored section flags. |
|
|
(sh64_elf_final_write_processing): Return immediately unless |
|
|
called by linker. Use sh64_elf_section_data (cranges) to get size |
|
|
of linker-generated cranges entries. |
|
|
(sh64_elf_copy_private_data): Add missing "return true". |
|
|
(sh64_elf_set_mach_from_flags): Change from EF_SH64 to EF_SH5. |
|
|
(sh_elf64_merge_private_data): Ditto. |
|
|
2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com> |
|
|
* elf64-sh64.c (sh64_elf64_fake_sections): New, copy of |
|
|
elf64-sh64.c:sh64_elf_fake_sections. |
|
|
(elf_backend_fake_sections): Define as sh64_elf64_fake_sections. |
|
|
2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com> |
|
|
* elf32-sh64.c (sh64_elf_copy_private_data_internal): Delete. |
|
|
(sh64_elf_final_write_processing): New. |
|
|
(elf_backend_final_write_processing): Define. |
|
|
(sh64_elf_fake_sections): Get header flags from tdata field. |
|
|
(sh64_elf_copy_private_data): Do not call |
|
|
sh64_elf_copy_private_data_internal, just copy e_flags field. |
|
|
(sh64_elf_merge_private_data): Do not call |
|
|
sh64_elf_copy_private_data_internal. |
|
|
2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com> |
|
|
Remove EF_SH64_ABI64, let ELF size make difference. |
|
|
Remove SH64-specific BFD section flag. |
|
|
* elf32-sh64.c (sh64_elf_fake_sections): Recognize section as |
|
|
containing SHmedia through elf_section_data (asect)->tdata |
|
|
non-zero, not using a BFD section flag. |
|
|
(sh64_elf_set_mach_from_flags): Don't recognize EF_SH64_ABI64. |
|
|
(sh64_elf_merge_private_data): Similar. |
|
|
(elf_backend_section_flags): Don't define. |
|
|
(sh64_elf_backend_section_flags): Delete. |
|
|
* elf64-sh64.c (sh_elf64_set_mach_from_flags): Recognize EF_SH64, |
|
|
not EF_SH64_ABI64. |
|
|
(sh_elf64_merge_private_data): Similar. |
|
|
* section.c (Section flags definitions): Don't define |
|
|
SEC_SH_ISA_SHMEDIA. |
|
|
(bfd-in2.h): Regenerate. |
|
|
2000-12-09 Hans-Peter Nilsson <hpn@cygnus.com> |
|
|
Make DataLabel references work with partial linking. |
|
|
* elf32-sh64.c: Fix formatting. |
|
|
(sh64_elf_link_output_symbol_hook): New. |
|
|
(elf_backend_link_output_symbol_hook): Define to |
|
|
sh64_elf_link_output_symbol_hook. |
|
|
(sh64_elf_add_symbol_hook): Make DataLabel symbol just global |
|
|
undefined if partial linking. Adjust sanity check. |
|
|
* elf64-sh64.c (sh64_elf64_link_output_symbol_hook): New. |
|
|
(elf_backend_link_output_symbol_hook): Define to |
|
|
sh64_elf64_link_output_symbol_hook. |
|
|
(sh64_elf64_add_symbol_hook): Make DataLabel symbol just global |
|
|
undefined if partial linking. Adjust sanity check. |
|
|
2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com> |
|
|
Implement semantics for inter-file DataLabel references. |
|
|
* elf64-sh64.c (DATALABEL_SUFFIX): Define. |
|
|
(sh64_elf64_add_symbol_hook): New. |
|
|
(sh_elf64_relocate_section): If passing an indirect symbol with |
|
|
st_type STT_DATALABEL on the way to a symbol with st_other |
|
|
STO_SH5_ISA32, do not bitor 1 to the relocation. |
|
|
(elf_backend_add_symbol_hook): Define to |
|
|
sh64_elf64_add_symbol_hook. |
|
|
* elf64-sh32.c: Tweak comments. |
|
|
(DATALABEL_SUFFIX): Define. |
|
|
(sh64_elf_add_symbol_hook): New. |
|
|
(elf_backend_add_symbol_hook): Define to sh64_elf_add_symbol_hook. |
|
|
* elf32-sh.c (sh_elf_relocate_section): If passing an indirect |
|
|
symbol with st_type STT_DATALABEL on the way to a symbol with |
|
|
st_other STO_SH5_ISA32, do not bitor 1 to the relocation. |
|
|
2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com> |
|
|
Pass through STT_DATALABEL. |
|
|
* elf32-sh64.c (sh64_elf_get_symbol_type): New. |
|
|
(elf_backend_get_symbol_type): Define. |
|
|
* elf64-sh64.c (sh64_elf64_get_symbol_type): New. |
|
|
(elf_backend_get_symbol_type): Define. |
|
|
2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com> |
|
|
* elf32-sh64.c: Tweak comments. |
|
|
(sh64_elf_copy_private_data_internal): Add prototype. |
|
|
(bfd_elf32_bfd_set_private_flags): Define. |
|
|
(sh64_elf_copy_private_data_internal): Compare machine name, not |
|
|
textual BFD target name, to check whether to copy section flag |
|
|
SHF_SH5_ISA32. |
|
|
(sh64_elf_merge_private_data): Validize bfd_get_arch_size. |
|
|
Tweak section-contents-type-mismatch message. |
|
|
(shmedia_prepare_reloc): Add ATTRIBUTE_UNUSED markers. |
|
|
Validize reloc-types. |
|
|
* elf64-sh64.c: New file. |
|
|
* targets.c (bfd_elf64_sh64_vec, bfd_elf64_sh64l_vec): Declare. |
|
|
* Makefile.am (BFD64_BACKENDS): Add elf64-sh64.lo. |
|
|
(BFD64_BACKENDS_CFILES): Add elf64-sh64.c. |
|
|
Regenerate dependencies. |
|
3615 |
* Makefile.in: Regenerate. |
* Makefile.in: Regenerate. |
3616 |
* config.bfd (sh64-*-elf*): Add bfd_elf64_sh64_vec and |
* archures.c (bfd_architecture): Add bfd_{arch,mach}_crx. |
3617 |
bfd_elf64_sh64l_vec. |
(bfd_archures_list): Add bfd_crx_arch. |
3618 |
* configure.in: Handle bfd_elf64_sh64_vec and |
* bfd-in2.h: Regenerate. |
3619 |
bfd_elf64_sh64l_vec. |
* config.bfd: Handle crx-*-elf*, crx*. |
3620 |
|
* configure.in: Handle bfd_elf32_crx_vec. |
3621 |
* configure: Regenerate. |
* configure: Regenerate. |
3622 |
* po/POTFILES.in: Regenerate. |
* cpu-crx.c: New file. |
3623 |
* po/bfd.pot: Regenerate. |
* elf32-crx.c: Likewise. |
3624 |
2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com> |
* libbfd.h: Regenerate. |
3625 |
* elf32-sh64.c (sh64_elf_set_mach_from_flags): Do not recognize |
* reloc.c: Add BFD_RELOC_CRX_REL4, BFD_RELOC_CRX_REL8, |
3626 |
anything else but EF_SH64 and EF_SH64_ABI64. |
BFD_RELOC_CRX_REL8_CMP, BFD_RELOC_CRX_REL16, BFD_RELOC_CRX_REL24, |
3627 |
(sh64_elf_merge_private_data): Emit error for anything else but |
BFD_RELOC_CRX_REL32, BFD_RELOC_CRX_REGREL12, BFD_RELOC_CRX_REGREL22, |
3628 |
EF_SH64 and EF_SH64_ABI64. |
BFD_RELOC_CRX_REGREL28, BFD_RELOC_CRX_REGREL32, BFD_RELOC_CRX_ABS16, |
3629 |
* config.bfd: Remove bfd_elf32_shblin_vec and bfd_elf32_shlin_vec |
BFD_RELOC_CRX_ABS32, BFD_RELOC_CRX_NUM8, BFD_RELOC_CRX_NUM16, |
3630 |
from targ_selvecs. |
BFD_RELOC_CRX_NUM32, BFD_RELOC_CRX_IMM16 and BFD_RELOC_CRX_IMM32 |
3631 |
* configure.in: Add cofflink.lo to bfd_elf32_sh64_vec and |
* targets.c (bfd_elf32_crx_vec): Declare. |
3632 |
bfd_elf32_sh64l_vec as a temporary measure. |
(bfd_target_vector): Add bfd_elf32_crx_vec. |
3633 |
|
|
3634 |
|
2004-07-06 Nick Clifton <nickc@redhat.com> |
3635 |
|
|
3636 |
|
* config.bfd: Add sh-symbian-elf target. |
3637 |
|
* configure.in: Add bfd_elf32_shl_symbian_vec. |
3638 |
* configure: Regenerate. |
* configure: Regenerate. |
3639 |
2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com> |
* elf-bfd.h (struct elf_backend_data): Add new field |
3640 |
* cpu-sh.c (arch_info_struct): Include sh5 item |
'check_directives'. |
3641 |
unconditionalized. |
* elflink.c (elf_link_add_object_symbols): Invoke the |
3642 |
* config.bfd (sh64-*-elf*): Do not set targ_cflags. |
check_directives function, if defined. |
3643 |
Add targ_selvecs bfd_elf32_sh_vec, bfd_elf32_shl_vec, |
* elfxx-target.h: Provide a default, NULL definition for |
3644 |
bfd_elf32_shblin_vec and bfd_elf32_shlin_vec. |
check_directives. |
3645 |
* elf32-sh64.c: Tweak comments. |
* targets.c: Add bfd_elf32_shl_symbian_vec. |
3646 |
(sh64_elf_set_mach_from_flags): Recognize all machine flags that |
* elf32-sh.c (sh_elf_swap_insns): Protect against unnecessary |
3647 |
are proper subsets of SH64 as bfd_mach_sh5. Add EF_SH64_ABI64. |
definition. |
3648 |
(sh64_elf_copy_private_data_internal): Wrap long line. |
(elf32_shlin_grok_prstatus, elf32_shlib_grok_psinfo, |
3649 |
(sh64_elf_merge_private_data): Rewrite to allow objects from |
* sh_elf_get_flags_from_mach, sh_elf_find_flags): Likewise. |
3650 |
SH64 subsets to be linked together. |
(TARGET_BIG_SYM, TARGET_LITTLE_SYM): Only define if they have |
3651 |
(INCLUDE_SHMEDIA): Define. |
not already been defined. |
3652 |
* elf32-sh.c (sh_elf_relocate_section) <local symbol>: |
* elf32-sh64.c: Use SH_TARGET_ALREADY_DEFINED. |
3653 |
Parenthesize plus-expression inside or-expression. |
* sh-symbian.c: New file. Provide functions to support the |
3654 |
<global symbol>: Ditto. |
* sh-symbian-elf target. |
3655 |
(sh_elf_set_mach_from_flags): Remove code refusing |
* Makefile.am: Add elf32-sh-symbian.c |
|
deleted EF_SH64_32BIT_ABI flag. |
|
|
2000-11-26 Hans-Peter Nilsson <hpn@cygnus.com> |
|
|
* elf32-sh.c (sh_elf_howto_table) <R_SH_IMM_LOW16_PCREL, |
|
|
R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16_PCREL, |
|
|
R_SH_IMM_HI16_PCREL, R_SH_64_PCREL>: Set pcrel_offset to true. |
|
|
(sh_elf_relocate_section) <local symbol>: Or 1 in |
|
|
calculation of relocation if sym->st_other & STO_SH5_ISA32. |
|
|
<global symbol>: Ditto if h->other & STO_SH5_ISA32. |
|
|
* elf32-sh64.c (shmedia_prepare_reloc): Add rel->r_addend to |
|
|
relocation. |
|
|
2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com> |
|
|
* Makefile.am (BFD32_BACKENDS): Add elf32-sh64.lo. |
|
|
(BFD32_BACKENDS_CFILES): Add elf32-sh64.c. |
|
|
Regenerate dependencies. |
|
3656 |
* Makefile.in: Regenerate. |
* Makefile.in: Regenerate. |
3657 |
* archures.c: Add bfd_mach_sh5. |
|
3658 |
* config.bfd: Map targ_cpu sh* to bfd_sh_arch. |
2004-07-05 Andrew Stubbs <andrew.stubbs@superh.com> |
3659 |
Handle sh64-*-elf*. Set targ_cflags to -DINCLUDE_SHMEDIA. |
|
3660 |
* configure.in: Handle bfd_elf32_sh64_vec and bfd_elf32_sh64l_vec. |
* elf32-sh.c: Include ../opcodes/sh-opc.h. |
3661 |
* configure: Regenerate. |
* Makefile.am: Ran make dep-am. |
3662 |
* reloc.c (BFD_RELOC_SH_SHMEDIA_CODE, BFD_RELOC_SH_IMMU5, |
* Makefile.in: Ran make dep-in. |
3663 |
BFD_RELOC_SH_IMMS6, BFD_RELOC_SH_IMMS6BY32, BFD_RELOC_SH_IMMU6, |
|
3664 |
BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2, |
2004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> |
3665 |
BFD_RELOC_SH_IMMS10BY4, BFD_RELOC_SH_IMMS10BY8, |
|
3666 |
BFD_RELOC_SH_IMMS16, BFD_RELOC_SH_IMMU16, BFD_RELOC_SH_IMM_LOW16, |
* cofflink.c (_bfd_coff_generic_relocate_section): Resolve PE weak |
3667 |
BFD_RELOC_SH_IMM_LOW16_PCREL, BFD_RELOC_SH_IMM_MEDLOW16, |
externals properly. |
3668 |
BFD_RELOC_SH_IMM_MEDLOW16_PCREL, BFD_RELOC_SH_IMM_MEDHI16, |
|
3669 |
BFD_RELOC_SH_IMM_MEDHI16_PCREL, BFD_RELOC_SH_IMM_HI16, |
2004-07-02 Martin Schwidefsky <schwidefsky@de.ibm.com> |
3670 |
BFD_RELOC_SH_IMM_HI16_PCREL, BFD_RELOC_SH_PT_16): New relocations. |
|
3671 |
* cpu-sh.c [INCLUDE_SHMEDIA] (arch_info_struct): Define and link |
* config.bfd: Add want64 to configuration target s390-*-linux*. |
3672 |
in item for SH5. |
|
3673 |
* elf32-sh.c [INCLUDE_SHMEDIA] (sh_elf_howto_table): Add howto items |
2004-07-01 H.J. Lu <hongjiu.lu@intel.com> |
3674 |
for SHmedia relocs. |
|
3675 |
[INCLUDE_SHMEDIA] (sh_rel): Add mappings for SHmedia relocs. |
* bfd.c (bfd_get_section_ident): New. |
3676 |
[INCLUDE_SHMEDIA] (sh_elf_relocate_section) [default]: Call |
|
3677 |
shmedia_prepare_reloc, goto final_link_relocate if it returns |
* elflink.c (elf_link_read_relocs_from_section): Call |
3678 |
non-zero, else fail as before. |
bfd_get_section_ident to identify the section when reporting |
3679 |
(sh_elf_set_mach_from_flags): Provide function only if not defined |
error. |
3680 |
as macro. Do not recognize objects with EF_SH64_32BIT_ABI set. |
(_bfd_elf_link_output_relocs): Likewise. |
3681 |
(sh_elf_set_private_flags): Provide function only if not defined |
(elf_link_output_extsym): Likewise. |
3682 |
as a macro. |
(elf_link_input_bfd): Likewise. |
3683 |
(sh_elf_copy_private_data): Similar. |
(bfd_elf_gc_record_vtinherit): Likewise. |
3684 |
(sh_elf_merge_private_data): Similar. |
|
3685 |
* section.c (SEC_SH_ISA_SHMEDIA): New. |
* bfd-in2.h: Regenerated. |
3686 |
* targets.c (bfd_elf32_sh64_vec, bfd_elf32_sh64l_vec): Declare. |
|
3687 |
* elf32-sh64.c: New file. |
2004-07-01 Jie Zhang <zhangjie@magima.com.cn> |
3688 |
* libbfd.h: Regenerate. |
Nick Clifton <nickc@redhat.com> |
3689 |
|
|
3690 |
|
PR 204 |
3691 |
|
* elfxx-mips.c (_bfd_mips_elf_final_link): Pass the correct number |
3692 |
|
of section symbols to mips_elf_sort_hash_table (). |
3693 |
|
|
3694 |
|
2004-07-01 Alan Modra <amodra@bigpond.net.au> |
3695 |
|
|
3696 |
|
* elflink.c (elf_section_ignore_discarded_relocs): Revert last |
3697 |
|
change. Comment. |
3698 |
|
(elf_section_complain_discarded): New function. Handle |
3699 |
|
.gcc_except_table too. |
3700 |
|
(elf_link_input_bfd): Rewrite handling of relocs against symbols |
3701 |
|
in discarded sections. |
3702 |
|
* elf-bfd.h (elf_discarded_section): Protect macro arg. |
3703 |
|
|
3704 |
|
2004-06-30 James E Wilson <wilson@specifixinc.com> |
3705 |
|
|
3706 |
|
* elfxx-ia64.c (elfNN_ia64_check_relocs): New local pltoff. Initialize |
3707 |
|
to NULL. Call get_pltoff if NULL and NEED_PLTOFF is true. |
3708 |
|
|
3709 |
|
2004-06-30 H.J. Lu <hongjiu.lu@intel.com> |
3710 |
|
|
3711 |
|
PR 233 |
3712 |
|
* elflink.c (elf_link_input_bfd): Issue an error for non-debug |
3713 |
|
local references to discarded sections and report their |
3714 |
|
locations. |
3715 |
|
|
3716 |
|
2004-06-30 Alan Modra <amodra@bigpond.net.au> |
3717 |
|
|
3718 |
|
* elflink.c (elf_section_ignore_discarded_relocs): Don't test |
3719 |
|
sec_info_type, test section name instead. |
3720 |
|
|
3721 |
|
2004-06-29 H.J. Lu <hongjiu.lu@intel.com> |
3722 |
|
|
3723 |
|
PR 240 |
3724 |
|
* elfxx-ia64.c (elfNN_ia64_relax_section): Don't relax branch |
3725 |
|
in .init/.fini sections. |
3726 |
|
|
3727 |
|
2004-06-29 Bob Wilson <bob.wilson@acm.org> |
3728 |
|
|
3729 |
|
* elf32-xtensa.c (elf_xtensa_relocate_section): Use |
3730 |
|
bfd_get_section_limit. |
3731 |
|
|
3732 |
|
2004-06-29 Bob Wilson <bob.wilson@acm.org> |
3733 |
|
|
3734 |
|
* elf32-xtensa.c (elf_xtensa_combine_prop_entries): Don't change the |
3735 |
|
output section size. |
3736 |
|
|
3737 |
|
2004-06-29 Alan Modra <amodra@bigpond.net.au> |
3738 |
|
|
3739 |
|
* elf64-mmix.c (mmix_set_relaxable_size): Save original size in |
3740 |
|
rawsize. |
3741 |
|
(mmix_elf_perform_relocation): Adjust for above change. |
3742 |
|
(mmix_elf_relocate_section): Likewise. |
3743 |
|
(mmix_elf_relax_section): Likewise. Use output_section->rawsize. |
3744 |
|
(mmix_elf_get_section_contents): Delete. |
3745 |
|
(bfd_elf64_get_section_contents): Delete. |
3746 |
|
(mmix_elf_relocate_section): Zero stub area. |
3747 |
|
* linker.c (default_indirect_link_order): Alloc max of section size |
3748 |
|
and rawsize. |
3749 |
|
* simple.c (bfd_simple_get_relocated_section_contents): Likewise. |
3750 |
|
* section.c (bfd_malloc_and_get_section): Likewise. |
3751 |
|
(struct bfd_section): Update rawsize comment. |
3752 |
* bfd-in2.h: Regenerate. |
* bfd-in2.h: Regenerate. |
3753 |
* po/POTFILES.in: Regenerate. |
|
3754 |
* po/bfd.pot: Regenerate. |
* reloc16.c (bfd_coff_reloc16_relax_section): Set rawsize. |
3755 |
|
|
3756 |
|
2004-06-29 Alan Modra <amodra@bigpond.net.au> |
3757 |
|
|
3758 |
|
* bfd-in.h (bfd_get_section_limit): Define. |
3759 |
|
* reloc.c (bfd_perform_relocation, bfd_install_relocation) |
3760 |
|
(_bfd_final_link_relocate): Use bfd_get_section_limit. |
3761 |
|
* aout-tic30.c (tic30_aout_final_link_relocate): Likewise. |
3762 |
|
* coff-arm.c (coff_arm_relocate_section): Likewise. |
3763 |
|
* coff-mips.c (mips_refhi_reloc, mips_gprel_reloc): Likewise. |
3764 |
|
* cpu-ns32k.c (do_ns32k_reloc): Likewise. |
3765 |
|
(bfd_ns32k_final_link_relocate): Likewise. |
3766 |
|
* elf32-d30v.c (bfd_elf_d30v_reloc, bfd_elf_d30v_reloc_21): Likwise. |
3767 |
|
* elf32-dlx.c (_bfd_dlx_elf_hi16_reloc): Likewise. |
3768 |
|
* elf32-i860.c (i860_howto_pc26_reloc, i860_howto_pc16_reloc) |
3769 |
|
(i860_howto_highadj_reloc, i860_howto_splitn_reloc): Likewise. |
3770 |
|
* elf32-m32r.c (m32r_elf_do_10_pcrel_reloc, m32r_elf_hi16_reloc) |
3771 |
|
(m32r_elf_generic_reloc, m32r_elf_relocate_section): Likewise. |
3772 |
|
* elf32-m68hc1x.c (m68hc11_elf_special_reloc): Likewise. |
3773 |
|
* elf32-mips.c (gprel32_with_gp, mips16_gprel_reloc): Likewise. |
3774 |
|
* elf32-or32.c (or32_elf_consth_reloc): Likewise. |
3775 |
|
* elf32-ppc.c (ppc_elf_addr16_ha_reloc): Likewise. |
3776 |
|
* elf32-s390.c (s390_elf_ldisp_reloc): Likewise. |
3777 |
|
* elf32-sh.c (sh_elf_reloc_loop): Likewise. |
3778 |
|
* elf32-sparc.c (sparc_elf_wdisp16_reloc): Likewise. |
3779 |
|
(sparc_elf_hix22_reloc, sparc_elf_lox10_reloc): Likwise. |
3780 |
|
* elf32-v850.c (v850_elf_reloc): Likewise. |
3781 |
|
* elf32-xstormy16.c (xstormy16_elf_24_reloc): Likewise. |
3782 |
|
* elf32-xtensa.c (bfd_elf_xtensa_reloc): Likewise. |
3783 |
|
* elf64-alpha.c (elf64_alpha_reloc_gpdisp): Likewise. |
3784 |
|
* elf64-mips.c (mips_elf64_gprel32_reloc) |
3785 |
|
(mips16_gprel_reloc): Likewise. |
3786 |
|
* elf64-mmix.c (mmix_elf_reloc): Likewise. |
3787 |
|
* elf64-s390.c (s390_elf_ldisp_reloc): Likewise. |
3788 |
|
* elf64-sparc.c (init_insn_reloc): Likewise. |
3789 |
|
* elfn32-mips.c (gprel32_with_gp, mips16_gprel_reloc): Likewise. |
3790 |
|
* elfxx-mips.c (_bfd_mips_elf_gprel16_with_gp) |
3791 |
|
(_bfd_mips_elf_hi16_reloc, _bfd_mips_elf_lo16_reloc) |
3792 |
|
(_bfd_mips_elf_generic_reloc): Likewise. |
3793 |
* bfd-in2.h: Regenerate. |
* bfd-in2.h: Regenerate. |
3794 |
|
|
3795 |
|
2004-06-28 Alan Modra <amodra@bigpond.net.au> |
3796 |
|
|
3797 |
|
* bfd-in.h (struct stab_info): Move from stabs.c. |
3798 |
|
* stabs.c (struct stab_link_includes_table): Delete. |
3799 |
|
(stab_link_includes_lookup): Delete. |
3800 |
|
(_bfd_write_section_stabs, _bfd_write_stab_strings): Remove one |
3801 |
|
level of indirection from sinfo parm. |
3802 |
|
(_bfd_link_section_stabs): Likewise. Set SEC_LINKER_CREATED on |
3803 |
|
stabstr section. Adjust hash table accesses. |
3804 |
|
* coff-ppc.c (ppc_bfd_coff_final_link): Do include rawsize in contents |
3805 |
|
alloc. Adjust stab_info test. |
3806 |
|
* cofflink.c (_bfd_coff_link_hash_table_init): Clear stab_info. |
3807 |
|
(_bfd_coff_final_link): Adjust stab_info test. |
3808 |
|
(_bfd_coff_link_input_bfd): Ignore SEC_LINKER_CREATED sections. |
3809 |
|
* elf-bfd.h (struct elf_link_hash_table): Include struct stab_info |
3810 |
|
in place. |
3811 |
|
* libcoff-in.h (struct coff_link_hash_table): Likewise. |
3812 |
|
* elf.c (_bfd_elf_link_hash_table_init): Clear stab_info. |
3813 |
|
* elflink.c (bfd_elf_final_link): Don't attempt to link linker created |
3814 |
|
stabstr section. Adjust stab_info test. |
3815 |
|
* libbfd-in.h (_bfd_link_section_stabs, _bfd_write_section_stabs) |
3816 |
|
(_bfd_write_stab_strings): Adjust prototypes. |
3817 |
* libbfd.h: Regenerate. |
* libbfd.h: Regenerate. |
3818 |
|
* libcoff.h: Regenerate. |
3819 |
|
* bfd-in2.h: Regenerate. |
3820 |
|
|
3821 |
|
2004-06-27 Mark Kettenis <kettenis@gnu.org> |
3822 |
|
|
3823 |
|
From Miod Vallat <miod@online.fr>: |
3824 |
|
* aoutx.h (NAME(aout,machine_type)): Handle bfd_arch_m88k. |
3825 |
|
|
3826 |
|
2004-06-26 Alexandre Oliva <aoliva@redhat.com> |
3827 |
|
|
3828 |
2002-02-07 Daniel Jacobowitz <drow@mvista.com> |
* elf-m10300.c (struct elf_mn10300_pcrel_relocs_copied): Delete. |
3829 |
|
(struct elf32_mn10300_link_hash_entry): Remove |
3830 |
|
pcrel_relocs_copied. |
3831 |
|
(mn10300_elf_check_relocs): Only reserve dynamic relocations for |
3832 |
|
R_MN10300_32. Don't adjust pcrel_relocs_copied. |
3833 |
|
(mn10300_elf_final_link_relocate): Fail for direct, pc-relative |
3834 |
|
and gotoff relocations if the symbol doesn't bind locally. Use |
3835 |
|
_bfd_elf_symbol_refs_local_p to test. Don't create dynamic |
3836 |
|
relocation for PCREL32. |
3837 |
|
(mn10300_elf_relocate_section): Use _bfd_elf_symbol_refs_local_p |
3838 |
|
to test whether a symbol binds locally. |
3839 |
|
(elf32_mn10300_link_hash_newfunc): Don't initialize |
3840 |
|
pcrel_relocs_copied. |
3841 |
|
(_bfd_mn10300_elf_discard_copies): Delete. |
3842 |
|
(_bfd_mn10300_elf_size_dynamic_sections): Don't call it. |
3843 |
|
|
3844 |
|
2004-06-26 Mark Kettenis <kettenis@gnu.org> |
3845 |
|
|
3846 |
|
* config.bfd: Replace m88k-*-openbsd* with m88*-*-openbsd*. |
3847 |
|
|
3848 |
|
2004-06-25 Joel Brobecker <brobecker@gnat.com> |
3849 |
|
|
3850 |
|
* som.c (som_set_reloc_info): Correct small typo. |
3851 |
|
|
3852 |
|
2004-06-25 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
3853 |
|
|
3854 |
|
* elf32-m32r.c (m32r_elf_howto_table): Support R_M32R_GOTOFF. |
3855 |
|
(m32r_elf_relocate_section): Changed for R_M32R_GOTOFF. |
3856 |
|
(m32r_elf_gcsweep_hook): Likewise. |
3857 |
|
(m32r_elf_check_relocs): Likewise. |
3858 |
|
(m32r_elf_howto_table): Added R_M32R_GOTOFF_HI_ULO, |
3859 |
|
R_M32R_GOTOFF_HI_SLO and R_M32R_GOTOFF_LO. |
3860 |
|
* reloc.c: Added BFD_RELOC_M32R_GOTOFF_HI_ULO, |
3861 |
|
BFD_RELOC_M32R_GOTOFF_HI_SLO and BFD_RELOC_M32R_GOTOFF_LO. |
3862 |
|
* bfd-in2.h: Regenerated. |
3863 |
|
* libbfd.h: Regenerated. |
3864 |
|
|
3865 |
|
2004-06-24 H.J. Lu <hongjiu.lu@intel.com> |
3866 |
|
|
3867 |
* bfd-in.h: Update <stdbool.h> check to only see if <stdbool.h> has |
* elf64-x86-64.c (elf64_x86_64_check_relocs): Warn overflow |
3868 |
been included, not drag it in. |
relocation symbol. |
3869 |
|
(elf64_x86_64_relocate_section): Issue an error for |
3870 |
|
R_X86_64_PC8, R_X86_64_PC16 and R_X86_64_PC32 relocations |
3871 |
|
against global symbols when building shared library. |
3872 |
|
|
3873 |
|
2004-06-24 Alan Modra <amodra@bigpond.net.au> |
3874 |
|
|
3875 |
|
* section.c (struct sec): Rename "_cooked_size" to "size". |
3876 |
|
Rename "_raw_size" to "rawsize". |
3877 |
|
(STD_SECTION): Adjust comments. |
3878 |
|
(bfd_set_section_size, bfd_get_section_contents): Use size. |
3879 |
|
(bfd_malloc_and_get_section): New function. |
3880 |
|
* bfd-in.h (bfd_section_size, bfd_get_section_size): Use size. |
3881 |
|
* coff-sh.c (sh_relax_section): Alloc coff_section_data struct early. |
3882 |
|
Correctly free reloc and contents memory. |
3883 |
|
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Delete FIXME |
3884 |
|
and fake CIE now that we can shink section size to zero. |
3885 |
|
(_bfd_elf_write_section_eh_frame): Likewise.. |
3886 |
|
* elf32-ppc.c (ppc_elf_relax_section): Delay reading section contents. |
3887 |
|
* elf-m10300.c (mn10300_elf_final_link_relocate): Don't use |
3888 |
|
_bfd_stab_section_offset. Use _bfd_elf_section_offset. |
3889 |
|
* stabs.c (_bfd_stab_section_offset_): Remove unused args and |
3890 |
|
unneeded indirection. |
3891 |
|
* elf.c (_bfd_elf_section_offset): .. and update call. |
3892 |
|
* libbfd-in.h (_bfd_stab_section_offset): Update prototype. |
3893 |
|
* libbfd.h: Regenerate. |
3894 |
* bfd-in2.h: Regenerate. |
* bfd-in2.h: Regenerate. |
3895 |
|
|
3896 |
2002-02-06 H.J. Lu (hjl@gnu.org) |
Replace occurrences of "_raw_size" and "_cooked_size" in most places |
3897 |
|
with "size". Set new "rawsize" for stabs, eh_frame, and SEC_MERGE |
3898 |
|
sections. Use "rawsize", if non-zero, for bfd_get_section_contents |
3899 |
|
calls if the section might be a stabs, eh_frame, or SEC_MERGE section. |
3900 |
|
Similarly use "rawsize", if non-zero, in reloc functions to validate |
3901 |
|
reloc addresses. Use new bfd_malloc_and_get_section in most places |
3902 |
|
where bfd_get_section_contents was called. Expand all occurrences of |
3903 |
|
bfd_section_size and bfd_get_section_size. Rename "raw_size" var in |
3904 |
|
grok_prstatus and similar functions to "size". |
3905 |
|
* aix386-core.c (aix386_core_file_p): .. |
3906 |
|
* aix5ppc-core.c (xcoff64_core_p): .. |
3907 |
|
* aout-adobe.c (aout_adobe_callback, aout_adobe_write_object_contents, |
3908 |
|
aout_adobe_set_section_contents): .. |
3909 |
|
* aout-target.h (callback): .. |
3910 |
|
* aout-tic30.c (tic30_aout_callback, tic30_aout_final_link_relocate, |
3911 |
|
MY_bfd_final_link): .. |
3912 |
|
* aoutf1.h (sunos4_core_file_p): .. |
3913 |
|
* aoutx.h (some_aout_object_p, adjust_o_magic, adjust_z_magic, |
3914 |
|
adjust_n_magic, adjust_sizes_and_vmas, translate_from_native_sym_flags, |
3915 |
|
final_link, aout_link_input_section): .. |
3916 |
|
* binary.c (binary_object_p, binary_canonicalize_symtab, |
3917 |
|
binary_set_section_contents): .. |
3918 |
|
* bout.c (b_out_callback, b_out_write_object_contents, |
3919 |
|
b_out_set_section_contents, b_out_bfd_relax_section, |
3920 |
|
b_out_bfd_get_relocated_section_contents): .. |
3921 |
|
* cisco-core.c (cisco_core_file_validate): .. |
3922 |
|
* coff-alpha.c (alpha_ecoff_object_p, |
3923 |
|
alpha_ecoff_get_relocated_section_conten, alpha_relocate_section): .. |
3924 |
|
* coff-arm.c (coff_arm_relocate_section, |
3925 |
|
bfd_arm_allocate_interworking_sections): .. |
3926 |
|
* coff-h8300.c (h8300_reloc16_extra_cases, |
3927 |
|
h8300_bfd_link_add_symbols): .. |
3928 |
|
* coff-mips.c (mips_refhi_reloc, mips_gprel_reloc): .. |
3929 |
|
* coff-ppc.c (coff_ppc_relocate_section, ppc_allocate_toc_section, |
3930 |
|
ppc_bfd_coff_final_link): .. |
3931 |
|
* coff-rs6000.c (xcoff_reloc_type_br, xcoff_ppc_relocate_section): .. |
3932 |
|
* coff-sh.c (sh_relax_section, sh_relax_delete_bytes, |
3933 |
|
sh_align_loads, sh_coff_get_relocated_section_contents): .. |
3934 |
|
* coff64-rs6000.c (xcoff64_write_object_contents, |
3935 |
|
xcoff64_reloc_type_br, xcoff64_ppc_relocate_section): .. |
3936 |
|
* coffcode.h (coff_compute_section_file_positions, |
3937 |
|
coff_write_object_contents): .. |
3938 |
|
* coffgen.c (make_a_section_from_file, coff_write_symbols, |
3939 |
|
coff_section_symbol, build_debug_section): .. |
3940 |
|
* cofflink.c (coff_link_add_symbols, _bfd_coff_final_link, |
3941 |
|
process_embedded_commands, _bfd_coff_link_input_bfd, |
3942 |
|
_bfd_coff_write_global_sym): .. |
3943 |
|
* cpu-arm.c (bfd_arm_update_notes, bfd_arm_get_mach_from_notes): .. |
3944 |
|
* cpu-ns32k.c (do_ns32k_reloc, _bfd_ns32k_final_link_relocate): .. |
3945 |
|
* dwarf1.c (parse_line_table, _bfd_dwarf1_find_nearest_line): .. |
3946 |
|
* dwarf2.c (read_indirect_string, read_abbrevs, decode_line_info, |
3947 |
|
_bfd_dwarf2_find_nearest_line): .. |
3948 |
|
* ecoff.c (bfd_debug_section, ecoff_set_symbol_info, |
3949 |
|
ecoff_compute_section_file_positions, |
3950 |
|
_bfd_ecoff_write_object_contents, ecoff_indirect_link_order): .. |
3951 |
|
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame, |
3952 |
|
_bfd_elf_discard_section_eh_frame_hdr, |
3953 |
|
_bfd_elf_maybe_strip_eh_frame_hdr, _bfd_elf_eh_frame_section_offset, |
3954 |
|
_bfd_elf_write_section_eh_frame, |
3955 |
|
_bfd_elf_write_section_eh_frame_hdr): .. |
3956 |
|
* elf-hppa.h (elf_hppa_sort_unwind): .. |
3957 |
|
* elf-m10200.c (mn10200_elf_relax_section, |
3958 |
|
mn10200_elf_relax_delete_bytes, |
3959 |
|
mn10200_elf_get_relocated_section_contents): .. |
3960 |
|
* elf-m10300.c (_bfd_mn10300_elf_create_got_section, |
3961 |
|
mn10300_elf_check_relocs, mn10300_elf_relax_section, |
3962 |
|
mn10300_elf_relax_delete_bytes, |
3963 |
|
mn10300_elf_get_relocated_section_contents, |
3964 |
|
_bfd_mn10300_elf_adjust_dynamic_symbol, |
3965 |
|
_bfd_mn10300_elf_discard_copies, |
3966 |
|
_bfd_mn10300_elf_size_dynamic_sections, |
3967 |
|
_bfd_mn10300_elf_finish_dynamic_sections): .. |
3968 |
|
* elf.c (_bfd_elf_print_private_bfd_data, bfd_elf_get_bfd_needed_list, |
3969 |
|
_bfd_elf_make_section_from_phdr, elf_fake_sections, |
3970 |
|
bfd_elf_set_group_contents, map_sections_to_segments, |
3971 |
|
elf_sort_sections, assign_file_positions_for_segments, |
3972 |
|
SECTION_SIZE, copy_private_bfd_data, |
3973 |
|
_bfd_elf_get_dynamic_reloc_upper_bound, |
3974 |
|
_bfd_elf_canonicalize_dynamic_reloc, elfcore_maybe_make_sect, |
3975 |
|
_bfd_elfcore_make_pseudosection, elfcore_grok_prstatus, |
3976 |
|
elfcore_grok_lwpstatus, elfcore_grok_win32pstatus, |
3977 |
|
elfcore_grok_note, elfcore_grok_nto_status, elfcore_grok_nto_gregs, |
3978 |
|
_bfd_elf_rel_local_sym, _bfd_elf_get_synthetic_symtab): .. |
3979 |
|
* elf32-arm.h (bfd_elf32_arm_allocate_interworking_sect, |
3980 |
|
bfd_elf32_arm_process_before_allocation, |
3981 |
|
elf32_arm_adjust_dynamic_symbol, allocate_dynrelocs, |
3982 |
|
elf32_arm_size_dynamic_sections, elf32_arm_finish_dynamic_sections, |
3983 |
|
elf32_arm_write_section): .. |
3984 |
|
* elf32-cris.c (cris_elf_grok_prstatus, |
3985 |
|
elf_cris_finish_dynamic_sections, cris_elf_gc_sweep_hook, |
3986 |
|
elf_cris_adjust_gotplt_to_got, elf_cris_adjust_dynamic_symbol, |
3987 |
|
cris_elf_check_relocs, elf_cris_size_dynamic_sections, |
3988 |
|
elf_cris_discard_excess_dso_dynamics, |
3989 |
|
elf_cris_discard_excess_program_dynamics): .. |
3990 |
|
* elf32-d30v.c (bfd_elf_d30v_reloc, bfd_elf_d30v_reloc_21): .. |
3991 |
|
* elf32-dlx.c (_bfd_dlx_elf_hi16_reloc): .. |
3992 |
|
* elf32-frv.c (_frvfdpic_add_dyn_reloc, _frvfdpic_add_rofixup, |
3993 |
|
_frv_create_got_section, _frvfdpic_assign_plt_entries, |
3994 |
|
elf32_frvfdpic_size_dynamic_sections, |
3995 |
|
elf32_frvfdpic_modify_segment_map, |
3996 |
|
elf32_frvfdpic_finish_dynamic_sections): .. |
3997 |
|
* elf32-h8300.c (elf32_h8_relax_section, elf32_h8_relax_delete_bytes, |
3998 |
|
elf32_h8_get_relocated_section_contents): .. |
3999 |
|
* elf32-hppa.c (hppa_build_one_stub, hppa_size_one_stub, |
4000 |
|
elf32_hppa_adjust_dynamic_symbol, allocate_plt_static, |
4001 |
|
allocate_dynrelocs, elf32_hppa_size_dynamic_sections, group_sections, |
4002 |
|
elf32_hppa_size_stubs, elf32_hppa_set_gp, elf32_hppa_build_stubs, |
4003 |
|
elf32_hppa_finish_dynamic_sections): .. |
4004 |
|
* elf32-i370.c (i370_elf_adjust_dynamic_symbol, |
4005 |
|
i370_elf_size_dynamic_sections, i370_elf_check_relocs, |
4006 |
|
i370_elf_finish_dynamic_sections): .. |
4007 |
|
* elf32-i386.c (elf_i386_grok_prstatus, elf_i386_adjust_dynamic_symbol, |
4008 |
|
allocate_dynrelocs, elf_i386_size_dynamic_sections, |
4009 |
|
elf_i386_relocate_section, elf_i386_finish_dynamic_sections): .. |
4010 |
|
* elf32-i860.c (i860_howto_pc26_reloc, i860_howto_pc16_reloc, |
4011 |
|
i860_howto_highadj_reloc, i860_howto_splitn_reloc): .. |
4012 |
|
* elf32-ip2k.c (ip2k_is_switch_table_128, |
4013 |
|
ip2k_relax_switch_table_128, ip2k_is_switch_table_256, |
4014 |
|
ip2k_relax_switch_table_256, ip2k_elf_relax_section, |
4015 |
|
adjust_all_relocations, ip2k_elf_relax_delete_bytes): .. |
4016 |
|
* elf32-m32r.c (m32r_elf_do_10_pcrel_reloc, m32r_elf_hi16_reloc, |
4017 |
|
m32r_elf_generic_reloc, m32r_elf_adjust_dynamic_symbol, |
4018 |
|
allocate_dynrelocs, m32r_elf_size_dynamic_sections, |
4019 |
|
m32r_elf_relocate_section, m32r_elf_finish_dynamic_sections, |
4020 |
|
m32r_elf_relax_section, m32r_elf_relax_delete_bytes, |
4021 |
|
m32r_elf_get_relocated_section_contents): .. |
4022 |
|
* elf32-m68hc11.c (m68hc11_elf_build_one_stub, |
4023 |
|
m68hc11_elf_size_one_stub, m68hc11_elf_relax_section, |
4024 |
|
m68hc11_elf_relax_delete_bytes): .. |
4025 |
|
* elf32-m68hc12.c (m68hc12_elf_build_one_stub, |
4026 |
|
m68hc12_elf_size_one_stub): .. |
4027 |
|
* elf32-m68hc1x.c (elf32_m68hc11_size_stubs, |
4028 |
|
elf32_m68hc11_build_stubs, m68hc11_elf_special_reloc): .. |
4029 |
|
* elf32-m68k.c (elf_m68k_check_relocs, elf_m68k_gc_sweep_hook, |
4030 |
|
elf_m68k_adjust_dynamic_symbol, elf_m68k_size_dynamic_sections, |
4031 |
|
elf_m68k_discard_copies, elf_m68k_finish_dynamic_sections): .. |
4032 |
|
* elf32-mips.c (gprel32_with_gp, mips16_gprel_reloc, |
4033 |
|
elf32_mips_grok_prstatus): .. |
4034 |
|
* elf32-or32.c (or32_elf_consth_reloc): .. |
4035 |
|
* elf32-ppc.c (ppc_elf_relax_section, ppc_elf_addr16_ha_reloc, |
4036 |
|
elf_create_pointer_linker_section, ppc_elf_create_linker_section, |
4037 |
|
ppc_elf_additional_program_headers, ppc_elf_adjust_dynamic_symbol, |
4038 |
|
allocate_dynrelocs, ppc_elf_size_dynamic_sections, |
4039 |
|
ppc_elf_finish_dynamic_sections, ppc_elf_grok_prstatus, |
4040 |
|
ppc_elf_final_write_processing): .. |
4041 |
|
* elf32-s390.c (s390_elf_ldisp_reloc, elf_s390_adjust_dynamic_symbol, |
4042 |
|
allocate_dynrelocs, elf_s390_size_dynamic_sections, |
4043 |
|
elf_s390_finish_dynamic_sections, elf_s390_grok_prstatus): .. |
4044 |
|
* elf32-sh.c (sh_elf_reloc_loop, sh_elf_relax_section, |
4045 |
|
sh_elf_relax_delete_bytes, sh_elf_align_loads, |
4046 |
|
sh_elf_adjust_dynamic_symbol, allocate_dynrelocs, |
4047 |
|
sh_elf_size_dynamic_sections, sh_elf_get_relocated_section_contents, |
4048 |
|
sh_elf_finish_dynamic_sections, elf32_shlin_grok_prstatus): .. |
4049 |
|
* elf32-sh64-com.c (sh64_address_in_cranges, |
4050 |
|
sh64_get_contents_type): .. |
4051 |
|
* elf32-sh64.c (sh64_find_section_for_address, |
4052 |
|
sh64_elf_final_write_processing): .. |
4053 |
|
* elf32-sparc.c (sparc_elf_wdisp16_reloc, sparc_elf_hix22_reloc, |
4054 |
|
sparc_elf_lox10_reloc, elf32_sparc_adjust_dynamic_symbol, |
4055 |
|
allocate_dynrelocs, elf32_sparc_size_dynamic_sections, |
4056 |
|
elf32_sparc_relocate_section, elf32_sparc_finish_dynamic_sections): .. |
4057 |
|
* elf32-v850.c (v850_elf_reloc, v850_elf_relax_section): .. |
4058 |
|
* elf32-vax.c (elf_vax_check_relocs, elf_vax_adjust_dynamic_symbol, |
4059 |
|
elf_vax_size_dynamic_sections, elf_vax_discard_copies, |
4060 |
|
elf_vax_instantiate_got_entries, elf_vax_relocate_section, |
4061 |
|
elf_vax_finish_dynamic_sections): .. |
4062 |
|
* elf32-xstormy16.c (xstormy16_elf_24_reloc, |
4063 |
|
xstormy16_elf_check_relocs, xstormy16_relax_plt_check, |
4064 |
|
xstormy16_elf_relax_section, xstormy16_elf_always_size_sections, |
4065 |
|
xstormy16_elf_finish_dynamic_sections): .. |
4066 |
|
* elf32-xtensa.c (xtensa_read_table_entries, |
4067 |
|
elf_xtensa_allocate_got_size, elf_xtensa_allocate_local_got_size, |
4068 |
|
elf_xtensa_size_dynamic_sections, elf_xtensa_do_reloc, |
4069 |
|
bfd_elf_xtensa_reloc, elf_xtensa_relocate_section, |
4070 |
|
elf_xtensa_combine_prop_entries, elf_xtensa_finish_dynamic_sections, |
4071 |
|
elf_xtensa_discard_info_for_section, elf_xtensa_grok_prstatus, |
4072 |
|
get_relocation_opcode, retrieve_contents, find_relaxable_sections, |
4073 |
|
collect_source_relocs, is_resolvable_asm_expansion, remove_literals, |
4074 |
|
relax_section, shrink_dynamic_reloc_sections, relax_property_section, |
4075 |
|
xtensa_callback_required_dependence): .. |
4076 |
|
* elf64-alpha.c (elf64_alpha_reloc_gpdisp, elf64_alpha_relax_section, |
4077 |
|
elf64_alpha_check_relocs, elf64_alpha_adjust_dynamic_symbol, |
4078 |
|
elf64_alpha_calc_got_offsets_for_symbol, elf64_alpha_calc_got_offsets, |
4079 |
|
elf64_alpha_size_plt_section, elf64_alpha_size_plt_section_1, |
4080 |
|
elf64_alpha_always_size_sections, elf64_alpha_calc_dynrel_sizes, |
4081 |
|
elf64_alpha_size_rela_got_section, elf64_alpha_size_rela_got_1, |
4082 |
|
elf64_alpha_size_dynamic_sections, elf64_alpha_emit_dynrel, |
4083 |
|
elf64_alpha_finish_dynamic_sections, elf64_alpha_final_link): .. |
4084 |
|
* elf64-hppa.c (allocate_dynrel_entries, |
4085 |
|
elf64_hppa_size_dynamic_sections, |
4086 |
|
elf64_hppa_finish_dynamic_sections): .. |
4087 |
|
* elf64-mips.c (mips_elf64_gprel32_reloc, mips16_gprel_reloc, |
4088 |
|
mips_elf64_canonicalize_dynamic_reloc, mips_elf64_slurp_reloc_table, |
4089 |
|
elf64_mips_grok_prstatus): .. |
4090 |
|
* elf64-mmix.c (mmix_elf_perform_relocation, mmix_elf_reloc, |
4091 |
|
mmix_elf_relocate_section, mmix_elf_final_link, |
4092 |
|
mmix_set_relaxable_size, _bfd_mmix_after_linker_allocation, |
4093 |
|
mmix_elf_relax_section, mmix_elf_get_section_contents): .. |
4094 |
|
* elf64-ppc.c (ppc64_elf_object_p, ppc64_elf_grok_prstatus, |
4095 |
|
ppc64_elf_check_relocs, ppc64_elf_func_desc_adjust, |
4096 |
|
ppc64_elf_adjust_dynamic_symbol, ppc64_elf_edit_opd, |
4097 |
|
allocate_dynrelocs, ppc64_elf_size_dynamic_sections, |
4098 |
|
ppc_build_one_stub, ppc_size_one_stub, ppc64_elf_next_toc_section, |
4099 |
|
toc_adjusting_stub_needed, group_sections, ppc64_elf_size_stubs, |
4100 |
|
ppc64_elf_build_stubs, ppc64_elf_relocate_section, |
4101 |
|
ppc64_elf_finish_dynamic_sections): .. |
4102 |
|
* elf64-s390.c (s390_elf_ldisp_reloc, elf_s390_adjust_dynamic_symbol, |
4103 |
|
allocate_dynrelocs, elf_s390_size_dynamic_sections, |
4104 |
|
elf_s390_finish_dynamic_sections): .. |
4105 |
|
* elf64-sh64.c (sh_elf64_get_relocated_section_contents, |
4106 |
|
sh_elf64_check_relocs, sh64_elf64_adjust_dynamic_symbol, |
4107 |
|
sh64_elf64_discard_copies, sh64_elf64_size_dynamic_sections, |
4108 |
|
sh64_elf64_finish_dynamic_sections): .. |
4109 |
|
* elf64-sparc.c (sparc64_elf_slurp_reloc_table, init_insn_reloc, |
4110 |
|
sparc64_elf_check_relocs, sparc64_elf_adjust_dynamic_symbol, |
4111 |
|
sparc64_elf_size_dynamic_sections, sparc64_elf_relocate_section, |
4112 |
|
sparc64_elf_finish_dynamic_symbol, |
4113 |
|
sparc64_elf_finish_dynamic_sections): .. |
4114 |
|
* elf64-x86-64.c (elf64_x86_64_grok_prstatus, |
4115 |
|
elf64_x86_64_adjust_dynamic_symbol, allocate_dynrelocs, |
4116 |
|
elf64_x86_64_size_dynamic_sections, elf64_x86_64_relocate_section, |
4117 |
|
elf64_x86_64_finish_dynamic_sections): .. |
4118 |
|
* elfarm-nabi.c (elf32_arm_nabi_grok_prstatus): .. |
4119 |
|
* elfcode.h (elf_slurp_reloc_table): .. |
4120 |
|
* elflink.c (_bfd_elf_create_got_section, elf_add_dt_needed_tag, |
4121 |
|
elf_finalize_dynstr, elf_link_add_object_symbols, |
4122 |
|
bfd_elf_size_dynamic_sections, elf_link_sort_relocs, |
4123 |
|
elf_link_input_bfd, bfd_elf_final_link, bfd_elf_discard_info): .. |
4124 |
|
* elfn32-mips.c (gprel32_with_gp, mips16_gprel_reloc, |
4125 |
|
elf32_mips_grok_prstatus): .. |
4126 |
|
* elfxx-ia64.c (elfNN_ia64_relax_section, allocate_dynrel_entries, |
4127 |
|
elfNN_ia64_size_dynamic_sections, elfNN_ia64_install_dyn_reloc, |
4128 |
|
elfNN_ia64_choose_gp, elfNN_ia64_final_link, |
4129 |
|
elfNN_ia64_finish_dynamic_sections): .. |
4130 |
|
* elfxx-mips.c (mips_elf_create_procedure_table, |
4131 |
|
mips_elf_check_mips16_stubs, _bfd_mips_elf_gprel16_with_gp, |
4132 |
|
_bfd_mips_elf_hi16_reloc, _bfd_mips_elf_generic_reloc, |
4133 |
|
mips_elf_global_got_index, mips_elf_multi_got, |
4134 |
|
mips_elf_create_compact_rel_section, mips_elf_calculate_relocation, |
4135 |
|
mips_elf_allocate_dynamic_relocations, |
4136 |
|
mips_elf_create_dynamic_relocation, _bfd_mips_elf_fake_sections, |
4137 |
|
_bfd_mips_relax_section, _bfd_mips_elf_adjust_dynamic_symbol, |
4138 |
|
_bfd_mips_elf_always_size_sections, |
4139 |
|
_bfd_mips_elf_size_dynamic_sections, |
4140 |
|
_bfd_mips_elf_finish_dynamic_symbol, |
4141 |
|
_bfd_mips_elf_finish_dynamic_sections, |
4142 |
|
_bfd_mips_elf_modify_segment_map, _bfd_mips_elf_discard_info, |
4143 |
|
_bfd_mips_elf_write_section, _bfd_mips_elf_set_section_contents, |
4144 |
|
_bfd_elf_mips_get_relocated_section_contents, |
4145 |
|
_bfd_mips_elf_final_link, _bfd_mips_elf_merge_private_bfd_data): .. |
4146 |
|
* hp300hpux.c (callback): .. |
4147 |
|
* hppabsd-core.c (make_bfd_asection): .. |
4148 |
|
* hpux-core.c (make_bfd_asection): .. |
4149 |
|
* i386linux.c (linux_link_create_dynamic_sections, |
4150 |
|
bfd_i386linux_size_dynamic_sections, linux_finish_dynamic_link): .. |
4151 |
|
* i386msdos.c (msdos_write_object_contents): .. |
4152 |
|
* i386os9k.c (os9k_callback, os9k_write_object_contents, |
4153 |
|
os9k_set_section_contents): .. |
4154 |
|
* ieee.c (parse_expression, ieee_slurp_external_symbols, |
4155 |
|
ieee_slurp_sections, ieee_slurp_debug, ieee_slurp_section_data, |
4156 |
|
ieee_write_section_part, do_with_relocs, do_as_repeat, |
4157 |
|
do_without_relocs, ieee_write_debug_part, init_for_output, |
4158 |
|
ieee_set_section_contents): .. |
4159 |
|
* ihex.c (ihex_scan, ihex_read_section, ihex_get_section_contents): .. |
4160 |
|
* irix-core.c (do_sections, make_bfd_asection): .. |
4161 |
|
* libaout.h (aout_section_merge_with_text_p): .. |
4162 |
|
* libbfd.c (_bfd_generic_get_section_contents, |
4163 |
|
_bfd_generic_get_section_contents_in_window): .. |
4164 |
|
* linker.c (default_indirect_link_order): .. |
4165 |
|
* lynx-core.c (make_bfd_asection): .. |
4166 |
|
* m68klinux.c (linux_link_create_dynamic_sections, |
4167 |
|
bfd_m68klinux_size_dynamic_sections, linux_finish_dynamic_link): .. |
4168 |
|
* mach-o.c (bfd_mach_o_make_bfd_section, |
4169 |
|
bfd_mach_o_scan_read_dylinker, bfd_mach_o_scan_read_dylib, |
4170 |
|
bfd_mach_o_scan_read_thread, bfd_mach_o_scan_read_symtab, |
4171 |
|
bfd_mach_o_scan_read_segment): .. |
4172 |
|
* merge.c (_bfd_add_merge_section, record_section, merge_strings, |
4173 |
|
_bfd_merge_sections): .. |
4174 |
|
* mmo.c (mmo_find_sec_w_addr, mmo_get_spec_section, mmo_get_loc, |
4175 |
|
mmo_map_set_sizes, mmo_canonicalize_symtab, |
4176 |
|
mmo_internal_write_section, mmo_write_object_contents): .. |
4177 |
|
* netbsd-core.c (netbsd_core_file_p): .. |
4178 |
|
* nlm32-alpha.c (nlm_alpha_read_reloc, nlm_alpha_write_import, |
4179 |
|
nlm_alpha_set_public_section): .. |
4180 |
|
* nlm32-ppc.c (nlm_powerpc_read_reloc, nlm_powerpc_write_reloc): .. |
4181 |
|
* nlm32-sparc.c (nlm_sparc_write_import): .. |
4182 |
|
* nlmcode.h (add_bfd_section, nlm_swap_auxiliary_headers_in, |
4183 |
|
nlm_compute_section_file_positions): .. |
4184 |
|
* oasys.c (oasys_object_p, oasys_slurp_section_data, |
4185 |
|
oasys_write_sections, oasys_write_data, oasys_set_section_contents): .. |
4186 |
|
* opncls.c (get_debug_link_info): .. |
4187 |
|
* osf-core.c (make_bfd_asection): .. |
4188 |
|
* pdp11.c (some_aout_object_p, adjust_o_magic, adjust_z_magic, |
4189 |
|
adjust_n_magic, adjust_sizes_and_vmas, squirt_out_relocs, |
4190 |
|
final_link, aout_link_input_section): .. |
4191 |
|
* peXXigen.c (_bfd_XXi_swap_sym_in, _bfd_XXi_swap_aouthdr_out, |
4192 |
|
pe_print_idata, pe_print_edata, pe_print_pdata, pe_print_reloc): .. |
4193 |
|
* pef.c (bfd_pef_make_bfd_section, bfd_pef_print_loader_section, |
4194 |
|
bfd_pef_scan_start_address, bfd_pef_parse_symbols): .. |
4195 |
|
* ppcboot.c (ppcboot_object_p, ppcboot_canonicalize_symtab): .. |
4196 |
|
* ptrace-core.c (ptrace_unix_core_file_p): .. |
4197 |
|
* reloc.c (bfd_perform_relocation, bfd_install_relocation, |
4198 |
|
_bfd_final_link_relocate, bfd_generic_relax_section, |
4199 |
|
bfd_generic_get_relocated_section_contents): .. |
4200 |
|
* reloc16.c (bfd_coff_reloc16_relax_section, |
4201 |
|
bfd_coff_reloc16_get_relocated_section_c): .. |
4202 |
|
* riscix.c (riscix_some_aout_object_p): .. |
4203 |
|
* rs6000-core.c (read_hdr, make_bfd_asection): .. |
4204 |
|
* sco5-core.c (make_bfd_asection): .. |
4205 |
|
* simple.c (bfd_simple_get_relocated_section_contents): .. |
4206 |
|
* som.c (som_object_setup, setup_sections, som_prep_headers, |
4207 |
|
som_write_fixups, som_begin_writing, bfd_section_from_som_symbol, |
4208 |
|
som_set_reloc_info, som_get_section_contents, |
4209 |
|
som_bfd_link_split_section): .. |
4210 |
|
* sparclinux.c (linux_link_create_dynamic_sections, |
4211 |
|
bfd_sparclinux_size_dynamic_sections, linux_finish_dynamic_link): .. |
4212 |
|
* srec.c (srec_scan, srec_read_section, srec_get_section_contents): .. |
4213 |
|
* stabs.c (_bfd_link_section_stabs, _bfd_discard_section_stabs, |
4214 |
|
_bfd_write_stab_strings, _bfd_stab_section_offset): .. |
4215 |
|
* sunos.c (sunos_read_dynamic_info, sunos_create_dynamic_sections, |
4216 |
|
bfd_sunos_size_dynamic_sections, sunos_scan_std_relocs, |
4217 |
|
sunos_scan_ext_relocs, sunos_scan_dynamic_symbol, |
4218 |
|
sunos_write_dynamic_symbol, sunos_check_dynamic_reloc, |
4219 |
|
sunos_finish_dynamic_link): .. |
4220 |
|
* syms.c (_bfd_stab_section_find_nearest_line): .. |
4221 |
|
* tekhex.c (first_phase, tekhex_set_section_contents, |
4222 |
|
tekhex_write_object_contents): .. |
4223 |
|
* trad-core.c (trad_unix_core_file_p): .. |
4224 |
|
* versados.c (process_esd, process_otr, process_otr): .. |
4225 |
|
* vms-gsd.c (_bfd_vms_slurp_gsd, _bfd_vms_write_gsd): .. |
4226 |
|
* vms-misc.c (add_new_contents): .. |
4227 |
|
* vms-tir.c (check_section, new_section, _bfd_vms_write_tir): .. |
4228 |
|
* vms.c (vms_set_section_contents): .. |
4229 |
|
* xcofflink.c (xcoff_get_section_contents, xcoff_link_add_symbols, |
4230 |
|
xcoff_sweep, bfd_xcoff_size_dynamic_sections, xcoff_build_ldsyms, |
4231 |
|
_bfd_xcoff_bfd_final_link, xcoff_link_input_bfd): .. |
4232 |
|
* xsym.c (bfd_sym_scan): .. See above. |
4233 |
|
|
4234 |
|
2004-06-21 H.J. Lu <hongjiu.lu@intel.com> |
4235 |
|
|
4236 |
|
* elfxx-ia64.c (elfNN_ia64_relax_section): Add addend when |
4237 |
|
calling _bfd_merged_section_offset only for section symbols. |
4238 |
|
|
4239 |
|
2004-06-22 Alan Modra <amodra@bigpond.net.au> |
4240 |
|
|
4241 |
|
* elf32-ppc.c (ppc_elf_relax_section): Implement reference code |
4242 |
|
for handling SEC_MERGE symbols in relax_section. |
4243 |
|
|
4244 |
|
2004-06-21 Alexandre Oliva <aoliva@redhat.com> |
4245 |
|
|
4246 |
|
2003-05-15 Richard Sandiford <rsandifo@redhat.com> |
4247 |
|
* cpu-h8300.c (compatible): Allow h8300s and h8300sx code to be |
4248 |
|
linked together. Mark the result as h8300sx code. |
4249 |
|
|
4250 |
|
2004-06-21 Alexandre Oliva <aoliva@redhat.com> |
4251 |
|
|
4252 |
|
* elf-bfd.h (struct elf_backend_data): Added |
4253 |
|
elf_backend_omit_section_dynsym. |
4254 |
|
(_bfd_elf_link_omit_section_dynsym): Declare. |
4255 |
|
* elf32-frv.c (_frvfdpic_link_omit_section_dynsym): New. |
4256 |
|
(elf_backend_omit_section_dynsym): Use it for frvfdpic. |
4257 |
|
* elflink.c (_bfd_elf_link_omit_section_dynsym): Split out of... |
4258 |
|
(_bfd_elf_link_renumber_dynsyms): ... this function. |
4259 |
|
* elfxx-target.h (elf_backend_omit_section_dynsym): Default to |
4260 |
|
_bfd_elf_link_omit_section_dynsym). |
4261 |
|
(elfNN_bed): Added elf_backend_omit_section_dynsym. |
4262 |
|
|
4263 |
|
2004-06-21 Nick Clifton <nickc@redhat.com> |
4264 |
|
|
4265 |
|
* coffcode.h (styp_to_sec_flags): Ignore IMAGE_SCN_MEM_NOT_PAGED |
4266 |
|
flags. |
4267 |
|
|
4268 |
|
2004-06-17 Jerome Guitton <guitton@gnat.com> |
4269 |
|
|
4270 |
* elf32-mips.c (_bfd_mips_elf_merge_private_bfd_data): Update |
* bfd-in.h (bfd_cache_close_all): New function declaration. |
4271 |
the mach and ISA fields if necessary. |
* bfd-in2.h: Regenerate. |
4272 |
|
* cache.c (bfd_cache_close_all): New function definition. |
4273 |
|
|
4274 |
2002-02-06 Nick Clifton <nickc@cambridge.redhat.com> |
2004-06-16 Mark Kettenis <kettenis@gnu.org> |
4275 |
|
|
4276 |
* coffcode.h (coff_set_arch_mach_hook): Select the highest known |
* configure.in: Don't set COREFILE to trad-core.lo for FreeBSD |
4277 |
ARM architecture when an F_ARM_5 flag is detected, since we cannot |
4.10 and beyond. |
4278 |
be sure exactly which architecture this represents. |
* configure: Regenerate. |
4279 |
|
|
4280 |
2002-02-05 Nick Clifton <nickc@redhat.com> |
2004-06-16 Daniel Jacobowitz <dan@debian.org> |
4281 |
|
|
4282 |
* po/tr.po: Updated translation. |
* elf32-ppc.c (ppc_elf_create_linker_section): Create symbols in |
4283 |
|
the pre-existing section. |
4284 |
|
|
4285 |
2002-02-05 Alan Modra <amodra@bigpond.net.au> |
2004-06-15 Alan Modra <amodra@bigpond.net.au> |
4286 |
|
|
4287 |
From Jimi X <jimix@watson.ibm.com> |
* section.c (struct sec): Remove usused flags. Reorganize a little. |
4288 |
* archures (bfd_mach_ppc64): Define. |
(bfd_get_section_size_before_reloc): Delete. |
4289 |
(bfd_powerpc_arch): Rename to bfd_powerpc_archs. |
(bfd_get_section_size_after_reloc): Delete. |
4290 |
(bfd_powerpc_arch): Define. |
(STD_SECTION): Update. |
4291 |
|
(bfd_get_section_size_now): Delete. |
4292 |
|
(bfd_set_section_contents): Don't referece reloc_done. |
4293 |
|
(bfd_get_section_contents): Remove reloc_done comment. |
4294 |
|
* bout.c (b_out_bfd_get_relocated_section_contents): Don't set |
4295 |
|
reloc_done. |
4296 |
|
* coff-alpha.c (alpha_ecoff_get_relocated_section_contents): Likewise. |
4297 |
|
* ecoff.c (bfd_debug_section): Update initializer. |
4298 |
|
* elfxx-mips.c (_bfd_elf_mips_get_relocated_section_contents): Ditto. |
4299 |
|
* reloc.c (bfd_generic_get_relocated_section_contents): Likewise. |
4300 |
|
* bfd-in.h (bfd_section_size): Expand. |
4301 |
|
(bfd_get_section_size): New macro. |
4302 |
* bfd-in2.h: Regenerate. |
* bfd-in2.h: Regenerate. |
4303 |
* cpu-powerpc.c (arch_info_struct): Rename to bfd_powerpc_archs. |
* coff64-rs6000.c (xcoff64_write_object_contents): Replace |
4304 |
(bfd_powerpc_arch): Move to tail of bfd_powerpc_archs. |
bfd_get_section_size_before_reloc with bfd_get_section_size. |
4305 |
(bfd_powerpc_archs): Add default powerpc64 arch. |
* coffcode.h (coff_write_object_contents): Likewise. |
4306 |
|
* coffgen.c (build_debug_section): Likewise. |
4307 |
|
* dwarf1.c (parse_line_table): Likewise. |
4308 |
|
(_bfd_dwarf1_find_nearest_line): Likewise. |
4309 |
|
* ecoff.c (_bfd_ecoff_write_object_contents): Likewise. |
4310 |
|
* i386msdos.c (msdos_write_object_contents): Likewise. |
4311 |
|
* pdp11.c (squirt_out_relocs): Likewise. |
4312 |
|
* elf32-sh64.c (sh64_find_section_for_address): Remove comment. |
4313 |
|
* elf64-mmix.c (mmix_elf_final_link): Update comment. |
4314 |
|
|
4315 |
|
2004-06-14 Chris Demetriou <cgd@broadcom.com> |
4316 |
|
|
4317 |
|
* elf32-mips.c (elf_mips_gnu_pcrel32): Add (undoing 2004-04-24 |
4318 |
|
removal) with updated comment. |
4319 |
|
(bfd_elf32_bfd_reloc_type_lookup): Add back case for |
4320 |
|
BFD_RELOC_32_PCREL. |
4321 |
|
(mips_elf32_rtype_to_howto): Add back case for R_MIPS_PC32. |
4322 |
|
* elfxx-mips.c (mips_elf_calculate_relocation): Likewise. |
4323 |
|
|
4324 |
|
2004-06-12 Alan Modra <amodra@bigpond.net.au> |
4325 |
|
|
4326 |
|
* elf64-x86-64.c (elf64_x86_64_relocate_section): Ignore reloc |
4327 |
|
overflow on branches to undefweaks. |
4328 |
|
|
4329 |
2002-02-05 Alan Modra <amodra@bigpond.net.au> |
2004-06-11 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
4330 |
|
|
4331 |
* elf64-ppc.c (ppc64_elf_size_dynamic_sections): Check for relocs |
* coff-alpha.c (alpha_relocate_section): Set used_by_bfd directly |
4332 |
against section syms in readonly sections. Don't do the global |
as ecoff_section_data() does not return a valid lvalue. |
|
sym check if we find one. |
|
|
* elf64-s390.c (elf_s390_size_dynamic_sections): Likewise. |
|
|
* elf32-hppa.c (elf32_hppa_size_dynamic_sections): Likewise. |
|
|
* elf32-i386.c (elf_i386_size_dynamic_sections): Likewise. |
|
|
* elf32-s390.c (elf_s390_size_dynamic_sections): Likewise. |
|
|
(elf_s390_grok_prstatus): Add missing prototype. |
|
4333 |
|
|
4334 |
2002-02-04 Hans-Peter Nilsson <hp@bitrange.com> |
2004-06-09 Alexandre Oliva <aoliva@redhat.com> |
4335 |
|
|
4336 |
* elf64-mmix.c (mmix_dump_bpo_gregs): New function. |
* elflink.c (elf_sort_symbol): Compare section id, not pointers. |
4337 |
(mmix_elf_check_common_relocs) <case R_MMIX_BASE_PLUS_OFFSET>: |
(elf_link_add_object_symbols): Likewise. |
|
Call bfd_get_section_by_name only once. Initialize |
|
|
bpodata->n_bpo_relocs_this_section. |
|
|
(_bfd_mmix_prepare_linker_allocated_gregs): Remove comment |
|
|
referring to DSOs. |
|
|
(bpo_reloc_request_sort_fn): Don't use difference of values as |
|
|
return-value. |
|
4338 |
|
|
4339 |
2002-02-02 David O'Brien <obrien@FreeBSD> |
* elf-m10300.c (_bfd_mn10300_elf_reloc_type_class): New. |
4340 |
|
(elf_backend_reloc_type_class): New. |
4341 |
|
|
4342 |
* configure.in: Tweak the FreeBSD 4.x recognition more. Only treat |
2004-06-08 Mark Kettenis <kettenis@gnu.org> |
|
version 4.5 and later the same as 5-CURRENT. |
|
|
* configure: Re-generate. |
|
4343 |
|
|
4344 |
2002-02-02 Jason Thorpe <thorpej@wasabisystems.com> |
* configure.in (hppa*-*-netbsd*, hppa*-*-openbsd): Set COREFILE to |
4345 |
|
netbsd-core.lo. |
4346 |
|
* configure: Regenerate. |
4347 |
|
|
4348 |
* config.bfd (hppa*-*-netbsd*): New target. |
2004-06-07 Daniel Jacobowitz <dan@debian.org> |
4349 |
|
|
4350 |
2002-01-31 Philipp Thomas <pthomas@suse.de> |
From: Albert Chin-A-Young <china@thewrittenword.com> |
4351 |
|
* bfd/elf-bfd.h (struct eh_cie_fde): Convert unsigned char bitfields |
4352 |
|
to unsigned int. |
4353 |
|
|
4354 |
* coff-arm.c (coff_arm_merge_private_bfd_data): Move ERROR |
2004-05-29 H.J. Lu <hongjiu.lu@intel.com> |
|
to front of message. Unify messages with elf32-arm.h. Use |
|
|
commas where neccessary. |
|
|
* elf32-arm.h (elf32_arm_merge_private_bfd_data): Use all upcase |
|
|
ERROR in messages. Unify messages with coff-arm.c. Correct |
|
|
VFP/FPA error message. |
|
|
(elf32_arm_print_private_bfd_data): Don't mark APCS-26 and |
|
|
APCS-32 for translation. |
|
|
|
|
|
2002-02-01 Hans-Peter Nilsson <hp@bitrange.com> |
|
|
|
|
|
Perform on-demand global register allocation from |
|
|
R_MMIX_BASE_PLUS_OFFSET relocs. |
|
|
* elf64-mmix.c (struct bpo_reloc_section_info, struct |
|
|
bpo_reloc_request, struct bpo_greg_section_info): New. |
|
|
(mmix_elf_check_common_relocs, mmix_elf_gc_sweep_hook, |
|
|
bpo_reloc_request_sort_fn, mmix_elf_relax_section, |
|
|
_bfd_mmix_check_all_relocs, |
|
|
_bfd_mmix_prepare_linker_allocated_gregs, |
|
|
_bfd_mmix_finalize_linker_allocated_gregs): New functions. |
|
|
(elf_mmix_howto_table): Correct src_mask for most relocs. |
|
|
(mmix_elf_perform_relocation) <case R_MMIX_BASE_PLUS_OFFSET>: New |
|
|
case. |
|
|
(mmix_final_link_relocate) <case R_MMIX_BASE_PLUS_OFFSET>: New |
|
|
case. Fix typo in comment. New label do_mmix_reloc. |
|
|
(mmix_elf_check_relocs): Abuse bfd_link_info member base_file to |
|
|
store first object file with a base-plus-offset reloc. Call |
|
|
mmix_elf_check_common_relocs for the part common with mmo. |
|
|
(mmix_elf_final_link): Write out linker-allocated register |
|
|
contents section. |
|
|
(elf_backend_gc_sweep_hook): Define. |
|
|
(bfd_elf64_bfd_relax_section): Define. |
|
4355 |
|
|
4356 |
* mmo.c: Don't include <ctype.h> |
* elfxx-ia64.c (elfNN_ia64_relax_section): Undo the last |
4357 |
(mmo_init): Correct init-once logic. |
change. |
4358 |
|
|
4359 |
2002-02-01 Tom Rix <trix@redhat.com> |
2004-05-28 DJ Delorie <dj@redhat.com> |
4360 |
|
|
4361 |
* config.bfd: Conditionally support <aiaff> for pre AIX 4.3. |
* elf-m10300.c (mn10300_elf_relax_section): Preserve reloc addend |
4362 |
|
for linking, but otherwise adjust reloc for merged sections. |
4363 |
|
|
4364 |
2002-02-01 Alan Modra <amodra@bigpond.net.au> |
2004-05-28 H.J. Lu <hongjiu.lu@intel.com> |
4365 |
|
|
4366 |
* Makefile.am: Run "make dep-am" |
* elfxx-ia64.c (elfNN_ia64_relax_section): Properly call |
4367 |
|
_bfd_merged_section_offset for local symbols. |
4368 |
|
|
4369 |
|
2004-05-28 Andrew Stubbs <andrew.stubbs@superh.com> |
4370 |
|
|
4371 |
|
* Makefile.am: Regenerate dependencies. |
4372 |
* Makefile.in: Regenerate. |
* Makefile.in: Regenerate. |
4373 |
|
* archures.c: Add bfd_mach_sh3_nommu . |
4374 |
|
* bfd-in2.h: Regenerate. |
4375 |
|
* cpu-sh.c: Add sh3-nommu architecture. |
4376 |
|
(bfd_to_arch_table): Create new table. |
4377 |
|
(sh_get_arch_from_bfd_mach): Create new function. |
4378 |
|
(sh_get_arch_up_from_bfd_mach): Create new function. |
4379 |
|
(sh_merge_bfd_arch): Create new function. |
4380 |
|
* elf32-sh.c (sh_ef_bfd_table): Add table. |
4381 |
|
(sh_elf_check_relocs): Replace switch statement with |
4382 |
|
use of sh_ef_bfd_table . |
4383 |
|
(sh_elf_get_flags_from_mach): Add new function. |
4384 |
|
(sh_find_elf_flags): Likewise. |
4385 |
|
(sh_elf_copy_private_data): Replace most of non-elf contents |
4386 |
|
with a call to sh_merge_bfd_arch() . |
4387 |
|
|
4388 |
|
2004-05-27 Michael Chastain <mec.gnu@mindspring.com> |
4389 |
|
|
4390 |
|
* Makefile.am (bfdver.h): Use explicit filename, not $< . |
4391 |
|
* Makefile.in: Regenerate. |
4392 |
|
|
4393 |
|
2004-05-27 Alexandre Oliva <aoliva@redhat.com> |
4394 |
|
|
4395 |
2002-01-31 David O'Brien <obrien@FreeBSD> |
* elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Avoid |
4396 |
|
custom calling conventions for dynamic symbols. |
4397 |
|
(mn10300_elf_relax_section): Avoid relaxing a function as a local |
4398 |
|
symbol if it's an alias to a global one. |
4399 |
|
|
4400 |
|
2004-05-26 H.J. Lu <hongjiu.lu@intel.com> |
4401 |
|
|
4402 |
|
* elf.c (_bfd_elf_make_section_from_shdr): Undo the last |
4403 |
|
change. |
4404 |
|
|
4405 |
|
2004-05-27 Alexandre Oliva <aoliva@redhat.com> |
4406 |
|
|
4407 |
|
* elf-m10300.c (mn10300_elf_relax_section): Don't test isym within |
4408 |
|
loop over hashes. |
4409 |
|
|
4410 |
|
2004-05-26 Alan Modra <amodra@bigpond.net.au> |
4411 |
|
|
4412 |
|
* elf.c (_bfd_elf_make_section_from_shdr): Don't set SEC_EXCLUDE |
4413 |
|
for SHT_GROUP sections. |
4414 |
|
|
4415 |
|
2004-05-25 Alan Modra <amodra@bigpond.net.au> |
4416 |
|
|
4417 |
|
* elflink.c (elf_link_add_object_symbols): Don't set up merge |
4418 |
|
section data here.. |
4419 |
|
* elf.c (_bfd_elf_merge_sections): .. Do it here instead. |
4420 |
|
* merge.c: Formatting. Remove unnecessary casts. Expand |
4421 |
|
bfd_get_section_alignment macro. |
4422 |
|
(struct sec_merge_sec_info): Rename "first" to "first_str". Update |
4423 |
|
use throughout file. |
4424 |
|
(_bfd_add_merge_section): Rename from _bfd_merge_section. Update |
4425 |
|
comment. Abort on dynamic or non-SEC_MERGE input. Don't test |
4426 |
|
section name to determine sinfo group, instead test output section |
4427 |
|
and alignment. |
4428 |
|
(_bfd_merge_sections): Add struct bfd_link_info param. Call |
4429 |
|
_bfd_strip_section_from_output rather than just twiddling flags. |
4430 |
|
* libbfd-in.h (_bfd_add_merge_section): Rename, update comment. |
4431 |
|
(_bfd_merge_sections): Update prototype. |
4432 |
|
* libbfd.h: Regenerate. |
4433 |
|
|
4434 |
|
2004-05-24 Mark Kettenis <kettenis@gnu.org> |
4435 |
|
|
4436 |
|
* netbsd-core.c: Correctly indent section that sets architecture |
4437 |
|
from machine ID. |
4438 |
|
|
4439 |
* configure.in: Recognize the differences in core files from FreeBSD |
From Miod Vallat <miod@online.fr>: |
4440 |
4.{0,1} and later versions of 4.x. This treats 4.2+ the same as |
* m88kopenbsd.c: New file. |
4441 |
5-CURRENT. |
* targets.c (m88k_openbsd_vec): New. |
4442 |
|
* config.bfd: Add m88k-*-openbsd*. |
4443 |
|
* configure.in (m88k-*-openbsd*): Set COREFILE to netbsd-core.lo. |
4444 |
|
(m88kopenbsd_vec): New. |
4445 |
* configure: Regenerate. |
* configure: Regenerate. |
4446 |
|
* Makefile.am (BFD32_BACKENDS): Add m88kopenbsd.lo. |
4447 |
|
(BFD32_BACKENDS_CFILES): Add m88kopenbsd.c. |
4448 |
|
Run "make dep-am". |
4449 |
|
* Makefile.in: Regenerate. |
4450 |
|
* po/SRC-POTFILES.in: Regenerate. |
4451 |
|
|
4452 |
|
2004-05-24 Nick Clifton <nickc@redhat.com> |
4453 |
|
|
4454 |
|
* hash.c: Remove bogus node "Changing the default Hash Table Size" |
4455 |
|
introduced by hash table size patch. |
4456 |
|
|
4457 |
2002-01-31 Ivan Guzvinec <ivang@opencores.org> |
2004-05-22 Ben Elliston <bje@au.ibm.com> |
4458 |
|
|
4459 |
* coff-or32.c: New file. |
* configure.in (is_release): Remove. |
4460 |
* cpu-or32.c: New file. |
(bfd_version_date, bfd_version, bfd_version_string): Likewise. |
4461 |
* elf32-or32.c: New file. |
(AC_OUTPUT): Don't output bfdver.h from version.h. |
|
* archures.c: Add support for or32. |
|
|
* targets.c: Add support for or32. |
|
|
* bfd-in2.h: Regenerate. |
|
|
* coffcode.h (coff_set_arch_mach_hook, coff_set_flags, |
|
|
coff_write_object_contents): Add support for or32. |
|
|
* config.bfd: Add target. |
|
|
* configure.in: Add support for or32. |
|
4462 |
* configure: Regenerate. |
* configure: Regenerate. |
4463 |
* Makefile.am: Add support for or32. |
* Makefile.am (RELEASE): New variable. |
4464 |
|
(bfdver.h): New target. |
4465 |
* Makefile.in: Regenerate. |
* Makefile.in: Regenerate. |
4466 |
* po/SRC-POTFILES.in: Add or32 files. |
* doc/Makefile.in: Likewise. |
|
* po/bfd.pot: Regenerate. |
|
4467 |
|
|
4468 |
2002-01-31 Nick Clifton <nickc@cambridge.redhat.com> |
2004-05-22 Ben Elliston <bje@au.ibm.com> |
|
Don Lindsay <lindsayd@cisco.com> |
|
4469 |
|
|
4470 |
* elf32-mips.c (mips_elf_calculate_relocation): Replace 'return |
* Makefile.am (config.status): Don't depend on version.h. |
4471 |
false' with a return of a bfd_reloc_ error code. |
* Makefile.in: Regenerate. |
4472 |
|
|
4473 |
2002-01-31 Hans-Peter Nilsson <hp@axis.com> |
2004-05-22 Alan Modra <amodra@bigpond.net.au> |
4474 |
|
|
4475 |
* elf32-cris.c (elf_cris_discard_excess_program_dynamics): Don't |
* merge.c (_bfd_merged_section_offset): Remove "addend" param. |
4476 |
unexport unreferenced symbols when --export-dynamic. Call |
* libbfd-in.h (_bfd_merged_section_offset): Adjust prototype. |
4477 |
_bfd_elf_strtab_delref when unexporting. |
* libbfd.h: Regenerate. |
4478 |
|
* elf.c (_bfd_elf_rela_local_sym): Adjust call. |
4479 |
|
(_bfd_elf_rel_local_sym): Likewise. |
4480 |
|
* elflink.c (_bfd_elf_link_sec_merge_syms): Likewise. |
4481 |
|
(elf_link_input_bfd): Likewise. |
4482 |
|
* elf32-ppc.c (ppc_elf_relax_section): Likewise. |
4483 |
|
* elf64-alpha.c (elf64_alpha_relocate_section): Likewise. |
4484 |
|
* elfxx-ia64.c (elfNN_ia64_relax_section): Likewise. |
4485 |
|
(elfNN_ia64_relocate_section): Likewise. |
4486 |
|
|
4487 |
2002-01-30 Daniel Jacobowitz <drow@mvista.com> |
2004-05-21 Andy Chittenden <achittenden@bluearc.com> |
4488 |
|
|
4489 |
* bfd-in.h: Include <stdbool.h> if it is available. |
* hash.c (bfd_default_hash_table_size): New variable. |
4490 |
* bfd-in2.h: Regenerated. |
(bfd_hash_table_init): Use new variable instead of DEFAULT_SIZE. |
4491 |
|
(bfd_hash_set_default_size): New function. Set the default size |
4492 |
|
to a selected prime number close to the argument. Document new |
4493 |
|
function. |
4494 |
|
* bfd-in.h: Add prototype for bfd_hash_set_default_size. |
4495 |
|
* bfd-in2.h: Regenerate. |
4496 |
|
* Makefile.am (hash.lo): Add dependency upon libiberty.h. |
4497 |
|
* Makefile.in: Regenerate. |
4498 |
|
|
4499 |
|
2004-05-21 Mark Kettenis <kettenis@gnu.org> |
4500 |
|
|
4501 |
|
* libaout.h (machine_type): Add M_88K_OPENBSD and M_HPPA_OPENBSD. |
4502 |
|
* netbsd-core.c (netbsd_core_file_p): Set architecture for alpha, |
4503 |
|
arm, m68k, m88k and hppa core files. |
4504 |
|
|
4505 |
|
2004-05-21 Nick Clifton <nickc@redhat.com> |
4506 |
|
|
4507 |
|
* bfdio.c (bfd_bread): Do not use iovec if it is NULL. |
4508 |
|
(bfd_bwrite): Likewise. |
4509 |
|
(bfd_tell): Likewise. |
4510 |
|
(bfd_flush): Likewise. |
4511 |
|
(bfd_stat): Likewise. |
4512 |
|
(bfd_seek): Likewise. |
4513 |
|
(bfd_get_mtime): Likewise. |
4514 |
|
(bfd_get_size): Likewise. |
4515 |
|
|
4516 |
|
2004-05-19 Ben Elliston <bje@au.ibm.com> |
4517 |
|
|
4518 |
|
* dwarf2.c (_bfd_dwarf2_find_nearest_line): Comment correction. |
4519 |
|
|
4520 |
|
2004-05-19 Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz> |
4521 |
|
|
4522 |
|
* archive.c (_bfd_get_elt_at_filepos): Cope with a nested archives. |
4523 |
|
(bfd_generic_openr_next_archived_file): Likewise. |
4524 |
|
|
4525 |
2002-01-31 Alan Modra <amodra@bigpond.net.au> |
2004-05-17 Bob Wilson <bob.wilson@acm.org> |
4526 |
|
|
4527 |
* elf64-ppc.c (func_desc_adjust): STV_PROTECTED functions should |
* elf32-xtensa.c (xtensa_get_property_section_name): Determine linkonce |
4528 |
not go via the plt. |
section names by inserting a new substring after .gnu.linkonce, except |
4529 |
|
for .gnu.linkonce.t.* where the "t." is replaced. |
4530 |
|
|
4531 |
2002-01-30 Nick Clifton <nickc@cambridge.redhat.com> |
2004-05-17 Adam Nemet <anemet@lnxw.com> |
4532 |
|
|
4533 |
* archures.c: Tidy up formatting of embedded comments. |
* config.bfd (sparc-*-lynxos* case): Add to obsolete list. |
4534 |
* bfd.c: Tidy up formatting of embedded comments. |
(m68-*-lynxos* case): Likewise. |
4535 |
* bfd-in.h: Fix formatting of comments. |
(powerpc-*-lyxnos* case): New case. |
4536 |
* reloc.c: Tidy up formatting of ordinary & embedded comments. |
(i[3-7]86-*-lynxos* case): Update to LynxOS 4.0 ELF. |
|
* section.c: Tidy up formatting of embedded comments. |
|
|
* syms.c: Tidy up formatting of embedded comments. |
|
|
* targets.c: Tidy up formatting of embedded comments. |
|
4537 |
|
|
4538 |
|
2004-05-17 David Heine <dlheine@tensilica.com> |
4539 |
|
|
4540 |
|
* aout-target.h (MY_bfd_copy_private_header_data): Define. |
4541 |
|
* aout-tic30.c (MY_bfd_copy_private_header_data): Define. |
4542 |
|
* bfd.c (bfd_copy_private_header_data): Define. |
4543 |
|
* coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Add entries for new |
4544 |
|
interface. |
4545 |
|
* coff64-rs6000.c (rs6000coff64_vec, aix5coff64_vec): Likewise. |
4546 |
|
* coffcode.h (coff_bfd_copy_private_header_data): Define. |
4547 |
|
* elf-bfd.h (_bfd_elf_copy_private_header_data): Declare. |
4548 |
|
* elf.c (_bfd_elf_copy_private_section_data): Remove code to set up |
4549 |
|
segments by calling copy_private_bfd_data. |
4550 |
|
(_bfd_elf_copy_private_header_data): Define. |
4551 |
|
* elfxx-target.h (bfd_elfNN_bfd_copy_private_header_data): Define. |
4552 |
|
* libbfd-in.h (_bfd_generic_bfd_copy_private_header_data): Define. |
4553 |
|
* libecoff.h (_bfd_ecoff_bfd_copy_private_header_data): Define. |
4554 |
|
* mach-o.c (bfd_mach_o_bfd_copy_private_header_data): Define. |
4555 |
|
* mmo.c (mmo_bfd_copy_private_header_data): Define. |
4556 |
|
* ppcboot.c (ppcboot_bfd_copy_private_header_data): Define. |
4557 |
|
* som.c (som_bfd_copy_private_header_data): Define. |
4558 |
|
* targets.c (BFD_JUMP_TABLE_COPY): Add _bfd_copy_private_header_data. |
4559 |
|
* vms.c (vms_bfd_copy_private_header_data): Define. |
4560 |
* bfd-in2.h: Regenerate. |
* bfd-in2.h: Regenerate. |
4561 |
|
* libbfd.h: Regenerate. |
4562 |
|
|
4563 |
2002-01-30 Nick Clifton <nickc@cambridge.redhat.com> |
2004-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
4564 |
|
|
4565 |
* vms-tir.c (cmd_name): New function. |
* elfxx-mips.c (MINUS_TWO): Define. |
4566 |
(tir_cmd_name): New function. |
(mips_elf_higher, mips_elf_highest, |
4567 |
(etir_sta, etir_sto, etir_opr, etir_stc): Use cmd_name(). |
mips_elf_create_dynamic_relocation): Use MINUS_ONE and MINUS_TWO for |
4568 |
(tir_opr, tir_ctl, tir_cmd): use tir_cmd_name(). |
some bfd_vma values. |
4569 |
Fix formatting. |
(_bfd_mips_elf_finish_dynamic_symbol): Likewise. Code cleanup. |
4570 |
|
|
4571 |
|
2004-05-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
4572 |
|
|
4573 |
|
* som.c (log2): Rename to exact_log2. Adjust all callers. |
4574 |
|
|
4575 |
|
2004-05-13 Paul Brook <paul@codesourcery.com> |
4576 |
|
|
4577 |
|
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Handle |
4578 |
|
dwarf3 format CIE entries. Remove comment about the size of the |
4579 |
|
ra_column field. It is now correctly deduced. |
4580 |
|
|
4581 |
|
2004-05-13 Joel Sherrill <joel@oarcorp.com> |
4582 |
|
|
4583 |
|
* config.bfd (or32-*-rtems*): Switch to elf. |
4584 |
|
|
4585 |
|
2004-05-13 Nick Clifton <nickc@redhat.com> |
4586 |
|
|
4587 |
|
* po/fr.po: Updated French translation. |
4588 |
|
|
4589 |
|
2004-05-11 Jakub Jelinek <jakub@redhat.com> |
4590 |
|
|
4591 |
|
* elflink.c (bfd_elf_final_link): Don't output STT_SECTION symbol |
4592 |
|
into .dynsym if elf_section_data (sec)->dynindx <= 0. |
4593 |
|
Adjust counting of last_local. |
4594 |
|
(_bfd_elf_link_renumber_dynsyms): Don't assign dynindx to sections |
4595 |
|
other than SHT_PROGBITS/SHT_NOBITS and neither for .got/.got.plt/.plt |
4596 |
|
created by the linker nor !SHF_ALLOC. |
4597 |
|
|
4598 |
|
* elf32-i386.c (elf_i386_finish_dynamic_sections): Point |
4599 |
|
DT_PLTGOT to the start of the .got.plt section instead of the |
4600 |
|
.got output section. Set sh_entsize for .got section in addition |
4601 |
|
to .got.plt. |
4602 |
|
(elf_i386_relocate_section): Don't assume _GLOBAL_OFFSET_TABLE_ |
4603 |
|
is at sgot->output_section->vma. |
4604 |
|
* elf64-x86-64.c (elf64_x86_64_finish_dynamic_sections): Point |
4605 |
|
DT_PLTGOT to the start of the .got.plt section instead of the |
4606 |
|
.got output section. |
4607 |
|
(elf64_x86_64_relocate_section): Don't assume _GLOBAL_OFFSET_TABLE_ |
4608 |
|
is at sgot->output_section->vma. Set sh_entsize for .got section |
4609 |
|
in addition to .got.plt. |
4610 |
|
* elf.c (_bfd_elf_print_private_bfd_data): Handle PT_GNU_RELRO. |
4611 |
|
(bfd_section_from_phdr): Likewise. |
4612 |
|
(map_sections_to_segments): Likewise. |
4613 |
|
(assign_file_positions_for_segments): Likewise. |
4614 |
|
(get_program_header_size): Likewise. |
4615 |
|
* elflink.c (bfd_elf_size_dynamic_sections): Set |
4616 |
|
elf_tdata (output_bfd)->relro from info->relro. |
4617 |
|
* elf-bfd.h (struct elf_obj_tdata): Add relro field. |
4618 |
|
|
4619 |
|
2004-05-08 Alexandre Oliva <aoliva@redhat.com> |
4620 |
|
|
4621 |
|
* elf32-frv.c (_frvfdpic_add_dyn_reloc): Don't warn when we get |
4622 |
|
a zero symndx for which we hadn't accounted a dynamic relocation. |
4623 |
|
(_frvfdpic_add_rofixup): Likewise. |
4624 |
|
|
4625 |
|
2004-05-07 Brian Ford <ford@vss.fsi.com> |
4626 |
|
DJ Delorie <dj@redhat.com> |
4627 |
|
|
4628 |
|
* coffcode.h (coff_write_object_contents) [COFF_IMAGE_WITH_PE]: |
4629 |
|
Propagate IMAGE_FILE_LARGE_ADDRESS_AWARE. |
4630 |
|
* peXXigen.c (_bfd_XX_print_private_bfd_data_common): Recognize |
4631 |
|
IMAGE_FILE_LARGE_ADDRESS_AWARE. Use PE defines. |
4632 |
|
|
4633 |
|
2004-05-07 Alexandre Oliva <aoliva@redhat.com> |
4634 |
|
|
4635 |
|
* elf32-frv.c (elf32_frvfdpic_modify_segment_map): Return |
4636 |
|
immediately if there's no link info. |
4637 |
|
(elf32_frvfdpic_copy_private_bfd_data): New. |
4638 |
|
(bfd_elf32_bfd_copy_private_bfd_data): Use it for frvfdpic. |
4639 |
|
|
4640 |
|
2004-05-06 Zack Weinberg <zack@codesourcery.com> |
4641 |
|
|
4642 |
|
* dwarf2.c (add_line_info): Also set info->filename to NULL if |
4643 |
|
filename argument is null; do not call strlen on a null pointer. |
4644 |
|
|
4645 |
|
2004-05-06 Daniel Jacobowitz <drow@mvista.com> |
4646 |
|
|
4647 |
|
* elf32-arm.h (elf32_arm_relocate_section): Remove R_ARM_PLT32 |
4648 |
|
special case. |
4649 |
|
|
4650 |
|
2004-05-05 Alexandre Oliva <aoliva@redhat.com> |
4651 |
|
|
4652 |
|
* configure.in (bfd_elf32_frvfdpic_vec): New. |
4653 |
|
* configure: Rebuilt. |
4654 |
|
* targets.c (bfd_elf32_frvfdpic_vec): New. |
4655 |
|
* config.bfd: Enable it on frv-*-elf and frv-*-*linux*, as default |
4656 |
|
on the latter. |
4657 |
|
* elf32-frv.c: Prefix all identifiers added for FDPIC support with |
4658 |
|
frvfdpic instead of frv. Rearrange elf-target macros such that |
4659 |
|
the FDPIC-specific ones are only defined for this new target |
4660 |
|
vector. |
4661 |
|
(bfd_elf32_frvfdpic_vec): Declare. |
4662 |
|
(IS_FDPIC): New. |
4663 |
|
(elf32_frv_relocate_section): Use it to enable segment checking |
4664 |
|
and to control rofixup emission. Add output section vma to |
4665 |
|
applied relocation in non-LOAD non-ALLOC sections. Use |
4666 |
|
_bfd_error_handler for errors. |
4667 |
|
(_frv_create_got_section): Create .rel.got and .rofixup only in |
4668 |
|
FDPIC. Create non-dynamic _gp at .got+2048 in non-FDPIC, like the |
4669 |
|
linker script. |
4670 |
|
(elf32_frvfdpic_size_dynamic_sections): Assume FDPIC. |
4671 |
|
(elf32_frvfdpic_modify_segment_map): Likewise. |
4672 |
|
(elf32_frv_finish_dynamic_sections): New, do-nothing. |
4673 |
|
(elf32_frvfdpic_finish_dynamic_sections): Assume FDPIC. Improve |
4674 |
|
error message if we miscompute the rofixup size. |
4675 |
|
(frvfdpic_elf_use_relative_eh_frame): Assume FDPIC. |
4676 |
|
(frvfdpic_elf_encode_eh_address): Likewise. |
4677 |
|
(elf32_frv_check_relocs): Reject FDPIC-only relocs in non-FDPIC. |
4678 |
|
Record relocs only in FDPIC. Make sure _gp is defined for GPREL |
4679 |
|
relocs. Reject unknown relocation types. |
4680 |
|
(elf32_frv_object_p): Make sure target vector matches FDPIC bits. |
4681 |
|
(frv_elf_merge_private_bfd_data): Likewise. |
4682 |
|
(ELF_MAXPAGESIZE): Revert to 0x1000 for elf32-frv; keep it as |
4683 |
|
0x4000 for newly-added elf32-frvfdpic. |
4684 |
|
|
4685 |
|
2004-05-05 Nick Clifton <nickc@redhat.com> |
4686 |
|
|
4687 |
|
PR/136 |
4688 |
|
* cache.c (bfd_cache_lookup_worker): Call abort() rather than |
4689 |
|
returning NULL as most users of this function do not check its |
4690 |
|
return value. |
4691 |
|
* hppabsd-core.c (hppabsd_core_core_file_p): Do not check result |
4692 |
|
of bfd_cache_lookup(). |
4693 |
|
* sco5-core.c (sco5_core_file_p): Likewise. |
4694 |
|
* trad-core.c (trad_unix_core_file_p): Likewise. |
4695 |
|
|
4696 |
* peXXigen.c (pe_print_idata): Rearrange message to aid in |
2004-05-05 Nick Clifton <nickc@redhat.com> |
|
translation. |
|
|
(pe_print_pdata): Rearrange message to aid in translation. |
|
4697 |
|
|
4698 |
* libbfd.c (warn_deprecated): Rearrange error message to aid in |
* cache.c (bfd_cache_lookup): Improve formatting. |
4699 |
translation. |
* archive.c: Fix formatting. |
4700 |
|
|
4701 |
* ihex.c (ihex_write_object_contents): Fix spelling typo. |
2004-05-05 Peter Barada <peter@the-baradas.com> |
4702 |
|
|
4703 |
* ieee.c (ieee_slurp_external_symbols): Remove spurious space. |
* bfd_archures.c(bfd_architecture): Add 521x,5249,547x,548x. |
4704 |
|
* cpu-m68k.c(bfd_m68k_arch): Likewise. |
4705 |
|
* bfd-in2.h(bfd_architecture): Regenerate. |
4706 |
|
|
4707 |
* elf64-sparc.c (sparc64_elf_add_symbol_hook): Rearrange error |
2004-05-03 Alan Modra <amodra@bigpond.net.au> |
|
message to aid in translation. |
|
4708 |
|
|
4709 |
* elf64-mmix.c (mmix_final_link_relocate): Rearrange error message |
* elf.c (_bfd_elf_rela_local_sym): Set kept_section for excluded |
4710 |
to aid in translation. |
SEC_MERGE sections. |
4711 |
|
* elflink.c (elf_link_input_bfd): Adjust output reloc index for |
4712 |
|
those against discarded link-once and SEC_MERGE section symbols. |
4713 |
|
|
4714 |
* elf32-arm.h (elf32_arm_merge_private_bfd_data): Fix typo. |
2004-05-02 H.J. Lu <hongjiu.lu@intel.com> |
4715 |
|
|
4716 |
2002-01-30 Philipp Thomas <pthomas@suse.de> |
* section.c (bfd_get_section_by_name_if): New. |
4717 |
|
* bfd-in2.h: Regenerated. |
4718 |
|
|
4719 |
* coff-arm.c, elf32-elf.h: Unify messages. |
2004-05-02 Alan Modra <amodra@bigpond.net.au> |
4720 |
|
|
4721 |
2002-01-30 Nick Clifton <nickc@redhat.com> |
* som.c (som_bfd_is_group_section): Define. |
4722 |
|
|
4723 |
* po/sv.po: Updated translation. |
2004-05-01 Alan Modra <amodra@bigpond.net.au> |
4724 |
|
|
4725 |
2002-01-30 Philipp Thomas <pthomas@suse.de> |
* section.c (bfd_make_section_anyway): Copy the whole |
4726 |
|
bfd_hash_entry, not just "next" from existing entry. |
4727 |
|
|
4728 |
* dwarf2.c (read_abbrev): Use full section name in error message. |
2004-04-30 H.J. Lu <hongjiu.lu@intel.com> |
|
(decode_line_info): Likewise. |
|
4729 |
|
|
4730 |
* elf.c (_bfd_elf_symbol_from_bfd_symbol): Don't translate debugging |
* elf.c (bfd_section_from_shdr): Maintain the section order in |
4731 |
message. |
a section group. |
4732 |
|
(special_sections): Add ".note.GNU-stack". |
4733 |
|
(elf_fake_sections): Handle section group for relocatable |
4734 |
|
link.. |
4735 |
|
|
4736 |
2002-01-30 Alan Modra <amodra@bigpond.net.au> |
2004-04-30 H.J. Lu <hongjiu.lu@intel.com> |
4737 |
|
|
4738 |
* elf64-ppc.c (func_desc_adjust): Only provide missing function |
* section.c (bfd_sections_find_if): New. |
4739 |
descriptor symbols for undefined function code syms. Clear |
* bfd-in2.h: Regenerated. |
|
ELF_LINK_NON_ELF so that they can stay weak. |
|
4740 |
|
|
4741 |
2002-01-29 Chris Demetriou <cgd@broadcom.com> |
2004-04-30 Alan Modra <amodra@bigpond.net.au> |
|
Mitch Lichtenberg <mpl@broadcom.com> |
|
4742 |
|
|
4743 |
* bfd-in.h (bfd_mips_elf32_create_embedded_relocs): New prototype. |
* section.c (bfd_make_section_anyway): Add all sections to hash tab. |
4744 |
* elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): New function |
|
4745 |
to handle 32-bit ELF embedded reloc (ld --embedded-relocs) |
* elf-bfd.h (bfd_elf_is_group_section): Declare. |
4746 |
generation. |
* elf.c (bfd_elf_is_group_section): New function. |
4747 |
|
* elfxx-target.h (bfd_elfNN_bfd_is_group_section |
4748 |
|
* section.c (bfd_generic_is_group_section): New function. |
4749 |
|
* targets.c (struct bfd_target): Add _bfd_is_group_section field. |
4750 |
|
(BFD_JUMP_TABLE_LINK): Adjust. |
4751 |
|
* aout-adobe.c (aout_32_bfd_is_group_section): Define. |
4752 |
|
* aout-target.h (MY_bfd_is_group_section): Define. |
4753 |
|
* aout-tic30.c (MY_bfd_is_group_section): Define. |
4754 |
|
* bfd.c (bfd_is_group_section): Define. |
4755 |
|
* binary.c (binary_bfd_is_group_section): Define. |
4756 |
|
* bout.c (b_out_bfd_is_group_section): Define. |
4757 |
|
* coff-alpha.c (_bfd_ecoff_bfd_is_group_section): Define. |
4758 |
|
* coff-mips.c (_bfd_ecoff_bfd_is_group_section): Define. |
4759 |
|
* coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Adjust. |
4760 |
|
* coff64-rs6000.c (rs6000coff64_vec, aix5coff64_vec): Adjust. |
4761 |
|
* coffcode.h (coff_bfd_is_group_section): Define. |
4762 |
|
* i386msdos.c (msdos_bfd_is_group_section): Define. |
4763 |
|
* i386os9k.c (os9k_bfd_is_group_section): Define. |
4764 |
|
* ieee.c (ieee_bfd_is_group_section): Define. |
4765 |
|
* ihex.c (ihex_bfd_is_group_section): Define. |
4766 |
|
* libbfd-in.h (_bfd_nolink_bfd_is_group_section): Define. |
4767 |
|
* mach-o.c (bfd_mach_o_bfd_is_group_section): Define. |
4768 |
|
* mmo.c (mmo_bfd_is_group_section): Define. |
4769 |
|
* nlm-target.h (nlm_bfd_is_group_section): Define. |
4770 |
|
* oasys.c (oasys_bfd_is_group_section): Define. |
4771 |
|
* pef.c (bfd_pef_bfd_is_group_section): Define. |
4772 |
|
* ppcboot.c (ppcboot_bfd_is_group_section): Define. |
4773 |
|
* srec.c (srec_bfd_is_group_section): Define. |
4774 |
|
* tekhex.c (tekhex_bfd_is_group_section): Define. |
4775 |
|
* versados.c (versados_bfd_is_group_section): Define. |
4776 |
|
* vms.c (vms_bfd_is_group_section): Define. |
4777 |
|
* xsym.c (bfd_sym_bfd_is_group_section): Define. |
4778 |
* bfd-in2.h: Regenerate. |
* bfd-in2.h: Regenerate. |
4779 |
|
* libbfd.h: Regenerate. |
4780 |
|
|
4781 |
2002-01-29 Chris Demetriou <cgd@broadcom.com> |
2004-04-30 Alan Modra <amodra@bigpond.net.au> |
4782 |
|
|
4783 |
* elf32-mips.c: Add additional comments about HI16 relocation |
* elflink.c (elf_gc_mark): Follow indirect and warning syms. |
|
processing. |
|
|
(_bfd_mips_elf_hi16_reloc): Don't subtract address here for |
|
|
pc-relative relocations. (Reverts change made on 2001-10-31.) |
|
|
(_bfd_mips_elf_lo16_reloc): Subtract address of LO16 part here |
|
|
for pc-relative relocations. |
|
|
(mips_elf_calculate_relocation): Add a comment about a kludge |
|
|
in the R_MIPS_GNU_REL_HI16 handling. |
|
|
(_bfd_mips_elf_relocate_section): Implement that kludge; |
|
|
adjust pc-relative HI16 relocation for difference in HI16 and |
|
|
LO16 addresses, since it can't easily be done in |
|
|
mips_elf_calculate_relocation. |
|
4784 |
|
|
4785 |
2002-01-29 Martin Schwidefsky <schwidefsky@de.ibm.com> |
2004-04-30 Hans-Peter Nilsson <hp@axis.com> |
4786 |
|
|
4787 |
* elf32-i386 (elf_i386_adjust_dynamic_symbol): Do not replace PLT32 |
* configure.in: Update version to 2.15.91. |
4788 |
relocations with PC32 relocations for undefined or weak symbols. |
* configure: Regenerate. |
|
* elf32-s390 (elf_i386_adjust_dynamic_symbol): Likewise. |
|
|
* elf64-s390x (elf_i386_adjust_dynamic_symbol): Likewise. |
|
4789 |
|
|
4790 |
2002-01-28 Jason Thorpe <thorpej@wasabisystems.com> |
2004-04-29 Brian Ford <ford@vss.fsi.com> |
4791 |
|
|
4792 |
* elfcore.h (elf_core_file_p): Improve comment for last change. |
* bfd.c (bfd_get_sign_extend_vma): Add pe[i]-i386 case to DJGPP hack. |
4793 |
|
* coffcode.h (DOT_DEBUG, GNU_LINKONCE_WI): Define. |
4794 |
|
[!COFF_WITH_PE] (sec_to_styp_flags, styp_to_sec_flags): Use them. |
4795 |
|
(coff_compute_section_file_positions) [RS6000COFF_C]: Likewise. |
4796 |
|
[COFF_WITH_PE] (sec_to_styp_flags): Handle DWARF 2/3 .debug* and |
4797 |
|
.gnu.linkonce.wi. sections. |
4798 |
|
* pe-i386.c (COFF_SUPPORT_GNU_LINKONCE): Define. |
4799 |
|
(COFF_SECTION_ALIGNMENT_ENTRIES): Add entries for .debug and |
4800 |
|
.gnu.linkonce.wi.. |
4801 |
|
* pei-i386.c (COFF_SUPPORT_GNU_LINKONCE): Likewise. |
4802 |
|
(COFF_SECTION_ALIGNMENT_ENTRIES): Likewise. |
4803 |
|
|
4804 |
2002-01-27 Daniel Jacobowitz <drow@mvista.com> |
2004-04-28 Chris Demetriou <cgd@broadcom.com> |
4805 |
|
|
4806 |
* configure: Regenerated. |
* reloc.c: Remove BFD_RELOC_PCREL_HI16_S and BFD_RELOC_PCREL_LO16. |
4807 |
|
* bfd-in2.h: Regenerate. |
4808 |
|
* libbfd.h: Likewise. |
4809 |
|
|
4810 |
2002-01-27 Jason Thorpe <thorpej@wasabisystems.com> |
2004-04-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
4811 |
|
|
4812 |
* elfcore.h (elf_core_file_p): Set the machine architecture |
* som.c (struct som_misc_symbol_info): Add is_comdat, is_common and |
4813 |
before processing the program headers. |
dup_common fields. |
4814 |
|
(setup_sections): Use som_subspace_dictionary_record struct instead |
4815 |
|
subspace_dictionary_record. Set SEC_LINK_ONCE if subspace is |
4816 |
|
is_comdat, is_common or dup_common. |
4817 |
|
(som_prep_headers): Use som_subspace_dictionary_record struct. Set |
4818 |
|
is_comdat, is_common and dup_common in section subspace_dict from |
4819 |
|
copy_data. |
4820 |
|
(som_begin_writing): Use som_subspace_dictionary_record struct. |
4821 |
|
(som_finish_writing): Likewise. |
4822 |
|
(som_bfd_derive_misc_symbol_info): Add support to set is_comdat, |
4823 |
|
is_common and dup_common flags in info for symbol. Add comment |
4824 |
|
regarding linker support for these fields. Slightly reorganize |
4825 |
|
function. |
4826 |
|
(som_build_and_write_symbol_table): Set is_comdat, is_common and |
4827 |
|
dup_common fields in symbol table from symbol info. |
4828 |
|
(bfd_som_set_subsection_attributes): Add comdat, common and dup_common |
4829 |
|
arguments. Set corresponding fields in copy_data. Change all callers. |
4830 |
|
(som_bfd_ar_write_symbol_stuff): Set dup_common flag in library |
4831 |
|
symbol table. |
4832 |
|
(som_vec): Add SEC_LINK_ONCE to applicable section flags. |
4833 |
|
* som.h (som_subspace_dictionary_record): Define. |
4834 |
|
(som_copyable_section_data_struct): Add is_comdat, is_common and |
4835 |
|
dup_common fields. |
4836 |
|
(som_section_data_struct): Use som_subspace_dictionary_record struct |
4837 |
|
instead of subspace_dictionary_record. |
4838 |
|
(bfd_boolean bfd_som_set_subsection_attributes): Adjust prototype. |
4839 |
|
|
4840 |
|
2004-04-27 Bob Wilson <bob.wilson@acm.org> |
4841 |
|
|
4842 |
|
* elf32-xtensa.c (xtensa_read_table_entries): Use section _cooked_size |
4843 |
|
if set. Check reloc_done flag before applying relocations. Use |
4844 |
|
output addresses, both when applying relocations and when comparing |
4845 |
|
against the specified section. |
4846 |
|
(elf_xtensa_relocate_section): Use output address to check if dynamic |
4847 |
|
reloc is in a literal pool. Set section's reloc_done flag. |
4848 |
|
|
4849 |
|
2004-04-27 H.J. Lu <hongjiu.lu@intel.com> |
4850 |
|
|
4851 |
|
* elf32-sh64.c (elf_backend_section_flags): New. Defined. |
4852 |
|
(sh64_elf_set_mach_from_flags): Remove the kludge for .cranges |
4853 |
|
section. |
4854 |
|
(sh64_elf_section_flags): New. Set SEC_DEBUGGING for .cranges |
4855 |
|
section. |
4856 |
|
|
4857 |
|
2004-04-27 Alan Modra <amodra@bigpond.net.au> |
4858 |
|
|
4859 |
|
* elf64-alpha.c (elf64_alpha_read_ecoff_info): Don't assign |
4860 |
|
structure field removed in 2004-04-24 patch. |
4861 |
|
* elf64-sparc.c (sparc64_elf_plt_sym_val): Warning fix. |
4862 |
|
|
4863 |
|
* elf-bfd.h (struct elf_backend_data <elf_backend_section_flags>): |
4864 |
|
Constify hdr arg. |
4865 |
|
* elf32-arm.h (elf32_arm_section_flags): Likewise. |
4866 |
|
* elf64-alpha.c (elf64_alpha_section_flags): Likewise. |
4867 |
|
* elfxx-ia64.c (elfNN_ia64_section_flags): Likewise. |
4868 |
|
* elf.c (_bfd_elf_make_section_from_shdr): Set the bfd_section |
4869 |
|
field before calling elf_backend_section_flags. |
4870 |
|
|
4871 |
|
2004-04-24 Chris Demetriou <cgd@broadcom.com> |
4872 |
|
|
4873 |
|
* elf32-mips.c (elf_mips_gnu_rel_hi16, elf_mips_gnu_rel_lo16) |
4874 |
|
(elf_mips_gnu_pcrel64, elf_mips_gnu_pcrel32): Remove. |
4875 |
|
(bfd_elf32_bfd_reloc_type_lookup): Remove cases for |
4876 |
|
BFD_RELOC_PCREL_HI16_S, BFD_RELOC_PCREL_LO16, BFD_RELOC_64_PCREL, |
4877 |
|
and BFD_RELOC_32_PCREL. |
4878 |
|
(mips_elf32_rtype_to_howto): Remove cases for R_MIPS_GNU_REL_HI16, |
4879 |
|
R_MIPS_GNU_REL_LO16, R_MIPS_PC64, R_MIPS_PC32. |
4880 |
|
* elfxx-mips.c (mips_elf_calculate_relocation): Likewise. |
4881 |
|
(_bfd_mips_elf_lo16_reloc): Remove handling for R_MIPS_GNU_REL_HI16. |
4882 |
|
(mips_elf_next_relocation): Move comment about matching HI/LO |
4883 |
|
relocations to... |
4884 |
|
(_bfd_mips_elf_relocate_section): Here. Remove handling for |
4885 |
|
R_MIPS_GNU_REL_HI16. |
4886 |
|
|
4887 |
|
2004-04-23 Chris Demetriou <cgd@broadcom.com> |
4888 |
|
|
4889 |
|
* coff-mips.c (mips_relhi_reloc, mips_rello_reloc) |
4890 |
|
(mips_switch_reloc, mips_read_relocs, mips_relax_section) |
4891 |
|
(mips_relax_pcrel16, PCREL16_EXPANSION_ADJUSTMENT): Remove. |
4892 |
|
(mips_relocate_hi): Remove now-unused 'adjust' and 'pcrel' arguments, |
4893 |
|
and update comments to reflect current usage. |
4894 |
|
(mips_howto_table): Remove entries for MIPS_R_RELHI, MIPS_R_RELLO, |
4895 |
|
and MIPS_R_SWITCH, as well as several empty entries. Update comment |
4896 |
|
for MIPS_R_PCREL16. |
4897 |
|
(mips_ecoff_swap_reloc_in, mips_ecoff_swap_reloc_out) |
4898 |
|
(mips_adjust_reloc_out, mips_bfd_reloc_type_lookup): Remove support |
4899 |
|
for MIPS_R_SWITCH, MIPS_R_RELLO, and MIPS_R_RELHI relocations. |
4900 |
|
(mips_adjust_reloc_in): Likewise, adjust maximum accepted relocation |
4901 |
|
type number to be MIPS_R_PCREL16. |
4902 |
|
(mips_relocate_section): Remove support for link-time relaxation |
4903 |
|
of branches used by embedded-PIC. Remove support for MIPS_R_SWITCH, |
4904 |
|
MIPS_R_RELLO, and MIPS_R_RELHI relocations. |
4905 |
|
(_bfd_ecoff_bfd_relax_section): Redefine to bfd_generic_relax_section. |
4906 |
|
* ecoff.c (ecoff_indirect_link_order): Remove support for link-time |
4907 |
|
relaxation of branches used by embedded-PIC. |
4908 |
|
* ecofflink.c (bfd_ecoff_debug_accumulate): Likewise. |
4909 |
|
* libecoff.h (struct ecoff_section_tdata): Remove embedded-PIC |
4910 |
|
related members, update comment. |
4911 |
|
* pe-mips.c: Remove disabled (commented-out and #if 0'd) |
4912 |
|
code related to embedded-PIC. |
4913 |
|
* elfxx-mips.c (_bfd_mips_elf_read_ecoff_info): Remove |
4914 |
|
initialization of now-removed 'adjust' member of |
4915 |
|
'struct ecoff_debug_info'. |
4916 |
|
|
4917 |
|
2004-04-23 Chris Demetriou <cgd@broadcom.com> |
4918 |
|
|
4919 |
|
* elfxx-mips.c (mips_elf_get_global_gotsym_index): Remove. |
4920 |
|
|
4921 |
|
2004-04-21 Philip Blundell <pb@nexus.co.uk> |
4922 |
|
|
4923 |
|
* elf32-arm.h (elf32_arm_check_relocs): Don't output REL32 |
4924 |
|
relocs for locally defined symbols during -shared final link. |
4925 |
|
(elf32_arm_final_link_relocate): Likewise. |
4926 |
|
|
4927 |
|
2004-04-22 Jakub Jelinek <jakub@redhat.com> |
4928 |
|
|
4929 |
|
* elf64-x86-64.c (elf64_x86_64_copy_indirect_symbol): Copy also |
4930 |
|
ELF_LINK_POINTER_EQUALITY_NEEDED. |
4931 |
|
(elf64_x86_64_check_relocs): Set ELF_LINK_POINTER_EQUALITY_NEEDED |
4932 |
|
if r_type is not R_X86_64_PC32. |
4933 |
|
(elf64_x86_64_finish_dynamic_symbol): If |
4934 |
|
ELF_LINK_POINTER_EQUALITY_NEEDED is not set, clear st_value of |
4935 |
|
SHN_UNDEF symbols. |
4936 |
|
|
4937 |
|
2004-04-22 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
4938 |
|
|
4939 |
|
* elf32-sh.c (sh_elf_plt_sym_val): New function. |
4940 |
|
(elf_backend_plt_sym_val): Define. |
4941 |
|
|
4942 |
|
2004-04-22 Andrew Cagney <cagney@redhat.com> |
4943 |
|
|
4944 |
|
* opncls.c (bfd_alloc): Fix type of "wanted" in doco. |
4945 |
|
|
4946 |
|
2004-04-22 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
4947 |
|
|
4948 |
|
* hpux-core.c (hpux_core_core_file_p): Add cast in call to |
4949 |
|
make_bfd_asection. |
4950 |
|
* som.c (som_set_section_contents): Constantify second argument. |
4951 |
|
(hppa_som_gen_reloc_type): Abort for unsupported selectors. |
4952 |
|
(som_object_setup): Rework to avoid warning. |
4953 |
|
(setup_sections, som_write_fixups, bfd_section_from_som_symbol): |
4954 |
|
Likewise. |
4955 |
|
|
4956 |
|
2004-04-22 Andrew Cagney <cagney@redhat.com> |
4957 |
|
|
4958 |
|
* cache.c (bfd_cache_close): Check for a previously closed file. |
4959 |
|
|
4960 |
|
2004-04-22 Jakub Jelinek <jakub@redhat.com> |
4961 |
|
|
4962 |
|
* bfd.c (bfd_get_synthetic_symtab): Define. |
4963 |
|
* targets.c (BFD_JUMP_TABLE_DYNAMIC): Add |
4964 |
|
NAME##_get_synthetic_symtab. |
4965 |
|
(struct bfd_target): Add _bfd_get_synthetic_symtab. |
4966 |
|
* libbfd-in.h (_bfd_nodynamic_get_synthetic_symtab): Define. |
4967 |
|
* elf-bfd.h (struct elf_backend_data): Add plt_sym_val and |
4968 |
|
relplt_name fields. |
4969 |
|
(_bfd_elf_get_synthetic_symtab): New prototype. |
4970 |
|
* elfcode.h (elf_get_synthetic_symtab): Define. |
4971 |
|
* elf.c (_bfd_elf_get_synthetic_symtab): New function. |
4972 |
|
* elfxx-target.h (bfd_elfNN_get_synthetic_symtab): Define. |
4973 |
|
(elf_backend_plt_sym_val, elf_backend_relplt_name): Define. |
4974 |
|
(elfNN_bed): Add elf_backend_plt_sym_val and elf_backend_relplt_name. |
4975 |
|
* bfd-in2.h: Rebuilt. |
4976 |
|
* libbfd.h: Rebuilt. |
4977 |
|
* elf32-i386.c (elf_i386_plt_sym_val): New function. |
4978 |
|
(elf_backend_plt_sym_val): Define. |
4979 |
|
* elf64-x86-64.c (elf64_x86_64_plt_sym_val): New function. |
4980 |
|
(elf_backend_plt_sym_val): Define. |
4981 |
|
* elf32-s390.c (elf_s390_plt_sym_val): New function. |
4982 |
|
(elf_backend_plt_sym_val): Define. |
4983 |
|
* elf64-s390.c (elf_s390_plt_sym_val): New function. |
4984 |
|
(elf_backend_plt_sym_val): Define. |
4985 |
|
* elf32-sparc (elf32_sparc_plt_sym_val): New function. |
4986 |
|
(elf_backend_plt_sym_val): Define. |
4987 |
|
* elf64-sparc.c (sparc64_elf_plt_sym_val): New function. |
4988 |
|
(elf_backend_plt_sym_val): Define. |
4989 |
|
* elf32-ppc.c (ppc_elf_plt_sym_val): New function. |
4990 |
|
(elf_backend_plt_sym_val): Define. |
4991 |
|
* aout-target.h (MY_get_synthetic_symtab): Define. |
4992 |
|
* aout-tic30.c (MY_get_synthetic_symtab): Define. |
4993 |
|
* coff-rs6000.c (rs6000coff_vec): Add |
4994 |
|
_bfd_nodynamic_get_synthetic_symtab. |
4995 |
|
(pmac_xcoff_vec): Likewise. |
4996 |
|
* coff64-rs6000.c (rs6000coff64_vec): Add |
4997 |
|
_bfd_nodynamic_get_synthetic_symtab. |
4998 |
|
(aix5coff64_vec): Likewise. |
4999 |
|
* sunos.c (MY_get_synthetic_symtab): Define. |
5000 |
|
* vms.c (vms_get_synthetic_symtab): Define. |
5001 |
|
|
5002 |
2002-01-26 Hans-Peter Nilsson <hp@bitrange.com> |
2004-04-22 Nick Clifton <nickc@redhat.com> |
5003 |
|
|
5004 |
* configure.in <64-bit configuration>: If using gcc, check and |
* bfd.c (bfd_archive_filename): Return NULL on NULL input. |
|
emit error for egcs-1.1.2. |
|
|
* configure: Regenerate. |
|
5005 |
|
|
5006 |
2002-01-26 Egor Duda <deo@logos-m.ru> |
2004-04-22 Peter Barada <peter@the-baradas.com> |
5007 |
|
|
5008 |
* elf.c (elfcore_grok_win32pstatus): Copy only as much information |
* archures.c: Add bfd_mach_mcfv4e to bfd_architecture. |
5009 |
as possible to avoid stack corruption. |
* bfd2-in.h: Regenerate. |
5010 |
|
* cpu-m68k.c: Add 'm68k:mcfv4e' to arch_info_struct[]. |
5011 |
|
|
5012 |
2002-01-26 Richard Henderson <rth@redhat.com> |
2004-04-21 Chris Demetriou <cgd@broadcom.com> |
5013 |
|
|
5014 |
* elf64-alpha.c (elf64_alpha_check_relocs): Don't set reltext |
* coff-mips.c (bfd_mips_ecoff_create_embedded_relocs): Remove. |
5015 |
for non-allocated sections. |
* elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): Remove. |
5016 |
|
* bfd-in.h (bfd_mips_ecoff_create_embedded_relocs) |
5017 |
|
(bfd_mips_elf32_create_embedded_relocs): Remove prototypes |
5018 |
|
* bfd-in2.h: Regenerate. |
5019 |
|
|
5020 |
2002-01-25 Mark Kettenis <kettenis@gnu.org> |
2004-04-21 Bob Wilson <bob.wilson@acm.org> |
5021 |
|
|
5022 |
* elf.c (elfcore_write_prstatus): Make sure we pass the address of |
* elf32-xtensa.c (is_same_value): Add final_static_link argument and |
5023 |
prstat.pr_reg even if it is a struct. |
require relocations against a weak symbol to reference the same |
5024 |
|
symbol hash entry if not a final, static link. |
5025 |
|
(get_cached_value, add_value_map): Add final_static_link argument. |
5026 |
|
(remove_literals): Pass final_static_link argument as needed. |
5027 |
|
|
5028 |
|
2004-04-21 Andrew Cagney <cagney@redhat.com> |
5029 |
|
|
5030 |
|
* opncls.c (_bfd_new_bfd_contained_in): Copy "iovec". |
5031 |
|
(struct opncls, opncls_btell, opncls_bseek, opncls_bread) |
5032 |
|
(opncls_bwrite, opncls_bclose, opncls_bflush) |
5033 |
|
(opncls_bstat, opncls_iovec, bfd_openr_iovec): Implement a |
5034 |
|
bfd iovec that uses function callbacks. |
5035 |
|
(bfd_close): Use the iovec's bclose. |
5036 |
|
* cache.c (cache_btell, cache_bseek, cache_bread, cache_bwrite) |
5037 |
|
(cache_bclose, cache_bflush, cache_bstat) |
5038 |
|
(cache_iovec): New functions and global variable, implement a |
5039 |
|
cache "iovec", where applicable set bfd_error. |
5040 |
|
(bfd_cache_init, bfd_cache_close): Set/test the bfd's iovec. |
5041 |
|
* bfdio.c (struct bfd_iovec): Define. |
5042 |
|
(real_read): Delete function. |
5043 |
|
(bfd_bread, bfd_bread, bfd_bwrite, bfd_tell, bfd_flush, bfd_stat) |
5044 |
|
(bfd_seek, bfd_get_mtime, bfd_get_size): Use the bfd's "iovec", |
5045 |
|
assume that bread and bwrite set bfd_error. |
5046 |
|
* bfd.c (struct bfd): Add "iovec", update comments. |
5047 |
|
* bfd-in2.h, libbfd.h: Re-generate. |
5048 |
|
|
5049 |
|
2004-04-21 Andrew Cagney <cagney@redhat.com> |
5050 |
|
|
5051 |
|
* libaout.h (enum machine_type): Add M_POWERPC_NETBSD. |
5052 |
|
|
5053 |
|
2004-04-21 Eric Botcazou <ebotcazou@act-europe.fr> |
5054 |
|
|
5055 |
|
* elflink.c (elf_gc_mark_dynamic_ref_symbol): New function. |
5056 |
|
(bfd_elf_gc_sections): Fail if a shared object is being created. |
5057 |
|
Do not fail if dynamic sections have been created. Instead call |
5058 |
|
elf_gc_mark_dynamic_ref_symbol to mark sections that contain |
5059 |
|
dynamically referenced symbols. Do not mark the whole graph |
5060 |
|
rooted at .eh_frame, only the section proper. |
5061 |
|
|
5062 |
2002-01-25 Steve Ellcey <sje@cup.hp.com> |
2004-04-20 DJ Delorie <dj@redhat.com> |
5063 |
|
|
5064 |
* bfd/elfxx-ia64.c: Reset AIX vector function overrides for HP-UX. |
* reloc.c: Add BFD_RELOC_32_SECREL. |
5065 |
|
* bfd-in2.h: Regenerate. |
5066 |
|
* libbfd.h: Likewise. |
5067 |
|
* coff-i386.c (howto_table) [COFF_WITH_PE]: Add R_SECREL32. |
5068 |
|
(coff_i386_rtype_to_howto) [COFF_WITH_PE]: Handle it. |
5069 |
|
(coff_i386_reloc_type_lookup) [COFF_WITH_PE]: Likewise. |
5070 |
|
|
5071 |
2002-01-25 Philipp Thomas <pthomas@suse.de> |
2004-04-19 Jakub Jelinek <jakub@redhat.com> |
5072 |
|
|
5073 |
* coffgen.c (coff_print_symbol): Don't mark info message |
* elf32-sparc.c (elf32_sparc_relocate_section): Handle |
5074 |
for translation. |
relocs against hidden/protected undefweak symbols properly. |
5075 |
|
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise. |
5076 |
|
|
5077 |
2002-01-25 Nick Clifton <nickc@redhat.com> |
2004-04-18 Mark Kettenis <kettenis@gnu.org> |
5078 |
|
|
5079 |
* po/fr.po: Updated translation. |
* libaout.h (enum machine_type): Add M_POWERPC_NETBSD. |
5080 |
* po/es.po: Updated translation. |
* netbsd-core.c (netbsd_core_file_p): Set architecture for PowerPC |
5081 |
|
core files. |
5082 |
|
|
5083 |
2002-01-25 Philipp Thomas <pthomas@suse.de> |
2004-04-17 Brian Ford <ford@vss.fsi.com> |
5084 |
|
|
5085 |
* coff-alpha.c (alpha_relocate_section): Unify warning message |
* peXXigen.c (_bfd_XXi_swap_aouthdr_out): Use the first non-zero |
5086 |
for GP relative relocations without GP defined. |
filepos for the SizeOfHeaders field. |
5087 |
* coff-mips.c (mips_relocate_section): Likewise. |
(_bfd_XXi_swap_scnhdr_out): Correct section flags lossage on reloc |
5088 |
|
overflow. |
5089 |
|
(_bfd_XXi_swap_sym_in): Remove redundant section flags assignment. |
5090 |
|
|
5091 |
2002-01-25 Alan Modra <amodra@bigpond.net.au> |
2004-04-16 Alan Modra <amodra@bigpond.net.au> |
5092 |
|
|
5093 |
* elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Avoid |
* simple.c (bfd_simple_get_relocated_section_contents): Don't |
5094 |
unsigned overflow when new_offset < old_offset. |
change reloc_done. Set and restore _cooked_size. |
5095 |
|
(RETURN): Delete. |
5096 |
|
|
5097 |
2002-01-24 Philipp Thomas <pthomas@suse.de> |
2004-04-15 Mark Kettenis <kettenis@gnu.org> |
5098 |
|
|
5099 |
* bfd.c (_bfd_abort): Fix typo. |
* netbsd-core.c (netbsd_core_file_p): Set architecture for VAX |
5100 |
|
core files. |
5101 |
|
|
5102 |
2002-01-23 Richard Henderson <rth@redhat.com> |
2004-04-15 Nick Clifton <nickc@redhat.com> |
5103 |
|
|
5104 |
* elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't suppress |
* bfd.c (bfd_archive_filename): Catch NULL bfd pointers. |
|
plt entries for undefweak symbols. |
|
5105 |
|
|
5106 |
2002-01-23 Steve Ellcey <sje@cup.hp.com> |
2004-04-15 Alan Modra <amodra@bigpond.net.au> |
5107 |
|
|
5108 |
* bfd/targets.c (bfd_elf32_ia64_hpux_big_vec): Add to |
* elf64-sparc.c (sparc64_elf_check_relocs): Fix thinko last change. |
|
DEFAULT_VECTOR. |
|
|
(bfd_elf64_ia64_hpux_big_vec): Ditto. |
|
|
(bfd_elf32_h8300_vec): Ditto. |
|
5109 |
|
|
5110 |
2002-01-23 Alan Modra <amodra@bigpond.net.au> |
2004-04-15 H.J. Lu <hongjiu.lu@intel.com> |
5111 |
|
|
5112 |
* elf64-ppc.c: Remove stale part of ABI comment. |
* elflink.c (_bfd_elf_merge_symbol): Treat weak as strong only |
5113 |
(NO_OPD_RELOCS): Define. |
when it is a definition. |
|
(ppc64_elf_check_relocs): Use it. |
|
|
(ppc64_elf_relocate_section): Here too. |
|
|
(build_one_stub): Don't point function syms at the stub. Instead, |
|
|
hijack plt.offset. |
|
|
(ppc64_elf_relocate_section): Check whether REL24 relocs should |
|
|
really go to the stub. Make all dynamic relocs in opd against |
|
|
locals. |
|
|
(ppc64_elf_finish_dynamic_symbol): Allow for non-standard use of |
|
|
plt.offset. |
|
5114 |
|
|
5115 |
2002-01-22 Richard Henderson <rth@redhat.com> |
2004-04-14 Alan Modra <amodra@bigpond.net.au> |
5116 |
|
|
5117 |
* elf64-alpha.c (INSN_UNOP): Encode with RB as $sp. |
* elf32-sparc.c (elf32_sparc_relocate_section): Don't abort |
5118 |
|
when statically linking PIC code. |
5119 |
|
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise. |
5120 |
|
|
5121 |
2002-01-22 Alan Modra <amodra@bigpond.net.au> |
2004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
5122 |
|
|
5123 |
* elf64-ppc.c (ppc64_elf_finish_dynamic_sections): Correct sign of |
* config.bfd: Remove mips*-*-mach3* and mips*-dec-mach3* targets. |
5124 |
TOC_BASE_OFF adjustment. |
* configure.in: Remove mips-dec-bsd*, mips-dec-mach3*, mips-*-mach3* |
5125 |
|
targets amd aout_mips_big_vec, aout_mips_little_vec target vectors. |
5126 |
|
* configure: Regenerate. |
5127 |
|
|
5128 |
* Makefile.am: Run "make dep-am". |
2004-04-08 Richard Sandiford <rsandifo@redhat.com> |
5129 |
|
|
5130 |
|
* elflink.c: Include libiberty.h. |
5131 |
|
* Makefile.am (elflink.lo): Depend on libiberty.h. |
5132 |
* Makefile.in: Regenerate. |
* Makefile.in: Regenerate. |
|
* po/SRC-POTFILES.in: Regenerate. |
|
5133 |
|
|
5134 |
2002-01-22 John David Anglin <dave@hiauly1.hia.nrc.ca> |
2004-04-06 Daniel Jacobowitz <drow@mvista.com> |
5135 |
|
|
5136 |
* configure.host (hppa*64*-*-hpux*, hppa*64*-*-linux*): Add new |
* elfxx-mips.c (MIPS_ELF_STUB_SECTION_NAME): Always use |
5137 |
host defines. |
".MIPS.stubs". |
5138 |
|
|
5139 |
2002-01-21 Hans-Peter Nilsson <hp@axis.com> |
2004-04-05 H.J. Lu <hongjiu.lu@intel.com> |
5140 |
|
|
5141 |
* elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GOTREL>: |
* elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Always |
5142 |
Check for and emit error if sgot is NULL at this point. |
reserve the memory for dynamic linker |
|
|
|
|
2002-01-21 Jason Thorpe <thorpej@wasabisystems.com> |
|
|
|
|
|
* config.bfd (ia64*-*-netbsd*): New target. |
|
|
|
|
|
2002-01-21 Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at> |
|
|
|
|
|
* som.c (som_write_space_strings): Comment typo fix. |
|
|
|
|
|
2002-01-21 Alan Modra <amodra@bigpond.net.au> |
|
|
|
|
|
* elf64-ppc.c (struct ppc_link_hash_entry): Add is_func and |
|
|
is_func_descriptor fields. |
|
|
(link_hash_newfunc): Init them. |
|
|
(ppc64_elf_check_relocs): Only R_PPC24_REL24 syms starting with a |
|
|
dot are candidates for plt entries. When processing .opd relocs, |
|
|
set function descriptor strings to point inside function code |
|
|
string, and set new ppc_link_hash_entry fields. |
|
|
(ppc64_elf_gc_sweep_hook): Don't sweep R_PPC64_REL24 relocs. |
|
|
(ppc64_elf_adjust_dynamic_symbol): Remove most code dealing with |
|
|
function descriptors. It's now done in.. |
|
|
(func_desc_adjust): New. |
|
|
(ppc64_elf_func_desc_adjust): New. |
|
|
(define elf_backend_always_size_sections): Define. |
|
|
(ppc64_elf_hide_symbol): New. |
|
|
(define elf_backend_hide_symbol): Define. |
|
|
(allocate_dynrelocs): Remove code looking up function descriptors |
|
|
as that has been done earlier. |
|
|
(ppc64_elf_size_dynamic_sections): Use htab shortcut to elf hash |
|
|
table. |
|
|
(ppc64_elf_finish_dynamic_symbol): Likewise. Remove code looking |
|
|
up function descriptor. |
|
|
(build_one_stub): Look up the function code sym. Check for |
|
|
invalid plt offsets. |
|
|
(ppc64_elf_relocate_section): Tweak calls to undefined weak syms. |
|
|
Convert R_PPC64_TOC relocs to R_PPC64_RELATIVE in shared libs. |
|
|
|
|
|
* elf-bfd.h (elf_backend_data <elf_backend_hide_symbol>): Add |
|
|
boolean param. |
|
|
(_bfd_elf_link_hash_hide_symbol): Likewise. |
|
|
* elflink.h (elf_link_add_object_symbols): Adjust call to |
|
|
elf_backend_hide_symbol. |
|
|
(elf_fix_symbol_flags): Likewise. |
|
|
(elf_link_assign_sym_version): Likewise. Use bfd_malloc rather |
|
|
than bfd_alloc. |
|
|
* elf.c (_bfd_elf_link_hash_hide_symbol): Add "force_local" param. |
|
|
Set ELF_LINK_FORCED_LOCAL and call _bfd_elf_strtab_delref. |
|
|
* elf32-hppa.c (elf32_hppa_hide_symbol): Likewise. |
|
|
(clobber_millicode_symbols): Adjust to suit new hide_symbol. |
|
|
* elf32-cris.c (elf_cris_hide_symbol): Add "force_local" param |
|
|
and adjust to suit. |
|
|
* elf32-mips.c (_bfd_mips_elf_hide_symbol): Likewise, and call |
|
|
_bfd_elf_link_hash_hide_symbol rather than duplicating code. |
|
|
* elfxx-ia64.c (elfNN_ia64_hash_hide_symbol): Likewise. |
|
|
|
|
|
2002-01-18 Alan Modra <amodra@bigpond.net.au> |
|
|
|
|
|
* elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Test for a |
|
|
dynamic function descriptor symbol, not the associated function |
|
|
symbol. |
|
5143 |
|
|
5144 |
2002-01-17 Eric Christopher <echristo@redhat.com> |
2004-04-05 Mark Kettenis <kettenis@gnu.org> |
5145 |
|
|
5146 |
* elf32-mips.c (mips_elf_calculate_relocation): Fix typo. |
* netbsd-core.c (CORE_WCOOKIE_OFFSET): New define. |
5147 |
|
(netbsd_core_file_p): Create a .wcookie section for OpenBSD/sparc. |
5148 |
|
|
5149 |
2002-01-17 Nick Clifton <nickc@cambridge.redhat.com> |
2004-04-02 H.J. Lu <hongjiu.lu@intel.com> |
5150 |
|
|
5151 |
* po/bfd.pot: Regenerate. |
* elf32-cr16c.c (elf32_cr16c_relocate_section): Use |
5152 |
* po/fr.po: Regenerate. |
RELOC_FOR_GLOBAL_SYMBOL. |
5153 |
|
(elf32_cr16c_add_symbol_hook): Remove const from Elf_Internal_Sym. |
5154 |
|
|
5155 |
2002-01-17 Alan Modra <amodra@bigpond.net.au> |
2004-04-02 H.J. Lu <hongjiu.lu@intel.com> |
5156 |
|
|
5157 |
* elf-bfd.h (elf_backend_data <elf_backend_section_from_bfd_section>): |
* elf32-arm.h (elf32_arm_final_link_relocate): Handle |
5158 |
Remove "Elf_Internal_Shdr *" param. |
R_ARM_ALU* only if OLD_ARM_ABI is not defined. |
|
(_bfd_mips_elf_section_from_bfd_section): Ditto. |
|
|
* elf32-mips.c (_bfd_mips_elf_section_from_bfd_section): Ditto. |
|
|
* elf32-m32r.c (_bfd_m32r_elf_section_from_bfd_section): Ditto. |
|
|
* elf32-v850.c (v850_elf_section_from_bfd_section): Ditto. |
|
|
* elf64-mmix.c (mmix_elf_section_from_bfd_section): Ditto. |
|
|
* elfxx-ia64.c (elfNN_hpux_backend_section_from_bfd_section): Ditto. |
|
|
* elf.c (_bfd_elf_section_from_bfd_section): Allow backend |
|
|
function to override special sections. Remove hdr arg from |
|
|
backend call, and don't loop. |
|
|
|
|
|
2002-01-16 Eric Christopher <echristo@redhat.com> |
|
|
|
|
|
* elf32-mips.c (mips_elf_calculate_relocation): Set require_jalxp |
|
|
on R_MIPS_26 and target is 16bit. Add R_MIPS16_GPREL to list of |
|
|
relocations requiring gp0 and gp. |
|
|
|
|
|
2002-01-16 Richard Earnshaw <rearnsha@arm.com> |
|
|
|
|
|
* elf32-arm.h (elf32_arm_merge_private_bfd_data): Handle |
|
|
EF_ARM_VFP_FLOAT. |
|
|
(elf32_arm_print_private_bfd_data): Likewise. |
|
|
|
|
|
2002-01-16 Nick Clifton <nickc@cambridge.redhat.com> |
|
|
|
|
|
* po/tr.po: Import new version. |
|
|
|
|
|
2002-01-16 Alan Modra <amodra@bigpond.net.au> |
|
|
|
|
|
* elf64-ppc.c (ppc64_elf_howto_raw): Remove stale FIXMEs. |
|
|
(ppc64_elf_reloc_type_lookup): Use proper CTOR reloc. |
|
|
(ORI_R0_R0_0): Correct. |
|
|
|
|
|
2002-01-16 Alan Modra <amodra@bigpond.net.au> |
|
|
|
|
|
* elflink.c (_bfd_elf_create_dynamic_sections): Don't set SEC_CODE |
|
|
when plt_not_loaded. |
|
|
* elf64-ppc.c (ppc64_elf_create_dynamic_sections): No need to |
|
|
clear .plt SEC_CODE here. Create .stub and correct .glink flags. |
|
|
(PLT_INITIAL_ENTRY_SIZE): Set to 24. |
|
|
(ppc64_elf_glink_code): Delete. |
|
|
(PPC64_ELF_GLINK_SIZE): Delete. |
|
|
(ADDIS_R12_R2, STD_R2_40R1, LD_R11_0R12, LD_R2_0R12, MTCTR_R11, |
|
|
BCTR, ADDIS_R12_R12_1, LD_R2_40R1, NOP, LI_R0_0, B_DOT, LIS_R0_0, |
|
|
ORI_R0_R0_0): Define. |
|
|
(PLT_CALL_STUB_SIZE, GLINK_CALL_STUB_SIZE): Define. |
|
|
(struct ppc_link_hash_table): Add sstub and plt_overflow. |
|
|
(ppc64_elf_link_hash_table_create): Init them. |
|
|
(ppc64_elf_check_relocs <R_PPC64_REL24>): Refcount .plt entry. |
|
|
Don't copy to shared lib. |
|
|
(ppc64_elf_check_relocs): Call bfd_set_error on errors. |
|
|
(ppc64_elf_gc_sweep_hook <R_PPC64_REL24>): Sweep plt refcount. |
|
|
(allocate_dynrelocs <plt>): Don't change function sym here. Make |
|
|
room for .stub and .glink code. |
|
|
(ppc64_elf_size_dynamic_sections): Handle .stub. Make entry for |
|
|
DT_PPC64_GLINK. |
|
|
(ppc64_elf_final_link): Rename to ppc64_elf_set_toc. Don't call |
|
|
bfd_elf64_bfd_final_link. |
|
|
(bfd_elf64_bfd_final_link): Don't define. |
|
|
(ppc64_elf_size_stubs): New. |
|
|
(build_plt_stub): New. |
|
|
(build_one_stub): New. |
|
|
(ppc64_elf_build_stubs): New. |
|
|
(ppc64_elf_relocate_section <toc relocs>): Remove assert. |
|
|
(ppc64_elf_relocate_section): Don't copy R_PPC64_REL24 relocs. |
|
|
(ppc64_elf_finish_dynamic_symbol): Don't build stubs here. Set |
|
|
DT_PPC64_GLINK entry. Tweak DT_PLTGOT, DT_JMPREL, DT_PLTRELSZ in |
|
|
case output sections not separate. Adjust DT_RELASZ to not |
|
|
include plt relocs. Set reserved got entry. Set got and plt |
|
|
entry size. |
|
|
(elf_backend_got_header_size): Set to 8. |
|
|
* elf64-ppc.h: New file. |
|
|
|
|
|
2002-01-16 Alan Modra <amodra@bigpond.net.au> |
|
|
|
|
|
* elf32-arm.h (elf32_arm_size_dynamic_sections): When removing |
|
|
sections, use bfd_section_list_remove. |
|
|
* elf32-i370.c (i370_elf_size_dynamic_sections): Likewise. |
|
|
* elflink.h (elf_link_add_object_symbols): When removing all |
|
|
sections, use bfd_section_list_clear. |
|
5159 |
|
|
5160 |
2002-01-15 Nick Clifton <nickc@cambridge.redhat.com> |
2004-04-01 Paul Brook <paul@codesourcery.com> |
5161 |
|
|
5162 |
* po/sv.po: New file: Swedish translation. |
* bfd-in.h (bfd_elf32_arm_process_before_allocation): Update. |
5163 |
* configure.in (ALL_LINGUAS): Add sv. |
* elf32-arm.h (struct elf32_elf_section_map): New. |
5164 |
|
(struct _arm_elf_section_data): New. |
5165 |
|
(elf32_arm_section_data): Define. |
5166 |
|
(struct elf32_arm_link_hash_table): Add byteswap_code. |
5167 |
|
(elf32_arm_link_hash_table_create): Initialize byteswap_code. |
5168 |
|
(bfd_elf32_arm_process_before_allocation): Add byteswap_code. |
5169 |
|
(elf32_arm_post_process_headers): Set EF_ARM_BE8. |
5170 |
|
(elf32_arm_output_symbol_hook, elf32_arm_new_section_hook, |
5171 |
|
elf32_arm_compare_mapping, elf32_arm_write_section): New functions. |
5172 |
|
(bfd_elf32_new_section_hook, elf_backend_write_section, |
5173 |
|
elf_backend_link_output_symbol_hook): Define. |
5174 |
|
|
5175 |
|
2004-04-01 Andy Chittenden <achittenden@bluearc.com> |
5176 |
|
|
5177 |
|
* stabs.c (struct stab_link_includes_totals): Add field 'symb' |
5178 |
|
that keeps the characters in a B_INCL..B_EINCL range. |
5179 |
|
(_bfd_link_section_stabs): When computing the sum of the |
5180 |
|
characters in a B_INCL..B_EINCL range also keep a copy of those |
5181 |
|
characters. Use this information to distinguish between |
5182 |
|
include sections that have the same sum and the same length |
5183 |
|
but which are nevertheless unique. |
5184 |
|
|
5185 |
|
2004-03-31 Paul Brook <paul@codesourcery.com> |
5186 |
|
|
5187 |
|
* elf32-arm.h (elf32_arm_final_link_relocate): Add R_ARM_ALU*. |
5188 |
|
* elfarm-nabi.c (elf32_arm_howto_table): Ditto. |
5189 |
|
|
5190 |
|
2004-03-31 Andy Chittenden <achittenden@bluearc.com> |
5191 |
|
|
5192 |
|
* stabs.c (struct stab_link_includes_totals): Rename field 'total' |
5193 |
|
to 'sum_chars' and add field 'num_chars'. |
5194 |
|
(_bfd_link_section_stabs): When computing the sum of the |
5195 |
|
characters in a B_INCL..B_EINCL range also keep a count of the |
5196 |
|
number of characters. Use this information to help distinguish |
5197 |
|
between include sections when have the same sum but which |
5198 |
|
nevertheless are still unique. |
5199 |
|
|
5200 |
|
2004-03-31 Mattias Engdegård <mattias@virtutech.se> |
5201 |
|
|
5202 |
|
* stabs.c (_bfd_link_section_stabs): Do not skip N_EXCL stabs. |
5203 |
|
|
5204 |
|
2004-03-30 Galit Heller <Galit.Heller@nsc.com> |
5205 |
|
Tomer Levi <Tomer.Levi@nsc.com> |
5206 |
|
|
5207 |
|
* Makefile.am (ALL_MACHINES): Add cpu-cr16c.lo. |
5208 |
|
(ALL_MACHINES_CFILES): Add cpu-cr16c.c. |
5209 |
|
(BFD32_BACKENDS): Add elf32-cr16c.lo. |
5210 |
|
(BFD32_BACKENDS_CFILES): Add elf32-cr16c.c. |
5211 |
|
(cpu-cr16c.lo): New target. |
5212 |
|
(elf32-cr16c.lo): Likewise. |
5213 |
|
* Makefile.in: Regenerate. |
5214 |
|
* archures.c (bfd_architecture): Add bfd_{arch,mach}_cr16c. |
5215 |
|
(bfd_archures_list): Add bfd_cr16c_arch. |
5216 |
|
* config.bfd: Handle cr16c-*-elf*. |
5217 |
|
* configure.in: Handle bfd_elf32_cr16c_vec. |
5218 |
* configure: Regenerate. |
* configure: Regenerate. |
5219 |
|
* reloc.c: Add BFD_RELOC_16C_NUM08, BFD_RELOC_16C_NUM08_C, |
5220 |
|
BFD_RELOC_16C_NUM16, BFD_RELOC_16C_NUM16_C, |
5221 |
|
BFD_RELOC_16C_NUM32, BFD_RELOC_16C_NUM32_C, |
5222 |
|
BFD_RELOC_16C_DISP04, BFD_RELOC_16C_DISP04_C, |
5223 |
|
BFD_RELOC_16C_DISP08, BFD_RELOC_16C_DISP08_C, |
5224 |
|
BFD_RELOC_16C_DISP16, BFD_RELOC_16C_DISP16_C, |
5225 |
|
BFD_RELOC_16C_DISP24, BFD_RELOC_16C_DISP24_C, |
5226 |
|
BFD_RELOC_16C_DISP24a, BFD_RELOC_16C_DISP24a_C, |
5227 |
|
BFD_RELOC_16C_REG04, BFD_RELOC_16C_REG04_C, |
5228 |
|
BFD_RELOC_16C_REG04a, BFD_RELOC_16C_REG04a_C, |
5229 |
|
BFD_RELOC_16C_REG14, BFD_RELOC_16C_REG14_C, |
5230 |
|
BFD_RELOC_16C_REG16, BFD_RELOC_16C_REG16_C, |
5231 |
|
BFD_RELOC_16C_REG20, BFD_RELOC_16C_REG20_C, |
5232 |
|
BFD_RELOC_16C_ABS20, BFD_RELOC_16C_ABS20_C, |
5233 |
|
BFD_RELOC_16C_ABS24, BFD_RELOC_16C_ABS24_C, |
5234 |
|
BFD_RELOC_16C_IMM04, BFD_RELOC_16C_IMM04_C, |
5235 |
|
BFD_RELOC_16C_IMM16, BFD_RELOC_16C_IMM16_C, |
5236 |
|
BFD_RELOC_16C_IMM20, BFD_RELOC_16C_IMM20_C, |
5237 |
|
BFD_RELOC_16C_IMM24, BFD_RELOC_16C_IMM24_C, |
5238 |
|
BFD_RELOC_16C_IMM32, BFD_RELOC_16C_IMM32_C. |
5239 |
|
* targets.c (bfd_elf32_cr16c_vec): Declare. |
5240 |
|
(bfd_target_vector): Add bfd_elf32_cr16c_vec. |
5241 |
|
* cpu-cr16c.c: New file. |
5242 |
|
* elf32-cr16c.c: Likewise. |
5243 |
|
* libbfd.h: Regenerate. |
5244 |
|
* bfd-in2.h: Likewise. |
5245 |
|
|
5246 |
2002-01-15 Jakub Jelinek <jakub@redhat.com> |
2004-03-30 Jakub Jelinek <jakub@redhat.com> |
5247 |
|
|
5248 |
* elflink.h (elf_link_input_bfd): Back out 2002-01-07 change. |
* elf.c (map_sections_to_segments): Fix handling of .tbss. |
5249 |
* elf.c (merge_sections_remove_hook): New function. |
|
5250 |
(_bfd_elf_merge_sections): Pass it as 3rd argument to |
2004-03-27 Alan Modra <amodra@bigpond.net.au> |
5251 |
_bfd_merge_sections. |
|
5252 |
* libbfd-in.h (_bfd_merge_sections): Add 3rd argument. |
* Makefile.am: Remove all mention of elflink.h. |
5253 |
* libbfd.h: Rebuilt. |
* Makefile.in: Regenerate. |
5254 |
* merge.c (_bfd_merge_sections): Add remove_hook argument. |
* bfd-in.h (bfd_elf_discard_info): Declare. |
5255 |
Call remove_hook if a SEC_EXCLUDE section is encountered. |
(bfd_elf32_discard_info, bfd_elf64_discard_info): Delete. |
5256 |
|
* bfd-in2.h: Regenerate. |
5257 |
|
* elf-bfd.h (bfd_elf32_print_symbol, bfd_elf64_print_symbol, |
5258 |
|
bfd_elf32_link_record_dynamic_symbol, |
5259 |
|
bfd_elf64_link_record_dynamic_symbol, |
5260 |
|
_bfd_elf_link_record_dynamic_symbol, bfd_elf32_bfd_final_link, |
5261 |
|
bfd_elf64_bfd_final_link, elf_link_record_local_dynamic_symbol, |
5262 |
|
_bfd_elf32_link_record_local_dynamic_symbol, |
5263 |
|
_bfd_elf64_link_record_local_dynamic_symbol, |
5264 |
|
_bfd_elf32_gc_sections, _bfd_elf32_gc_common_finalize_got_offsets, |
5265 |
|
_bfd_elf32_gc_common_final_link, _bfd_elf64_gc_common_final_link, |
5266 |
|
_bfd_elf32_gc_record_vtinherit, _bfd_elf32_gc_record_vtentry, |
5267 |
|
_bfd_elf64_gc_sections, _bfd_elf64_gc_common_finalize_got_offsets, |
5268 |
|
_bfd_elf64_gc_record_vtinherit, _bfd_elf64_gc_record_vtentry, |
5269 |
|
_bfd_elf32_reloc_symbol_deleted_p, |
5270 |
|
_bfd_elf64_reloc_symbol_deleted_p): Delete. |
5271 |
|
(bfd_elf_link_record_dynamic_symbol, |
5272 |
|
bfd_elf_link_record_local_dynamic_symbol, |
5273 |
|
bfd_elf_final_link, bfd_elf_gc_sections, |
5274 |
|
bfd_elf_gc_record_vtinherit, bfd_elf_gc_record_vtentry, |
5275 |
|
bfd_elf_gc_common_finalize_got_offsets, bfd_elf_gc_common_final_link, |
5276 |
|
bfd_elf_reloc_symbol_deleted_p): Declare. |
5277 |
|
(WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define. |
5278 |
|
* elf32-arm.h: Update for changed function names. Remove local |
5279 |
|
WILL_CALL_FINISH_DYNAMIC_SECTION define. |
5280 |
|
* elf-hppa.h, elf-m10300.c, elf32-cris.c, elf32-d10v.c, elf32-dlx.c, |
5281 |
|
* elf32-fr30.c, elf32-frv.c, elf32-h8300.c, elf32-hppa.c, elf32-i386.c, |
5282 |
|
* elf32-iq2000.c, elf32-m32r.c, elf32-m68hc1x.c, elf32-m68k.c, |
5283 |
|
* elf32-mcore.c, elf32-openrisc.c, elf32-ppc.c, elf32-s390.c, |
5284 |
|
* elf32-sh.c, elf32-sparc.c, elf32-v850.c, elf32-vax.c, |
5285 |
|
* elf32-xstormy16.c, elf32-xtensa.c, elf64-alpha.c, elf64-hppa.c, |
5286 |
|
* elf64-mmix.c, elf64-ppc.c, elf64-s390.c, elf64-sh64.c, elf64-sparc.c, |
5287 |
|
* elf64-x86-64.c, elfxx-ia64.c, elfxx-mips.c, elfxx-target.h: Likewise. |
5288 |
|
* elfxx-target.h (bfd_elfNN_bfd_final_link): Define. |
5289 |
|
(bfd_elfNN_print_symbol): Define. |
5290 |
|
* elfcode.h: Don't include elflink.h. |
5291 |
|
(elf_bfd_discard_info, elf_reloc_symbol_deleted_p, |
5292 |
|
elf_link_record_dynamic_symbol, elf_bfd_final_link, elf_gc_sections, |
5293 |
|
elf_gc_common_finalize_got_offsets, elf_gc_common_final_link, |
5294 |
|
elf_gc_record_vtinherit, elf_gc_record_vtentry, |
5295 |
|
elf_link_record_local_dynamic_symbol): Don't define. |
5296 |
|
* elflink.c: Update for changed function names. Move elflink.h |
5297 |
|
code here. |
5298 |
|
* elflink.h: Delete file. |
5299 |
|
* po/SRC-POTFILES.in: Regenerate. |
5300 |
|
* po/bfd.pot: Regenerate. |
5301 |
|
|
5302 |
2002-01-15 Nick Clifton <nickc@cambridge.redhat.com> |
2004-03-27 Alan Modra <amodra@bigpond.net.au> |
5303 |
|
|
5304 |
* elf32-xstormy16.c (xstormy16_reloc_map): Add new field 'table'. |
* elf64-mmix.c (mmix_elf_relocate_section): Restore code setting |
5305 |
(xstormy16_reloc_map): Initialise new field with correct howto |
"name" for global syms accidentally removed in 2004-03-20 change. |
|
table. |
|
|
(xstormy16_reloc_type_lookup): Use 'table' field to locate correct |
|
|
howto entry. |
|
5306 |
|
|
5307 |
2002-01-10 Michael Snyder <msnyder@redhat.com> |
2004-03-27 Alan Modra <amodra@bigpond.net.au> |
5308 |
|
|
5309 |
* elf.c (elfcore_write_prstatus): Use long instead of pid_t; |
* elf-bfd.h (struct elf_reloc_cookie): Add r_sym_shift field. |
5310 |
(elfcore_write_pstatus): Use long instead of pid_t; |
* elflink.h: Replace all occurrences of sizeof (Elf_External_*) |
5311 |
* elf-bfd.h: Change prototypes to use long instead of pid_t; |
where Elf_External_* is different for 64 and 32 bit, with |
5312 |
|
corresponding elf_size_info field. |
5313 |
|
(struct elf_final_link_info): Use "bfd_byte *" instead |
5314 |
|
of "Elf_External_Sym *" for external_syms and symbuf. |
5315 |
|
(elf_link_adjust_relocs): Set up r_type_mask and r_sym_shift local |
5316 |
|
vars and use instead of ELF_R_INFO and ELF_R_TYPE macros. |
5317 |
|
(struct elf_link_sort_rela): Add "sym_mask" alias for "offset". |
5318 |
|
(elf_link_sort_cmp1): Use sym_mask field instead of ELF_R_SYM. |
5319 |
|
(elf_link_sort_cmp2): Adjust. |
5320 |
|
(elf_link_sort_relocs): Set up r_sym_mask local var instead of |
5321 |
|
using ELF_R_SYM macro. Set u.sym_mask. |
5322 |
|
(elf_bfd_final_link): Call _bfd_elf_stringtab_init instead of macro |
5323 |
|
version, elf_stringtab_init. Ditto for bfd_section_from_elf_index |
5324 |
|
vs. section_from_elf_index. Adjust Elf_External_Sym pointer |
5325 |
|
arithmetic. Pass bed to elf_link_flush_output_syms. Adjust |
5326 |
|
Elf_External_Dyn pointer arithmentic. Use bed swap_dyn_in and |
5327 |
|
swap_syn_out functions. Rearrange dyn swap in/out switch. |
5328 |
|
(elf_link_output_sym): Adjust Elf_External_Sym pointer arithmentic. |
5329 |
|
Pass bed to elf_link_flush_output_syms. Use bed swap_symbol_out. |
5330 |
|
(elf_link_flush_output_syms): Add elf_backend_data arg. |
5331 |
|
(elf_link_check_versioned_symbol): Likewise. |
5332 |
|
(elf_link_output_extsym): Pass bed to elf_link_check_versioned_symbol. |
5333 |
|
Adjust Elf_External_Sym pointer arithmetic. Use bed swap_symbol_out. |
5334 |
|
(elf_link_input_bfd): Use bfd_section_from_elf_index. Set up |
5335 |
|
r_type_mask and r_sym_shift local vars and use instead of ELF_R_SYM, |
5336 |
|
ELF_R_TYPE and ELF_R_INFO macros. |
5337 |
|
(elf_reloc_link_order): Select ELF32_R_INFO or ELF64_R_INFO invocation |
5338 |
|
based on size rather than using ELF_R_INFO. |
5339 |
|
(elf_gc_mark): Set up r_sym_shift local var and use instead of |
5340 |
|
ELF_R_SYM macro. |
5341 |
|
(struct alloc_got_off_arg): New. |
5342 |
|
(elf_gc_common_finalize_got_offsets): Use elf_size_info instead of |
5343 |
|
ARCH_SIZE. Pass get entry size down to elf_gc_allocate_got_offsets. |
5344 |
|
(elf_gc_allocate_got_offsets): Adjust. |
5345 |
|
(elf_reloc_symbol_deleted_p): Usee cookie.r_sym_shift instead of |
5346 |
|
ELF_R_SYM. Use bfd_section_from_elf_index. |
5347 |
|
(elf_bfd_discard_info): Set cookie.r_sym_shift. |
5348 |
|
* elfcode.h (elf_stringtab_init, section_from_elf_index): Delete. |
5349 |
|
(elf_slurp_symbol_table): Use bfd_section_from_elf_index. |
5350 |
|
|
5351 |
|
2004-03-26 Stan Shebs <shebs@apple.com> |
5352 |
|
|
5353 |
|
Remove MPW support, no longer used. |
5354 |
|
* config.bfd (powerpc-*-mpw*): Remove configuration. |
5355 |
|
* mpw-config.in, mpw-make.sed: Remove files. |
5356 |
|
* ecoffswap.h [MPW_C]: Remove MPW-C-friendly version of code. |
5357 |
|
|
5358 |
|
2004-03-26 Alan Modra <amodra@bigpond.net.au> |
5359 |
|
|
5360 |
|
* elf64-ppc.c (elf_backend_add_symbol_hook): Define. |
5361 |
|
(ppc64_elf_add_symbol_hook): New function. |
5362 |
|
* elf-bfd.h (struct elf_backend_data <elf_add_symbol_hook>): Remove |
5363 |
|
const from Elf_Internal_Sym param. |
5364 |
|
* elflink.c (elf_link_add_object_symbols): Adjust. |
5365 |
|
* elf-hppa.h (elf_hppa_add_symbol_hook): Adjust. |
5366 |
|
* elf32-frv.c (elf32_frv_add_symbol_hook): Adjust. |
5367 |
|
* elf32-i370.c (elf_backend_add_symbol_hook): Adjust. |
5368 |
|
* elf32-m32r.c (m32r_elf_add_symbol_hook): Adjust. |
5369 |
|
* elf32-m68hc1x.c (elf32_m68hc11_add_symbol_hook): Adjust. |
5370 |
|
* elf32-m68hc1x.h (elf32_m68hc11_add_symbol_hook): Adjust. |
5371 |
|
* elf32-ppc.c (ppc_elf_add_symbol_hook): Adjust. |
5372 |
|
* elf32-sh64.c (sh64_elf_add_symbol_hook): Adjust. |
5373 |
|
* elf32-v850.c (v850_elf_add_symbol_hook): Adjust. |
5374 |
|
* elf64-alpha.c (elf64_alpha_add_symbol_hook): Adjust. |
5375 |
|
* elf64-mmix.c (mmix_elf_add_symbol_hook): Adjust. |
5376 |
|
* elf64-sh64.c (sh64_elf64_add_symbol_hook): Adjust. |
5377 |
|
* elf64-sparc.c (sparc64_elf_add_symbol_hook): Adjust. |
5378 |
|
* elfxx-ia64.c (elfNN_ia64_add_symbol_hook): Adjust. |
5379 |
|
* elfxx-mips.c (_bfd_mips_elf_add_symbol_hook): Adjust. |
5380 |
|
* elfxx-mips.h (_bfd_mips_elf_add_symbol_hook): Adjust. |
5381 |
|
|
5382 |
|
2004-03-26 Alan Modra <amodra@bigpond.net.au> |
5383 |
|
|
5384 |
|
* elfxx-target.h (bfd_elfNN_bfd_link_add_symbols): Define. |
5385 |
|
* elf-bfd.h (_bfd_elf_link_add_archive_symbols): Delete. |
5386 |
|
(_bfd_elf_sort_symbol, _bfd_elf_add_dt_needed_tag): Delete. |
5387 |
|
(_bfd_elf_finalize_dynstr, bfd_elf32_bfd_link_add_symbols): Delete. |
5388 |
|
(bfd_elf64_bfd_link_add_symbols): Delete. |
5389 |
|
(bfd_elf_link_add_symbols): Declare. |
5390 |
|
* elfcode.h (elf_bfd_link_add_symbols): Delete. |
5391 |
|
* elflink.c: Include safe-ctype.h. |
5392 |
|
(elf_add_dt_needed_tag): Rename from _bfd_elf_add_dt_needed_tag, |
5393 |
|
make static. |
5394 |
|
(elf_sort_symbol): Rename from _bfd_elf_sort_symbol, make static. |
5395 |
|
(elf_finalize_dynstr): Rename from _bfd_elf_finalize_dynstr, make |
5396 |
|
static. |
5397 |
|
(elf_link_add_archive_symbols): Rename from |
5398 |
|
_bfd_elf_link_add_archive_symbols, make static. |
5399 |
|
(elf_link_add_object_symbols): New function. Corresponding |
5400 |
|
elflink.h function converted to use elf_size_info. |
5401 |
|
(bfd_elf_link_add_symbols): Likewise. |
5402 |
|
(bfd_elf_size_dynamic_sections): Adjust. |
5403 |
|
* elflink.h (elf_bfd_link_add_symbols): Delete. |
5404 |
|
(elf_link_add_object_symbols): Delete. |
5405 |
|
* elf32-gen.c (elf32_generic_link_add_symbols): Call |
5406 |
|
bfd_elf_link_add_symbols. |
5407 |
|
* elf64-gen.c (elf64_generic_link_add_symbols): Likewise. |
5408 |
|
|
5409 |
|
2004-03-25 Alan Modra <amodra@bigpond.net.au> |
5410 |
|
|
5411 |
|
* elflink.h (elf_link_add_object_symbols): Add DT_NEEDED for as-needed |
5412 |
|
and chained shared libs only if dynsym. Clear dynsym on forced-local. |
5413 |
|
|
5414 |
|
* elf-bfd.h (_bfd_elf_add_dynamic_entry): Declare. |
5415 |
|
(bfd_elf32_add_dynamic_entry, bfd_elf64_add_dynamic_entry): Delete. |
5416 |
|
(_bfd_elf_add_dt_needed_tag): Declare. |
5417 |
|
(_bfd_elf_sort_symbol): Declare. |
5418 |
|
(_bfd_elf_finalize_dynstr): Declare. |
5419 |
|
(RELOC_FOR_GLOBAL_SYM): Formatting. |
5420 |
|
* elfcode.h (elf_add_dynamic_entry): Delete. |
5421 |
|
* elflink.c (_bfd_elf_add_dynamic_entry): New function. Corresponding |
5422 |
|
elflink.h function converted to use elf_size_info. |
5423 |
|
(_bfd_elf_add_dt_needed_tag): Likewise. |
5424 |
|
(_bfd_elf_sort_symbol): Likewise. |
5425 |
|
(_bfd_elf_finalize_dynstr): Likewise. |
5426 |
|
(compute_bucket_count): Likewise. |
5427 |
|
(bfd_elf_size_dynamic_sections): Likewise. Check result of |
5428 |
|
_bfd_elf_strtab_add before calling _bfd_elf_strtab_addref. |
5429 |
|
(elf_adjust_dynstr_offsets, elf_collect_hash_codes): Moved from.. |
5430 |
|
* elflink.h: ..here. |
5431 |
|
(sort_symbol, add_dt_needed_tag): Delete. |
5432 |
|
(elf_add_dynamic_entry, elf_finalize_dynstr): Delete. |
5433 |
|
(compute_bucket_count, NAME(bfd_elf,size_dynamic_sections)): Delete. |
5434 |
|
Update all users. |
5435 |
|
* elf32-arm.h (add_dynamic_entry): Update. Remove casts. |
5436 |
|
* elf32-cris.c (add_dynamic_entry): Likewise. |
5437 |
|
* elf32-hppa.c (add_dynamic_entry): Likewise. |
5438 |
|
* elf32-i370.c (add_dynamic_entry): Likewise. |
5439 |
|
* elf32-i386.c (add_dynamic_entry): Likewise. |
5440 |
|
* elf32-m32r.c (add_dynamic_entry): Likewise. |
5441 |
|
* elf32-m68k.c (add_dynamic_entry): Likewise. |
5442 |
|
* elf32-ppc.c (add_dynamic_entry): Likewise. |
5443 |
|
* elf32-s390.c (add_dynamic_entry): Likewise. |
5444 |
|
* elf32-sh.c (add_dynamic_entry): Likewise. |
5445 |
|
* elf32-sparc.c (add_dynamic_entry): Likewise. |
5446 |
|
* elf32-vax.c (add_dynamic_entry): Likewise. |
5447 |
|
* elf32-xtensa.c (add_dynamic_entry): Likewise. |
5448 |
|
* elf64-alpha.c (add_dynamic_entry): Likewise. |
5449 |
|
* elf64-hppa.c (add_dynamic_entry): Likewise. |
5450 |
|
* elf64-ppc.c (add_dynamic_entry): Likewise. |
5451 |
|
* elf64-s390.c (add_dynamic_entry): Likewise. |
5452 |
|
* elf64-sparc.c (add_dynamic_entry): Likewise. |
5453 |
|
* elf64-x86-64.c (add_dynamic_entry): Likewise. |
5454 |
|
* elfxx-ia64.c (add_dynamic_entry): Likewise. |
5455 |
|
* elfxx-mips.c (MIPS_ELF_ADD_DYNAMIC_ENTRY): Likewise. |
5456 |
|
* elf-m10300.c (_bfd_mn10300_elf_size_dynamic_sections): Likewise. |
5457 |
|
* elf32-frv.c (elf32_frv_size_dynamic_sections): Likewise. |
5458 |
|
* elf64-sh64.c (sh64_elf64_size_dynamic_sections): Likewise. |
5459 |
|
|
5460 |
|
2004-03-23 Paul Brook <paul@codesourcery.com> |
5461 |
|
|
5462 |
|
* elf32-arm.h (arm_print_private_bfd_data): Add EABI v3. |
5463 |
|
|
5464 |
|
2004-03-22 Bob Wilson <bob.wilson@acm.org> |
5465 |
|
|
5466 |
|
* elf32-xtensa.c (elf_xtensa_check_relocs): Remove code to read |
5467 |
|
literal tables and check for relocs outside of literal pools. |
5468 |
|
(elf_xtensa_make_sym_local): Don't clear ELF_LINK_NON_GOT_REF flag. |
5469 |
|
(elf_xtensa_fix_refcounts): Don't check ELF_LINK_NON_GOT_REF or |
5470 |
|
set DF_TEXTREL. |
5471 |
|
(elf_xtensa_size_dynamic_sections): Don't add DT_TEXTREL entry. |
5472 |
|
(elf_xtensa_relocate_section): Read literal tables and check for |
5473 |
|
dynamic relocations in read-only sections and not in literal pools. |
5474 |
|
|
5475 |
|
2004-03-23 Alan Modra <amodra@bigpond.net.au> |
5476 |
|
|
5477 |
|
PR 51. |
5478 |
|
* linker.c (bfd_wrapped_link_hash_lookup): Handle info->wrap_char. |
5479 |
|
|
5480 |
|
2004-03-22 Hans-Peter Nilsson <hp@axis.com> |
5481 |
|
|
5482 |
|
* elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_16_GOTPLT, |
5483 |
|
R_CRIS_16_GOTPLT>: Also error if there's no PLT for a symbol |
5484 |
|
not defined by the executable, or defined in a DSO. |
5485 |
|
<eliding run-time relocation of .got>: Initialize GOT entry for a |
5486 |
|
function symbol or ELF_LINK_HASH_NEEDS_PLT statically in an |
5487 |
|
executable. |
5488 |
|
(cris_elf_gc_sweep_hook): Improve fallthrough marking. |
5489 |
|
(elf_cris_try_fold_plt_to_got): Improve head comment. Do not fold |
5490 |
|
a PLT reloc to GOT for an executable. |
5491 |
|
(elf_cris_adjust_dynamic_symbol): Only fold a .got.plt entry with |
5492 |
|
.got for a DSO and explain why. |
5493 |
|
(elf_cris_discard_excess_program_dynamics): Also lose GOT-relocs |
5494 |
|
and unreferenced symbols for which a PLT is defined. Adjust |
5495 |
|
dynamic-symbol pruning correspondingly, to make sure we don't lose |
5496 |
|
a dynamic symbol also defined by a DSO. |
5497 |
|
|
5498 |
|
2004-03-22 Alan Modra <amodra@bigpond.net.au> |
5499 |
|
|
5500 |
|
* elf-bfd.h (RELOC_FOR_GLOBAL_SYMBOL): Add input_bfd, input_section |
5501 |
|
and rel args. Group input and output args. Wrap to 80 columns. |
5502 |
|
* elf-m10200.c, elf-m10300.c, elf32-arm.h, elf32-avr.c, |
5503 |
|
elf32-cris.c, elf32-d10v.c, elf32-fr30.c, elf32-h8300.c, |
5504 |
|
elf32-hppa.c, elf32-i386.c, elf32-i860.c, elf32-ip2k.c, |
5505 |
|
elf32-iq2000.c, elf32-m68hc1x.c, elf32-m68k.c, elf32-mcore.c, |
5506 |
|
elf32-msp430.c, elf32-openrisc.c, elf32-ppc.c, elf32-s390.c, |
5507 |
|
elf32-sparc.c, elf32-v850.c, elf32-vax.c, elf32-xstormy16.c, |
5508 |
|
elf32-xtensa.c, elf64-alpha.c, elf64-mmix.c, elf64-ppc.c, |
5509 |
|
elf64-s390.c, elf64-sparc.c, elf64-x86-64.c, elfxx-ia64.c: Update |
5510 |
|
RELOC_FOR_GLOBAL_SYMBOL invocation. |
5511 |
|
|
5512 |
2002-01-09 Jason Thorpe <thorpej@wasabisystems.com> |
2004-03-20 H.J. Lu <hongjiu.lu@intel.com> |
5513 |
|
|
5514 |
* elf.c: Update copyright years. |
* elf-bfd.h (RELOC_FOR_GLOBAL_SYMBOL): Report error if |
5515 |
(elfcore_grok_netbsd_note): Use NT_NETBSDCORE_PROCINFO |
unresolved symbols in objects aren't allowed. |
|
and NT_NETBSDCORE_FIRSTMACH. Improve a comment. |
|
5516 |
|
|
5517 |
2002-01-08 Michael Snyder <msnyder@redhat.com> |
* elf-hppa.h (elf_hppa_relocate_section): Properly handle |
5518 |
|
unresolved symbols. |
5519 |
|
(elf_hppa_remark_useless_dynamic_symbols): Likewise. |
5520 |
|
(elf_hppa_unmark_useless_dynamic_symbols): |
5521 |
|
* elf32-frv.c (elf32_frv_relocate_section): Likewise. |
5522 |
|
* elf32-hppa.c (elf32_hppa_size_stubs): Likewise. |
5523 |
|
(elf32_hppa_relocate_section): Likewise. |
5524 |
|
* elf32-i370.c (i370_elf_relocate_section): Likewise. |
5525 |
|
* elf32-m32r.c (m32r_elf_relocate_section): Likewise. |
5526 |
|
* elf32-sh.c (sh_elf_relocate_section): Likewise. |
5527 |
|
* elf64-sh64.c (sh_elf64_relocate_section): Likewise. |
5528 |
|
* elfxx-mips.c (mips_elf_calculate_relocation): Likewise. |
5529 |
|
|
5530 |
Add capability to write corefile note sections, for gdb. |
* elf-m10200.c (mn10200_elf_relocate_section): Use |
5531 |
* elf.c (elfcore_write_note): New function. |
RELOC_FOR_GLOBAL_SYMBOL. |
5532 |
(elfcore_write_prpsinfo): New function. |
* elf32-avr.c (elf32_avr_relocate_section): Likewise. |
5533 |
(elfcore_write_prstatus): New function. |
* elf32-d10v.c (elf32_d10v_relocate_section): Likewise. |
5534 |
(elfcore_write_pstatus): New function. |
* elf32-fr30.c (fr30_elf_relocate_section): Likewise. |
5535 |
(elfcore_write_prfpreg): New function. |
* elf32-h8300.c (elf32_h8_relocate_section): Likewise. |
5536 |
(elfcore_write_prxfpreg): New function. |
* elf32-i860.c (elf32_i860_relocate_section): Likewise. |
5537 |
* elf-bfd.h: Add prototypes for above functions. |
* elf32-m68hc1x.c (m68hc11_get_relocation_value): Likewise. |
5538 |
|
* elf32-mcore.c (mcore_elf_relocate_section): Likewise. |
5539 |
|
* elf32-msp430.c (elf32_msp430_relocate_section): Likewise. |
5540 |
|
* elf32-openrisc.c (openrisc_elf_relocate_section): Likewise. |
5541 |
|
* elf32-v850.c (v850_elf_relocate_section): Likewise. |
5542 |
|
* elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise. |
5543 |
|
* elf64-mmix.c (mmix_elf_relocate_section): Likewise. |
5544 |
|
|
5545 |
2002-01-08 Alexandre Oliva <aoliva@redhat.com> |
2004-03-19 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
5546 |
|
|
5547 |
* elf.c (elf_fake_sections): Propagate errors from |
* elf32-hppa.c (elf32_hppa_check_relocs): Handle R_PARISC_PCREL32. |
5548 |
elf_backend_fake_section. |
(final_link_relocate): Likewise. |
5549 |
|
* elf-hppa.h (elf_hppa_reloc_final_type): Handle selectors for |
5550 |
|
R_PARISC_PCREL32 and R_PARISC_PCREL64 relocations. |
5551 |
|
|
5552 |
2002-01-07 Jason Thorpe <thorpej@wasabisystems.com> |
2004-03-19 Alan Modra <amodra@bigpond.net.au> |
5553 |
|
|
5554 |
* Makefile.am (BFD32_BACKENDS): Add elf32-sh-nbsd.lo. |
* Makefile.am: Run "make dep-am". |
|
(BFD32_BACKENDS_CFILES): Add elf32-sh-nbsd.c. |
|
|
(elf32-sh-nbsd.lo): New rule. |
|
5555 |
* Makefile.in: Regenerate. |
* Makefile.in: Regenerate. |
5556 |
* config.bfd (sh*le-*-netbsdelf*): New target. |
* aclocal.m4: Regenerate. |
5557 |
(sh*-*-netbsdelf*): New target. |
* config.in: Regenerate. |
5558 |
* configure.in: Include netbsd-core.lo for native sh*-*-netbsd*. |
* po/bfd.pot: Regenerate. |
5559 |
(bfd_elf32_shnbsd_vec): New vector. |
|
5560 |
(bfd_elf32_shlnbsd_vec): New vector. |
2004-03-19 Alan Modra <amodra@bigpond.net.au> |
5561 |
|
H.J. Lu <hongjiu.lu@intel.com> |
5562 |
|
|
5563 |
|
* elflink.c (_bfd_elf_merge_symbol): Revert last change. Move |
5564 |
|
type and size change code to where it was previously. Remove |
5565 |
|
dt_needed param. Treat old weak syms as strong if new sym is |
5566 |
|
from a shared lib, even when old sym is from another shared |
5567 |
|
lib. Remove unnecessary tests of oldweak and newweak. Correct |
5568 |
|
comments. |
5569 |
|
(_bfd_elf_add_default_symbol): Remove dt_needed param. Update |
5570 |
|
_bfd_elf_merge_symbol calls. |
5571 |
|
* elflink.h (elf_link_add_object_symbols): Update calls. Remove |
5572 |
|
dt_needed local var. Update comments. |
5573 |
|
* elf-bfd.h (_bfd_elf_merge_symbol): Update prototype. |
5574 |
|
(_bfd_elf_add_default_symbol): Likewise. |
5575 |
|
|
5576 |
|
* elflink.c (_bfd_elf_merge_symbol): Reinstate code to handle |
5577 |
|
strong syms in one shared object overriding weak syms in another. |
5578 |
|
|
5579 |
|
2004-03-18 Alan Modra <amodra@bigpond.net.au> |
5580 |
|
|
5581 |
|
* elf-bfd.h (struct elf_obj_tdata): Delete dt_soname field. Add |
5582 |
|
dyn_lib_class field. Rearrange for better packing. |
5583 |
|
(elf_dt_soname): Delete. |
5584 |
|
(elf_dyn_lib_class): Define. |
5585 |
|
* elf.c (bfd_elf_set_dt_needed_name): Update comment. |
5586 |
|
(bfd_elf_set_dt_needed_soname): Delete. |
5587 |
|
(bfd_elf_set_dyn_lib_class): New function. |
5588 |
|
* elflink.h (add_dt_needed_tag): New function. Split out from.. |
5589 |
|
(elf_link_add_object_symbols): ..here. Rename "name" to "soname". |
5590 |
|
Use elf_dyn_lib_class to set dt_needed and add_needed. Move fallback |
5591 |
|
initialization of soname. |
5592 |
|
(elf_link_check_versioned_symbol): Test elf_dyn_lib_class instead of |
5593 |
|
elf_dt_soname. |
5594 |
|
* bfd-in.h (enum dynamic_lib_link_class): New. |
5595 |
|
(bfd_elf_set_dt_needed_soname): Delete. |
5596 |
|
(bfd_elf_set_dyn_lib_class): Declare. |
5597 |
|
* bfd-in2.h: Regenerate. |
5598 |
|
|
5599 |
|
* elflink.c (_bfd_elf_merge_symbol): Rewrite weak symbol handling. |
5600 |
|
(_bfd_elf_add_default_symbol): Remove indirect BFD_ASSERTs. |
5601 |
|
* elflink.h (elf_link_add_object_symbols): Don't clear dt_needed in |
5602 |
|
symbol loop. Instead use add_needed to flag tag as written. |
5603 |
|
|
5604 |
|
2004-03-17 Nathan Sidwell <nathan@codesourcery.com> |
5605 |
|
|
5606 |
|
* elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Correct |
5607 |
|
logic for null_input_bfd detection. |
5608 |
|
|
5609 |
|
2004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
5610 |
|
|
5611 |
|
* config.bfd: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*. |
5612 |
|
|
5613 |
|
2004-03-16 Mark Kettenis <kettenis@gnu.org> |
5614 |
|
|
5615 |
|
* netbsd-core.c (netbsd_core_file_p) [CORE_FPU_OFFSET]: Remove |
5616 |
|
code. |
5617 |
|
|
5618 |
|
2004-03-16 Alan Modra <amodra@bigpond.net.au> |
5619 |
|
|
5620 |
|
* elflink.c (elf_link_read_relocs_from_section): Don't use |
5621 |
|
NUM_SHDR_ENTRIES in end of reloc calc. Move NULL shdr check.. |
5622 |
|
(_bfd_elf_link_read_relocs): ..to here. |
5623 |
|
* elf32-ppc.c (ppc_elf_relax_section): Formatting. |
5624 |
|
|
5625 |
|
2004-03-16 Alan Modra <amodra@bigpond.net.au> |
5626 |
|
|
5627 |
|
* configure.in (HOST_64BIT_TYPE, HOST_U_64BIT_TYPE): Don't override |
5628 |
|
values selected in configure.host. Require both to be defined |
5629 |
|
before setting BFD_HOST_64_BIT_DEFINED. Protect assignment to |
5630 |
|
corresponding BFD_HOST vars with quotes. |
5631 |
|
<${host64}-${target64}-${want64} in *true*>: Don't exempt gcc; |
5632 |
|
Always require BFD_HOST_64_BIT_DEFINED. |
5633 |
|
<file_ptr type>: Find off_t size before emitting message. Combine |
5634 |
|
off_t and ftello64 conditional. |
5635 |
* configure: Regenerate. |
* configure: Regenerate. |
|
* elf32-sh-nbsd.c: New file. |
|
|
* targets.c: Update copyright years. |
|
|
(_bfd_target_vector): Add bfd_elf32_shlnbsd_vec and |
|
|
bfd_elf32_shnbsd_vec. |
|
5636 |
|
|
5637 |
2002-01-07 Aldy Hernandez <aldyh@redhat.com> |
2004-03-16 Alan Modra <amodra@bigpond.net.au> |
5638 |
|
|
5639 |
* coff-rs6000.c (READ20): Use bfd_scan_vma. |
* elf32-m32r.c (m32r_elf_create_dynamic_sections): Fix pointer |
5640 |
|
aliasing warning. Remove trailing whitespace throughout file. |
5641 |
|
|
5642 |
2002-01-07 Geoffrey Keating <geoffk@redhat.com> |
2004-03-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
5643 |
|
|
5644 |
* elflink.h (elf_link_input_bfd): Don't ask for the merged offset |
* elf-hppa.h (elf_hppa_relocate_section): Pass input_bfd instead of |
5645 |
of a symbol in a section that will be deleted. |
input_section in calls to get_dyn_name. |
5646 |
|
* elf64-hppa.c (get_dyn_name): Change type of first argument to "bfd *". Use section id of first section in input BFD to build dynamic name for |
5647 |
|
local symbols. |
5648 |
|
(elf64_hppa_check_relocs): Pass abfd in call to get_dyn_name. |
5649 |
|
|
5650 |
|
2004-03-15 Alan Modra <amodra@bigpond.net.au> |
5651 |
|
|
5652 |
|
* bfd-in.h (bfd_int64_t, bfd_uint64_t): New types. |
5653 |
|
(BFD_HOST_64_BIT, BFD_HOST_U_64_BIT): Don't define here. |
5654 |
|
(bfd_getb64, bfd_getl64, bfd_get_bits): Return bfd_uint64_t. |
5655 |
|
(bfd_getb_signed_64, bfd_getl_signed_64): Return bfd_int64_t. |
5656 |
|
(bfd_putb64, bfd_putl64, bfd_put_bits): Accept bfd_uint64_t. |
5657 |
|
* configure.in (HOST_U_64BIT_TYPE): Set when sizeof long is 8. |
5658 |
|
(BFD_HOST_64_BIT_DEFINED, BFD_HOST_64_BIT, BFD_HOST_U_64_BIT): Set |
5659 |
|
when using long. |
5660 |
|
* libbfd.c (EIGHT_GAZILLION, COERCE64): Use bfd_int64_t. |
5661 |
|
(bfd_getb64): Return bfd_uint64_t. Enable when BFD_HOST_64_BIT. |
5662 |
|
(bfd_getl64, bfd_getb_signed_64, bfd_getl_signed_64): Likewise. |
5663 |
|
(bfd_putb64): Accept bfd_uint64_t. Enable when BFD_HOST_64_BIT. |
5664 |
|
(bfd_putl64, bfd_put_bits, bfd_get_bits): Likewise. |
5665 |
|
* dwarf2.c (struct attribute): Use bfd_int64_t and bfd_uint64_t. |
5666 |
|
(read_8_bytes, read_indirect_string, read_address): Likewise. |
5667 |
|
(read_abbrevs, parse_comp_unit): Likewise. |
5668 |
|
* targets.c (struct bfd_target): Likewise. |
5669 |
|
* aix386-core.c (NO_GET64, NO_PUT64, NO_GETS64): Define and use. |
5670 |
|
* hppabsd-core.c: Likewise. Formatting. |
5671 |
|
* hpux-core.c: Likewise. |
5672 |
|
* irix-core.c: Likewise. |
5673 |
|
* netbsd-core.c: Likewise. |
5674 |
|
* osf-core.c: Likewise. |
5675 |
|
* ptrace-core.c: Likewise. |
5676 |
|
* sco5-core.c: Likewise. |
5677 |
|
* trad-core.c: Likewise. |
5678 |
|
* configure: Regenerate. |
5679 |
|
* bfd-in2.h: Regenerate. |
5680 |
|
|
5681 |
2002-01-07 Nick Clifton <nickc@cambridge.redhat.com> |
2004-03-15 Alan Modra <amodra@bigpond.net.au> |
5682 |
|
|
5683 |
* po/es.po: New file: Spanish translation. |
* bfd-in.h (bfd_getb64, bfd_getl64): Replace bfd_byte* with void*. |
5684 |
* configure.in (ALL_LINGUAS): Add es. |
(bfd_getb32, bfd_getl32, bfd_getb16, bfd_getl16): Likewise. |
5685 |
|
(bfd_getb_signed_64, bfd_getl_signed_64): Likewise. |
5686 |
|
(bfd_getb_signed_32, bfd_getl_signed_32): Likewise. |
5687 |
|
(bfd_getb_signed_16, bfd_getl_signed_16): Likewise. |
5688 |
|
(bfd_putb64, bfd_putl64, bfd_putb32, bfd_putl32): Likewise. |
5689 |
|
(bfd_putb16, bfd_putl16, bfd_get_bits, bfd_put_bits): Likewise. |
5690 |
|
* libbfd.c: Likewise in function definitions. |
5691 |
|
(bfd_put_8): Mask with 0xff rather than casting to char. |
5692 |
|
(bfd_putb16, bfd_putl16, bfd_putb32, bfd_putl32): Likewise. |
5693 |
|
(bfd_putb64, bfd_putl64, bfd_put_bits): Likewise. |
5694 |
|
(H_PUT_64, H_PUT_32, H_PUT_16, H_PUT_8): Remove casts, simplify. |
5695 |
|
(H_PUT_S64, H_PUT_S32, H_PUT_S16, H_PUT_S8): Likewise. |
5696 |
|
(H_GET_64, H_GET_32, H_GET_16, H_GET_8): Likewise. |
5697 |
|
(H_GET_S64, H_GET_S32, H_GET_S16, H_GET_S8): Likewise. |
5698 |
|
* libaout.h (H_PUT_64 H_PUT_32, H_PUT_16): Remove casts, simplify. |
5699 |
|
(H_PUT_S64, H_PUT_S32, H_PUT_S16): Likewise. |
5700 |
|
(H_GET_64, H_GET_32, H_GET_16): Likewise. |
5701 |
|
(H_GET_S64, H_GET_S32, H_GET_S16): Likewise. |
5702 |
|
* archive.c (do_slurp_coff_armap): Update swap prototype. |
5703 |
|
* coff-tic54x.c (tic54x_getl32): Replace bfd_byte* with void*. |
5704 |
|
(tic54x_getl_signed_32): Likewise. |
5705 |
|
(tic54x_putl32): Likewise. Mask with 0xff rather than casting to char. |
5706 |
|
* mach-o.c (bfd_mach_o_read_header): Update get32 prototype. |
5707 |
|
* pdp11.c (bfd_getp32): Make static, replace bfd_byte* with void*. |
5708 |
|
(bfd_getp_signed_32, bfd_putp32): Likewise. |
5709 |
|
* targets.c (struct bfd_target): Use void* in place of bfd_byte* for |
5710 |
|
bfd_getx64, bfd_getx_signed_64, bfd_putx64, bfd_getx32, |
5711 |
|
bfd_getx_signed_32, bfd_putx32, bfd_getx16, bfd_getx_signed_16, |
5712 |
|
bfd_putx16, bfd_h_getx64, bfd_h_getx_signed_64, bfd_h_putx64, |
5713 |
|
bfd_h_getx32, bfd_h_getx_signed_32, bfd_h_putx32, bfd_h_getx16, |
5714 |
|
bfd_h_getx_signed_16, bfd_h_putx16. |
5715 |
|
* aix386-core.c (NO_GET, NO_GETS, NO_PUT): Update prototypes. |
5716 |
|
* hppabsd-core.c: Similarly. Rename NO_SIGNED_GET to NO_GETS. |
5717 |
|
* hpux-core.c: Likewise. |
5718 |
|
* irix-core.c: Likewise. |
5719 |
|
* netbsd-core.c: Likewise. |
5720 |
|
* osf-core.c: Likewise. |
5721 |
|
* ptrace-core.c: Likewise. |
5722 |
|
* sco5-core.c: Likewise. |
5723 |
|
* trad-core.c: Likewise. |
5724 |
|
* bfd-in2.h: Regenerate. |
5725 |
|
|
5726 |
|
2004-03-15 Matt Thomas <matt@3am-software.com> |
5727 |
|
|
5728 |
|
* config.bfd: Add x86-64 vector to NetBSD/i386 if 64bit BFD is |
5729 |
|
selected. |
5730 |
|
|
5731 |
|
2004-03-13 Mark Kettenis <kettenis@gnu.org> |
5732 |
|
|
5733 |
|
* config.bfd: Add x86_64-*-openbsd*. |
5734 |
|
* configure.in (x86_64-*-openbsd*): Set COREFILE to |
5735 |
|
netbsd-core.lo. |
5736 |
* configure: Regenerate. |
* configure: Regenerate. |
5737 |
|
|
5738 |
2002-01-06 Steve Ellcey <sje@cup.hp.com> |
2004-03-12 Nick Clifton <nickc@redhat.com> |
5739 |
|
Dave Murphy <wintermute2k4@ntlworld.com> |
5740 |
|
|
5741 |
* elfxx-ia64.c (is_unwind_section_name): Add target vector as |
* elf32-arm.h (elf32_arm_merge_private_bfd_data): Skip most checks |
5742 |
argument so we can handle HP-UX specially. |
if the input bfd does not contain any code. |
5743 |
(elfNN_ia64_hpux_vec): New for use in is_unwind_section_name. |
|
5744 |
(elfNN_hpux_backend_section_from_bfd_section): New for support |
2004-03-09 Steve Ellcey <sje@cup.hp.com> |
5745 |
of SHN_IA_64_ANSI_COMMON. |
|
5746 |
(elfNN_ia64_relax_section): Add support for SHN_IA_64_ANSI_COMMON. |
* elfxx-ia64.c (plt_full_entry): Change ld8 to ld8.acq. |
5747 |
(is_unwind_section_name): Add special HP-UX support. |
|
5748 |
(elfNN_ia64_section_from_shdr): Add support for more sections. |
2004-03-05 Fred Fish <fnf@redhat.com> |
5749 |
(elfNN_ia64_fake_sections): Modify is_unwind_section_name call and |
|
5750 |
add support for more sections. |
* elfxx-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Just force |
5751 |
(elfNN_ia64_additional_program_headers): Modify |
mips16 symbols to be even rather than testing first for even/odd. |
5752 |
is_unwind_section_name call. |
(_bfd_mips_elf_link_output_symbol_hook): Ditto. |
5753 |
(elfNN_ia64_modify_segment_map): Remove assumption that there is |
|
5754 |
only one unwind section in segment. |
2004-03-05 Nathan Sidwell <nathan@codesourcery.com> |
5755 |
|
|
5756 |
2002-01-06 Alan Modra <amodra@bigpond.net.au> |
* elf.c (map_sections_to_segments): Ignore .tbss sections for |
5757 |
|
layout purposes. |
5758 |
* syms.c (_bfd_generic_make_empty_symbol): New function. |
|
5759 |
* libbfd-in.h (_bfd_nosymbols_make_empty_symbol): Define as |
2004-03-03 Alexandre Oliva <aoliva@redhat.com> |
5760 |
_bfd_generic_make_empty_symbol. |
|
5761 |
* libbfd.h: Regenerate. |
* elflink.c (bfd_elf_record_link_assignment): Mark undefweak and |
5762 |
|
undefined symbols as hash_new. |
5763 |
|
|
5764 |
|
2003-03-03 Andrew Stubbs <andrew.stubbs@superh.com> |
5765 |
|
|
5766 |
|
* archures.c: Add bfd_mach_sh4_nommu_nofpu. |
5767 |
|
* cpu-sh.c: Ditto. |
5768 |
|
* elf32-sh.c: Ditto. |
5769 |
* bfd-in2.h: Regenerate. |
* bfd-in2.h: Regenerate. |
|
* hppabsd-core.c (hppabsd_core_make_empty_symbol): Delete function. |
|
|
(hppabsd_core_get_symtab_upper_bound): Don't define. |
|
|
(hppabsd_core_get_symtab): Likewise. |
|
|
(hppabsd_core_print_symbol): Likewise. |
|
|
(hppabsd_core_get_symbol_info): Likewise. |
|
|
(hppabsd_core_bfd_is_local_label_name): Likewise. |
|
|
(hppabsd_core_get_lineno): Likewise. |
|
|
(hppabsd_core_find_nearest_line): Likewise. |
|
|
(hppabsd_core_bfd_make_debug_symbol): Likewise. |
|
|
(hppabsd_core_read_minisymbols): Likewise. |
|
|
(hppabsd_core_minisymbol_to_symbol): Likewise. |
|
|
(hppabsd_core_vec): Use BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols). |
|
|
Formatting fixes. |
|
|
* hpux-core.c: Similarly. |
|
|
* irix-core.c: Similarly. |
|
|
* osf-core.c: Similarly. |
|
|
* sco5-core.c: Similarly. |
|
|
* binary.c (binary_make_empty_symbol): Remove function, define as |
|
|
_bfd_generic_make_empty_symbol. |
|
|
* ihex.c (ihex_make_empty_symbol): Likewise. |
|
|
* mmo.c (mmo_make_empty_symbol): Likewise. |
|
|
* ppcboot.c (ppcboot_make_empty_symbol): Likewise. |
|
|
* srec.c (srec_make_empty_symbol): Likewise. |
|
|
* versados.c (versados_make_empty_symbol): Likewise. |
|
|
* vms.c (_bfd_vms_make_empty_symbol): Remove. |
|
|
(vms_make_empty_symbol): Define as _bfd_generic_make_empty_symbol. |
|
|
* vms-gsd.c (_bfd_vms_slurp_gsd): Call bfd_make_empty_symbol |
|
|
rather than _bfd_vms_make_empty_symbol. |
|
|
* vms-misc.c (new_symbol): Likewise. |
|
|
|
|
|
2002-01-05 Alan Modra <amodra@bigpond.net.au> |
|
|
|
|
|
* section.c (bfd_section_init): Remove unnecessary initialisations. |
|
|
(bfd_section_list_clear): New function. |
|
|
(bfd_section_list_remove, bfd_section_list_insert): New macros. |
|
|
(_bfd_strip_section_from_output): Use them. |
|
|
* coffcode.h (coff_set_alignment_hook): Likewise. |
|
|
* elf32-mips.c (_bfd_mips_elf_final_link): Likewise. |
|
|
* elf64-mips.c (mips_elf64_final_link): Likewise. |
|
|
* elf64-mmix.c (mmix_elf_final_link): Likewise. |
|
|
* sunos.c (sunos_add_dynamic_symbols): Likewise. |
|
|
* xcofflink.c (_bfd_xcoff_bfd_final_link): Likewise. |
|
|
* bfd-in2.h: Regenerate. |
|
|
|
|
|
* netbsd-core.c (netbsd_core_file_p): Use bfd_make_section_anyway |
|
|
rather than doing our own section handling. Clean up after errors |
|
|
with bfd_release and bfd_section_list_clear. Handle unexpected |
|
|
flags. |
|
|
* aoutf1.h (sunos4_core_file_p): Likewise. |
|
|
* aix386-core.c (aix386_core_file_p): Likewise. |
|
|
* cisco-core.c (cisco_core_file_validate): Likewise. |
|
|
* ptrace-core.c (ptrace_unix_core_file_p): Likewise. |
|
|
* trad-core.c (trad_unix_core_file_p): Likewise. |
|
5770 |
|
|
5771 |
* hppabsd-core.c (hppabsd_core_core_file_p): Clean up after errors |
2004-03-02 Alexandre Oliva <aoliva@redhat.com> |
|
with bfd_release and bfd_section_list_clear. |
|
|
* hpux-core.c (hpux_core_core_file_p): Likewise. |
|
|
* irix-core.c (irix_core_core_file_p): Likewise. |
|
|
* lynx-core.c (lynx_core_file_p): Likewise. |
|
|
* osf-core.c (osf_core_core_file_p): Likewise. |
|
|
* rs6000-core.c (rs6000coff_core_p): Likewise. |
|
|
* sco5-core.c (sco5_core_file_p): Likewise. |
|
5772 |
|
|
5773 |
* elf32-mips.c (_bfd_mips_elf_lo16_reloc): Simplify, and perform |
* elf32-frv.c (struct frv_pic_relocs_info): Added fixups and |
5774 |
sign extension adjustments without conditionals. |
dynrelocs. |
5775 |
|
(_frv_count_got_plt_entries): Initialize them. |
5776 |
|
(frv_pic_relocs_info_find): Add insert argument. Adjust all |
5777 |
|
callers. |
5778 |
|
(frv_pic_relocs_info_for_global): Likewise. |
5779 |
|
(frv_pic_relocs_info_for_local): Likewise. |
5780 |
|
(frv_pic_merge_early_relocs_info): New. |
5781 |
|
(_frv_resolve_final_relocs_info): Use it in case one entry maps to |
5782 |
|
another. |
5783 |
|
(_frv_add_dyn_reloc): Add entry argument. Adjust all callers. |
5784 |
|
Check that we don't exceed the allocated count for entry. |
5785 |
|
(_frv_add_rofixup): Likewise. |
5786 |
|
(_frv_emit_got_relocs_plt_entries): Adjust for coding standards. |
5787 |
|
(elf32_frv_finish_dynamic_sections): Improve error message in case |
5788 |
|
we emit too few rofixup entries. |
5789 |
|
|
5790 |
2002-01-04 Jakub Jelinek <jakub@redhat.com> |
2004-03-01 Richard Sandiford <rsandifo@redhat.com> |
5791 |
|
|
5792 |
* elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Don't crash if |
* archures.c (bfd_mach_fr450): New. |
5793 |
CIE at .eh_frame start is removed due to no FDEs referencing it. |
* bfd-in2.h: Regenerate. |
5794 |
|
* cpu-frv.c (arch_info_450): New bfd_arch_info_type. |
5795 |
|
(arch_info_500): Link to it. |
5796 |
|
* elf32-frv.c (elf32_frv_machine, frv_elf_merge_private_bfd_data) |
5797 |
|
(frv_elf_print_private_bfd_data): Handle fr405 and fr450 header flags. |
5798 |
|
(frv_elf_arch_extension_p): New function. |
5799 |
|
(frv_elf_merge_private_bfd_data): Use it. |
5800 |
|
|
5801 |
|
2004-02-28 H.J. Lu <hongjiu.lu@intel.com> |
5802 |
|
|
5803 |
|
* elf-bfd.h (_bfd_elf_link_add_archive_symbols): New prototype. |
5804 |
|
|
5805 |
|
* elflink.h (is_global_data_symbol_definition): Moved to |
5806 |
|
elflink.c. |
5807 |
|
(elf_link_is_defined_archive_symbol): Likewise. |
5808 |
|
(elf_link_add_archive_symbols): Likewise. Renamed to |
5809 |
|
_bfd_elf_link_add_archive_symbols. |
5810 |
|
|
5811 |
|
* elflink.c (elf_link_is_defined_archive_symbol): Get the size |
5812 |
|
of ELF symbol table entry from backend. |
5813 |
|
(_bfd_elf_link_add_archive_symbols): Call bfd_link_add_symbols |
5814 |
|
instead of elf_link_add_object_symbols. |
5815 |
|
|
5816 |
|
2004-02-27 Alexandre Oliva <aoliva@redhat.com> |
5817 |
|
|
5818 |
|
* elf-bfd.h (struct elf_backend_data): Added |
5819 |
|
elf_backend_can_make_relative_eh_frame, |
5820 |
|
elf_backend_can_make_lsda_relative_eh_frame and |
5821 |
|
elf_backend_encode_eh_address. |
5822 |
|
(_bfd_elf_encode_eh_address): Declare. |
5823 |
|
(_bfd_elf_can_make_relative): Declare. |
5824 |
|
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Use new |
5825 |
|
hooks to decide whether to attempt to make_relative and |
5826 |
|
make_lsda_relative. |
5827 |
|
(_bfd_elf_write_section_eh_frame_hdr): Call encode_eh_address. |
5828 |
|
(_bfd_elf_can_make_relative): New. |
5829 |
|
(_bfd_elf_encode_eh_address): New. |
5830 |
|
* elf32-frv.c (frv_elf_use_relative_eh_frame): New. |
5831 |
|
(frv_elf_encode_eh_address): New. |
5832 |
|
(elf_backend_can_make_relative_eh_frame): Define. |
5833 |
|
(elf_backend_can_make_lsda_relative_eh_frame): Define. |
5834 |
|
(elf_backend_encode_eh_address): Define. |
5835 |
|
* elfxx-target.h |
5836 |
|
(elf_backend_can_make_relative_eh_frame): Define. |
5837 |
|
(elf_backend_can_make_lsda_relative_eh_frame): Define. |
5838 |
|
(elf_backend_encode_eh_address): Define. |
5839 |
|
(elfNN_bed): Add them. |
5840 |
|
|
5841 |
|
2004-02-27 Alexandre Oliva <aoliva@redhat.com> |
5842 |
|
|
5843 |
|
* elf32-frv.c (elf32_frv_howto_table) <R_FRV_LABEL16>: Set |
5844 |
|
complain_on_overflow to signed. |
5845 |
|
|
5846 |
|
2004-02-27 H.J. Lu <hongjiu.lu@intel.com> |
5847 |
|
|
5848 |
|
* elflink.h (sort_symbol): New. |
5849 |
|
(elf_link_add_object_symbols): Use a sorted symbol array for |
5850 |
|
weakdef. |
5851 |
|
|
5852 |
2002-01-04 Jason Thorpe <thorpej@wasabisystems.com> |
2004-02-27 Jakub Jelinek <jakub@redhat.com> |
5853 |
|
|
5854 |
* config.bfd (x86_64-*-netbsd*): New target. |
* elf32-s390.c (allocate_dynrelocs): Use SYMBOL_REFERENCES_LOCAL |
5855 |
* configure.in (x86_64-*-netbsd*): Set COREFILE |
for pc relative relocs. |
5856 |
to netbsd-core.lo. |
(elf_s390_relocate_section): Likewise. |
5857 |
* configure: Regenerated. |
* elf64-s390.c (allocate_dynrelocs): Use SYMBOL_REFERENCES_LOCAL |
5858 |
|
for pc relative relocs. |
5859 |
|
(elf_s390_relocate_section): Likewise. |
5860 |
|
|
5861 |
2002-01-03 Tom Rix <trix@redhat.com> |
2004-02-26 H.J. Lu <hongjiu.lu@intel.com> |
5862 |
|
|
5863 |
* xcofflink.c (_bfd_xcoff_bfd_final_link): Update .pad section ordering |
* elfxx-ia64.c (elfNN_ia64_check_relocs): Fix call to |
5864 |
for recent bfd_make_section_anyway change. |
count_dyn_reloc. |
5865 |
|
|
5866 |
2002-01-03 Nick Clifton <nickc@cambridge.redhat.com> |
2004-02-25 H.J. Lu <hongjiu.lu@intel.com> |
5867 |
|
|
5868 |
* elf32-arm.h (elf32_arm_final_link_relocate): Handle |
* elfxx-ia64.c (elfNN_ia64_dyn_reloc_entry): Add the reltext. |
5869 |
R_ARM_THM_PC11 reloc. |
field to track if a relocation is against readonly section. |
5870 |
|
(count_dyn_reloc): Take a new argument for rent->reltext. |
5871 |
|
(elfNN_ia64_check_relocs): Adjust call to count_dyn_reloc. |
5872 |
|
(get_reloc_section): Don't set ia64_info->reltext here. |
5873 |
|
(allocate_dynrel_entries): Set ia64_info->reltext here. |
5874 |
|
|
5875 |
|
2004-02-24 Alexandre Oliva <aoliva@redhat.com> |
5876 |
|
|
5877 |
|
* elf32-frv.c (FRV_SYM_LOCAL): Weak undefined doesn't imply local. |
5878 |
|
(_frv_emit_got_relocs_plt_entries): Decay relocation to protected |
5879 |
|
function's descriptor to symbol+offset, and map local undefweak |
5880 |
|
symbol to NULL function descriptor. |
5881 |
|
(elf32_frv_relocate_section): Likewise. |
5882 |
|
|
5883 |
|
2004-02-23 Mark Kettenis <kettenis@gnu.org> |
5884 |
|
|
5885 |
|
* libaout.h (enum machine_type): Add M_SPARC64_NETBSD and |
5886 |
|
M_X86_64_NETBSD. |
5887 |
|
* netbsd-core.c (M_SPARC64_OPENBSD): Define. |
5888 |
|
(netbsd_core_file_p): Set architecture from machine ID for |
5889 |
|
selected machines. |
5890 |
|
|
5891 |
|
2004-02-23 Jakub Jelinek <jakub@redhat.com> |
5892 |
|
|
5893 |
|
* elflink.h (size_dynamic_sections): If not adding DT_FLAGS and |
5894 |
|
DF_BIND_NOW is set in info->flags, create DT_BIND_NOW dynamic entry. |
5895 |
|
|
5896 |
|
2004-02-21 H.J. Lu <hongjiu.lu@intel.com> |
5897 |
|
|
5898 |
|
* elflink.c (_bfd_elf_merge_symbol): Properly handle undefined |
5899 |
|
symbols with non-default visibility. |
5900 |
|
|
5901 |
2002-01-02 Nick Clifton <nickc@cambridge.redhat.com> |
2004-02-21 Danny Smith <daanysmith@users.sourceforge.net> |
5902 |
|
|
5903 |
* configure.in (LINGUAS): Add ja. |
* peXXigen.c (_bfd_XXi_swap_scnhdr_out): Clear |
5904 |
|
IMAGE_SCN_MEM_WRITE on known sections only. |
5905 |
|
|
5906 |
|
2004-02-20 Jakub Jelinek <jakub@redhat.com> |
5907 |
|
|
5908 |
|
* elf32-ppc.c (allocate_dynrelocs): Create dynsym for undef weak |
5909 |
|
symbols used in PIE relocs. |
5910 |
|
|
5911 |
|
2004-02-19 Jakub Jelinek <jakub@redhat.com> |
5912 |
|
|
5913 |
|
* elf32-sparc.c (elf32_sparc_finish_dynamic_sections): Clear |
5914 |
|
.plt sh_entsize. |
5915 |
|
|
5916 |
|
2004-02-18 Daniel Jacobowitz <drow@mvista.com> |
5917 |
|
|
5918 |
|
* configure.in: Update version to 2.15.90. |
5919 |
|
* configure: Regenerate. |
5920 |
|
|
5921 |
|
2004-02-17 Daniel Jacobowitz <drow@mvista.com> |
5922 |
|
Richard Sandiford <rsandifo@redhat.com> |
5923 |
|
|
5924 |
|
* elfxx-mips.c (mips_elf_calculate_relocation): Use |
5925 |
|
_bfd_elf_symbol_refs_local_p to decide whether to decay |
5926 |
|
a GOT_PAGE/GOT_OFST pair to GOT_DISP/addend. |
5927 |
|
(_bfd_mips_elf_check_relocs): Add a global GOT entry for GOT_PAGE |
5928 |
|
relocs if the symbol wasn't defined by a regular object file. |
5929 |
|
Don't check the symbol's dynindx. |
5930 |
|
|
5931 |
|
2004-02-16 Andrew Cagney <cagney@redhat.com> |
5932 |
|
|
5933 |
|
* bfd-in.h (file_ptr, ufile_ptr): Configure type using |
5934 |
|
@bfd_file_ptr@. |
5935 |
|
* bfd-in2.h: Re-generate. |
5936 |
|
|
5937 |
|
2004-02-14 Andrew Cagney <cagney@redhat.com> |
5938 |
|
|
5939 |
|
* configure.host (HDEFINES): When hppa*-*-hpux*, define |
5940 |
|
_LARGEFILE64_SOURCE. |
5941 |
|
|
5942 |
|
2004-02-13 Andrew Cagney <cagney@redhat.com> |
5943 |
|
|
5944 |
|
* elf.c (vma_page_aligned_bias): New function. |
5945 |
|
(assign_file_positions_except_relocs) |
5946 |
|
(assign_file_positions_for_segments): Replace broken modulo |
5947 |
|
arithmetic with call to vma_page_aligned_bias. |
5948 |
|
|
5949 |
|
2004-02-11 Andrew Cagney <cagney@redhat.com> |
5950 |
|
|
5951 |
|
* bfd-in.h: Update copyright. |
5952 |
|
(bfd_tell): Change return type to file_ptr. |
5953 |
|
* bfd-in2.h: Re-generate. |
5954 |
|
* cache.c: Update copyright. |
5955 |
|
(bfd_cache_lookup_worker): Use real_fseek, do not cast offset |
5956 |
|
parameter. |
5957 |
|
(close_one): Use real_ftell. |
5958 |
|
* bfdio.c: Update copyright. |
5959 |
|
(real_ftell, real_fseek): New functions. |
5960 |
|
(bfd_tell): Use real_fseek and real_ftell, change return type to |
5961 |
|
file_ptr. |
5962 |
|
(bfd_seek): Use real_ftell and real_fseek, change type of |
5963 |
|
file_position to a file_ptr. |
5964 |
|
* libbfd-in.h: Update copyright. |
5965 |
|
(real_ftell, real_fseek): Declare. |
5966 |
|
* libbfd.h: Re-generate. |
5967 |
|
|
5968 |
|
* configure.in (AC_CHECK_FUNCS): Check for ftello, ftello64, |
5969 |
|
fseeko and fseeko64. Determine bfd_file_ptr. |
5970 |
|
* configure: Re-generate. |
5971 |
|
* config.in: Re-generate. |
5972 |
|
|
5973 |
|
2004-02-09 Anil Paranjpe <anilp1@KPITCummins.com> |
5974 |
|
|
5975 |
|
* coff-h8300.c: Added comments about relaxation for ldc.w and stc.w. |
5976 |
|
* elf32-h8300.c: Likewise. |
5977 |
|
|
5978 |
|
2004-02-09 Christian Vogel <vogelchr@vogel.cx> |
5979 |
|
Nick Clifton <nickc@redhat.com> |
5980 |
|
|
5981 |
|
* elf64-alpha.c (elf64_alpha_calc_got_offsets_for_symbol): Catch |
5982 |
|
GOT entries with no associated GOT subsection. |
5983 |
|
|
5984 |
|
2004-02-09 Richard Sandiford <rsandifo@redhat.com> |
5985 |
|
|
5986 |
|
* bfd-elf.h (elf_backend_name_local_section_symbols): New hook. |
5987 |
|
* elf.c (swap_out_syms): Use it to decide whether local section |
5988 |
|
symbols should be named. |
5989 |
|
* elfxx-target.h (elf_backend_name_local_section_symbols): New macro. |
5990 |
|
* elfxx-mips.h (_bfd_mips_elf_name_local_section_symbols): Declare. |
5991 |
|
(elf_backend_name_local_section_symbols): Define. |
5992 |
|
* elfxx-mips.c (_bfd_mips_elf_name_local_section_symbols): New. |
5993 |
|
|
5994 |
|
2004-01-30 H.J. Lu <hongjiu.lu@intel.com> |
5995 |
|
|
5996 |
|
* elfxx-ia64.c (elfNN_ia64_relax_brl): New function. |
5997 |
|
(elfNN_ia64_relax_section): Optimize brl to br during the relax |
5998 |
|
finalize pass. |
5999 |
|
|
6000 |
|
2004-01-30 Alexandre Oliva <aoliva@redhat.com> |
6001 |
|
|
6002 |
|
* elf32-frv.c (elf32_frv_always_size_sections): Initialize pointer |
6003 |
|
to bfd_link_hash_entry passed by reference to |
6004 |
|
_bfd_generic_link_add_one_symbol. |
6005 |
|
|
6006 |
|
2004-01-25 H.J. Lu <hongjiu.lu@intel.com> |
6007 |
|
|
6008 |
|
* elfxx-ia64.c (elfNN_ia64_relocate_section): Disallow imm |
6009 |
|
relocations against dynamic symbols. |
6010 |
|
|
6011 |
|
2004-01-23 Daniel Jacobowitz <drow@mvista.com> |
6012 |
|
|
6013 |
|
* elf32-arm.h (elf32_arm_check_relocs): Revert part of 2004-01-13 |
6014 |
|
change. |
6015 |
|
|
6016 |
|
2004-01-21 Tom Rix <tcrix@worldnet.att.net> |
6017 |
|
|
6018 |
|
* reloc.c: New 5 bit reloc, BFD_RELOC_M68HC12_5B, for m68hc12 movb/movw. |
6019 |
|
* bfd-in2.h, libbfd.h: Rebuilt. |
6020 |
|
|
6021 |
|
2004-01-20 Danny Smith <dannysmith@users.sourceforge.net> |
6022 |
|
|
6023 |
|
* peXXigen.c (_bfd_XXi_swap_scnhdr_out): Don't remove |
6024 |
|
IMAGE_SCN_MEM_WRITE flag from .text section if WP_TEXT |
6025 |
|
flag has been cleared. |
6026 |
|
|
6027 |
|
2004-01-19 Kazu Hirata <kazu@cs.umass.edu> |
6028 |
|
|
6029 |
|
* coff-h8300.c: Add and adjust comments about relaxation. |
6030 |
|
* elf32-h8300.c: Likewise. |
6031 |
|
|
6032 |
|
2004-01-16 Kazu Hirata <kazu@cs.umass.edu> |
6033 |
|
|
6034 |
|
* coff-h8300.c: Fix comment typos. |
6035 |
|
* elf32-h8300.c: Likewise. |
6036 |
|
|
6037 |
|
2004-01-16 Kazu Hirata <kazu@cs.umass.edu> |
6038 |
|
|
6039 |
|
* coff-h8300.c: Add comments about relaxation. |
6040 |
|
* elf32-h8300.c: Likewise. |
6041 |
|
|
6042 |
|
2004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
6043 |
|
|
6044 |
|
* acinclude.m4: Quote names of macros to be defined by AC_DEFUN |
6045 |
|
throughout. |
6046 |
|
* aclocal.m4: Regenerate. |
6047 |
* configure: Regenerate. |
* configure: Regenerate. |
|
* po/ja.po: Import from translation project's web site. |
|
6048 |
|
|
6049 |
2002-01-02 Nick Clifton <nickc@cambridge.redhat.com> |
2004-01-13 Ian Lance Taylor <ian@wasabisystems.com> |
6050 |
|
|
6051 |
|
* elf64-mips.c (mips_elf64_slurp_one_reloc_table): Call |
6052 |
|
mips_elf64_rtype_to_howto instead of using howto_table. |
6053 |
|
|
6054 |
|
2004-01-13 Daniel Jacobowitz <drow@mvista.com> |
6055 |
|
|
6056 |
* elf32-arm.h (elf32_arm_merge_private_bfd_data): Reformat error |
* elf32-arm.h (elf32_arm_final_link_relocate): Check that we created |
6057 |
messages to ease translation into other languages. |
the .plt section. |
6058 |
|
(elf32_arm_check_relocs): Don't increment the PLT refcount for |
6059 |
|
relocs which would not use the PLT. |
6060 |
|
|
6061 |
|
2004-01-13 Alan Modra <amodra@bigpond.net.au> |
6062 |
|
|
6063 |
|
* elf64-ppc.c (ppc64_elf_check_relocs): Ignore !SEC_ALLOC relocs. |
6064 |
|
(ppc64_elf_gc_sweep_hook): Likewise. |
6065 |
|
(ppc64_elf_size_dynamic_sections): Test for .plt directly. |
6066 |
|
|
6067 |
|
2004-01-12 Anil Paranjpe <anilp1@KPITCummins.com> |
6068 |
|
|
6069 |
|
Adds linker relaxation support for bit manipulation insns like |
6070 |
|
band, bclr, biand, bild, bior, bist, bixor, bld, bnot, bor, bset, |
6071 |
|
bst, btst, bxor. |
6072 |
|
* elf32-h8300.c: Opcode for bit manipulation insn is checked in |
6073 |
|
elf32_h8_relax_section function while relxation for aa:16 and aa:32. |
6074 |
|
* coff-h8300.c: Opcode for bit manipulation insn is checked in |
6075 |
|
h8300_reloc16_extra_cases function while relxation for aa:16 and aa:32. |
6076 |
|
|
6077 |
|
2004-01-12 Alan Modra <amodra@bigpond.net.au> |
6078 |
|
|
6079 |
|
* dwarf2.c: Convert to C90, remove unneeded casts and prototypes. |
6080 |
|
|
6081 |
|
2004-01-11 Kazu Hirata <kazu@cs.umass.edu> |
6082 |
|
|
6083 |
|
* elf32-h8300.c: Fix formatting. |
6084 |
|
|
6085 |
|
2004-01-11 Kazu Hirata <kazu@cs.umass.edu> |
6086 |
|
|
6087 |
|
* elf32-cris.c (cris_elf_gc_sweep_hook): Return early if no |
6088 |
|
dynamic object is present. Declare r_symndx and h in an inner |
6089 |
|
scope. |
6090 |
|
* elf32-vax.c (elf_vax_gc_sweep_hook): Likewise. |
6091 |
|
|
6092 |
|
2004-01-09 Daniel Jacobowitz <drow@mvista.com> |
6093 |
|
|
6094 |
|
* elf32-arm.h (struct elf32_arm_relocs_copied): Remove pc_count. |
6095 |
|
(elf32_arm_copy_indirect_symbol): Don't copy pc_count. |
6096 |
|
(elf32_arm_final_link_relocate): Handle PLT32 and PC24 relocs |
6097 |
|
identically. Do not emit PC24 relocations for shared libraries. |
6098 |
|
(elf32_arm_gc_sweep_hook): Handle PLT32 and PC24 relocs |
6099 |
|
identically. Don't adjust pc_count. |
6100 |
|
(elf32_arm_check_relocs): Handle PLT32 and PC24 relocs identically. |
6101 |
|
Set ELF_LINK_HASH_NEEDS_PLT for both. Don't adjust pc_count; don't |
6102 |
|
adjust count for branch relocations. |
6103 |
|
(allocate_dynrelocs): Correct typo in call to |
6104 |
|
WILL_CALL_FINISH_DYNAMIC_SYMBOL. Never allocate space for |
6105 |
|
PC24 or PLT32 relocs when linking. |
6106 |
|
|
6107 |
|
2004-01-09 Dmitry Semyonov <Dmitry.Semyonov@oktet.ru> |
6108 |
|
|
6109 |
|
* coff-arm.c (aoutarm_std_reloc_howto): [ARM_WINCE] Synchronize ARM_26D |
6110 |
|
relocation howto with ARM_26 one for consistency. |
6111 |
|
(coff_arm_relocate_section): Set partial_inplace for ARM_26 relocations |
6112 |
|
that will be converted to ARM_26D ones, since we always want 'done' |
6113 |
|
relocations to be reflected in section's data. |
6114 |
|
(coff_arm_relocate_section): [ARM_WINCE] Quick fix for BL instruction |
6115 |
|
offset. |
6116 |
|
(_bfd_final_link_relocate): Do not modify "inplace" data, if not |
6117 |
|
requested. |
6118 |
|
|
6119 |
|
2004-01-08 Dmitry Semyonov <Dmitry.Semyonov@oktet.ru> |
6120 |
|
|
6121 |
|
* coff-arm.c (coff_arm_relocate_section): Do not alter relocs that |
6122 |
|
are not partial_inplace during a relocatable link. |
6123 |
|
|
6124 |
|
2004-01-08 Kazu Hirata <kazu@cs.umass.edu> |
6125 |
|
|
6126 |
|
* elf32-m68k.c (elf_m68k_gc_sweep_hook): Return early |
6127 |
|
if no dynamic object is present. Declare r_symndx and h in an |
6128 |
|
inner scope. |
6129 |
|
|
6130 |
|
2004-01-07 H.J. Lu <hongjiu.lu@intel.com> |
6131 |
|
|
6132 |
|
* elfxx-ia64.c (elfNN_ia64_relax_section): Don't install |
6133 |
|
trampoline if it is known out of range. |
6134 |
|
|
6135 |
|
2004-01-06 Alexandre Oliva <aoliva@redhat.com> |
6136 |
|
|
6137 |
|
2003-12-17 Alexandre Oliva <aoliva@redhat.com> |
6138 |
|
* elf32-frv.c (_frv_osec_readonly_p): New. |
6139 |
|
(_frv_emit_got_relocs_plt_entries): Don't emit rofixup for |
6140 |
|
undefweak symbol. |
6141 |
|
(_frv_count_got_plt_entries): Adjust expected count accordingly. |
6142 |
|
(elf32_frv_relocate_section): Likewise. Error out if attempting |
6143 |
|
to emit rofixups or dynamic relocs in read-only segments. Use |
6144 |
|
_bfd_elf_section_offset to adjust r_offsets in rofixups and |
6145 |
|
dynamic relocations. |
6146 |
|
2003-12-12 Alexandre Oliva <aoliva@redhat.com> |
6147 |
|
* elf32-frv.c (elf32_frv_relocate_section): Compute dynamic |
6148 |
|
relocations or fixups involving merged sections correctly. Avoid |
6149 |
|
crash when undefined symbol is referenced by R_FRV_32 or |
6150 |
|
R_FRV_FUNCDESC_VALUE. |
6151 |
|
2003-12-02 Alexandre Oliva <aoliva@redhat.com> |
6152 |
|
* elf32-frv.c (elf32_frv_relocate_section): Add output_offset of |
6153 |
|
input section holding local symbol to addend of R_FRV_32 or |
6154 |
|
R_FRV_FUNCDESC_VALUE dynamic relocation. |
6155 |
|
2003-11-27 Alexandre Oliva <aoliva@redhat.com> |
6156 |
|
* elf32-frv.c (elf32_frv_modify_segment_map): Add link info arg. |
6157 |
|
(elf32_frv_always_size_sections): Don't store pointer to |
6158 |
|
__stacksize symbol in sec_info. |
6159 |
|
(elf32_frv_modify_segment_map): Look it up here. |
6160 |
|
2003-11-26 Alexandre Oliva <aoliva@redhat.com> |
6161 |
|
* elf32-frv.c (_frv_emit_got_relocs_plt_entries): Emit the address |
6162 |
|
of the lazy PLT entry, not only its offset, as the low word of a |
6163 |
|
function descriptor. |
6164 |
|
2003-11-10 Alexandre Oliva <aoliva@redhat.com> |
6165 |
|
* elf32-frv.c (elf32_frv_always_size_sections): Define __stacksize |
6166 |
|
if a hash table entry already exists but is not a definition. |
6167 |
|
2003-11-05 Alexandre Oliva <aoliva@redhat.com> |
6168 |
|
* elf32-frv.c (frv_elf_link_hash_table_create): Use bfd_zalloc. |
6169 |
|
(_frv_add_rofixup): Don't inline. |
6170 |
|
(_frv_emit_got_relocs_plt_entries): Use NULL as funcdesc address |
6171 |
|
for undefweak symbols. |
6172 |
|
(elf32_frv_relocate_section): Avoid crash while computing |
6173 |
|
relocation when linking with shared library. Only emit rofixups |
6174 |
|
and dynamic relocations for alloc&load sections. Mark binaries |
6175 |
|
with inter-segment relocations for relocation as a unit. |
6176 |
|
(_frv_create_got_section): Rename .rofixup.got to .rofixup. |
6177 |
|
(DEFAULT_STACK_SIZE): New. |
6178 |
|
(_frv_count_got_plt_entries): Fix thinko in deciding whether to |
6179 |
|
emit rofixups or dynamic relocs when linking dynamic non-PIE |
6180 |
|
executables. |
6181 |
|
(elf32_frv_size_dynamic_sections): Generate rofixup on PIEs and |
6182 |
|
shared libs too. Reserve the last entry for the GOT pointer. |
6183 |
|
(elf32_frv_finish_dynamic_sections): Emit it. |
6184 |
|
(elf32_frv_always_size_sections): New. |
6185 |
|
(elf32_frv_modify_segment_map): New. |
6186 |
|
(elf32_frv_check_relocs): Reserve relocs32 space only in ALLOC |
6187 |
|
sections. |
6188 |
|
(frv_elf_merge_private_bfd_data): Clear PIC bit if FDPIC is set. |
6189 |
|
(frv_elf_print_private_bfd_data): Handle FDPIC and LIBPIC. |
6190 |
|
(elf_backend_always_size_sections): New. |
6191 |
|
(elf_backend_modify_segment_map): New. |
6192 |
|
2003-10-31 Alexandre Oliva <aoliva@redhat.com> |
6193 |
|
* config.bfd: Added frv-*-*linux*. |
6194 |
|
* elf32-frv.c (_frv_emit_got_relocs_plt_entries): Use idx 0 for |
6195 |
|
ABS section, instead of crashing. |
6196 |
|
(elf32_frv_relocate_section): Don't crash before warning about |
6197 |
|
different segments in non-PIC relocation. |
6198 |
|
2003-10-17 Alexandre Oliva <aoliva@redhat.com> |
6199 |
|
* elf32-frv.c (elf32_frv_relocate_section): Don't warn on LABEL24 |
6200 |
|
relocs to undefweak symbols. |
6201 |
|
(elf32_frv_relocate_section): Ditto for undefined symbols. |
6202 |
|
2003-10-06 Alexandre Oliva <aoliva@redhat.com> |
6203 |
|
* elf32-frv.c (elf32_frv_create_dynamic_sections): Make sure |
6204 |
|
gotfixup section was created. |
6205 |
|
2003-09-30 Alexandre Oliva <aoliva@redhat.com> |
6206 |
|
* elf32-frv.c (elf32_frv_howto_table): Change GOT12, |
6207 |
|
FUNCDESC_GOT12, GOTOFF12 and FUNCDESC_GOTOFF12 to |
6208 |
|
complain_overflow_signed. |
6209 |
|
* elf32-frv.c (_frv_add_rofixup): Do not error out if contents |
6210 |
|
have not been allocated. |
6211 |
|
(_frv_emit_got_relocs_plt_entries): Return non-void. Assert |
6212 |
|
privfd only if dynamic sections were created. |
6213 |
|
(elf32_frv_relocate_section): Compute gprel_segment, and use it |
6214 |
|
for GPREL relocs. When linking relocatable FDPIC executables, |
6215 |
|
emit warnings for relocations that would be illegal on PIE or |
6216 |
|
shared libraries. Emit rofixup for R_FRV_32 only if input object |
6217 |
|
is not FDPIC. |
6218 |
|
(_frv_create_got_section): Define _gp symbol in the rofixup |
6219 |
|
section. |
6220 |
|
(elf32_frv_finish_dynamic_sections): If rofixups needed but |
6221 |
|
dynamic sections missing, error out requesting -melf32frvfd. |
6222 |
|
2003-09-19 Alexandre Oliva <aoliva@redhat.com> |
6223 |
|
* elf32-frv.c (_frv_emit_got_relocs_plt_entries): Rearrange |
6224 |
|
computation of addends from section and global or local symbol |
6225 |
|
value. Change return type to bfd_boolean, and return a failure if |
6226 |
|
a dynamic FUNCDESC or FUNCDESC_VALUE relocation that requires a |
6227 |
|
nonzero addend is required. |
6228 |
|
(elf32_frv_relocate_section): Likewise. Print error for |
6229 |
|
unsupported nonzero addends. |
6230 |
|
2003-09-18 Alexandre Oliva <aoliva@redhat.com> |
6231 |
|
* elf32-frv.c (FRV_SYM_LOCAL): In the absence of dynamic sections, |
6232 |
|
force everything local. |
6233 |
|
(_frv_emit_got_relocs_plt_entries): Cope with NULL sec. |
6234 |
|
* elf32-frv.c (struct frv_elf_link_hash_table): Added sgotfixup. |
6235 |
|
(frv_gotfixup_section): New. |
6236 |
|
(FRV_SYM_LOCAL): Accept undefweak and local common symbols. |
6237 |
|
(struct frv_pic_relocs_info): Split relocs into relocs32, relocsfd |
6238 |
|
and relocsfdv. |
6239 |
|
(_frv_add_rofixup): New. |
6240 |
|
(_frv_emit_got_relocs_plt_entries): Generate fixups for non-PIE |
6241 |
|
fdpic executables. Use FRV_SYM_LOCAL more widely to simplify and |
6242 |
|
improve some ugly conditions. |
6243 |
|
(elf32_frv_relocate_section): Likewise. Reject inter-segment |
6244 |
|
relocations in fdpic. |
6245 |
|
(_frv_create_got_section): Create .rofixup.got section. |
6246 |
|
(struct _frv_dynamic_got_info): Added fixups. |
6247 |
|
(_frv_count_got_plt_entries): Account in-GOT relocations into |
6248 |
|
relocs32, relocsfd and relocsfdv. Account them into relocs or |
6249 |
|
fixups, as appropriate. |
6250 |
|
(elf32_frv_size_dynamic_sections): Size rofixup section. Simplify |
6251 |
|
sizing of gotrel. |
6252 |
|
(elf32_frv_finish_dynamic_sections): Verify that the right number |
6253 |
|
of relocations and fixups was generated. |
6254 |
|
(elf32_frv_check_relocs): Compute relocs32, relocsfd and |
6255 |
|
relocsfdv. |
6256 |
|
* elf32-frv.c (FRV_SYM_LOCAL): New macro, used instead of |
6257 |
|
SYMBOL_CALLS_LOCAL and SYMBOL_REFERENCES_LOCAL. |
6258 |
|
(FRV_FUNCDESC_LOCAL): New macro, used to decide whether a function |
6259 |
|
descriptor of a (formerly-)global symbol is local. |
6260 |
|
(struct frv_pic_relocs_info): Adjust comments. |
6261 |
|
(_frv_emit_got_relocs_plt_entries): Adjust. |
6262 |
|
(elf32_frv_relocate_section): Likewise. |
6263 |
|
(_frv_count_got_plt_entries): Likewise. |
6264 |
|
* elf32-frv.c (_frv_emit_got_relocs_plt_entries): Don't add global |
6265 |
|
symbol's value to addend in the common preamble. Decay dynamic |
6266 |
|
symbols to section+offset if they bind or call locally, for GOT |
6267 |
|
and FUNCDESC_VALUE, respectively. |
6268 |
|
(elf32_frv_relocate_section): Likewise. |
6269 |
|
(elf32_frv_check_relocs): Don't register as dynamic symbols of |
6270 |
|
internal or hidden visibility. |
6271 |
|
2003-09-17 Alexandre Oliva <aoliva@redhat.com> |
6272 |
|
* elf32-frv.c (_frv_emit_got_relocs_plt_entries): Get addend as |
6273 |
|
argument, so as to not call _bfd_elf_rel_local_sym to compute it. |
6274 |
|
(elf32_frv_relocate_section): Pass relocation addend in. Use |
6275 |
|
original relocation addend to look up the got relocs/plt entries |
6276 |
|
table. Do not call _bfd_elf_rel_local_sym. Don't error out when |
6277 |
|
processing relocations that reference .scommon symbols. |
6278 |
|
2003-09-15 Alexandre Oliva <aoliva@redhat.com> |
6279 |
|
Introduce support for dynamic linking. |
6280 |
|
* elf32-frv.c (R_FRV_FUNCDESC_VALUE): Mark it as 64 bits. |
6281 |
|
(elf32_frv_rel_32_howto, elf32_frv_rel_funcdesc_howto, |
6282 |
|
elf32_frv_rel_funcdesc_value_howto): New REL descriptors. |
6283 |
|
(frv_reloc_type_lookup): Return REL howtos for executables and |
6284 |
|
dynamic libraries. |
6285 |
|
(frv_info_to_howto_rel): New. |
6286 |
|
(struct frv_elf_link_hash_table): New. |
6287 |
|
(frv_hash_table, frv_got_section, frv_gotrel_section, |
6288 |
|
frv_plt_section, frv_pltrel_section, frv_relocs_info, |
6289 |
|
frv_got_initial_offset, frv_plt_initial_offset): New macros. |
6290 |
|
(frv_elf_link_hash_table_create): New. |
6291 |
|
(struct frv_pic_relocs_info): New. |
6292 |
|
(frv_pic_relocs_info_hash, frv_pic_relocs_info_eq): New. |
6293 |
|
(frv_pic_relocs_info_find): New. |
6294 |
|
(frv_pic_relocs_info_for_global, frv_pic_relocs_info_for_local): |
6295 |
|
New. |
6296 |
|
(FRV_LZPLT_BLOCK_SIZE, FRV_LZPLT_RESOLVE_LOC): New. |
6297 |
|
(_frv_add_dyn_reloc, _frv_osec_to_segment): New. |
6298 |
|
(_frv_emit_got_relocs_plt_entries): New. |
6299 |
|
(elf32_frv_relocate_section): Add support for dynamic linking. |
6300 |
|
Handle new relocations. |
6301 |
|
(_frv_create_got_section): New. |
6302 |
|
(elf32_frv_create_dynamic_sections): New. |
6303 |
|
(ELF_DYNAMIC_INTERPRETER): New. |
6304 |
|
(struct _frv_dynamic_got_info): New. |
6305 |
|
(_frv_count_got_plt_entries): New. |
6306 |
|
(struct _frv_dynamic_got_plt_info): New. |
6307 |
|
(_frv_compute_got_alloc_data): New. |
6308 |
|
(_frv_get_got_entry, _frv_get_fd_entry): New. |
6309 |
|
(_frv_assign_got_entries, _frv_assign_plt_entries): New. |
6310 |
|
(_frv_resolve_final_relocs_info): New. |
6311 |
|
(elf32_frv_size_dynamic_sections): New. |
6312 |
|
(elf32_frv_finish_dynamic_sections): New. |
6313 |
|
(elf32_frv_adjust_dynamic_symbol): New. |
6314 |
|
(elf32_frv_finish_dynamic_symbol): New. |
6315 |
|
(elf32_frv_check_relocs): Handle new relocs. Explain how the |
6316 |
|
whole thing works. |
6317 |
|
(elf_info_to_howto_rel): Define. |
6318 |
|
(bfd_elf32_bfd_link_hash_table_create): Define. |
6319 |
|
(elf_backend_create_dynamic_sections): Define. |
6320 |
|
(elf_backend_adjust_dynamic_symbol): Define. |
6321 |
|
(elf_backend_size_dynamic_sections): Define. |
6322 |
|
(elf_backend_finish_dynamic_symbol): Define. |
6323 |
|
(elf_backend_finish_dynamic_sections): Define. |
6324 |
|
(elf_backend_want_got_sym): Define. |
6325 |
|
(elf_backend_got_header_size): Define. |
6326 |
|
(elf_backend_want_got_plt): Define. |
6327 |
|
(elf_backend_plt_readonly): Define. |
6328 |
|
(elf_backend_want_plt_sym): Define. |
6329 |
|
(elf_backend_plt_header_size): Define. |
6330 |
|
(elf_backend_may_use_rel_p): Define. |
6331 |
|
(elf_backend_may_use_rela_p): Define. |
6332 |
|
(elf_backend_default_use_rela_p): Define. |
6333 |
|
2003-08-08 Alexandre Oliva <aoliva@redhat.com> |
6334 |
|
* elf32-frv.c (R_FRV_FUNCDESC_VALUE, R_FRV_FUNCDESC_GOTOFF12, |
6335 |
|
R_FRV_FUNCDESC_GOTOFFHI, R_FRV_FUNCDESC_GOTOFFLO, R_FRV_GOTOFF12, |
6336 |
|
R_FRV_GOTOFFHI, R_FRV_GOTOFFLO): New. |
6337 |
|
(frv_reloc_map): Map the corresponding BFD relocs to them. |
6338 |
|
(frv_reloc_type_lookup): ... and back to BFD relocs. |
6339 |
|
* reloc.c: New relocs. |
6340 |
|
* bfd-in2.h, libbfd.h: Rebuilt. |
6341 |
|
2003-08-04 Alexandre Oliva <aoliva@redhat.com> |
6342 |
|
* elf32-frv.c (R_FRV_GOT12, R_FRV_GOTHI, R_FRV_GOTLO, |
6343 |
|
R_FRV_FUNCDESC, R_FRV_FUNCDESC_GOT12, R_FRV_FUNCDESC_GOTHI, |
6344 |
|
R_FRV_FUNCDESC_GOTLO): New. |
6345 |
|
(frv_reloc_map): Map the corresponding BFD relocs to them. |
6346 |
|
(frv_reloc_type_lookup): ... and back to BFD relocs. |
6347 |
|
* reloc.c: New relocs. |
6348 |
|
* bfd-in2.h, libbfd.h: Rebuilt. |
6349 |
|
|
6350 |
|
2004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
6351 |
|
|
6352 |
|
* elf32-mips.c (ELF_MAXPAGESIZE): Redefine for traditional |
6353 |
|
targets to support pages of up to 64kB. |
6354 |
|
(elf32_bed): Redefine to get a separate backend data structure for |
6355 |
|
traditional targets. |
6356 |
|
* elf64-mips.c (ELF_MAXPAGESIZE): Redefine for traditional |
6357 |
|
targets to support pages of up to 64kB. |
6358 |
|
(elf64_bed): Redefine to get a separate backend data structure for |
6359 |
|
traditional targets. |
6360 |
|
* elfn32-mips.c (ELF_MAXPAGESIZE): Redefine for traditional |
6361 |
|
targets to support pages of up to 64kB. |
6362 |
|
(elf32_bed): Redefine to get a separate backend data structure for |
6363 |
|
traditional targets. |
6364 |
|
|
6365 |
|
2004-01-04 Mark Kettenis <kettenis@gnu.org> |
6366 |
|
|
6367 |
|
* elf32-sparc.c (elf32_sparc_grok_psinfo): New function. |
6368 |
|
|
6369 |
|
2004-01-02 Mark Kettenis <kettenis@gnu.org> |
6370 |
|
|
6371 |
|
* elf32-i386.c (elf_i386_grok_prstatus): Add support for FreeBSD. |
6372 |
|
(elf_i386_grok_psinfo): Likewise. |
6373 |
|
|
6374 |
|
2004-01-02 Bernardo Innocenti <bernie@develer.com> |
6375 |
|
|
6376 |
|
* config.bfd: Add m68k-uClinux target. |
6377 |
|
|
6378 |
|
2004-01-01 Grant Edwards <grante@visi.com> |
6379 |
|
|
6380 |
|
* elflink.h (elf_gc_sections): Warn when gc-sections option is ignored. |
6381 |
|
* elf32-h8300.c (elf32_h8_gc_mark_hook): New function. |
6382 |
|
(elf32_h8_gc_sweep_hook): New function. |
6383 |
|
(elf_backend_gc_mark_hook): Define. |
6384 |
|
(elf_backend_gc_sweep_hook): Define. |
6385 |
|
(elf_backend_can_gc_sections): Define. |
6386 |
|
|
6387 |
For older changes see ChangeLog-0001 |
For older changes see ChangeLog-0203 |
6388 |
|
|
6389 |
Local Variables: |
Local Variables: |
6390 |
mode: change-log |
mode: change-log |