Commit | Line | Data |
---|---|---|
911d08a7 AM |
1 | 2004-06-15 Alan Modra <amodra@bigpond.net.au> |
2 | ||
3 | * section.c (struct sec): Remove usused flags. Reorganize a little. | |
4 | (bfd_get_section_size_before_reloc): Delete. | |
5 | (bfd_get_section_size_after_reloc): Delete. | |
6 | (STD_SECTION): Update. | |
7 | (bfd_get_section_size_now): Delete. | |
8 | (bfd_set_section_contents): Don't referece reloc_done. | |
9 | (bfd_get_section_contents): Remove reloc_done comment. | |
10 | * bout.c (b_out_bfd_get_relocated_section_contents): Don't set | |
11 | reloc_done. | |
12 | * coff-alpha.c (alpha_ecoff_get_relocated_section_contents): Likewise. | |
13 | * ecoff.c (bfd_debug_section): Update initializer. | |
14 | * elfxx-mips.c (_bfd_elf_mips_get_relocated_section_contents): Ditto. | |
15 | * reloc.c (bfd_generic_get_relocated_section_contents): Likewise. | |
16 | * bfd-in.h (bfd_section_size): Expand. | |
17 | (bfd_get_section_size): New macro. | |
18 | * bfd-in2.h: Regenerate. | |
19 | * coff64-rs6000.c (xcoff64_write_object_contents): Replace | |
20 | bfd_get_section_size_before_reloc with bfd_get_section_size. | |
21 | * coffcode.h (coff_write_object_contents): Likewise. | |
22 | * coffgen.c (build_debug_section): Likewise. | |
23 | * dwarf1.c (parse_line_table): Likewise. | |
24 | (_bfd_dwarf1_find_nearest_line): Likewise. | |
25 | * ecoff.c (_bfd_ecoff_write_object_contents): Likewise. | |
26 | * i386msdos.c (msdos_write_object_contents): Likewise. | |
27 | * pdp11.c (squirt_out_relocs): Likewise. | |
28 | * elf32-sh64.c (sh64_find_section_for_address): Remove comment. | |
29 | * elf64-mmix.c (mmix_elf_final_link): Update comment. | |
30 | ||
092dcd75 CD |
31 | 2004-06-14 Chris Demetriou <cgd@broadcom.com> |
32 | ||
33 | * elf32-mips.c (elf_mips_gnu_pcrel32): Add (undoing 2004-04-24 | |
34 | removal) with updated comment. | |
35 | (bfd_elf32_bfd_reloc_type_lookup): Add back case for | |
36 | BFD_RELOC_32_PCREL. | |
37 | (mips_elf32_rtype_to_howto): Add back case for R_MIPS_PC32. | |
38 | * elfxx-mips.c (mips_elf_calculate_relocation): Likewise. | |
39 | ||
3ffa5234 AM |
40 | 2004-06-12 Alan Modra <amodra@bigpond.net.au> |
41 | ||
42 | * elf64-x86-64.c (elf64_x86_64_relocate_section): Ignore reloc | |
43 | overflow on branches to undefweaks. | |
44 | ||
e9edc808 MR |
45 | 2004-06-11 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
46 | ||
47 | * coff-alpha.c (alpha_relocate_section): Set used_by_bfd directly | |
48 | as ecoff_section_data() does not return a valid lvalue. | |
49 | ||
a873f25a AO |
50 | 2004-06-09 Alexandre Oliva <aoliva@redhat.com> |
51 | ||
a9b881be AO |
52 | * elflink.c (elf_sort_symbol): Compare section id, not pointers. |
53 | (elf_link_add_object_symbols): Likewise. | |
54 | ||
a873f25a AO |
55 | * elf-m10300.c (_bfd_mn10300_elf_reloc_type_class): New. |
56 | (elf_backend_reloc_type_class): New. | |
57 | ||
eef0f186 MK |
58 | 2004-06-08 Mark Kettenis <kettenis@gnu.org> |
59 | ||
60 | * configure.in (hppa*-*-netbsd*, hppa*-*-openbsd): Set COREFILE to | |
61 | netbsd-core.lo. | |
62 | * configure: Regenerate. | |
63 | ||
822392ce DJ |
64 | 2004-06-07 Daniel Jacobowitz <dan@debian.org> |
65 | ||
66 | From: Albert Chin-A-Young <china@thewrittenword.com> | |
67 | * bfd/elf-bfd.h (struct eh_cie_fde): Convert unsigned char bitfields | |
68 | to unsigned int. | |
69 | ||
9f2e92c5 L |
70 | 2004-05-29 H.J. Lu <hongjiu.lu@intel.com> |
71 | ||
72 | * elfxx-ia64.c (elfNN_ia64_relax_section): Undo the last | |
73 | change. | |
74 | ||
dd90f1b2 DD |
75 | 2004-05-28 DJ Delorie <dj@redhat.com> |
76 | ||
77 | * elf-m10300.c (mn10300_elf_relax_section): Preserve reloc addend | |
78 | for linking, but otherwise adjust reloc for merged sections. | |
79 | ||
5dd23ec1 L |
80 | 2004-05-28 H.J. Lu <hongjiu.lu@intel.com> |
81 | ||
82 | * elfxx-ia64.c (elfNN_ia64_relax_section): Properly call | |
83 | _bfd_merged_section_offset for local symbols. | |
84 | ||
f6f9408f JR |
85 | 2004-05-28 Andrew Stubbs <andrew.stubbs@superh.com> |
86 | ||
87 | * Makefile.am: Regenerate dependencies. | |
88 | * Makefile.in: Regenerate. | |
89 | * archures.c: Add bfd_mach_sh3_nommu . | |
90 | * bfd-in2.h: Regenerate. | |
91 | * cpu-sh.c: Add sh3-nommu architecture. | |
92 | (bfd_to_arch_table): Create new table. | |
93 | (sh_get_arch_from_bfd_mach): Create new function. | |
94 | (sh_get_arch_up_from_bfd_mach): Create new function. | |
95 | (sh_merge_bfd_arch): Create new function. | |
96 | * elf32-sh.c (sh_ef_bfd_table): Add table. | |
97 | (sh_elf_check_relocs): Replace switch statement with | |
98 | use of sh_ef_bfd_table . | |
99 | (sh_elf_get_flags_from_mach): Add new function. | |
100 | (sh_find_elf_flags): Likewise. | |
101 | (sh_elf_copy_private_data): Replace most of non-elf contents | |
102 | with a call to sh_merge_bfd_arch() . | |
103 | ||
d866f350 MC |
104 | 2004-05-27 Michael Chastain <mec.gnu@mindspring.com> |
105 | ||
106 | * Makefile.am (bfdver.h): Use explicit filename, not $< . | |
107 | * Makefile.in: Regenerate. | |
108 | ||
1055df0f AO |
109 | 2004-05-27 Alexandre Oliva <aoliva@redhat.com> |
110 | ||
111 | * elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Avoid | |
112 | custom calling conventions for dynamic symbols. | |
113 | (mn10300_elf_relax_section): Avoid relaxing a function as a local | |
114 | symbol if it's an alias to a global one. | |
115 | ||
b3096250 L |
116 | 2004-05-26 H.J. Lu <hongjiu.lu@intel.com> |
117 | ||
118 | * elf.c (_bfd_elf_make_section_from_shdr): Undo the last | |
119 | change. | |
120 | ||
9bb351fd AO |
121 | 2004-05-27 Alexandre Oliva <aoliva@redhat.com> |
122 | ||
123 | * elf-m10300.c (mn10300_elf_relax_section): Don't test isym within | |
124 | loop over hashes. | |
125 | ||
e49f5022 AM |
126 | 2004-05-26 Alan Modra <amodra@bigpond.net.au> |
127 | ||
128 | * elf.c (_bfd_elf_make_section_from_shdr): Don't set SEC_EXCLUDE | |
129 | for SHT_GROUP sections. | |
130 | ||
57ceae94 AM |
131 | 2004-05-25 Alan Modra <amodra@bigpond.net.au> |
132 | ||
133 | * elflink.c (elf_link_add_object_symbols): Don't set up merge | |
134 | section data here.. | |
135 | * elf.c (_bfd_elf_merge_sections): .. Do it here instead. | |
136 | * merge.c: Formatting. Remove unnecessary casts. Expand | |
137 | bfd_get_section_alignment macro. | |
138 | (struct sec_merge_sec_info): Rename "first" to "first_str". Update | |
139 | use throughout file. | |
140 | (_bfd_add_merge_section): Rename from _bfd_merge_section. Update | |
141 | comment. Abort on dynamic or non-SEC_MERGE input. Don't test | |
142 | section name to determine sinfo group, instead test output section | |
143 | and alignment. | |
144 | (_bfd_merge_sections): Add struct bfd_link_info param. Call | |
145 | _bfd_strip_section_from_output rather than just twiddling flags. | |
146 | * libbfd-in.h (_bfd_add_merge_section): Rename, update comment. | |
147 | (_bfd_merge_sections): Update prototype. | |
148 | * libbfd.h: Regenerate. | |
149 | ||
c6f8758f | 150 | 2004-05-24 Mark Kettenis <kettenis@gnu.org> |
d34436e8 MK |
151 | |
152 | * netbsd-core.c: Correctly indent section that sets architecture | |
153 | from machine ID. | |
154 | ||
c6f8758f NC |
155 | From Miod Vallat <miod@online.fr>: |
156 | * m88kopenbsd.c: New file. | |
157 | * targets.c (m88k_openbsd_vec): New. | |
158 | * config.bfd: Add m88k-*-openbsd*. | |
159 | * configure.in (m88k-*-openbsd*): Set COREFILE to netbsd-core.lo. | |
160 | (m88kopenbsd_vec): New. | |
161 | * configure: Regenerate. | |
162 | * Makefile.am (BFD32_BACKENDS): Add m88kopenbsd.lo. | |
163 | (BFD32_BACKENDS_CFILES): Add m88kopenbsd.c. | |
164 | Run "make dep-am". | |
165 | * Makefile.in: Regenerate. | |
166 | * po/SRC-POTFILES.in: Regenerate. | |
167 | ||
7d7e6bc4 NC |
168 | 2004-05-24 Nick Clifton <nickc@redhat.com> |
169 | ||
170 | * hash.c: Remove bogus node "Changing the default Hash Table Size" | |
171 | introduced by hash table size patch. | |
172 | ||
bc286f95 BE |
173 | 2004-05-22 Ben Elliston <bje@au.ibm.com> |
174 | ||
175 | * configure.in (is_release): Remove. | |
176 | (bfd_version_date, bfd_version, bfd_version_string): Likewise. | |
177 | (AC_OUTPUT): Don't output bfdver.h from version.h. | |
178 | * configure: Regenerate. | |
179 | * Makefile.am (RELEASE): New variable. | |
180 | (bfdver.h): New target. | |
181 | * Makefile.in: Regenerate. | |
182 | * doc/Makefile.in: Likewise. | |
183 | ||
8b89a4eb BE |
184 | 2004-05-22 Ben Elliston <bje@au.ibm.com> |
185 | ||
186 | * Makefile.am (config.status): Don't depend on version.h. | |
187 | * Makefile.in: Regenerate. | |
188 | ||
753731ee AM |
189 | 2004-05-22 Alan Modra <amodra@bigpond.net.au> |
190 | ||
191 | * merge.c (_bfd_merged_section_offset): Remove "addend" param. | |
192 | * libbfd-in.h (_bfd_merged_section_offset): Adjust prototype. | |
193 | * libbfd.h: Regenerate. | |
194 | * elf.c (_bfd_elf_rela_local_sym): Adjust call. | |
195 | (_bfd_elf_rel_local_sym): Likewise. | |
196 | * elflink.c (_bfd_elf_link_sec_merge_syms): Likewise. | |
197 | (elf_link_input_bfd): Likewise. | |
198 | * elf32-ppc.c (ppc_elf_relax_section): Likewise. | |
199 | * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. | |
200 | * elfxx-ia64.c (elfNN_ia64_relax_section): Likewise. | |
201 | (elfNN_ia64_relocate_section): Likewise. | |
202 | ||
2d643429 NC |
203 | 2004-05-21 Andy Chittenden <achittenden@bluearc.com> |
204 | ||
205 | * hash.c (bfd_default_hash_table_size): New variable. | |
206 | (bfd_hash_table_init): Use new variable instead of DEFAULT_SIZE. | |
207 | (bfd_hash_set_default_size): New function. Set the default size | |
208 | to a selected prime number close to the argument. Document new | |
209 | function. | |
210 | * bfd-in.h: Add prototype for bfd_hash_set_default_size. | |
211 | * bfd-in2.h: Regenerate. | |
212 | * Makefile.am (hash.lo): Add dependency upon libiberty.h. | |
213 | * Makefile.in: Regenerate. | |
214 | ||
8377c19c MK |
215 | 2004-05-21 Mark Kettenis <kettenis@gnu.org> |
216 | ||
217 | * libaout.h (machine_type): Add M_88K_OPENBSD and M_HPPA_OPENBSD. | |
218 | * netbsd-core.c (netbsd_core_file_p): Set architecture for alpha, | |
219 | arm, m68k, m88k and hppa core files. | |
220 | ||
69fd4758 NC |
221 | 2004-05-21 Nick Clifton <nickc@redhat.com> |
222 | ||
223 | * bfdio.c (bfd_bread): Do not use iovec if it is NULL. | |
224 | (bfd_bwrite): Likewise. | |
225 | (bfd_tell): Likewise. | |
226 | (bfd_flush): Likewise. | |
227 | (bfd_stat): Likewise. | |
228 | (bfd_seek): Likewise. | |
229 | (bfd_get_mtime): Likewise. | |
230 | (bfd_get_size): Likewise. | |
231 | ||
cd917290 BE |
232 | 2004-05-19 Ben Elliston <bje@au.ibm.com> |
233 | ||
234 | * dwarf2.c (_bfd_dwarf2_find_nearest_line): Comment correction. | |
235 | ||
1b09e940 NC |
236 | 2004-05-19 Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz> |
237 | ||
238 | * archive.c (_bfd_get_elt_at_filepos): Cope with a nested archives. | |
239 | (bfd_generic_openr_next_archived_file): Likewise. | |
240 | ||
096c35a7 BW |
241 | 2004-05-17 Bob Wilson <bob.wilson@acm.org> |
242 | ||
243 | * elf32-xtensa.c (xtensa_get_property_section_name): Determine linkonce | |
244 | section names by inserting a new substring after .gnu.linkonce, except | |
245 | for .gnu.linkonce.t.* where the "t." is replaced. | |
246 | ||
b2d65c0b NC |
247 | 2004-05-17 Adam Nemet <anemet@lnxw.com> |
248 | ||
249 | * config.bfd (sparc-*-lynxos* case): Add to obsolete list. | |
250 | (m68-*-lynxos* case): Likewise. | |
251 | (powerpc-*-lyxnos* case): New case. | |
252 | (i[3-7]86-*-lynxos* case): Update to LynxOS 4.0 ELF. | |
253 | ||
80fccad2 BW |
254 | 2004-05-17 David Heine <dlheine@tensilica.com> |
255 | ||
256 | * aout-target.h (MY_bfd_copy_private_header_data): Define. | |
257 | * aout-tic30.c (MY_bfd_copy_private_header_data): Define. | |
258 | * bfd.c (bfd_copy_private_header_data): Define. | |
259 | * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Add entries for new | |
260 | interface. | |
261 | * coff64-rs6000.c (rs6000coff64_vec, aix5coff64_vec): Likewise. | |
262 | * coffcode.h (coff_bfd_copy_private_header_data): Define. | |
263 | * elf-bfd.h (_bfd_elf_copy_private_header_data): Declare. | |
264 | * elf.c (_bfd_elf_copy_private_section_data): Remove code to set up | |
265 | segments by calling copy_private_bfd_data. | |
266 | (_bfd_elf_copy_private_header_data): Define. | |
267 | * elfxx-target.h (bfd_elfNN_bfd_copy_private_header_data): Define. | |
268 | * libbfd-in.h (_bfd_generic_bfd_copy_private_header_data): Define. | |
269 | * libecoff.h (_bfd_ecoff_bfd_copy_private_header_data): Define. | |
270 | * mach-o.c (bfd_mach_o_bfd_copy_private_header_data): Define. | |
271 | * mmo.c (mmo_bfd_copy_private_header_data): Define. | |
272 | * ppcboot.c (ppcboot_bfd_copy_private_header_data): Define. | |
273 | * som.c (som_bfd_copy_private_header_data): Define. | |
274 | * targets.c (BFD_JUMP_TABLE_COPY): Add _bfd_copy_private_header_data. | |
275 | * vms.c (vms_bfd_copy_private_header_data): Define. | |
276 | * bfd-in2.h: Regenerate. | |
277 | * libbfd.h: Regenerate. | |
278 | ||
c5ae1840 TS |
279 | 2004-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
280 | ||
281 | * elfxx-mips.c (MINUS_TWO): Define. | |
282 | (mips_elf_higher, mips_elf_highest, | |
283 | mips_elf_create_dynamic_relocation): Use MINUS_ONE and MINUS_TWO for | |
284 | some bfd_vma values. | |
285 | (_bfd_mips_elf_finish_dynamic_symbol): Likewise. Code cleanup. | |
286 | ||
a99cf92b DA |
287 | 2004-05-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
288 | ||
289 | * som.c (log2): Rename to exact_log2. Adjust all callers. | |
290 | ||
0da76f83 NC |
291 | 2004-05-13 Paul Brook <paul@codesourcery.com> |
292 | ||
c273895f | 293 | * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Handle |
336b9722 NC |
294 | dwarf3 format CIE entries. Remove comment about the size of the |
295 | ra_column field. It is now correctly deduced. | |
0da76f83 | 296 | |
4b363073 NC |
297 | 2004-05-13 Joel Sherrill <joel@oarcorp.com> |
298 | ||
299 | * config.bfd (or32-*-rtems*): Switch to elf. | |
300 | ||
9598fbe5 NC |
301 | 2004-05-13 Nick Clifton <nickc@redhat.com> |
302 | ||
303 | * po/fr.po: Updated French translation. | |
304 | ||
8c37241b JJ |
305 | 2004-05-11 Jakub Jelinek <jakub@redhat.com> |
306 | ||
307 | * elflink.c (elf_bfd_final_link): Don't output STT_SECTION symbol | |
308 | into .dynsym if elf_section_data (sec)->dynindx <= 0. | |
309 | Adjust counting of last_local. | |
310 | (_bfd_elf_link_renumber_dynsyms): Don't assign dynindx to sections | |
311 | other than SHT_PROGBITS/SHT_NOBITS and neither for .got/.got.plt/.plt | |
312 | created by the linker nor !SHF_ALLOC. | |
313 | ||
314 | * elf32-i386.c (elf_i386_finish_dynamic_sections): Point | |
315 | DT_PLTGOT to the start of the .got.plt section instead of the | |
316 | .got output section. Set sh_entsize for .got section in addition | |
317 | to .got.plt. | |
318 | (elf_i386_relocate_section): Don't assume _GLOBAL_OFFSET_TABLE_ | |
319 | is at sgot->output_section->vma. | |
320 | * elf64-x86-64.c (elf64_x86_64_finish_dynamic_sections): Point | |
321 | DT_PLTGOT to the start of the .got.plt section instead of the | |
322 | .got output section. | |
323 | (elf64_x86_64_relocate_section): Don't assume _GLOBAL_OFFSET_TABLE_ | |
324 | is at sgot->output_section->vma. Set sh_entsize for .got section | |
325 | in addition to .got.plt. | |
326 | * elf.c (_bfd_elf_print_private_bfd_data): Handle PT_GNU_RELRO. | |
327 | (bfd_section_from_phdr): Likewise. | |
328 | (map_sections_to_segments): Likewise. | |
329 | (assign_file_positions_for_segments): Likewise. | |
330 | (get_program_header_size): Likewise. | |
331 | * elflink.c (bfd_elf_size_dynamic_sections): Set | |
332 | elf_tdata (output_bfd)->relro from info->relro. | |
333 | * elf-bfd.h (struct elf_obj_tdata): Add relro field. | |
334 | ||
3f980e41 AO |
335 | 2004-05-08 Alexandre Oliva <aoliva@redhat.com> |
336 | ||
337 | * elf32-frv.c (_frvfdpic_add_dyn_reloc): Don't warn when we get | |
338 | a zero symndx for which we hadn't accounted a dynamic relocation. | |
339 | (_frvfdpic_add_rofixup): Likewise. | |
340 | ||
d70270c5 BF |
341 | 2004-05-07 Brian Ford <ford@vss.fsi.com> |
342 | DJ Delorie <dj@redhat.com> | |
343 | ||
344 | * coffcode.h (coff_write_object_contents) [COFF_IMAGE_WITH_PE]: | |
345 | Propagate IMAGE_FILE_LARGE_ADDRESS_AWARE. | |
346 | * peXXigen.c (_bfd_XX_print_private_bfd_data_common): Recognize | |
347 | IMAGE_FILE_LARGE_ADDRESS_AWARE. Use PE defines. | |
348 | ||
7e9f3bd6 AO |
349 | 2004-05-07 Alexandre Oliva <aoliva@redhat.com> |
350 | ||
351 | * elf32-frv.c (elf32_frvfdpic_modify_segment_map): Return | |
352 | immediately if there's no link info. | |
353 | (elf32_frvfdpic_copy_private_bfd_data): New. | |
354 | (bfd_elf32_bfd_copy_private_bfd_data): Use it for frvfdpic. | |
355 | ||
eb61d2d6 ZW |
356 | 2004-05-06 Zack Weinberg <zack@codesourcery.com> |
357 | ||
358 | * dwarf2.c (add_line_info): Also set info->filename to NULL if | |
359 | filename argument is null; do not call strlen on a null pointer. | |
360 | ||
ecb2d096 DJ |
361 | 2004-05-06 Daniel Jacobowitz <drow@mvista.com> |
362 | ||
363 | * elf32-arm.h (elf32_arm_relocate_section): Remove R_ARM_PLT32 | |
364 | special case. | |
365 | ||
43850d5b AO |
366 | 2004-05-05 Alexandre Oliva <aoliva@redhat.com> |
367 | ||
368 | * configure.in (bfd_elf32_frvfdpic_vec): New. | |
369 | * configure: Rebuilt. | |
370 | * targets.c (bfd_elf32_frvfdpic_vec): New. | |
371 | * config.bfd: Enable it on frv-*-elf and frv-*-*linux*, as default | |
372 | on the latter. | |
373 | * elf32-frv.c: Prefix all identifiers added for FDPIC support with | |
374 | frvfdpic instead of frv. Rearrange elf-target macros such that | |
375 | the FDPIC-specific ones are only defined for this new target | |
376 | vector. | |
377 | (bfd_elf32_frvfdpic_vec): Declare. | |
378 | (IS_FDPIC): New. | |
379 | (elf32_frv_relocate_section): Use it to enable segment checking | |
380 | and to control rofixup emission. Add output section vma to | |
381 | applied relocation in non-LOAD non-ALLOC sections. Use | |
382 | _bfd_error_handler for errors. | |
383 | (_frv_create_got_section): Create .rel.got and .rofixup only in | |
384 | FDPIC. Create non-dynamic _gp at .got+2048 in non-FDPIC, like the | |
385 | linker script. | |
386 | (elf32_frvfdpic_size_dynamic_sections): Assume FDPIC. | |
387 | (elf32_frvfdpic_modify_segment_map): Likewise. | |
388 | (elf32_frv_finish_dynamic_sections): New, do-nothing. | |
389 | (elf32_frvfdpic_finish_dynamic_sections): Assume FDPIC. Improve | |
390 | error message if we miscompute the rofixup size. | |
391 | (frvfdpic_elf_use_relative_eh_frame): Assume FDPIC. | |
392 | (frvfdpic_elf_encode_eh_address): Likewise. | |
393 | (elf32_frv_check_relocs): Reject FDPIC-only relocs in non-FDPIC. | |
394 | Record relocs only in FDPIC. Make sure _gp is defined for GPREL | |
395 | relocs. Reject unknown relocation types. | |
396 | (elf32_frv_object_p): Make sure target vector matches FDPIC bits. | |
397 | (frv_elf_merge_private_bfd_data): Likewise. | |
398 | (ELF_MAXPAGESIZE): Revert to 0x1000 for elf32-frv; keep it as | |
399 | 0x4000 for newly-added elf32-frvfdpic. | |
400 | ||
06fc8a8c NC |
401 | 2004-05-05 Nick Clifton <nickc@redhat.com> |
402 | ||
403 | PR/136 | |
404 | * cache.c (bfd_cache_lookup_worker): Call abort() rather than | |
405 | returning NULL as most users of this function do not check its | |
406 | return value. | |
33216455 NC |
407 | * hppabsd-core.c (hppabsd_core_core_file_p): Do not check result |
408 | of bfd_cache_lookup(). | |
409 | * sco5-core.c (sco5_core_file_p): Likewise. | |
410 | * trad-core.c (trad_unix_core_file_p): Likewise. | |
06fc8a8c NC |
411 | |
412 | 2004-05-05 Nick Clifton <nickc@redhat.com> | |
413 | ||
414 | * cache.c (bfd_cache_lookup): Improve formatting. | |
415 | * archive.c: Fix formatting. | |
416 | ||
6b6e92f4 NC |
417 | 2004-05-05 Peter Barada <peter@the-baradas.com> |
418 | ||
419 | * bfd_archures.c(bfd_architecture): Add 521x,5249,547x,548x. | |
420 | * cpu-m68k.c(bfd_m68k_arch): Likewise. | |
421 | * bfd-in2.h(bfd_architecture): Regenerate. | |
422 | ||
6a8d1586 AM |
423 | 2004-05-03 Alan Modra <amodra@bigpond.net.au> |
424 | ||
425 | * elf.c (_bfd_elf_rela_local_sym): Set kept_section for excluded | |
426 | SEC_MERGE sections. | |
427 | * elflink.c (elf_link_input_bfd): Adjust output reloc index for | |
428 | those against discarded link-once and SEC_MERGE section symbols. | |
429 | ||
fafe6678 L |
430 | 2004-05-02 H.J. Lu <hongjiu.lu@intel.com> |
431 | ||
432 | * section.c (bfd_get_section_by_name_if): New. | |
433 | * bfd-in2.h: Regenerated. | |
434 | ||
ad7b9a36 AM |
435 | 2004-05-02 Alan Modra <amodra@bigpond.net.au> |
436 | ||
437 | * som.c (som_bfd_is_group_section): Define. | |
438 | ||
73499ab8 AM |
439 | 2004-05-01 Alan Modra <amodra@bigpond.net.au> |
440 | ||
441 | * section.c (bfd_make_section_anyway): Copy the whole | |
442 | bfd_hash_entry, not just "next" from existing entry. | |
443 | ||
45c5e9ed L |
444 | 2004-04-30 H.J. Lu <hongjiu.lu@intel.com> |
445 | ||
446 | * elf.c (bfd_section_from_shdr): Maintain the section order in | |
447 | a section group. | |
448 | (special_sections): Add ".note.GNU-stack". | |
449 | (elf_fake_sections): Handle section group for relocatable | |
450 | link.. | |
451 | ||
bc87dd2e L |
452 | 2004-04-30 H.J. Lu <hongjiu.lu@intel.com> |
453 | ||
454 | * section.c (bfd_sections_find_if): New. | |
455 | * bfd-in2.h: Regenerated. | |
456 | ||
72adc230 AM |
457 | 2004-04-30 Alan Modra <amodra@bigpond.net.au> |
458 | ||
459 | * section.c (bfd_make_section_anyway): Add all sections to hash tab. | |
460 | ||
461 | * elf-bfd.h (bfd_elf_is_group_section): Declare. | |
462 | * elf.c (bfd_elf_is_group_section): New function. | |
463 | * elfxx-target.h (bfd_elfNN_bfd_is_group_section | |
464 | * section.c (bfd_generic_is_group_section): New function. | |
465 | * targets.c (struct bfd_target): Add _bfd_is_group_section field. | |
466 | (BFD_JUMP_TABLE_LINK): Adjust. | |
467 | * aout-adobe.c (aout_32_bfd_is_group_section): Define. | |
468 | * aout-target.h (MY_bfd_is_group_section): Define. | |
469 | * aout-tic30.c (MY_bfd_is_group_section): Define. | |
470 | * bfd.c (bfd_is_group_section): Define. | |
471 | * binary.c (binary_bfd_is_group_section): Define. | |
472 | * bout.c (b_out_bfd_is_group_section): Define. | |
473 | * coff-alpha.c (_bfd_ecoff_bfd_is_group_section): Define. | |
474 | * coff-mips.c (_bfd_ecoff_bfd_is_group_section): Define. | |
475 | * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Adjust. | |
476 | * coff64-rs6000.c (rs6000coff64_vec, aix5coff64_vec): Adjust. | |
477 | * coffcode.h (coff_bfd_is_group_section): Define. | |
478 | * i386msdos.c (msdos_bfd_is_group_section): Define. | |
479 | * i386os9k.c (os9k_bfd_is_group_section): Define. | |
480 | * ieee.c (ieee_bfd_is_group_section): Define. | |
481 | * ihex.c (ihex_bfd_is_group_section): Define. | |
482 | * libbfd-in.h (_bfd_nolink_bfd_is_group_section): Define. | |
483 | * mach-o.c (bfd_mach_o_bfd_is_group_section): Define. | |
484 | * mmo.c (mmo_bfd_is_group_section): Define. | |
485 | * nlm-target.h (nlm_bfd_is_group_section): Define. | |
486 | * oasys.c (oasys_bfd_is_group_section): Define. | |
487 | * pef.c (bfd_pef_bfd_is_group_section): Define. | |
488 | * ppcboot.c (ppcboot_bfd_is_group_section): Define. | |
489 | * srec.c (srec_bfd_is_group_section): Define. | |
490 | * tekhex.c (tekhex_bfd_is_group_section): Define. | |
491 | * versados.c (versados_bfd_is_group_section): Define. | |
492 | * vms.c (vms_bfd_is_group_section): Define. | |
493 | * xsym.c (bfd_sym_bfd_is_group_section): Define. | |
494 | * bfd-in2.h: Regenerate. | |
495 | * libbfd.h: Regenerate. | |
496 | ||
20f0a1ad AM |
497 | 2004-04-30 Alan Modra <amodra@bigpond.net.au> |
498 | ||
499 | * elflink.c (elf_gc_mark): Follow indirect and warning syms. | |
500 | ||
f7458fc9 | 501 | 2004-04-30 Hans-Peter Nilsson <hp@axis.com> |
7dfb3b6b HPN |
502 | |
503 | * configure.in: Update version to 2.15.91. | |
504 | * configure: Regenerate. | |
505 | ||
8a7140c3 NC |
506 | 2004-04-29 Brian Ford <ford@vss.fsi.com> |
507 | ||
508 | * bfd.c (bfd_get_sign_extend_vma): Add pe[i]-i386 case to DJGPP hack. | |
509 | * coffcode.h (DOT_DEBUG, GNU_LINKONCE_WI): Define. | |
510 | [!COFF_WITH_PE] (sec_to_styp_flags, styp_to_sec_flags): Use them. | |
511 | (coff_compute_section_file_positions) [RS6000COFF_C]: Likewise. | |
512 | [COFF_WITH_PE] (sec_to_styp_flags): Handle DWARF 2/3 .debug* and | |
513 | .gnu.linkonce.wi. sections. | |
514 | * pe-i386.c (COFF_SUPPORT_GNU_LINKONCE): Define. | |
515 | (COFF_SECTION_ALIGNMENT_ENTRIES): Add entries for .debug and | |
516 | .gnu.linkonce.wi.. | |
517 | * pei-i386.c (COFF_SUPPORT_GNU_LINKONCE): Likewise. | |
518 | (COFF_SECTION_ALIGNMENT_ENTRIES): Likewise. | |
519 | ||
3e722fb5 CD |
520 | 2004-04-28 Chris Demetriou <cgd@broadcom.com> |
521 | ||
522 | * reloc.c: Remove BFD_RELOC_PCREL_HI16_S and BFD_RELOC_PCREL_LO16. | |
523 | * bfd-in2.h: Regenerate. | |
524 | * libbfd.h: Likewise. | |
525 | ||
351e2b5a DA |
526 | 2004-04-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
527 | ||
528 | * som.c (struct som_misc_symbol_info): Add is_comdat, is_common and | |
529 | dup_common fields. | |
530 | (setup_sections): Use som_subspace_dictionary_record struct instead | |
531 | subspace_dictionary_record. Set SEC_LINK_ONCE if subspace is | |
532 | is_comdat, is_common or dup_common. | |
533 | (som_prep_headers): Use som_subspace_dictionary_record struct. Set | |
534 | is_comdat, is_common and dup_common in section subspace_dict from | |
535 | copy_data. | |
536 | (som_begin_writing): Use som_subspace_dictionary_record struct. | |
537 | (som_finish_writing): Likewise. | |
538 | (som_bfd_derive_misc_symbol_info): Add support to set is_comdat, | |
539 | is_common and dup_common flags in info for symbol. Add comment | |
540 | regarding linker support for these fields. Slightly reorganize | |
541 | function. | |
542 | (som_build_and_write_symbol_table): Set is_comdat, is_common and | |
543 | dup_common fields in symbol table from symbol info. | |
544 | (bfd_som_set_subsection_attributes): Add comdat, common and dup_common | |
545 | arguments. Set corresponding fields in copy_data. Change all callers. | |
546 | (som_bfd_ar_write_symbol_stuff): Set dup_common flag in library | |
547 | symbol table. | |
548 | (som_vec): Add SEC_LINK_ONCE to applicable section flags. | |
549 | * som.h (som_subspace_dictionary_record): Define. | |
550 | (som_copyable_section_data_struct): Add is_comdat, is_common and | |
551 | dup_common fields. | |
552 | (som_section_data_struct): Use som_subspace_dictionary_record struct | |
553 | instead of subspace_dictionary_record. | |
554 | (bfd_boolean bfd_som_set_subsection_attributes): Adjust prototype. | |
555 | ||
3ba3bc8c BW |
556 | 2004-04-27 Bob Wilson <bob.wilson@acm.org> |
557 | ||
558 | * elf32-xtensa.c (xtensa_read_table_entries): Use section _cooked_size | |
559 | if set. Check reloc_done flag before applying relocations. Use | |
560 | output addresses, both when applying relocations and when comparing | |
561 | against the specified section. | |
562 | (elf_xtensa_relocate_section): Use output address to check if dynamic | |
563 | reloc is in a literal pool. Set section's reloc_done flag. | |
564 | ||
beb8df56 L |
565 | 2004-04-27 H.J. Lu <hongjiu.lu@intel.com> |
566 | ||
567 | * elf32-sh64.c (elf_backend_section_flags): New. Defined. | |
568 | (sh64_elf_set_mach_from_flags): Remove the kludge for .cranges | |
569 | section. | |
570 | (sh64_elf_section_flags): New. Set SEC_DEBUGGING for .cranges | |
571 | section. | |
572 | ||
1829f4b2 AM |
573 | 2004-04-27 Alan Modra <amodra@bigpond.net.au> |
574 | ||
575 | * elf64-alpha.c (elf64_alpha_read_ecoff_info): Don't assign | |
576 | structure field removed in 2004-04-24 patch. | |
577 | * elf64-sparc.c (sparc64_elf_plt_sym_val): Warning fix. | |
578 | ||
579 | * elf-bfd.h (struct elf_backend_data <elf_backend_section_flags>): | |
580 | Constify hdr arg. | |
581 | * elf32-arm.h (elf32_arm_section_flags): Likewise. | |
582 | * elf64-alpha.c (elf64_alpha_section_flags): Likewise. | |
583 | * elfxx-ia64.c (elfNN_ia64_section_flags): Likewise. | |
584 | * elf.c (_bfd_elf_make_section_from_shdr): Set the bfd_section | |
585 | field before calling elf_backend_section_flags. | |
586 | ||
4030e8f6 CD |
587 | 2004-04-24 Chris Demetriou <cgd@broadcom.com> |
588 | ||
589 | * elf32-mips.c (elf_mips_gnu_rel_hi16, elf_mips_gnu_rel_lo16) | |
590 | (elf_mips_gnu_pcrel64, elf_mips_gnu_pcrel32): Remove. | |
591 | (bfd_elf32_bfd_reloc_type_lookup): Remove cases for | |
592 | BFD_RELOC_PCREL_HI16_S, BFD_RELOC_PCREL_LO16, BFD_RELOC_64_PCREL, | |
593 | and BFD_RELOC_32_PCREL. | |
594 | (mips_elf32_rtype_to_howto): Remove cases for R_MIPS_GNU_REL_HI16, | |
595 | R_MIPS_GNU_REL_LO16, R_MIPS_PC64, R_MIPS_PC32. | |
596 | * elfxx-mips.c (mips_elf_calculate_relocation): Likewise. | |
597 | (_bfd_mips_elf_lo16_reloc): Remove handling for R_MIPS_GNU_REL_HI16. | |
598 | (mips_elf_next_relocation): Move comment about matching HI/LO | |
599 | relocations to... | |
600 | (_bfd_mips_elf_relocate_section): Here. Remove handling for | |
601 | R_MIPS_GNU_REL_HI16. | |
602 | ||
3e27568f CD |
603 | 2004-04-23 Chris Demetriou <cgd@broadcom.com> |
604 | ||
605 | * coff-mips.c (mips_relhi_reloc, mips_rello_reloc) | |
606 | (mips_switch_reloc, mips_read_relocs, mips_relax_section) | |
607 | (mips_relax_pcrel16, PCREL16_EXPANSION_ADJUSTMENT): Remove. | |
608 | (mips_relocate_hi): Remove now-unused 'adjust' and 'pcrel' arguments, | |
609 | and update comments to reflect current usage. | |
610 | (mips_howto_table): Remove entries for MIPS_R_RELHI, MIPS_R_RELLO, | |
611 | and MIPS_R_SWITCH, as well as several empty entries. Update comment | |
612 | for MIPS_R_PCREL16. | |
613 | (mips_ecoff_swap_reloc_in, mips_ecoff_swap_reloc_out) | |
614 | (mips_adjust_reloc_out, mips_bfd_reloc_type_lookup): Remove support | |
615 | for MIPS_R_SWITCH, MIPS_R_RELLO, and MIPS_R_RELHI relocations. | |
616 | (mips_adjust_reloc_in): Likewise, adjust maximum accepted relocation | |
617 | type number to be MIPS_R_PCREL16. | |
618 | (mips_relocate_section): Remove support for link-time relaxation | |
619 | of branches used by embedded-PIC. Remove support for MIPS_R_SWITCH, | |
620 | MIPS_R_RELLO, and MIPS_R_RELHI relocations. | |
621 | (_bfd_ecoff_bfd_relax_section): Redefine to bfd_generic_relax_section. | |
622 | * ecoff.c (ecoff_indirect_link_order): Remove support for link-time | |
623 | relaxation of branches used by embedded-PIC. | |
624 | * ecofflink.c (bfd_ecoff_debug_accumulate): Likewise. | |
625 | * libecoff.h (struct ecoff_section_tdata): Remove embedded-PIC | |
626 | related members, update comment. | |
627 | * pe-mips.c: Remove disabled (commented-out and #if 0'd) | |
628 | code related to embedded-PIC. | |
629 | * elfxx-mips.c (_bfd_mips_elf_read_ecoff_info): Remove | |
630 | initialization of now-removed 'adjust' member of | |
631 | 'struct ecoff_debug_info'. | |
632 | ||
b32de0bc | 633 | 2004-04-23 Chris Demetriou <cgd@broadcom.com> |
8472310d CD |
634 | |
635 | * elfxx-mips.c (mips_elf_get_global_gotsym_index): Remove. | |
636 | ||
955af222 PB |
637 | 2004-04-21 Philip Blundell <pb@nexus.co.uk> |
638 | ||
639 | * elf32-arm.h (elf32_arm_check_relocs): Don't output REL32 | |
640 | relocs for locally defined symbols during -shared final link. | |
641 | (elf32_arm_final_link_relocate): Likewise. | |
642 | ||
47a9f7b3 JJ |
643 | 2004-04-22 Jakub Jelinek <jakub@redhat.com> |
644 | ||
645 | * elf64-x86-64.c (elf64_x86_64_copy_indirect_symbol): Copy also | |
646 | ELF_LINK_POINTER_EQUALITY_NEEDED. | |
647 | (elf64_x86_64_check_relocs): Set ELF_LINK_POINTER_EQUALITY_NEEDED | |
648 | if r_type is not R_X86_64_PC32. | |
649 | (elf64_x86_64_finish_dynamic_symbol): If | |
650 | ELF_LINK_POINTER_EQUALITY_NEEDED is not set, clear st_value of | |
651 | SHN_UNDEF symbols. | |
652 | ||
1f1799d5 KK |
653 | 2004-04-22 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
654 | ||
655 | * elf32-sh.c (sh_elf_plt_sym_val): New function. | |
656 | (elf_backend_plt_sym_val): Define. | |
657 | ||
0fdea5ce AC |
658 | 2004-04-22 Andrew Cagney <cagney@redhat.com> |
659 | ||
660 | * opncls.c (bfd_alloc): Fix type of "wanted" in doco. | |
661 | ||
5198ba8b DA |
662 | 2004-04-22 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
663 | ||
eb61d2d6 | 664 | * hpux-core.c (hpux_core_core_file_p): Add cast in call to |
5198ba8b DA |
665 | make_bfd_asection. |
666 | * som.c (som_set_section_contents): Constantify second argument. | |
667 | (hppa_som_gen_reloc_type): Abort for unsupported selectors. | |
668 | (som_object_setup): Rework to avoid warning. | |
669 | (setup_sections, som_write_fixups, bfd_section_from_som_symbol): | |
670 | Likewise. | |
671 | ||
fe2e161a AC |
672 | 2004-04-22 Andrew Cagney <cagney@redhat.com> |
673 | ||
674 | * cache.c (bfd_cache_close): Check for a previously closed file. | |
675 | ||
4c45e5c9 JJ |
676 | 2004-04-22 Jakub Jelinek <jakub@redhat.com> |
677 | ||
678 | * bfd.c (bfd_get_synthetic_symtab): Define. | |
679 | * targets.c (BFD_JUMP_TABLE_DYNAMIC): Add | |
680 | NAME##_get_synthetic_symtab. | |
681 | (struct bfd_target): Add _bfd_get_synthetic_symtab. | |
682 | * libbfd-in.h (_bfd_nodynamic_get_synthetic_symtab): Define. | |
683 | * elf-bfd.h (struct elf_backend_data): Add plt_sym_val and | |
684 | relplt_name fields. | |
685 | (_bfd_elf_get_synthetic_symtab): New prototype. | |
686 | * elfcode.h (elf_get_synthetic_symtab): Define. | |
687 | * elf.c (_bfd_elf_get_synthetic_symtab): New function. | |
688 | * elfxx-target.h (bfd_elfNN_get_synthetic_symtab): Define. | |
689 | (elf_backend_plt_sym_val, elf_backend_relplt_name): Define. | |
690 | (elfNN_bed): Add elf_backend_plt_sym_val and elf_backend_relplt_name. | |
691 | * bfd-in2.h: Rebuilt. | |
692 | * libbfd.h: Rebuilt. | |
693 | * elf32-i386.c (elf_i386_plt_sym_val): New function. | |
694 | (elf_backend_plt_sym_val): Define. | |
695 | * elf64-x86-64.c (elf64_x86_64_plt_sym_val): New function. | |
696 | (elf_backend_plt_sym_val): Define. | |
697 | * elf32-s390.c (elf_s390_plt_sym_val): New function. | |
698 | (elf_backend_plt_sym_val): Define. | |
699 | * elf64-s390.c (elf_s390_plt_sym_val): New function. | |
700 | (elf_backend_plt_sym_val): Define. | |
701 | * elf32-sparc (elf32_sparc_plt_sym_val): New function. | |
702 | (elf_backend_plt_sym_val): Define. | |
703 | * elf64-sparc.c (sparc64_elf_plt_sym_val): New function. | |
704 | (elf_backend_plt_sym_val): Define. | |
705 | * elf32-ppc.c (ppc_elf_plt_sym_val): New function. | |
706 | (elf_backend_plt_sym_val): Define. | |
707 | * aout-target.h (MY_get_synthetic_symtab): Define. | |
708 | * aout-tic30.c (MY_get_synthetic_symtab): Define. | |
709 | * coff-rs6000.c (rs6000coff_vec): Add | |
710 | _bfd_nodynamic_get_synthetic_symtab. | |
711 | (pmac_xcoff_vec): Likewise. | |
712 | * coff64-rs6000.c (rs6000coff64_vec): Add | |
713 | _bfd_nodynamic_get_synthetic_symtab. | |
714 | (aix5coff64_vec): Likewise. | |
715 | * sunos.c (MY_get_synthetic_symtab): Define. | |
716 | * vms.c (vms_get_synthetic_symtab): Define. | |
717 | ||
d2f7ecac NC |
718 | 2004-04-22 Nick Clifton <nickc@redhat.com> |
719 | ||
720 | * bfd.c (bfd_archive_filename): Return NULL on NULL input. | |
721 | ||
fd99574b NC |
722 | 2004-04-22 Peter Barada <peter@the-baradas.com> |
723 | ||
724 | * archures.c: Add bfd_mach_mcfv4e to bfd_architecture. | |
725 | * bfd2-in.h: Regenerate. | |
726 | * cpu-m68k.c: Add 'm68k:mcfv4e' to arch_info_struct[]. | |
727 | ||
23867d67 CD |
728 | 2004-04-21 Chris Demetriou <cgd@broadcom.com> |
729 | ||
730 | * coff-mips.c (bfd_mips_ecoff_create_embedded_relocs): Remove. | |
731 | * elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): Remove. | |
732 | * bfd-in.h (bfd_mips_ecoff_create_embedded_relocs) | |
733 | (bfd_mips_elf32_create_embedded_relocs): Remove prototypes | |
734 | * bfd-in2.h: Regenerate. | |
735 | ||
2c8c90bc BW |
736 | 2004-04-21 Bob Wilson <bob.wilson@acm.org> |
737 | ||
738 | * elf32-xtensa.c (is_same_value): Add final_static_link argument and | |
739 | require relocations against a weak symbol to reference the same | |
740 | symbol hash entry if not a final, static link. | |
741 | (get_cached_value, add_value_map): Add final_static_link argument. | |
742 | (remove_literals): Pass final_static_link argument as needed. | |
743 | ||
40838a72 AC |
744 | 2004-04-21 Andrew Cagney <cagney@redhat.com> |
745 | ||
746 | * opncls.c (_bfd_new_bfd_contained_in): Copy "iovec". | |
747 | (struct opncls, opncls_btell, opncls_bseek, opncls_bread) | |
748 | (opncls_bwrite, opncls_bclose, opncls_bflush) | |
749 | (opncls_bstat, opncls_iovec, bfd_openr_iovec): Implement a | |
750 | bfd iovec that uses function callbacks. | |
751 | (bfd_close): Use the iovec's bclose. | |
752 | * cache.c (cache_btell, cache_bseek, cache_bread, cache_bwrite) | |
753 | (cache_bclose, cache_bflush, cache_bstat) | |
754 | (cache_iovec): New functions and global variable, implement a | |
755 | cache "iovec", where applicable set bfd_error. | |
756 | (bfd_cache_init, bfd_cache_close): Set/test the bfd's iovec. | |
757 | * bfdio.c (struct bfd_iovec): Define. | |
758 | (real_read): Delete function. | |
759 | (bfd_bread, bfd_bread, bfd_bwrite, bfd_tell, bfd_flush, bfd_stat) | |
760 | (bfd_seek, bfd_get_mtime, bfd_get_size): Use the bfd's "iovec", | |
761 | assume that bread and bwrite set bfd_error. | |
762 | * bfd.c (struct bfd): Add "iovec", update comments. | |
763 | * bfd-in2.h, libbfd.h: Re-generate. | |
764 | ||
7f919c84 AC |
765 | 2004-04-21 Andrew Cagney <cagney@redhat.com> |
766 | ||
767 | * libaout.h (enum machine_type): Add M_POWERPC_NETBSD. | |
768 | ||
715df9b8 EB |
769 | 2004-04-21 Eric Botcazou <ebotcazou@act-europe.fr> |
770 | ||
771 | * elflink.c (elf_gc_mark_dynamic_ref_symbol): New function. | |
772 | (bfd_elf_gc_sections): Fail if a shared object is being created. | |
773 | Do not fail if dynamic sections have been created. Instead call | |
774 | elf_gc_mark_dynamic_ref_symbol to mark sections that contain | |
775 | dynamically referenced symbols. Do not mark the whole graph | |
776 | rooted at .eh_frame, only the section proper. | |
777 | ||
6482c264 NC |
778 | 2004-04-20 DJ Delorie <dj@redhat.com> |
779 | ||
780 | * reloc.c: Add BFD_RELOC_32_SECREL. | |
781 | * bfd-in2.h: Regenerate. | |
782 | * libbfd.h: Likewise. | |
783 | * coff-i386.c (howto_table) [COFF_WITH_PE]: Add R_SECREL32. | |
784 | (coff_i386_rtype_to_howto) [COFF_WITH_PE]: Handle it. | |
785 | (coff_i386_reloc_type_lookup) [COFF_WITH_PE]: Likewise. | |
786 | ||
4dc570c2 JJ |
787 | 2004-04-19 Jakub Jelinek <jakub@redhat.com> |
788 | ||
789 | * elf32-sparc.c (elf32_sparc_relocate_section): Handle | |
790 | relocs against hidden/protected undefweak symbols properly. | |
791 | * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. | |
792 | ||
0b60d5d3 MK |
793 | 2004-04-18 Mark Kettenis <kettenis@gnu.org> |
794 | ||
795 | * libaout.h (enum machine_type): Add M_POWERPC_NETBSD. | |
796 | * netbsd-core.c (netbsd_core_file_p): Set architecture for PowerPC | |
797 | core files. | |
798 | ||
d48bdb99 AM |
799 | 2004-04-17 Brian Ford <ford@vss.fsi.com> |
800 | ||
801 | * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Use the first non-zero | |
802 | filepos for the SizeOfHeaders field. | |
803 | (_bfd_XXi_swap_scnhdr_out): Correct section flags lossage on reloc | |
804 | overflow. | |
805 | (_bfd_XXi_swap_sym_in): Remove redundant section flags assignment. | |
806 | ||
57a1784e AM |
807 | 2004-04-16 Alan Modra <amodra@bigpond.net.au> |
808 | ||
809 | * simple.c (bfd_simple_get_relocated_section_contents): Don't | |
810 | change reloc_done. Set and restore _cooked_size. | |
811 | (RETURN): Delete. | |
812 | ||
d1ad3f6f MK |
813 | 2004-04-15 Mark Kettenis <kettenis@gnu.org> |
814 | ||
815 | * netbsd-core.c (netbsd_core_file_p): Set architecture for VAX | |
816 | core files. | |
817 | ||
3d1bca9d NC |
818 | 2004-04-15 Nick Clifton <nickc@redhat.com> |
819 | ||
820 | * bfd.c (bfd_archive_filename): Catch NULL bfd pointers. | |
821 | ||
019b892f AM |
822 | 2004-04-15 Alan Modra <amodra@bigpond.net.au> |
823 | ||
824 | * elf64-sparc.c (sparc64_elf_check_relocs): Fix thinko last change. | |
825 | ||
15b43f48 AM |
826 | 2004-04-15 H.J. Lu <hongjiu.lu@intel.com> |
827 | ||
828 | * elflink.c (_bfd_elf_merge_symbol): Treat weak as strong only | |
829 | when it is a definition. | |
830 | ||
6de00a78 AM |
831 | 2004-04-14 Alan Modra <amodra@bigpond.net.au> |
832 | ||
833 | * elf32-sparc.c (elf32_sparc_relocate_section): Don't abort | |
834 | when statically linking PIC code. | |
835 | * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. | |
836 | ||
279500de TS |
837 | 2004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
838 | ||
839 | * config.bfd: Remove mips*-*-mach3* and mips*-dec-mach3* targets. | |
840 | * configure.in: Remove mips-dec-bsd*, mips-dec-mach3*, mips-*-mach3* | |
841 | targets amd aout_mips_big_vec, aout_mips_little_vec target vectors. | |
842 | * configure: Regenerate. | |
843 | ||
ccf2f652 RS |
844 | 2004-04-08 Richard Sandiford <rsandifo@redhat.com> |
845 | ||
846 | * elflink.c: Include libiberty.h. | |
847 | * Makefile.am (elflink.lo): Depend on libiberty.h. | |
848 | * Makefile.in: Regenerate. | |
849 | ||
ca07892d DJ |
850 | 2004-04-06 Daniel Jacobowitz <drow@mvista.com> |
851 | ||
852 | * elfxx-mips.c (MIPS_ELF_STUB_SECTION_NAME): Always use | |
853 | ".MIPS.stubs". | |
854 | ||
a5a58ba4 L |
855 | 2004-04-05 H.J. Lu <hongjiu.lu@intel.com> |
856 | ||
857 | * elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Always | |
858 | reserve the memory for dynamic linker | |
859 | ||
24d18d30 MK |
860 | 2004-04-05 Mark Kettenis <kettenis@gnu.org> |
861 | ||
862 | * netbsd-core.c (CORE_WCOOKIE_OFFSET): New define. | |
863 | (netbsd_core_file_p): Create a .wcookie section for OpenBSD/sparc. | |
864 | ||
a4d7b4b5 L |
865 | 2004-04-02 H.J. Lu <hongjiu.lu@intel.com> |
866 | ||
867 | * elf32-cr16c.c (elf32_cr16c_relocate_section): Use | |
868 | RELOC_FOR_GLOBAL_SYMBOL. | |
869 | (elf32_cr16c_add_symbol_hook): Remove const from Elf_Internal_Sym. | |
870 | ||
1f433d93 L |
871 | 2004-04-02 H.J. Lu <hongjiu.lu@intel.com> |
872 | ||
873 | * elf32-arm.h (elf32_arm_final_link_relocate): Handle | |
874 | R_ARM_ALU* only if OLD_ARM_ABI is not defined. | |
875 | ||
e489d0ae PB |
876 | 2004-04-01 Paul Brook <paul@codesourcery.com> |
877 | ||
878 | * bfd-in.h (bfd_elf32_arm_process_before_allocation): Update. | |
879 | * elf32-arm.h (struct elf32_elf_section_map): New. | |
880 | (struct _arm_elf_section_data): New. | |
881 | (elf32_arm_section_data): Define. | |
882 | (struct elf32_arm_link_hash_table): Add byteswap_code. | |
883 | (elf32_arm_link_hash_table_create): Initialize byteswap_code. | |
884 | (bfd_elf32_arm_process_before_allocation): Add byteswap_code. | |
885 | (elf32_arm_post_process_headers): Set EF_ARM_BE8. | |
886 | (elf32_arm_output_symbol_hook, elf32_arm_new_section_hook, | |
887 | elf32_arm_compare_mapping, elf32_arm_write_section): New functions. | |
888 | (bfd_elf32_new_section_hook, elf_backend_write_section, | |
889 | elf_backend_link_output_symbol_hook): Define. | |
890 | ||
66a695f0 NC |
891 | 2004-04-01 Andy Chittenden <achittenden@bluearc.com> |
892 | ||
893 | * stabs.c (struct stab_link_includes_totals): Add field 'symb' | |
894 | that keeps the characters in a B_INCL..B_EINCL range. | |
895 | (_bfd_link_section_stabs): When computing the sum of the | |
896 | characters in a B_INCL..B_EINCL range also keep a copy of those | |
897 | characters. Use this information to distinguish between | |
898 | include sections that have the same sum and the same length | |
899 | but which are nevertheless unique. | |
900 | ||
8375c36b PB |
901 | 2004-03-31 Paul Brook <paul@codesourcery.com> |
902 | ||
903 | * elf32-arm.h (elf32_arm_final_link_relocate): Add R_ARM_ALU*. | |
904 | * elfarm-nabi.c (elf32_arm_howto_table): Ditto. | |
905 | ||
a56b48eb NC |
906 | 2004-03-31 Andy Chittenden <achittenden@bluearc.com> |
907 | ||
908 | * stabs.c (struct stab_link_includes_totals): Rename field 'total' | |
909 | to 'sum_chars' and add field 'num_chars'. | |
910 | (_bfd_link_section_stabs): When computing the sum of the | |
911 | characters in a B_INCL..B_EINCL range also keep a count of the | |
912 | number of characters. Use this information to help distinguish | |
913 | between include sections when have the same sum but which | |
914 | nevertheless are still unique. | |
915 | ||
3d456464 NC |
916 |