]>
Commit | Line | Data |
---|---|---|
23867d67 CD |
1 | 2004-04-21 Chris Demetriou <cgd@broadcom.com> |
2 | ||
3 | * coff-mips.c (bfd_mips_ecoff_create_embedded_relocs): Remove. | |
4 | * elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): Remove. | |
5 | * bfd-in.h (bfd_mips_ecoff_create_embedded_relocs) | |
6 | (bfd_mips_elf32_create_embedded_relocs): Remove prototypes | |
7 | * bfd-in2.h: Regenerate. | |
8 | ||
2c8c90bc BW |
9 | 2004-04-21 Bob Wilson <bob.wilson@acm.org> |
10 | ||
11 | * elf32-xtensa.c (is_same_value): Add final_static_link argument and | |
12 | require relocations against a weak symbol to reference the same | |
13 | symbol hash entry if not a final, static link. | |
14 | (get_cached_value, add_value_map): Add final_static_link argument. | |
15 | (remove_literals): Pass final_static_link argument as needed. | |
16 | ||
40838a72 AC |
17 | 2004-04-21 Andrew Cagney <cagney@redhat.com> |
18 | ||
19 | * opncls.c (_bfd_new_bfd_contained_in): Copy "iovec". | |
20 | (struct opncls, opncls_btell, opncls_bseek, opncls_bread) | |
21 | (opncls_bwrite, opncls_bclose, opncls_bflush) | |
22 | (opncls_bstat, opncls_iovec, bfd_openr_iovec): Implement a | |
23 | bfd iovec that uses function callbacks. | |
24 | (bfd_close): Use the iovec's bclose. | |
25 | * cache.c (cache_btell, cache_bseek, cache_bread, cache_bwrite) | |
26 | (cache_bclose, cache_bflush, cache_bstat) | |
27 | (cache_iovec): New functions and global variable, implement a | |
28 | cache "iovec", where applicable set bfd_error. | |
29 | (bfd_cache_init, bfd_cache_close): Set/test the bfd's iovec. | |
30 | * bfdio.c (struct bfd_iovec): Define. | |
31 | (real_read): Delete function. | |
32 | (bfd_bread, bfd_bread, bfd_bwrite, bfd_tell, bfd_flush, bfd_stat) | |
33 | (bfd_seek, bfd_get_mtime, bfd_get_size): Use the bfd's "iovec", | |
34 | assume that bread and bwrite set bfd_error. | |
35 | * bfd.c (struct bfd): Add "iovec", update comments. | |
36 | * bfd-in2.h, libbfd.h: Re-generate. | |
37 | ||
7f919c84 AC |
38 | 2004-04-21 Andrew Cagney <cagney@redhat.com> |
39 | ||
40 | * libaout.h (enum machine_type): Add M_POWERPC_NETBSD. | |
41 | ||
715df9b8 EB |
42 | 2004-04-21 Eric Botcazou <ebotcazou@act-europe.fr> |
43 | ||
44 | * elflink.c (elf_gc_mark_dynamic_ref_symbol): New function. | |
45 | (bfd_elf_gc_sections): Fail if a shared object is being created. | |
46 | Do not fail if dynamic sections have been created. Instead call | |
47 | elf_gc_mark_dynamic_ref_symbol to mark sections that contain | |
48 | dynamically referenced symbols. Do not mark the whole graph | |
49 | rooted at .eh_frame, only the section proper. | |
50 | ||
6482c264 NC |
51 | 2004-04-20 DJ Delorie <dj@redhat.com> |
52 | ||
53 | * reloc.c: Add BFD_RELOC_32_SECREL. | |
54 | * bfd-in2.h: Regenerate. | |
55 | * libbfd.h: Likewise. | |
56 | * coff-i386.c (howto_table) [COFF_WITH_PE]: Add R_SECREL32. | |
57 | (coff_i386_rtype_to_howto) [COFF_WITH_PE]: Handle it. | |
58 | (coff_i386_reloc_type_lookup) [COFF_WITH_PE]: Likewise. | |
59 | ||
4dc570c2 JJ |
60 | 2004-04-19 Jakub Jelinek <jakub@redhat.com> |
61 | ||
62 | * elf32-sparc.c (elf32_sparc_relocate_section): Handle | |
63 | relocs against hidden/protected undefweak symbols properly. | |
64 | * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. | |
65 | ||
0b60d5d3 MK |
66 | 2004-04-18 Mark Kettenis <kettenis@gnu.org> |
67 | ||
68 | * libaout.h (enum machine_type): Add M_POWERPC_NETBSD. | |
69 | * netbsd-core.c (netbsd_core_file_p): Set architecture for PowerPC | |
70 | core files. | |
71 | ||
d48bdb99 AM |
72 | 2004-04-17 Brian Ford <ford@vss.fsi.com> |
73 | ||
74 | * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Use the first non-zero | |
75 | filepos for the SizeOfHeaders field. | |
76 | (_bfd_XXi_swap_scnhdr_out): Correct section flags lossage on reloc | |
77 | overflow. | |
78 | (_bfd_XXi_swap_sym_in): Remove redundant section flags assignment. | |
79 | ||
57a1784e AM |
80 | 2004-04-16 Alan Modra <amodra@bigpond.net.au> |
81 | ||
82 | * simple.c (bfd_simple_get_relocated_section_contents): Don't | |
83 | change reloc_done. Set and restore _cooked_size. | |
84 | (RETURN): Delete. | |
85 | ||
d1ad3f6f MK |
86 | 2004-04-15 Mark Kettenis <kettenis@gnu.org> |
87 | ||
88 | * netbsd-core.c (netbsd_core_file_p): Set architecture for VAX | |
89 | core files. | |
90 | ||
3d1bca9d NC |
91 | 2004-04-15 Nick Clifton <nickc@redhat.com> |
92 | ||
93 | * bfd.c (bfd_archive_filename): Catch NULL bfd pointers. | |
94 | ||
019b892f AM |
95 | 2004-04-15 Alan Modra <amodra@bigpond.net.au> |
96 | ||
97 | * elf64-sparc.c (sparc64_elf_check_relocs): Fix thinko last change. | |
98 | ||
15b43f48 AM |
99 | 2004-04-15 H.J. Lu <hongjiu.lu@intel.com> |
100 | ||
101 | * elflink.c (_bfd_elf_merge_symbol): Treat weak as strong only | |
102 | when it is a definition. | |
103 | ||
6de00a78 AM |
104 | 2004-04-14 Alan Modra <amodra@bigpond.net.au> |
105 | ||
106 | * elf32-sparc.c (elf32_sparc_relocate_section): Don't abort | |
107 | when statically linking PIC code. | |
108 | * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. | |
109 | ||
279500de TS |
110 | 2004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
111 | ||
112 | * config.bfd: Remove mips*-*-mach3* and mips*-dec-mach3* targets. | |
113 | * configure.in: Remove mips-dec-bsd*, mips-dec-mach3*, mips-*-mach3* | |
114 | targets amd aout_mips_big_vec, aout_mips_little_vec target vectors. | |
115 | * configure: Regenerate. | |
116 | ||
ccf2f652 RS |
117 | 2004-04-08 Richard Sandiford <rsandifo@redhat.com> |
118 | ||
119 | * elflink.c: Include libiberty.h. | |
120 | * Makefile.am (elflink.lo): Depend on libiberty.h. | |
121 | * Makefile.in: Regenerate. | |
122 | ||
ca07892d DJ |
123 | 2004-04-06 Daniel Jacobowitz <drow@mvista.com> |
124 | ||
125 | * elfxx-mips.c (MIPS_ELF_STUB_SECTION_NAME): Always use | |
126 | ".MIPS.stubs". | |
127 | ||
a5a58ba4 L |
128 | 2004-04-05 H.J. Lu <hongjiu.lu@intel.com> |
129 | ||
130 | * elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Always | |
131 | reserve the memory for dynamic linker | |
132 | ||
24d18d30 MK |
133 | 2004-04-05 Mark Kettenis <kettenis@gnu.org> |
134 | ||
135 | * netbsd-core.c (CORE_WCOOKIE_OFFSET): New define. | |
136 | (netbsd_core_file_p): Create a .wcookie section for OpenBSD/sparc. | |
137 | ||
a4d7b4b5 L |
138 | 2004-04-02 H.J. Lu <hongjiu.lu@intel.com> |
139 | ||
140 | * elf32-cr16c.c (elf32_cr16c_relocate_section): Use | |
141 | RELOC_FOR_GLOBAL_SYMBOL. | |
142 | (elf32_cr16c_add_symbol_hook): Remove const from Elf_Internal_Sym. | |
143 | ||
1f433d93 L |
144 | 2004-04-02 H.J. Lu <hongjiu.lu@intel.com> |
145 | ||
146 | * elf32-arm.h (elf32_arm_final_link_relocate): Handle | |
147 | R_ARM_ALU* only if OLD_ARM_ABI is not defined. | |
148 | ||
e489d0ae PB |
149 | 2004-04-01 Paul Brook <paul@codesourcery.com> |
150 | ||
151 | * bfd-in.h (bfd_elf32_arm_process_before_allocation): Update. | |
152 | * elf32-arm.h (struct elf32_elf_section_map): New. | |
153 | (struct _arm_elf_section_data): New. | |
154 | (elf32_arm_section_data): Define. | |
155 | (struct elf32_arm_link_hash_table): Add byteswap_code. | |
156 | (elf32_arm_link_hash_table_create): Initialize byteswap_code. | |
157 | (bfd_elf32_arm_process_before_allocation): Add byteswap_code. | |
158 | (elf32_arm_post_process_headers): Set EF_ARM_BE8. | |
159 | (elf32_arm_output_symbol_hook, elf32_arm_new_section_hook, | |
160 | elf32_arm_compare_mapping, elf32_arm_write_section): New functions. | |
161 | (bfd_elf32_new_section_hook, elf_backend_write_section, | |
162 | elf_backend_link_output_symbol_hook): Define. | |
163 | ||
66a695f0 NC |
164 | 2004-04-01 Andy Chittenden <achittenden@bluearc.com> |
165 | ||
166 | * stabs.c (struct stab_link_includes_totals): Add field 'symb' | |
167 | that keeps the characters in a B_INCL..B_EINCL range. | |
168 | (_bfd_link_section_stabs): When computing the sum of the | |
169 | characters in a B_INCL..B_EINCL range also keep a copy of those | |
170 | characters. Use this information to distinguish between | |
171 | include sections that have the same sum and the same length | |
172 | but which are nevertheless unique. | |
173 | ||
8375c36b PB |
174 | 2004-03-31 Paul Brook <paul@codesourcery.com> |
175 | ||
176 | * elf32-arm.h (elf32_arm_final_link_relocate): Add R_ARM_ALU*. | |
177 | * elfarm-nabi.c (elf32_arm_howto_table): Ditto. | |
178 | ||
a56b48eb NC |
179 | 2004-03-31 Andy Chittenden <achittenden@bluearc.com> |
180 | ||
181 | * stabs.c (struct stab_link_includes_totals): Rename field 'total' | |
182 | to 'sum_chars' and add field 'num_chars'. | |
183 | (_bfd_link_section_stabs): When computing the sum of the | |
184 | characters in a B_INCL..B_EINCL range also keep a count of the | |
185 | number of characters. Use this information to help distinguish | |
186 | between include sections when have the same sum but which | |
187 | nevertheless are still unique. | |
188 | ||
3d456464 NC |
189 |