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