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