]>
Commit | Line | Data |
---|---|---|
3ed30d29 DD |
1 | 2001-04-14 Mark Elbrecht <snowball3@bigfoot.com> |
2 | ||
3 | * coffcode.h (coff_write_object_contents): Use | |
4 | bfd_coff_swap_filehdr_out instead of coff_swap_filehdr_out. | |
5 | ||
a80f6941 L |
6 | 2001-04-14 H.J. Lu <hjl@gnu.org> |
7 | ||
8 | * bfd-in2.h: Regenerate. | |
9 | ||
767e4b0d JJ |
10 | 2001-04-14 Jakub Jelinek <jakub@redhat.com> |
11 | ||
12 | * section.c (STD_SECTION): Add entsize. | |
13 | ||
2dd439c5 L |
14 | 2001-04-13 H.J. Lu <hjl@gnu.org> |
15 | ||
16 | * section.c (SEC_MERGE): Define new flag for merging. | |
17 | (SEC_STRINGS): Likewise. | |
18 | (entsize): New field. | |
19 | ||
baf80c32 DD |
20 | 2001-04-13 Roger Sayle <roger@metaphorics.com> |
21 | ||
22 | * coff-i386.c (TARGET_SYM): SEC_READONLY is an applicable section | |
23 | flag on pe-i386 targets. | |
24 | ||
f5fa8ca2 JJ |
25 | 2001-04-13 Jakub Jelinek <jakub@redhat.com> |
26 | ||
27 | * libbfd-in.h (_bfd_merge_section): New. | |
28 | (_bfd_write_merged_section): New. | |
29 | (_bfd_merged_section_offset): New. | |
30 | * libbfd.h: Rebuilt. | |
31 | * linker.c (_bfd_generic_link_output_symbols): Handle | |
32 | discard_sec_merge. | |
33 | * aoutx.h (aout_link_write_symbols): Likewise. | |
34 | * pdp11.c (aout_link_write_symbols): Likewise. | |
35 | * elflink.h (elf_link_add_object_symbols): Call _bfd_merge_section. | |
36 | (elf_bfd_final_link): Adjust global symbols pointing into SEC_MERGE | |
37 | sections. | |
38 | (elf_link_sec_merge_syms): New. | |
39 | (elf_link_input_bfd): Call _bfd_merged_section_offset | |
40 | and _bfd_write_merged_section. | |
41 | Handle discard_sec_merge. | |
42 | * elf-bfd.h (struct elf_link_hash_table): Add merge_info | |
43 | field. | |
44 | (struct bfd_elf_section_data): Likewise. | |
45 | * elf.c (_bfd_elf_make_section_from_shdr): Set SEC_MERGE and | |
46 | SEC_STRINGS section flags and entsize from their ELF counterparts. | |
47 | (_bfd_elf_link_hash_table_init): Initialize merge_info. | |
48 | (elf_fake_sections): Set SHF_MERGE, SHF_STRINGS and sh_entsize | |
49 | from their BFD counterparts. | |
50 | * merge.c: New file. | |
51 | * Makefile.am: Add strtab.lo. | |
52 | * Makefile.in: Rebuilt. | |
53 | ||
d954b040 HPN |
54 | 2001-04-09 Hans-Peter Nilsson <hp@axis.com> |
55 | ||
56 | * elflink.h (elf_fix_symbol_flags): For non-default visibilities, | |
57 | only hide symbols marked STV_INTERNAL or STV_HIDDEN. | |
58 | ||
fdbafa10 L |
59 | 2001-04-05 Steven J. Hill <sjhill@cotw.com> |
60 | ||
61 | * config.bfd (mips*el*-*-linux-gnu*): Use traditional little | |
62 | endian MIPS ELF target. | |
63 | * config.bfd (mips*-*-linux-gnu*): Use traditional big endian | |
64 | MIPS ELF target. | |
65 | ||
66 | * configure.in (bfd_elf64_tradbigmips_vec): New. Traditional | |
67 | 64bit big endian MIPS ELF target. | |
68 | (bfd_elf64_tradlittlemips_vec): New. Traditional 64bit little | |
69 | endian MIPS ELF target. | |
70 | * configure: Regenerated. | |
71 | ||
72 | * elf32-mips.c (IRIX_COMPAT): Handle traditional 64bit and | |
73 | little endian targets. | |
74 | (mips_elf_sym_is_global): Handle traditional targets. | |
75 | ||
76 | * elf64-mips.c (bfd_elf64_tradbigmips_vec): New. Traditional | |
77 | 64bit big endian MIPS ELF target. | |
78 | (bfd_elf64_tradlittlemips_vec): New. Traditional 64bit little | |
79 | endian MIPS ELF target. | |
80 | ||
81 | * targets.c: (_bfd_target_vector): Add bfd_elf64_tradbigmips_vec | |
82 | and bfd_elf64_tradlittlemips_vec. | |
83 | ||
dd484e5c L |
84 | 2001-04-05 David Mosberger <davidm@hpl.hp.com> |
85 | ||
86 | * elf32-i386.c (elf_i386_fake_sections): Treat ".reloc" as an | |
87 | ordinary "progbits" section. | |
88 | ||
391a809a AM |
89 | 2001-04-04 Alan Modra <alan@linuxcare.com.au> |
90 | ||
91 | * elflink.h (elf_fix_symbol_flags): Call elf_backend_hide_symbol | |
92 | when -Bsymbolic causes a symbol to no longer need a .plt entry. | |
93 | ||
5854c633 L |
94 | 2001-04-03 David Mosberger <davidm@hpl.hp.com> |
95 | ||
96 | * efi-app-ia32.c (ALIGN_SECTIONS_IN_FILE): Deleted. | |
97 | ||
8b4b0fac L |
98 | 2001-03-30 H.J. Lu <hjl@gnu.org> |
99 | ||
100 | * efi-app-ia32.c (PEI_TARGET_SUBSYSTEM): Rename from ... | |
101 | (PEI_DEFAULT_TARGET_SUBSYSTEM): This. | |
102 | ||
eb4a6e4f L |
103 | 2001-03-26 H.J. Lu <hjl@gnu.org> |
104 | ||
105 | * elf32-gen.c (elf32_generic_link_add_symbols): New. Check | |
106 | if there are any relocations for generic ELF. | |
107 | (bfd_elf32_bfd_link_add_symbols): Defined to | |
108 | elf32_generic_link_add_symbols. | |
109 | * elf64-gen.c (elf64_generic_link_add_symbols): New. Check | |
110 | if there are any relocations for generic ELF. | |
111 | (bfd_elf64_bfd_link_add_symbols): Defined to | |
112 | elf64_generic_link_add_symbols. | |
113 | ||
55c80943 NC |
114 | 2001-03-23 Nick Clifton <nickc@redhat.com> |
115 | ||
116 | * Makefile.am (BUILD_CFILES): New variable: List of C source | |
117 | files created in build directory. | |
118 | (BUILD_HFILES): New variable: List of header files created in | |
119 | build directory. | |
120 | (POTFILES): Delete. | |
121 | (po/POTFILES.in): Replace rule with empty entry. | |
122 | (po/SRC-POTFILES.in): New rule: Create a list of source files | |
123 | in the source directory. | |
124 | (po/BLD-POTFILES.in): New rule: Create a list of source files | |
125 | in the build directory. | |
126 | (MOSTLYCLEAN): Do not delete source files created in build | |
127 | directory. | |
128 | * Makefile.in: Regenerate. | |
129 | * configure.in: Insert SRC-POTFILES.in and BLD-POTFILES.in | |
130 | into po/Makefile. | |
131 | * configure: Regenerate. | |
132 | ||
133 | * po/Make-in: Replace occurrences of POTFILES with SRC-POTFILES | |
134 | and BLD_POTFILES. | |
135 | Add .. to the search path when building bfd.pot. | |
136 | Delete POTFILES when performing distclean. | |
137 | Add comment describing why distclean is broken in maintainer mode. | |
138 | * po/POTFILES.in: Delete. | |
139 | * po/SRC-POTFILES.in: New file. | |
140 | * po/BLD-POTFILES.in: New file. | |
141 | * po/bfd.pot: Regenerate. | |
142 | ||
58d29fc3 HPN |
143 | 2001-03-22 Hans-Peter Nilsson <hp@axis.com> |
144 | ||
915e5146 HPN |
145 | * elf32-cris.c: Shlib and PIC support. PCREL tweaks. |
146 | (elf_cris_discard_copies, elf_cris_adjust_gotplt_to_got, | |
147 | elf_cris_try_fold_plt_to_got, elf_cris_link_hash_newfunc, | |
148 | elf_cris_link_hash_table_create, elf_cris_adjust_dynamic_symbol, | |
149 | elf_cris_size_dynamic_sections, elf_cris_finish_dynamic_symbol, | |
150 | elf_cris_finish_dynamic_sections,elf_cris_hide_symbol): New | |
151 | functions. | |
152 | (cris_elf_howto_table) <R_CRIS_8_PCREL, R_CRIS_16_PCREL, | |
153 | R_CRIS_32_PCREL>: Correct comments. Set pcrel_offset to false. | |
154 | <R_CRIS_COPY, R_CRIS_GLOB_DAT, R_CRIS_JUMP_SLOT, R_CRIS_RELATIVE, | |
155 | R_CRIS_16_GOT, R_CRIS_32_GOT, R_CRIS_16_GOTPLT, R_CRIS_32_GOTPLT, | |
156 | R_CRIS_32_GOTREL, R_CRIS_32_PLT_GOTREL, R_CRIS_32_PLT_PCREL>: | |
157 | New HOWTO members for new relocs. | |
158 | (cris_reloc_map): Map new relocs. | |
159 | (ELF_DYNAMIC_INTERPRETER): Define. | |
160 | (PLT_ENTRY_SIZE): Define. | |
161 | (elf_cris_plt0_entry, elf_cris_plt_entry, elf_cris_pic_plt0_entry, | |
162 | elf_cris_pic_plt_entry): New, PLT templates. | |
163 | (struct elf_cris_pcrel_relocs_copied, struct | |
164 | elf_cris_link_hash_entry, struct elf_cris_link_hash_table): New. | |
165 | (elf_cris_link_hash_traverse, elf_cris_hash_table): Define. | |
166 | (cris_final_link_relocate): Check that 16-bit GOT relocs have | |
167 | positive values. Adjust PCREL relocs to be relative to location | |
168 | after relocation. | |
169 | (cris_elf_relocate_section): Handle relocations to dynamic | |
170 | objects. Handle new relocations. Call error handler when seeing | |
171 | non-PIC relocation for read-only sections while generating shared | |
172 | object. | |
173 | (cris_elf_check_relocs): Set reference counts for GOT and PLT | |
174 | entries. | |
175 | (bfd_elf32_bfd_link_hash_table_create, | |
176 | elf_backend_adjust_dynamic_symbol, | |
177 | elf_backend_size_dynamic_sections, | |
178 | elf_backend_finish_dynamic_symbol, | |
179 | elf_backend_finish_dynamic_sections, | |
180 | elf_backend_create_dynamic_sections, bfd_elf32_bfd_final_link, | |
181 | elf_backend_hide_symbol, elf_backend_want_got_plt, | |
182 | elf_backend_plt_readonly, elf_backend_want_plt_sym, | |
183 | elf_backend_got_header_size, elf_backend_plt_header_size): | |
184 | Define. | |
185 | ||
58d29fc3 HPN |
186 | * reloc.c: (BFD_RELOC_CRIS_COPY, BFD_RELOC_CRIS_GLOB_DAT, |
187 | BFD_RELOC_CRIS_JUMP_SLOT, BFD_RELOC_CRIS_RELATIVE, | |
188 | BFD_RELOC_CRIS_32_GOT, BFD_RELOC_CRIS_16_GOT, | |
189 | BFD_RELOC_CRIS_32_GOTPLT, BFD_RELOC_CRIS_16_GOTPLT, | |
190 | BFD_RELOC_CRIS_32_GOTREL, BFD_RELOC_CRIS_32_PLT_GOTREL, | |
191 | BFD_RELOC_CRIS_32_PLT_PCREL): New relocs. | |
192 | * bfd-in2.h, libbfd.h: Regenerate. | |
193 | ||
7a65545d DN |
194 | 2001-03-21 Diego Novillo <dnovillo@redhat.com> |
195 | ||
196 | (_bfd_mips_elf_relocate_section): Give a better error message when | |
197 | a relocation is not recognized. | |
198 | ||
b32b5d6e AM |
199 | 2001-03-21 Alan Modra <alan@linuxcare.com.au> |
200 | ||
201 | * elf32-hppa.c (elf32_hppa_set_gp): Check sec->output_section | |
202 | non-NULL before attempting to dereference. | |
203 | ||
f4fbb4a3 L |
204 | 2001-03-20 H.J. Lu <hjl@gnu.org> |
205 | ||
206 | * configure.in: Remove the redundent AC_ARG_PROGRAM. | |
207 | * configure: Rebuild. | |
208 | ||
95fc45e6 AS |
209 | 2001-03-20 Andreas Schwab <schwab@suse.de> |
210 | ||
211 | * elf32-m68k.c (elf_m68k_relocate_section): Don't need the | |
212 | relocation value when resolving a reference from a debugging | |
213 | section. | |
214 | ||
03d411a9 NC |
215 | 2001-03-16 Scott Thomason <SThomaso@hii.com> |
216 | ||
217 | * coff64-rs6000.c (xcoff64_swap_sym_out): Fix syntax errors. | |
218 | (xcoff64_swap_sym_out): Fix syntax errors. | |
219 | ||
d1659392 NC |
220 | 2001-03-16 Richard Sandiford <rsandifo@redhat.com> |
221 | ||
222 | * elf32-arm.h (elf32_arm_merge_private_bfd_data): Fix warning. | |
223 | ||
12cca0d2 AM |
224 | 2001-03-15 Alan Modra <alan@linuxcare.com.au> |
225 | ||
226 | * elf32-hppa.c (elf32_hppa_link_hash_entry): Add maybe_pic_call. | |
227 | (hppa_link_hash_newfunc): Init it. | |
228 | (hppa_type_of_stub): Only use non-PIC to PIC call stub if caller | |
229 | section appears to be non-PIC. | |
230 | (final_link_relocate): Likewise. | |
231 | (elf32_hppa_adjust_dynamic_symbol): Set maybe_pic_call for any | |
232 | possible candidate function, and set pic_call for those that will | |
233 | only have a .plt entry for the PIC call stub. | |
234 | (hppa_handle_PIC_calls): Set maybe_pic_call. | |
235 | ||
cd6ec716 DD |
236 | 2001-03-12 DJ Delorie <dj@redhat.com> |
237 | ||
238 | * elf32-sh.c (sh_elf_relocate_section): Only relocation | |
239 | R_SH_DIR8WP* relocs if they're against external symbols, else | |
240 | they're just for relaxing. Validate the reloc values. | |
241 | ||
43a0748c NC |
242 | 2001-03-12 Stefan Geuken <mail@stefan-geuken.de> |
243 | ||
244 | * binary.c (bfd_external_binary_architecture): Declare. | |
245 | (binary_object_p): If bfd_external_binary_architecture is defined, | |
246 | set the architecture to this string. | |
247 | ||
d982ba73 PB |
248 | 2001-03-11 Philip Blundell <philb@gnu.org> |
249 | ||
250 | * elf32-arm.h (elf32_arm_finish_dynamic_symbol): Don't make PLT | |
251 | entries that could serve as a definition for a weak symbol. | |
252 | ||
7898deda NC |
253 | 2001-03-08 Nick Clifton <nickc@redhat.com> |
254 | ||
255 | * Most files: Update copyright notices using Perl script created | |
256 | by Kevin Buettner <kevinb@redhat.com>. | |
257 | ||
df425bc0 NC |
258 | 2001-03-07 Nick Clifton <nickc@redhat.com> |
259 | ||
260 | * elf32-arm.h (elf32_arm_final_link_relocate): Conditionalise | |
261 | prior patch on ! defined OLD_ARM_ABI. | |
262 | ||
bcdd92f3 AJ |
263 | 2001-03-07 Andreas Jaeger <aj@suse.de> |
264 | ||
265 | * elf64-x86-64.c (elf64_x86_64_relocate_section): Fix handling of | |
266 | some relocation values. | |
267 | ||
4f3c3dbb NC |
268 | 2001-03-06 Nick Clifton <nickc@redhat.com> |
269 | ||
270 | * elf32-arm.h (elf32_arm_final_link_relocate): Clear bit zero | |
271 | of offset in BLX(1) instruction. | |
272 | * coff-arm.c (coff_arm_relocate_section): Clear bit zero of | |
273 | offset in BLX(1) instruction. | |
274 | Fix formatting. | |
275 | ||
f8f3c6cc NC |
276 | 2001-03-06 Nick Clifton <nickc@redhat.com> |
277 | ||
278 | * coff-arm.c (coff_arm_reloc_type_lookup): Add | |
279 | BFD_RELOC_THUMB_PCREL_BLX. | |
280 | ||
3cac17ae NC |
281 | 2001-03-06 Igor Shevlyakov <igor@windriver.com> |
282 | ||
283 | * archures.c (bfd_default_scan): Add Coldfire CPUs. | |
284 | * bfd-in2.h: Regenerate. | |
285 | * cpu-m68k.c: Add Coldfire CPUs for arch table. | |
286 | * ieee.c (ieee_write_processor): Set proper id for | |
287 | Coldfire CPUs. | |
288 | ||
d1b17ab0 NC |
289 | 2001-03-01 D.J. Barrow <djbarrow@de.ibm.com,barrow_dj@yahoo.com> |
290 | ||
291 | * configure.in: Add s390 target. | |
292 | * configure: Regenerate. | |
293 | ||
5608e05b AJ |
294 | 2001-02-28 Andreas Jaeger <aj@suse.de> |
295 | ||
296 | * elf64-x86-64.c (elf64_x86_64_relocate_section): Add relocation | |
297 | to addend. | |
298 | ||
fd2ec330 PB |
299 | 2001-02-28 Philip Blundell <pb@futuretv.com> |
300 | ||
301 | * elf32-arm.h: Update mentions of renamed EF_xx constants. | |
5608e05b | 302 | (elf32_arm_print_private_bfd_data): Handle ARM EABI version 2. |
fd2ec330 | 303 | |
920581c5 L |
304 | 2001-02-27 H.J. Lu <hjl@gnu.org> |
305 | ||
306 | * aoutx.h (NAME(aout,bfd_free_cached_info)): Return true if | |
307 | abfd->tdata.aout_data == NULL. | |
308 | ||
27b7e12d AM |
309 | 2001-02-27 Alan Modra <alan@linuxcare.com.au> |
310 | ||
3ee1d854 AM |
311 | * elf32-hppa.c: Correct field selector in stub comments. |
312 | (clobber_millicode_symbols): Formatting fix. | |
313 | ||
27b7e12d AM |
314 | * configure.in: Bump version to 2.11.90. |
315 | * configure: Regenerate. | |
316 | * Makefile.am (CFILES): Rename to SOURCE_CFILES. | |
317 | (CFILES): $SOURCE_CFILES + generated C files. | |
318 | (POTFILES): Include $HFILES not $SOURCE_HFILES. | |
319 | Run "make dep-am" | |
320 | * Makefile.in: Regenerate. | |
321 | * doc/Makefile.in: This too. | |
322 | ||
10d1e03a TW |
323 | 2001-02-26 Timothy Wall <twall@cygnus.com> |
324 | ||
325 | * elfxx-ia64.c (elfNN_ia64_aix_add_symbol_hook): Remove obsolete | |
5608e05b | 326 | comments. |
10d1e03a | 327 | |
1276aefa NC |
328 | 2001-02-26 Nick Clifton <nickc@redhat.com> |
329 | ||
330 | * coffcode.h (styp_to_sec_flags) [COFF_WITH_PE version]: Tidy | |
331 | up, replacing multiple if statements with a switch. | |
332 | (handle_COMDAT): New function. | |
333 | ||
334 | 2001-02-26 H.J. Lu <hjl@gnu.org> | |
335 | ||
336 | * coffcode.h (styp_to_sec_flags) [COFF_WITH_PE version]: Issue | |
337 | a warning for section flags we do not handle instead of | |
338 | aborting. | |
339 | ||
4a73f21b AJ |
340 | 2001-02-26 Andreas Jaeger <aj@suse.de> |
341 | ||
342 | * elf64-x86-64.c (x86_64_elf_howto_table): Fix order of entries. | |
343 | ||
7b6dab7f TW |
344 | 2001-02-22 Timothy Wall <twall@cygnus.com> |
345 | ||
346 | * config.bfd (targ_cpu): Add vectors for ia64-*-aix* (aka Monterey). | |
347 | * configure.in: Add objects for elf64_ia64_aix vectors. | |
348 | * configure: Regenerated. | |
349 | * configure.host: Recognize ia64-*-aix*. | |
350 | * elfxx-ia64.c: Add hooks for ELF64 on AIX5. Define new vectors | |
351 | for AIX. AIX5 requires most relocations to be dynamic (*all* | |
352 | binaries are somewhat similar to shared libraries). | |
353 | * targets.c: Add elf64_ia64_aix vectors. | |
4a73f21b | 354 | |
87f8eb97 JW |
355 | 2001-02-21 David Mosberger <davidm@hpl.hp.com> |
356 | ||
357 | * cpu-ia64-opc.c (elf64_ia64_operands}: Fix typo: error string for | |
358 | C8 said "1" instead of "8". Clarify error string for IMM22: | |
359 | "signed integer" instead of just "integer". | |
360 | ||
05aa1441 AJ |
361 | 2001-02-20 Andreas Jaeger <aj@suse.de> |
362 | ||
363 | * elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Don't make | |
364 | PLT entries that could serve as a definition for a weak symbol. | |
365 | ||
8701c1bc JJ |
366 | 2001-02-19 Jakub Jelinek <jakub@redhat.com> |
367 | ||
368 | * elf32-sparc.c (elf32_sparc_finish_dynamic_symbol): Don't make PLT | |
369 | entries that could serve as a definition for a weak symbol. | |
370 | * elf64-sparc.c (sparc64_elf_finish_dynamic_symbol): Likewise. | |
371 | ||
d4af9775 DB |
372 | 2001-02-18 David O'Brien <obrien@FreeBSD> |
373 | ||
374 | * configure.in: Recognize FreeBSD/arm, FreeBSD/PowerPC, and treat | |
375 | FreeBSD/i386-CURRENT differently until I can figure out the needed | |
376 | corefile changes. | |
377 | * configure: Regenerate. | |
378 | * config.bfd: Recognize FreeBSD/x86-64, FreeBSD/ia64, FreeBSD/arm, | |
379 | FreeBSD/PowerPC, and FreeBSD/sparc64. | |
380 | ||
e135f41b NC |
381 | 2001-02-18 lars brinkhoff <lars@nocrew.org> |
382 | ||
383 | * Makefile.am: Add PDP-11 a.out target. | |
384 | * config.bfd: Likewise. | |
385 | * configure.in: Likewise. | |
386 | * targets.c: Likewise. | |
387 | * archures.c: Likewise. | |
388 | * bfd-in2.h: Likewise. Add PDP-11 relocations. | |
389 | * libbfd.h: Add PDP-11 relocations. | |
390 | * reloc.c: Likewise. | |
391 | * cpu-pdp11.c: New file. | |
392 | * pdp11.c: New file. | |
393 | ||
394 | * libaout.h (GET_WORD) [ARCH_SIZE==16]: Define. | |
395 | (GET_SWORD) [ARCH_SIZE==16]: Likewise. | |
396 | (GET_SWORD) [ARCH_SIZE==16]: Likewise. | |
397 | (PUT_WORD) [ARCH_SIZE==16]: Likewise. | |
398 | (GET_MAGIC): New macro. | |
399 | (PUT_MAGIC): Likewise. | |
400 | * aout-target.h (MY(object_p)): Use GET_MAGIC to read magic word. | |
401 | ||
dc3febfa NC |
402 | 2001-02-18 Jim Kingdon <jkingdon@engr.sgi.com> |
403 | ||
404 | * irix-core.c (irix_core_core_file_p): Set the architecture (GDB | |
405 | multiarch needs it). | |
406 | ||
ea412e04 L |
407 | 2001-02-18 H.J. Lu <hjl@gnu.org> |
408 | ||
409 | * elflink.h (elf_link_input_bfd): Ignore invalid section symbol | |
410 | index. | |
411 | ||
47eee8a9 KH |
412 | 2001-02-18 Kazu Hirata <kazu@hxi.com> |
413 | ||
414 | * vms-misc.c: Fix formatting. | |
415 | ||
8a0c27cd KH |
416 | 2001-02-16 Kazu Hirata <kazu@hxi.com> |
417 | ||
418 | * vms.c: Fix formatting. | |
419 | ||
d1fad7c6 NC |
420 | 2001-02-14 H.J. Lu <hjl@gnu.org> |
421 | ||
422 | * elf.c (elf_find_function): New function. | |
423 | (_bfd_elf_find_nearest_line): Call elf_find_function () to find | |
424 | the file name and function name. | |
425 | ||
825b47db NC |
426 | 2001-02-14 Nick Clifton <nickc@redhat.com> |
427 | ||
51d7ee16 NC |
428 | * ecoff.c (bfd_debug_section): Update to initialise new fields in |
429 | asection structure. | |
430 | ||
825b47db NC |
431 | * Makefile.am (BFD32_BACKENDS_CFILES): Remove peigen.c |
432 | (BFD64_BACKENDS): Add pepigen.c | |
433 | Add rules to create peigen.c and pepigen.c from peXXigen.c. | |
434 | ||
435 | * Makefile.in: Regenerate. | |
436 | * configure: Regenerate. | |
437 | * po/POTFILES.in: Regenerate. | |
438 | * po/bfd.pot: Regenerate. | |
439 | ||
ea36a178 L |
440 | 2001-02-14 H.J. Lu <hjl@gnu.org> |
441 | ||
442 | * libcoff-in.h (pe_tdata): Add members target_subsystem and | |
443 | force_minimum_alignment. | |
444 | ||
407443a3 AJ |
445 | 2001-02-14 Bo Thorsen <bo@suse.de> |
446 | ||
447 | * elf64-x86-64.c: Small formatting fixes and rearrangements of code. | |
448 | (elf64_86_64_size_info): Struct added to fix a problem | |
449 | with the hashtable string entries. | |
450 | (elf64_x86_64_adjust_dynamic_symbol): Add generation of .got.plt. | |
451 | (elf64_x86_64_size_dynamic_sections): A FIXME removed. | |
452 | (elf64_x86_64_size_dynamic_sections): Fix a dynamic entry and | |
453 | remove the FIXME for this. | |
454 | (elf64_x86_64_adjust_dynamic_symbol): Fix check for unneeded .plt | |
455 | section. Also removed the FIXME for it. | |
456 | (x86_64_elf_howto_table): Use bfd_elf_generic_reloc. | |
457 | (ELF_DYNAMIC_INTERPRETER): Fix the name of the dynamic linker. | |
458 | (elf64_x86_64_finish_dynamic_sections): Enable .got.plt writing. | |
459 | ||
b4adccfd RH |
460 | 2001-02-13 Richard Henderson <rth@redhat.com> |
461 | ||
462 | * elfxx-ia64.c (elfNN_ia64_final_link): Set __gp if required | |
463 | and not user provided. | |
464 | ||
9635981a KH |
465 | 2001-02-13 Kazu Hirata <kazu@hxi.com> |
466 | ||
467 | * vms.c (vms_print_symbol): Remove unreachable code. | |
468 | ||
6a125b16 KH |
469 | * rs6000-core.c: Fix formatting. |
470 | ||
cbff5e0d DD |
471 | 2001-02-13 David Mosberger <davidm@hpl.hp.com> |
472 | ||
473 | * peicode.h (coff_swap_filehdr_out) [COFF_IMAGE_WITH_PE]: Define | |
474 | as _bfd_XXi_only_swap_filehdr_out. | |
475 | (pe_mkobject) [PEI_FORCE_MINIMUM_ALIGNMENT]: Set | |
476 | pe->force_minimum_alignment to TRUE. | |
477 | (pe_mkobject) [PEI_TARGET_SUBSYSTEM]: Set pe->target_subsystem to | |
478 | PEI_TARGET_SUBSYSTEM. | |
479 | (pe_print_private_bfd_data): Call | |
480 | _bfd_XX_print_private_bfd_data_common() instead of | |
481 | _bfd_pe_print_private_bfd_data_common(). | |
482 | (pe_bfd_copy_private_bfd_data): Call | |
483 | _bfd_XX_bfd_copy_private_bfd_data_common() instead of | |
484 | _bfd_pe_bfd_copy_private_bfd_data_common(). | |
485 | (coff_bfd_copy_private_section_data): Define as | |
486 | _bfd_XX_bfd_copy_private_section_data instead of | |
487 | _bfd_pe_bfd_copy_private_section_data. | |
488 | (coff_get_symbol_info): Define as _bfd_XX_get_symbol_info instead | |
489 | of a _bfd_pe_get_symbol_info. | |
490 | ||
491 | * peigen.c: Delete. | |
492 | ||
493 | * peXXigen.c: Renamed from peigen.c. | |
494 | (COFF_WITH_XX): Define this macro (will get expanded into | |
495 | COFF_WITH_pep or COFF_WITH_pe, depending on whether this is being | |
496 | compiled as peigen.c or pepigen.c. | |
497 | [COFF_WITH_pep]: Include "coff/ia64.h" instead of "coff/i386.h" to | |
498 | define the canonical PEP structures and definitions. | |
499 | (_bfd_XXi_swap_aouthdr_out): If pe->force_minimum_alignment is in | |
500 | effect, enforce minimum file and section alignments. If | |
501 | extra->Subsystem is IMAGE_SUBSYSTEM_UNKNOWN, set it to | |
502 | pe->target_subsystem (this defaults to IMAGE_SUBSYSTEM_UNKNOWN, | |
503 | so, by default, this is a no-op). | |
504 | ||
505 | * libpei.h: Rename COFF_WITH_PEP to COFF_WITH_pep. | |
506 | (_bfd_XX_bfd_copy_private_bfd_data_common): Add macros to map | |
507 | _bfd_XXfoo to _bfd_pepfoo if COFF_WIT_PEP is defined and to | |
508 | _bfd_pefoo if it's not defined. Use these macros to define | |
509 | coff swap macros. | |
510 | ||
511 | * libcoff.h (pe_tdata): Add members target_subsystem and | |
512 | force_minimum_alignment. | |
513 | ||
514 | * efi-app-ia64.c (COFF_WITH_pep): Rename COFF_WITH_PEP to | |
515 | COFF_WITH_pep. | |
516 | (PEI_TARGET_SUBSYSTEM): Rename from PEI_DEFAULT_TARGET_SUBSYSTEM. | |
517 | ||
518 | * configure.in (bfd_efi_app_ia64_vec): Use pepigen.lo instead of | |
519 | peigen.lo. | |
520 | ||
521 | * coff-ia64.c: Rename COFF_WITH_PEP to COFF_WITH_pep. | |
522 | (AOUTSZ): Rename PEP64AOUTSZ and PEP64AOUTHDR to PEPAOUTSZ and | |
523 | PEPAOUTHDR. | |
524 | ||
525 | * Makefile.in (BFD64_BACKENDS): Mention pepigen.lo. | |
526 | (BFD64_BACKENDS_CFILES): Mention pepigen.c | |
527 | (peigen.c): Add rule to generate from peXXigen.c. | |
528 | (pepigen.c): Ditto. | |
529 | (pepigen.lo): List dependencies for pepigen.lo. | |
530 | ||
df8634e3 AM |
531 | 2001-02-13 Alan Modra <alan@linuxcare.com.au> |
532 | ||
533 | * elf32-hppa.c (elf32_hppa_set_gp): Handle weak $global$. If | |
534 | $global$ referenced but not defined, set its value here. | |
535 | ||
51e0a107 JH |
536 | 2001-02-09 Bo Thorsen <bo@suse.de> |
537 | ||
538 | * elf64-x86-64.c (elf64_x86_64_check_relocs): Set .rela.got section | |
539 | alignment to 3. | |
540 | (elf64_x86_64_check_relocs): Write R_X86_64_GOTPCREL GOT entry | |
541 | and relocation. | |
542 | (elf64_x86_64_relocate_section): Fix formatting. | |
543 | (elf64_x86_64_relocate_section): Fix addend for relocation of | |
544 | R_X86_64_(8|16|32|PC8|PC16|PC32). | |
545 | ||
d1fad7c6 | 546 | 2001-02-12 Jan Hubicka <jh@suse.cz> |
23df1078 JH |
547 | |
548 | * elf64-x86-64.c (x86_64_elf_howto): Fix name of R_X86_64_GOTPCREL. | |
549 | ||
f0e1d18a L |
550 | 2001-02-11 H.J. Lu <hjl@gnu.org> |
551 | ||
6757257f | 552 | * elflink.h (elf_bfd_final_link): Use file_align for SYMTAB |
f0e1d18a L |
553 | alignment. |
554 | ||
9117d219 NC |
555 | 2001-02-11 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
556 | ||
557 | * elf32-mips.c (mips_elf_create_dynamic_relocation): Undo patch | |
558 | from 2000-10-13. Do not add the symbol's value for R_MIPS_REL32 | |
559 | relocations against dynsym symbols. | |
560 | ||
561 | * elf32-mips.c (elf_mips_howto_table): Fix the comment on | |
562 | the R_MIPS_26 relocation. | |
563 | (mips_elf_calculate_relocation): Use (p + 4) instead of p for | |
564 | the R_MIPS_26 relocation. | |
565 | (mips_elf_perform_relocation): Fix the comment on the R_MIPS16_26 | |
566 | relocation. | |
567 | * elf64-mips.c (mips_elf64_howto_table_rel): Fix the comment on | |
568 | the R_MIPS_26 relocation. | |
569 | (mips_elf64_howto_table_rela): Likewise. | |
570 | ||
571 | * elf32-mips.c (struct mips_elf_link_hash_entry): Added no_fn_stub | |
572 | member to mark symbols that have non-CALL relocations against | |
573 | them. | |
574 | (mips_elf_link_hash_newfunc): Initialize no_fn_stub. | |
575 | (mips_elf_calculate_relocation): Handle R_MIPS_CALL16 like | |
576 | R_MIPS_GOT16. | |
577 | (_bfd_mips_elf_check_relocs): Set no_fn_stub for a symbol if a | |
578 | non-CALL relocation against it is encountered. | |
579 | (_bfd_mips_elf_copy_indirect_symbol): Merge no_fn_stub as well. | |
580 | (_bfd_mips_elf_adjust_dynamic_symbol): Only create a stub if | |
581 | no_fn_stub is not set. | |
582 | ||
583 | * elf32-mips.c (mips_elf_output_extsym): Get the output section | |
584 | information from the real symbol for indirect ones. | |
585 | Check no_fn_stub to find out if a symbol has a function stub | |
586 | indeed. | |
587 | ||
9f93bca5 MS |
588 | 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
589 | ||
590 | * Makefile.am (stamp-lib): ranlib the libbfd.a in the build directory. | |
591 | * Makefile.in: Regenerate. | |
592 | ||
81545d45 RH |
593 | 2001-02-09 David Mosberger <davidm@hpl.hp.com> |
594 | ||
595 | * elfxx-ia64.c (is_unwind_section_name): New function. Returns | |
596 | true if section name is an unwind table section name. | |
597 | (elfNN_ia64_additional_program_headers): Count each unwind section | |
598 | separately. | |
599 | (elfNN_ia64_modify_segment_map): Install one unwind program header | |
600 | for each unwind separate section. Note: normally the linker | |
601 | script merges the unwind sections that go into a single segment, | |
602 | so this still generates at most one unwind program header per | |
603 | segment. | |
604 | ||
605 | * elfxx-ia64.c (elfNN_ia64_section_from_shdr): Accept any section | |
606 | name for SHT_IA_64_UNWIND, not just .IA_64.unwind. | |
607 | (elfNN_ia64_fake_sections): Mark sections with names that start | |
608 | with .IA_64.unwind but not with .IA_64.unwind_info as an IA-64 | |
609 | unwind section. | |
610 | ||
611 | * elfxx-ia64.c (elfNN_ia64_final_write_processing): New function. | |
612 | Use it to make sh_info in unwind section point to the text section | |
613 | it applies to. | |
614 | ||
a85d7ed0 NC |
615 | 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com> |
616 | ||
617 | * Makefile.am: Add linux target for S/390. | |
618 | * archures.c: Likewise. | |
619 | * bfd-in2.h: Likewise. | |
620 | * config.bfd: Likewise. | |
621 | * configure.in: Likewise. | |
622 | * elf.c: Likewise. | |
623 | * libbfd.h: Likewise. | |
624 | * targets.c: Likewise. | |
625 | * cpu-s390.c: New file. | |
626 | * elf32-s390.c: New file. | |
627 | * elf64-s390.c: New file. | |
628 | ||
356d255d NC |
629 | 2001-02-09 Nick Clifton <nickc@redhat.com> |
630 | ||
631 | * peigen.c (_bfd_pe_get_symbol_info): Suppress addition of | |
632 | ImageBase. This has already been done by coff_swap_hdr_in. | |
633 | ||
069f40e5 JJ |
634 | 2001-02-09 Jakub Jelinek <jakub@redhat.com> |
635 | ||
636 | * elf64-sparc.c (sparc64_elf_copy_private_bfd_data): New function. | |
637 | ||
eadfa8ab JJ |
638 | 2001-02-09 Jakub Jelinek <jakub@redhat.com> |
639 | ||
640 | * elf64-sparc.c (sparc64_elf_check_relocs): Don't trust reloc_count. | |
641 | (sparc64_elf_relocate_section): Likewise. | |
642 | ||
9fc54e19 MK |
643 | 2001-02-09 Mark Kettenis <kettenis@gnu.org> |
644 | ||
645 | * elf32-sparc.c (_bfd_sparc_elf_howto_table): Treat R_SPARC_UA32 | |
646 | similar to R_SPARC_32. | |
647 | * elf64-sparc.c (sparc64_elf_howto_table): Likewise. | |
648 | ||
1f655a09 L |
649 | 2001-02-08 H.J. Lu <hjl@gnu.org> |
650 | ||
651 | * elf32-i386.c (elf_i386_check_relocs): Reserve R_386_PC32 | |
652 | relocation entries for weak definitions when building DSO with | |
653 | -Bsymbolic. | |
654 | ||
ca88208a RH |
655 | 2001-02-08 Richard Henderson <rth@redhat.com> |
656 | ||
657 | * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Respect weakness | |
658 | before visibility. Locally defined protected symbols are not | |
659 | dynamic. | |
660 | ||
4603e845 GK |
661 | 2001-02-08 Geoffrey Keating <geoffk@redhat.com> |
662 | ||
663 | * config.bfd: Enable coff64 for rs6000-*. Patch from | |
664 | <hzoli@austin.ibm.com>. | |
665 | ||
4ca29a6a NC |
666 | 2001-02-07 Mark Elbrecht <snowball3@bigfoot.com> |
667 | ||
668 | * coffgen.c (coff_find_nearest_line): If stabs info is successfully | |
669 | found, do not attempt to find dwarf2 info before returning. | |
670 | ||
7da9d88f NC |
671 | 2001-02-07 Jakub Jelinek <jakub@redhat.com> |
672 | ||
673 | * elflink.h (is_global_symbol_definition): Rename to | |
674 | is_global_data_symbol_definition and have it reject function | |
675 | symbols. | |
676 | (elf_link_is_defined_archive_symbol): Use renamed function. | |
677 | ||
7340082d NC |
678 | 2001-02-07 Todd Vierling <tv@wasabisystems.com> |
679 | ||
680 | * libbfd-in.h (bfd_target_vector): Change extern array to pointer. | |
681 | * libbfd.h (bfd_target_vector): Likewise. | |
682 | * targets.c (bfd_target_vector): Rename to _bfd_target_vector and | |
81545d45 | 683 | make static; create pointer reference named bfd_target_vector. |
7340082d NC |
684 | (_bfd_target_vector_entries): Calculate this based on the array |
685 | typed _bfd_target_vector. | |
686 | ||
2719f880 L |
687 | 2001-02-06 H.J. Lu <hjl@gnu.org> |
688 | ||
689 | * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Only hidden and | |
690 | internal symbols are not dynamic. | |
691 | * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise. | |
692 | ||
175aa013 NC |
693 | 2001-02-06 Nick Clifton <nickc@redhat.com> |
694 | ||
695 | * Makefile.am (BFD64_BACKENDS_CFILES): Remove elf64-ia64.c, so | |
696 | that it will not be pulled into the list of files that make up | |
697 | po/POTFILES.in. | |
698 | * Makefile.in: Regenerate. | |
699 | * po/bfd.pot: Regenerate. | |
700 | ||
15e0ecd9 L |
701 | 2001-02-06 H.J. Lu <hjl@gnu.org> |
702 | ||
7898deda | 703 | * peicode.h (coff_swap_filehdr_in): Remove the e_magic |
15e0ecd9 L |
704 | checking. |
705 | (pe_bfd_object_p): Rewrite with external_PEI_DOS_hdr and | |
706 | external_PEI_IMAGE_hdr. | |
707 | ||
27def10f KH |
708 | 2001-02-06 Kazu Hirata <kazu@hxi.com> |
709 | ||
710 | * elf-m10200.c: Fix formatting. | |
711 | ||
a0f2e916 NC |
712 | 2001-02-04 Nick Clifton <nickc@redhat.com> |
713 | ||
714 | * elf32-v850.c (v850_elf_reloc): Do not convert reloc addend to PC | |
715 | rel, it will be handled later on. | |
716 | ||
d96031fb NC |
717 | 2001-02-02 Fred Fish <fnf@ninemoons.com> |
718 | ||
719 | * Makefile.in: Fix typo. | |
720 | ||
010ac81f KH |
721 | 2001-02-01 Kazu Hirata <kazu@hxi.com> |
722 | ||
723 | * elf-m10300.c: Fix formatting. | |
724 | ||
3fab46d0 AM |
725 | 2001-01-30 Alan Modra <alan@linuxcare.com.au> |
726 | ||
727 | * elf64-hppa.c (elf64_hppa_elf_get_symbol_type): New function. | |
728 | (elf_backend_get_symbol_type): Define. | |
d9634ba1 AM |
729 | (elf64_hppa_object_p): Set architecture and machine from elf |
730 | header flags. | |
3fab46d0 | 731 | |
95404643 RH |
732 | 2001-01-30 Curtis L. Janssen <cljanss@ca.sandia.gov> |
733 | ||
734 | * elf64-alpha.c (elf64_alpha_find_nearest_line): Query dwarf2 | |
735 | before mdebug. | |
736 | ||
8fb35fed RH |
737 | 2001-01-26 Richard Henderson <rth@redhat.com> |
738 | ||
739 | * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Return false | |
740 | for non-default visibility. | |
741 | * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise, but | |
742 | delete ugly macro and replace with pretty function. | |
743 | ||
a4f68544 NC |
744 | 2001-01-25 Mark Elbrecht <snowball3@bigfoot.com> |
745 | ||
746 | * coff-go32.c: Update copyright. | |
747 | * coff-stgo32.c: Likewise. | |
748 | * coff-go32.c (COFF_LONG_FILENAMES): Define. | |
749 | * coff-stgo32.c (COFF_LONG_FILENAMES): Likewise. | |
750 | * coff-go32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Remove .bss entry. | |
751 | * coff-stgo32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Likewise. | |
752 | ||
c02e7c3e KH |
753 | 2001-01-25 Kazu Hirata <kazu@hxi.com> |
754 | ||
755 | * bfd-in2.h: Rebuild. | |
756 | * libbfd.h: Likewise. | |
757 | ||
541389e2 L |
758 | 2001-01-23 H.J. Lu <hjl@gnu.org> |
759 | ||
760 | * bfd-in2.h: Rebuild. | |
761 | ||
0007625f L |
762 | 2001-01-23 H.J. Lu <hjl@gnu.org> |
763 | ||
764 | * vms-misc.c (_bfd_vms_next_record): Return -1 if PRIV(vms_buf) | |
765 | is NULL or PRIV(vms_rec) is outside of the buffer. | |
766 | ||
b653e1b1 KH |
767 | 2001-01-23 Kazu Hirata <kazu@hxi.com> |
768 | ||
769 | * coff64-rs6000.c: Fix formatting. | |
770 | * coff-arm.c: Likewise. | |
771 | * coffgen.c: Likewise. | |
772 | * cofflink.c: Likewise. | |
773 | * coff-mcore.c: Likewise. | |
774 | * coff-mips.c: Likewise. | |
775 | * coff-pmac.c: Likewise. | |
776 | * coff-ppc.c: Likewise. | |
777 | * coff-rs6000.c: Likewise. | |
778 | * elf32.c: Likewise. | |
779 | * elf32-fr30.c: Likewise. | |
780 | * elf32-i370.c: Likewise. | |
781 | * elf32-i860.c: Likewise. | |
782 | * elf32-m32r.c: Likewise. | |
783 | * elf32-m68k.c: Likewise. | |
784 | * elf32-mcore.c: Likewise. | |
785 | * elf32-ppc.c: Likewise. | |
786 | * elf32-sh.c: Likewise. | |
787 | * elf32-v850.c: Likewise. | |
788 | * elf64-alpha.c: Likewise. | |
789 | * elf64-sparc.c: Likewise. | |
790 | * elflink.c: Likewise. | |
791 | * elflink.h: Likewise. | |
792 | * elf-m10200.c: Likewise. | |
793 | * elf-m10300.c: Likewise. | |
794 | * elfxx-ia64.c: Likewise. | |
795 | ||
3fde5a36 KH |
796 | * aoutx.h: Fix formatting. |
797 | * bfd.c: Likewise. | |
798 | * bfd-in2.h: Likewise. | |
799 | * bfd-in.h: Likewise. | |
800 | * cpu-i386.c: Likewise. | |
801 | * cpu-m68hc11.c: Likewise. | |
802 | * dwarf2.c: Likewise. | |
803 | * elf64-x86-64.c: Likewise. | |
804 | * format.c: Likewise. | |
805 | * freebsd.h: Likewise. | |
806 | * hash.c: Likewise. | |
807 | * hp300hpux.c: Likewise. | |
808 | * hppabsd-core.c: Likewise. | |
809 | * hpux-core.c: Likewise. | |
810 | ||
70256ad8 AJ |
811 | 2001-01-22 Bo Thorsen <bo@suse.de> |
812 | ||
813 | * elf64-x86-64.c: Added PIC support for X86-64. | |
814 | (elf64_x86_64_link_hash_newfunc): Function added. | |
815 | (elf64_x86_64_link_hash_table_create): Likewise. | |
816 | (elf64_x86_64_check_relocs): Likewise. | |
817 | (elf64_x86_64_gc_mark_hook): Likewise. | |
818 | (elf64_x86_64_gc_sweep_hook): Likewise. | |
819 | (elf64_x86_64_adjust_dynamic_symbol): Likewise. | |
820 | (elf64_x86_64_size_dynamic_sections): Likewise. | |
821 | (elf64_x86_64_discard_copies): Likewise. | |
822 | (elf64_x86_64_finish_dynamic_symbol): Likewise. | |
823 | (elf64_x86_64_finish_dynamic_sections): Likewise. | |
824 | (elf64_x86_64_relocate_section): Add relocation of PIC sections. | |
825 | ||
ee0bebb8 AJ |
826 | 2001-01-21 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
827 | ||
828 | * Makefile.am (install-data-local): Make use of $(DESTDIR). | |
829 | * Makefile.in: Regenerate. | |
830 | ||
2a38f751 KH |
831 | 2001-01-21 Kazu Hirata <kazu@hxi.com> |
832 | ||
833 | * coff-a29k.c: Fix formatting. | |
834 | ||
c8492176 L |
835 | 2001-01-19 H.J. Lu <hjl@gnu.org> |
836 | ||
837 | * elf32-i386.c (elf_i386_check_relocs): Report files with bad | |
838 | relocation section names. | |
839 | (elf_i386_relocate_section): Report files with bad relocation | |
840 | section names and return false. | |
841 | ||
a5377ec0 AJ |
842 | 2001-01-17 Bo Thorsen <bo@suse.de> |
843 | ||
844 | * targets.c: Alphabetize list of xvecs. | |
845 | ||
b352eebf AM |
846 | 2001-01-14 Alan Modra <alan@linuxcare.com.au> |
847 | ||
d952f17a AM |
848 | * config.bfd: Add linux target variant for elfxx-hppa. |
849 | * configure.in: Recognize bfd_elf32_hppa_linux_vec and | |
850 | bfd_elf64_hppa_linux_vec. | |
851 | * configure: Regenerate. | |
852 | * elf64-hppa.c: Include elf64-target.h again to support linux | |
853 | target variant. | |
854 | (elf64_hppa_post_process_headers): Set ELFOSABI_LINUX for linux. | |
855 | * elf32-hppa.c: Include elf32-target.h again to support linux | |
856 | target variant. | |
857 | (elf32_hppa_post_process_headers): New function. | |
858 | (elf_backend_post_process_headers): Define. | |
859 | * targets.c (bfd_target_vector): Add bfd_elf64_hppa_linux_vec and | |
860 | bfd_elf32_hppa_linux_vec. | |
861 | ||
c46b7515 AM |
862 | * elf32-hppa.c (elf32_hppa_link_hash_table): Add text_segment_base, |
863 | and data_segment_base fields. | |
864 | (elf32_hppa_link_hash_table_create ): Init them. | |
865 | (elf32_hppa_check_relocs): Update comments. | |
866 | (hppa_record_segment_addr): New function. | |
867 | (elf32_hppa_relocate_section): Call it. | |
868 | (final_link_relocate): Handle R_PARISC_SEGREL32. | |
869 | (elf32_hppa_final_link): New function. | |
870 | (bfd_elf32_bfd_final_link): Define to call it. | |
871 | (hppa_unwind_entry_compare): New function. | |
872 | * cache.c (bfd_open_file): Create files in write+read mode. | |
873 | ||
874 | * elf-hppa.h (elf_hppa_howto_table): Set bitsize value for | |
875 | SEGREL32 and numerous other relocs. Change duplicate | |
876 | R_PARISC_NONE relocs to R_PARISC_UNIMPLEMENTED. | |
877 | ||
d768008d AM |
878 | * opncls.c (bfd_fdopenr): Add parens like the comment says around |
879 | O_ACCMODE. | |
880 | ||
150ccafb AM |
881 | * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Don't create |
882 | .plt entries for DT_INIT and DT_FINI. | |
883 | (elf32_hppa_finish_dynamic_sections): Remove special handling of | |
884 | DT_INIT and DT_FINI. | |
885 | ||
b352eebf AM |
886 | * elf64-hppa.c (elf64_hppa_finish_dynamic_symbol): Use 16-bit |
887 | offsets for stub .plt access if wide mode. Check offset in range. | |
888 | ||
b3b9a062 NC |
889 | 2001-01-13 Nick Clifton <nickc@redhat.com> |
890 | ||
b7ed8fad NC |
891 | * elf32-fr30.c (fr30_elf_howto_table): Remove spurious blank |
892 | line. | |
893 | ||
b3b9a062 NC |
894 | * coffcode.h (coff_canonicalize_reloc): Remove spurious blank |
895 | line. | |
896 | ||
6e0b89ee AM |
897 | 2001-01-12 Alan Modra <alan@linuxcare.com.au> |
898 | ||
899 | * configure.in ([bfd_elf64_x86_64_vec]): Set target64. | |
900 | * configure: Regenerate. | |
901 | ||
0d2bcfaf NC |
902 | 2001-01-11 Peter Targett <peter.targett@arccores.com> |
903 | ||
904 | * bfd-in2.h (bfd_architecture): Add bfd_mach_arc_5, | |
905 | bfd_mach_arc_6, bfd_mach_arc_7, bfd_mach_arc_8 for ARC variants. | |
906 | * cpu-arc.c (arch_info_struct): Add entries for variants. | |
907 | (bfd_arc_arch) Set default to bfd_mach_arc_5. | |
908 | (arc_get_mach) Don't assume machine names prefixed arc- before | |
909 | testing. | |
910 | * elf32-arc.c (arc_elf_object_p): Set machine number based on new | |
911 | selections. | |
912 | (arc_elf_final_write_processing) Likewise. | |
913 | (ELF_MACHINE_CODE) Use EM_ARC. | |
914 | ||
c31c1f70 NC |
915 | 2001-01-10 Nick Clifton <nickc@redhat.com> |
916 | ||
2758140b | 917 | * coff-arm.c (LOCAL_LABEL_PREFIX): Change definition to "". |
c31c1f70 | 918 | |
5ad083e3 PB |
919 | 2001-01-07 Philip Blundell <philb@gnu.org> |
920 | ||
921 | * README: Replace `bug-gnu-utils@gnu.org' with | |
922 | `bug-binutils@gnu.org'. | |
923 | ||
7eae7d22 KH |
924 | 2001-01-04 Kazu Hirata <kazu@hxi.com> |
925 | ||
926 | * som.c: Fix formatting. | |
927 | ||
509945ae KH |
928 | 2001-01-03 Kazu Hirata <kazu@hxi.com> |
929 | ||
3e932841 KH |
930 | * ecoffswap.h: Fix formatting. |
931 | * elf-bfd.h: Likewise. | |
932 | * elfarm-nabi.c: Likewise. | |
933 | * elfarm-oabi.c: Likewise. | |
934 | * elfcode.h: Likewise. | |
935 | * elfcore.h: Likewise. | |
936 | * elflink.c: Likewise. | |
937 | * elflink.h: Likewise. | |
938 | * elfxx-ia64.c: Likewise. | |
939 | * elfxx-target.h: Likewise. | |
940 | * libbfd.c: Likewise | |
509945ae KH |
941 | * linker.c: Likewise. |
942 | * lynx-core.c: Likewise. | |
943 | ||
892339ee KH |
944 | 2001-01-02 Kazu Hirata <kazu@hxi.com> |
945 | ||
946 | * pc532-mach.c: Fix formatting. | |
947 | * pe-arm.c: Likewise. | |
948 | * pe-i386.c: Likewise. | |
949 | * pe-mips.c: Likewise. | |
950 | * pe-ppc.c: Likewise. | |
951 | * pe-sh.c: Likewise. | |
952 | * pei-mips.c: Likewise. | |
953 | * pei-sh.c: Likewise. | |
ee91ed79 | 954 | * peicode.h: Likewise. |
892339ee KH |
955 | * ppcboot.c: Likewise. |
956 | * ptrace-core.c: Likewise. | |
957 | ||
3d855632 KH |
958 | 2001-01-01 Kazu Hirata <kazu@hxi.com> |
959 | ||
960 | * reloc.c: Fix formatting. | |
961 | * riscix.c: Likewise. | |
962 | * rs6000-core.c: Likewise. | |
963 | * xcoff-target.h: Likewise. | |
964 | ||
a77a9fef HPN |
965 | 2000-12-29 Hans-Peter Nilsson <hp@bitrange.com> |
966 | ||
967 | * elfcode.h (elf_object_p): Also restore the bfd mach field on | |
968 | error, by calling bfd_default_set_arch_mach with incoming | |
969 | values. | |
970 | ||
558e161f KH |
971 | 2000-12-26 Kazu Hirata <kazu@hxi.com> |
972 | ||
973 | * vaxnetbsd.c: Fix formatting. | |
974 | * versados.c: Likewise. | |
975 | * vms-gsd.c: Likewise. | |
976 | * vms-hdr.c: Likewise. | |
977 | * vms-misc.c: Likewise. | |
978 | ||
3c579812 AO |
979 | 2000-12-25 Alexandre Oliva <aoliva@redhat.com> |
980 | ||
981 | * archive.c (coff_write_armap): Don't write more than symbol_count | |
982 | `archive_member_file_ptr's. | |
983 | ||
672579e9 KH |
984 | 2000-12-25 Kazu Hirata <kazu@hxi.com> |
985 | ||
986 | * vms-tir.c: Fix formatting. | |
987 | ||
55f2d5ed KH |
988 | 2000-12-23 Kazu Hirata <kazu@hxi.com> |
989 | ||
990 | * vms.c: Fix formatting. | |
991 | * vms.h: Likewise. | |
992 | ||
23ccc829 NC |
993 | 2000-12-21 Santeri Paavolainen <santtu@ssh.com> |
994 | ||
995 | * vms-hdr.c: Include alloca.h if HAVE_ALLOCA_H is defined. | |
996 | ||
997 | * peicode.h (pe_ILF_object_p): Add const to import of TARGET_LITTLE_SYM. | |
998 | ||
999 | * elf32-m32r.c (m32r_elf_generic_reloc): Add cast to avoid (void *) | |
1000 | arithmetic. | |
1001 | ||
1002 | * elf32-fr30.c: Add casts to avoid (void *) arithmetic. | |
1003 | ||
1004 | * coffcode.h (styp_to_sec_flags): Add empty statement after label. | |
1005 | ||
8c603c85 NC |
1006 | 2000-12-21 Richard Sandiford <rsandifo@redhat.com> |
1007 | ||
1008 | * libbfd.c (bfd_get_bits): Added | |
1009 | (bfd_put_bits): Likewise | |
1010 | * bfd-in.h: Declared the above. | |
1011 | * bfd-in2.h: Regenerated. | |
1012 | ||
5bff4f56 KH |
1013 | 2000-12-20 Kazu Hirata <kazu@hxi.com> |
1014 | ||
1015 | * targets.c: Fix formatting. | |
1016 | * tekhex.c: Likewise. | |
1017 | * trad-core.c: Likewise. | |
1018 | ||
7b82c249 KH |
1019 | 2000-12-19 Kazu Hirata <kazu@hxi.com> |
1020 | ||
1021 | * sco5-core.c: Fix formatting. | |
1022 | * section.c: Likewise. | |
1023 | * sparclinux.c: Likewise. | |
1024 | * sparclynx.c: Likewise. | |
1025 | * sparcnetbsd.c: Likewise. | |
1026 | * srec.c: Likewise. | |
1027 | * stabs.c: Likewise. | |
1028 | * stab-syms.c: Likewise. | |
1029 | * sunos.c: Likewise. | |
1030 | * syms.c: Likewise. | |
1031 | * sysdep.h: Likewise. | |
1032 | ||
f78c5281 NC |
1033 | 2000-12-18 Nick Clifton <nickc@redhat.com> |
1034 | ||
1035 | * coff-arm.c (EXTRA_S_FLAGS): Only define if not already | |
1036 | defined. | |
1037 | * epoc-pe-arm.c (EXTRA_S_FLAGS): Define. | |
1038 | * epoc-pei-arm.c (EXTRA_S_FLAGS): Define. | |
1039 | ||
02b89dce NC |
1040 | 2000-12-18 Nick Clifton <nickc@redhat.com> |
1041 | ||
1042 | * vms-misc.c (_bfd_vms_get_record): Add default case to | |
1043 | file_format switch. | |
1044 | ||
d20966a7 NC |
1045 | 2000-12-15 Miloslav Trmac <mitr@volny.cz> |
1046 | ||
1047 | * elfcore.h (elf_core_file_p): Move to the start of the program | |
1048 | headers before attempting to read them. | |
1049 | ||
6fa957a9 KH |
1050 | 2000-12-14 Kazu Hirata <kazu@hxi.com> |
1051 | ||
1052 | * peigen.c: Fix formatting. | |
1053 | * som.c: Likewise. | |
1054 | * som.h: Likewise. | |
1055 | ||
9602af51 KH |
1056 | 2000-12-13 Kazu Hirata <kazu@hxi.com> |
1057 | ||
1058 | * peigen.c: Fix formatting. | |
1059 | ||
514829c3 JW |
1060 | 2000-12-12 Jim Wilson <wilson@redhat.com> |
1061 | ||
1062 | * elfxx-ia64.c (get_dyn_sym_info): Cast %p argument to void *. | |
1063 | ||
3a71aec8 NC |
1064 | 2000-12-08 Mark Salter <msalter@redhat.com> |
1065 | ||
1066 | * binary.c (binary_set_section_contents): Ignore sections | |
1067 | with zero size. | |
1068 | ||
1518639e KH |
1069 | 2000-12-12 Kazu Hirata <kazu@hxi.com> |
1070 | ||
1071 | * m68klinux.c: Fix formatting. | |
1072 | * m68knetbsd.c: Likewise. | |
1073 | * mipsbsd.c: Likewise. | |
1074 | * netbsd-core.c: Likewise. | |
1075 | * netbsd.h: Likewise. | |
1076 | * newsos3.c: Likewise. | |
1077 | * nlm32-alpha.c: Likewise. | |
1078 | * nlm32-i386.c: Likewise. | |
1079 | * nlm32-ppc.c: Likewise. | |
1080 | * nlm32-sparc.c: Likewise. | |
1081 | * nlmcode.h: Likewise. | |
1082 | * nlmswap.h: Likewise. | |
1083 | * nlm-target.h: Likewise. | |
1084 | * ns32knetbsd.c: Likewise. | |
1085 | ||
b79e8c78 NC |
1086 | 2000-12-10 Fred Fish <fnf@be.com> |
1087 | ||
d952f17a AM |
1088 | * elflink.h (elf_link_output_extsym): Don't complain about undefined |
1089 | symbols in shared objects if allow_shlib_undefined is true. | |
b79e8c78 | 1090 | |
38b1a46c NC |
1091 | 2000-12-12 Nick Clifton <nickc@redhat.com> |
1092 | ||
1093 | * cpu-sh.c: Fix formattng. | |
1094 | * elf.c: Fix formattng. | |
1095 | * elf32-mips.c: Fix formattng. | |
1096 | * elf32-sh.c: Fix formattng. | |
1097 | * elf64-alpha.c: Fix formattng. | |
1098 | ||
857ec808 NC |
1099 | 2000-12-09 Nick Clifton <nickc@redhat.com> |
1100 | ||
1101 | * elf32-mips.c (_bfd_mips_elf_find_nearest_line): Pass | |
1102 | dwarf2_find_line_info as last parameter to invocation of | |
1103 | _bfd_dwarf2_find_nearest_line. | |
1104 | * elf32-arm.h (elf32_arm_find_nearest_line): Pass | |
1105 | dwarf2_find_line_info as last parameter to invocation of | |
1106 | _bfd_dwarf2_find_nearest_line. | |
1107 | ||
51db3708 NC |
1108 | 2000-12-08 Mark Elbrecht <snowball3@bigfoot.com> |
1109 | ||
1110 | * Makefile.am (BFD32_BACKENDS): Move dwarf2.lo from here... | |
857ec808 NC |
1111 | (BFD_LIBS): ...to here. |
1112 | (BFD32_BACKENDS_CFILES): Move dwarf2.c from here... | |
1113 | (BFD_LIBS_CFILES): ...to here. | |
51db3708 NC |
1114 | * Makefile.in: Regenerate. |
1115 | * configure.in: Remove dwarf.lo from the elf shell variable. | |
1116 | * configure: Regenerate. | |
1117 | * libcoff-in.h (coff_tdata): Add pointer dwarf2_find_line_info. | |
1118 | * libcoff.h: Regenerate. | |
d952f17a | 1119 | * coffgen.c (coff_find_nearest_line): Call |
857ec808 | 1120 | _bfd_dwarf2_find_nearest_line. |
51db3708 | 1121 | * dwarf2.c (_bfd_dwarf2_find_nearest_line): Add parameter. Update |
857ec808 NC |
1122 | accordingly. |
1123 | (read_abbrevs): Likewise | |
1124 | (decode_line_info): Likewise. | |
1125 | (parse_comp_unit): Likewise. | |
1126 | (comp_unit_find_nearest_line): Likewise. | |
51db3708 NC |
1127 | * libbfd-in.h (_bfd_dwarf2_find_nearest_line): Update prototype. |
1128 | * libbfd.h: Regenerate. | |
1129 | * elf.c (_bfd_elf_find_nearest_line): Update call. | |
1130 | * elf-bfd.h (elf_obj_tdata): Change dwarf2_find_line_info to type PTR. | |
1131 | * dwarf2.c (concat_filename): Use IS_ABSOLUTE_PATH. | |
1132 | * coffcode.h (STYP_XCOFF_DEBUG, STYP_DEBUG_INFO): New macros. | |
857ec808 NC |
1133 | (sec_to_styp_flags): Use them. Handle DWARF2 sections. |
1134 | (styp_to_sec_flags): Handle DWARF2 sections. | |
1135 | * elf32-arm.h (elf32_arm_find_nearest_line): Add parameter to call | |
1136 | to _bfd_find_nearest_line. | |
1137 | * elf32-mips.c (_bfd_mips_elf_find_nearest_line): Add parameter to | |
1138 | call to _bfd_find_nearest_line. | |
d952f17a | 1139 | |
435b1e90 KH |
1140 | 2000-12-08 Kazu Hirata <kazu@hxi.com> |
1141 | ||
1142 | * coffgen.c: Fix formatting. | |
fe8bc63d | 1143 | * elf-m10300.c: Likewise. |
435b1e90 KH |
1144 | * elf32-i386.c: Likewise. |
1145 | * elf32-i960.c: Likewise. | |
1146 | * elf32-m68k.c: Likewise. | |
1147 | * elf32-mcore.c: Likewise. | |
1148 | * elf32-ppc.c: Likewise. | |
1149 | * elf32-sh.c: Likewise. | |
1150 | * elf32-sparc.c: Likewise. | |
1151 | * elf32-v850.c: Likewise. | |
fe8bc63d KH |
1152 | * elf64-alpha.c: Likewise. |
1153 | * elf64-hppa.c: Likewise. | |
1154 | * elf64-mips.c: Likewise. | |
435b1e90 | 1155 | * elf64-sparc.c: Likewise. |
435b1e90 | 1156 | |
8da6118f KH |
1157 | 2000-12-07 Kazu Hirata <kazu@hxi.com> |
1158 | ||
1159 | * elf32-ppc.c: Fix formatting. | |
1160 | * elf64-x86-64.c: Likewise. | |
1161 | ||
a9922e52 UC |
1162 | 2000-12-06 Ulf Carlsson <ulfc@engr.sgi.com> |
1163 | ||
1164 | From Ralf Baechle <ralf@gnu.org> | |
1165 | ||
1166 | * elf32-mips.c (elf32_mips_merge_private_bfd_data): Always permit | |
1167 | BFDs containing no sections or empty .text, .data or .bss sections | |
1168 | to be merged, regardless of their flags. | |
1169 | ||
c3668558 KH |
1170 | 2000-12-06 Kazu Hirata <kazu@hxi.com> |
1171 | ||
1172 | * elf32-m32r.c: Fix formatting. | |
1173 | * elf32-m68hc11.c: Likewise. | |
1174 | * elf32-m68hc12.c: Likewise. | |
1175 | * elf32-m68k.c: Likewise. | |
1176 | * elf32-mcore.c: Likewise. | |
1177 | * elf32-pj.c: Likewise. | |
1178 | * elf32-ppc.c: Likewise. | |
1179 | ||
6609fa74 KH |
1180 | 2000-12-05 Kazu Hirata <kazu@hxi.com> |
1181 | ||
1182 | * elf32-fr30.c: Fix formatting. | |
1183 | * elf32-hppa.c: Likewise. | |
1184 | * elf32-i370.c: Likewise. | |
1185 | * elf32-i386.c: Likewise. | |
1186 | * elf32-i860.c: Likewise. | |
1187 | * elf32-i960.c: Likewise. | |
1188 | ||
a7c10850 KH |
1189 | 2000-12-03 Kazu Hirata <kazu@hxi.com> |
1190 | ||
1191 | * elf32-arm.h: Fix formatting. | |
1192 | * elf32-avr.c: Likewise. | |
1193 | * elf32-cris.c: Likewise. | |
1194 | * elf32-d10v.c: Likewise. | |
1195 | * elf32-d30v.c: Likewise. | |
1196 | * elf-hppa.h: Likewise. | |
1197 | * elf-m10200.c: Likewise. | |
1198 | * elf-m10300.c: Likewise. | |
1199 | ||
e7af610e NC |
1200 | 2000-12-01 Chris Demetriou <cgd@sibyte.com> |
1201 | ||
d952f17a AM |
1202 | * aoutx.h (NAME(aout,machine_type)): Add bfd_mach_mips32 and |
1203 | bfd_mach_mips32_4k. Update FIXME comment. | |
1204 | * archures.c (bfd_mach_mips32): New constant. | |
1205 | (bfd_mach_mips4K, bfd_mach_mips32_4k) Rename the former to | |
1206 | the latter, renumber it. | |
1207 | * bfd-in2.h (bfd_mach_mips32): New constant. | |
1208 | (bfd_mach_mips4K, bfd_mach_mips32_4k) Rename the former to | |
1209 | the latter, renumber it. | |
1210 | * cpu-mips.c (I_mips32): New constant. | |
1211 | (I_mips4K, I_mips32_4k): Rename the former to the latter. | |
1212 | (arch_info_struct): Add bfd_mach_mips32 entry, replace | |
1213 | bfd_mach_mips4K entry with bfd_mach_mips32_4k entry. | |
1214 | * elf32-mips.c (elf_mips_isa): Add E_MIPS_ARCH_32 case. | |
1215 | (elf_mips_mach): Likewise. Also, replace E_MIPS_MACH_MIPS32 | |
1216 | with E_MIPS_MACH_MIPS32_4K. | |
1217 | (_bfd_mips_elf_final_write_processing): Replace | |
1218 | bfd_mach_mips4K with bfd_mach_mips32_4k case, add | |
1219 | bfd_mach_mips32 case. | |
1220 | (_bfd_mips_elf_merge_private_bfd_data): Generalize ISA mixing | |
1221 | comparison with support for MIPS32. | |
1222 | (_bfd_mips_elf_print_private_bfd_data): Print ISA name for | |
1223 | MIPS32. | |
1224 | ||
1225 | * aoutx.h (NAME(aout,machine_type)): Add cases for | |
1226 | bfd_mach_mips5 and bfd_mach_mips64. | |
1227 | * archures.c (bfd_mach_mips5, bfd_mach_mips64): New constants. | |
1228 | * bfd-in2.h (bfd_mach_mips5, bfd_mach_mips64): Likewise. | |
1229 | * cpu_mips.c (I_mips5, I_mips64): New definitions. | |
1230 | (arch_info_struct): Add entries for bfd_mach_mips5 and | |
1231 | bfd_mach_mips64. | |
1232 | * elf32-mips.c (elf_mips_isa, elf_mips_mach, | |
1233 | _bfd_mips_elf_print_private_bfd_data): Add cases for | |
1234 | E_MIPS_ARCH_5 and E_MIPS_ARCH_64. | |
1235 | (_bfd_mips_elf_final_write_processing): Add cases for | |
1236 | bfd_mach_mips5 and bfd_mach_mips64. | |
1237 | ||
7898deda | 1238 | * aoutx.h (NAME(aout,machine_type)): Add a |
d952f17a | 1239 | bfd_mach_mips_sb1 case. |
7898deda NC |
1240 | * archures.c (bfd_mach_mips_sb1): New constant. |
1241 | * bfd-in2.h (bfd_mach_mips_sb1): New constant. | |
1242 | * cpu-mips.c (I_sb1): New constant. | |
d952f17a | 1243 | (arch_info_struct): Add entry for bfd_mach_mips_sb1. |
7898deda | 1244 | * elf32-mips.c (elf_mips_mach): Add case for |
d952f17a AM |
1245 | E_MIPS_MACH_SB1. |
1246 | (_bfd_mips_elf_final_write_processing): Add case for | |
1247 | bfd_mach_mips_sb1. | |
1248 | ||
1249 | 2000-12-01 Joel Sherrill <joel@OARcorp.com> | |
ddcfc5fc NC |
1250 | |
1251 | * config.bfd (arm-*-rtems*, a29k-*rtems*): New targets. | |
1252 | (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets. | |
1253 | (sparc*-*-rtems*): Switched from a.out to ELF. | |
1254 | ||
8d88c4ca | 1255 | 2000-11-30 Jan Hubicka <jh@suse.cz> |
d952f17a AM |
1256 | |
1257 | * Makefile.am (BFD64_BACKENDS): Add elf64-x86-64.lo | |
1258 | BFD64_BACKENDS_CFILES): Add elf64-x86-64.c | |
1259 | (elf64-x86-64.lo): Add dependencies. | |
1260 | * archures.c (DESCRIPTION): Add bfd_mach_x86_64, | |
1261 | bfd_mach_x86_64_intel_syntax. | |
1262 | * elf.c (prep_headers): Use EM_x86_64 for 64bit output. | |
1263 | * config.bfd (x86_64): Add. | |
1264 | * configure.in: Add support for bfd_elf64_x86_64_vec. | |
1265 | * cpu-i386.c (bfd_x86_64_arch_intel_syntax, bfd_x86_64_arch): Add. | |
1266 | (bfd_i386_arch, i8086_ar): Link in. | |
1267 | * elf64-x86-64.c: New file. | |
1268 | * reloc.c (ENUMDOC): Add BFD_RELOC_X86_64*. | |
1269 | * targets.c (bfd_elf64_x86_64_vec): Add. | |
1270 | (bfd_target_vect): Add bfd_elf64_x86_64_vec. | |
8d88c4ca | 1271 | |
fbc4fff4 KH |
1272 | 2000-11-30 Kazu Hirata <kazu@hxi.com> |
1273 | ||
1274 | * xcofflink.c: Fix formatting. | |
1275 | ||
e60b52c6 KH |
1276 | 2000-11-28 Kazu Hirata <kazu@hxi.com> |
1277 | ||
1278 | * aoutx.h: Fix formatting. | |
1279 | * bfd-in.h: Likewise. | |
1280 | * bfd-in2.h: Likewise. | |
1281 | * cache.c: Likewise. | |
1282 | * cisco-core.c: Likewise. | |
1283 | * coff64-rs6000.c: Likewise. | |
1284 | * coffcode.h: Likewise. | |
1285 | * coffswap.h: Likewise. | |
1286 | * corefile.c: Likewise. | |
be3ccd9c | 1287 | * elf32-mips.c: Likewise. |
e60b52c6 | 1288 | |
336eced2 KH |
1289 | 2000-11-27 Kazu Hirata <kazu@hxi.com> |
1290 | ||
1291 | * aout-adobe.c: Fix formatting. | |
244148ad KH |
1292 | * coff64-rs6000.c: Likewise. |
1293 | * coffgen.c: Likewise. | |
1294 | * cofflink.c: Likewise. | |
336eced2 | 1295 | |
d71f672e PB |
1296 | 2000-11-27 Philip Blundell <pb@futuretv.com> |
1297 | ||
1298 | * libcoff-in.h (coff_tdata): Add `strings_written' flag. | |
1299 | (obj_coff_strings_written): New accessor macro for above. | |
1300 | * libcoff.h: Regenerate. | |
1301 | * cofflink.c (_bfd_coff_final_link): Say that we wrote the | |
1302 | strings. | |
1303 | * coffcode.h (coff_write_object_contents): No need to write out | |
1304 | the string table if it's already been done. | |
1305 | ||
bc7a577d PB |
1306 | 2000-11-22 Philip Blundell <pb@futuretv.com> |
1307 | ||
d952f17a | 1308 | * cofflink.c (_bfd_coff_generic_relocate_section): Don't object to |
bc7a577d PB |
1309 | weak undefined symbols. |
1310 | ||
077b8428 NC |
1311 | 2000-11-24 Nick Clifton <nickc@redhat.com> |
1312 | ||
1313 | * archures.c (bfd_mach_arm_5TE): Define. | |
1314 | (bfd_mach_arm+XScale): Define. | |
1315 | * bfd-in2.h: Regenerate. | |
1316 | ||
1317 | * coff-arm.c (coff_arm_reloc_type_lookup): Accept | |
1318 | BFD_RELOC_ARM_PCREL_BLX. | |
1319 | ||
1320 | * coffcode.h (coff_set_flags): Set flags for 5t, 5te and | |
1321 | XScale machine numbers. | |
1322 | ||
1323 | * config.bfd (xscale-elf): Add target. | |
1324 | (xscale-coff): Add target. | |
1325 | ||
1326 | * cpu-arm.c: Add xscale machine name. | |
1327 | Add v5t, v5te and XScale machine numbers. | |
1328 | ||
e9e41bd9 KH |
1329 | 2000-11-23 Kazu Hirata <kazu@hxi.com> |
1330 | ||
1331 | * aix386-core.c: Fix formatting. | |
1332 | ||
64bf6ae6 JW |
1333 | 2000-11-22 Jim Wilson <wilson@redhat.com> |
1334 | ||
1335 | * coff-ia64.c (howto_table): Use EMPTY_HOWTO. | |
1336 | (in_reloc_p): Add ATTRIBUTE_UNUSED to unused parameters. | |
1337 | * cpu-ia64-opc.c (ins_rsvd, ext_rsvd, ins_const, ext_const): Likewise. | |
1338 | (ins_imms_scaled): Initialize sign_bit at function entry. | |
1339 | (elf64_ia64_operands): Add missing initializers. | |
1340 | * elfxx-ia64.c (elfNN_ia64_reloc, elfNN_ia64_reloc_type_lookup, | |
1341 | elfNN_ia64_info_to_howto, elfNN_ia64_fake_sections, | |
1342 | elfNN_ia64_add_symbol_hook, elfNN_ia64_is_local_label_name, | |
1343 | elfNN_ia64_local_hash_table_init, get_fptr, get_pltoff, | |
1344 | elfNN_ia64_adjust_dynamic_symbol): Add ATTRIBUTE_UNUSED for unused | |
1345 | parameters. | |
1346 | (elfNN_ia64_info_to_howto): Initialize free_relocs, free_contents, | |
1347 | and free_extsyms at function entry. | |
1348 | (elfNN_add_symbol_hook): Add unsigned cast to bfd_get_gp_size result. | |
1349 | (elfNN_ia64_create_dynamic_sections): Delete unused local h. | |
1350 | (get_got): Delete unused local srel. | |
1351 | (elfNN_ia64_check_relocs): Initialize dynrel_type when declared. | |
1352 | (elfNN_ia64_relocate_section): Delete unused local dynindx. | |
d952f17a | 1353 | |
1abaf976 KH |
1354 | 2000-11-21 Kazu Hirata <kazu@hxi.com> |
1355 | ||
6e301b2b KH |
1356 | * coff-a29k.c: Fix formatting. |
1357 | * coff-h8500.c: Likewise. | |
1358 | * coff-i960.c: Likewise. | |
1359 | * coff-ppc.c: Likewise. | |
1360 | * coff-rs6000.c: Likewise. | |
1361 | * coff-stgo32.c: Likewise. | |
1362 | * coff-tic54x.c: Likewise. | |
1363 | * coff-w65.c: Likewise. | |
1364 | * cpu-h8500.c: Likewise. | |
1365 | * cpu-hppa.c: Likewise. | |
1366 | * cpu-ns32k.c: Likewise. | |
1367 | * ecoff.c: Likewise. | |
1abaf976 KH |
1368 | * ecofflink.c: Likewise. |
1369 | ||
a0fc8ba1 NC |
1370 | 2000-11-21 Nick Clifton <nickc@redhat.com> |
1371 | ||
1372 | * elf32-sh.c (sh_elf_reloc_loop): Fix compile time warning, and | |
1373 | remove possibility of infinite loop. | |
1374 | ||
beb0d161 KH |
1375 | 2000-11-20 Kazu Hirata <kazu@hxi.com> |
1376 | ||
1377 | * aix386-core.c: Fix formatting. | |
1378 | * aout-adobe.c: Likewise. | |
1379 | * aout-arm.c: Likewise. | |
1380 | * aout-encap.c: Likewise. | |
1381 | * aout-ns32k.c: Likewise. | |
1382 | * aout-target.h: Likewise. | |
1383 | * aout-tic30.c: Likewise. | |
1384 | * aoutf1.h: Likewise. | |
1385 | * aoutx.h: Likewise. | |
1386 | * archive.c: Likewise. | |
eb6e10cb KH |
1387 | * bfd-in.h: Likewise. |
1388 | * bfd-in2.h: Likewise. | |
1389 | * bfd.c: Likewise. | |
1390 | * bout.c: Likewise. | |
beb0d161 | 1391 | |
2c2475db JW |
1392 | 2000-11-17 H.J. Lu <hjl@gnu.org> |
1393 | ||
1394 | * elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Don't create | |
1395 | pltoff entries for DT_INIT and DT_FINI. | |
1396 | (elfNN_ia64_final_link): Don't set DT_INIT/FINI entries. | |
1397 | (elfNN_ia64_finish_dynamic_sections): Don't fill in DT_INIT/FINI | |
1398 | entries. | |
1399 | ||
18b27f17 RH |
1400 | 2000-11-16 Richard Henderson <rth@redhat.com> |
1401 | ||
1402 | * elfxx-ia64.c (elfNN_ia64_check_relocs): Handle IPLT relocs. | |
1403 | (allocate_dynrel_entries): Likewise. | |
1404 | (elfNN_ia64_relocate_section): Likewise. Set REL addends correctly. | |
1405 | (set_pltoff_entry): Likewise. | |
1406 | (ia64_howto_table): Remove R_IA64_SEGBASE, and R_IA64_EPLT[ML]SB | |
1407 | (elfNN_ia64_reloc_type_lookup): Likewise. | |
1408 | (elfNN_ia64_install_value): Likewise. | |
1409 | (elfNN_ia64_relocate_section): Likewise. | |
1410 | * reloc.c (BFD_RELOC_IA64_SEGBASE): Remove. | |
1411 | (BFD_RELOC_IA64_EPLTMSB, BFD_RELOC_IA64_EPLTLSB): Remove. | |
1412 | ||
98591c73 KH |
1413 | 2000-11-16 Kazu Hirata <kazu@hxi.com> |
1414 | ||
71f6b586 KH |
1415 | * cpu-a29k.c: Fix formatting. |
1416 | * cpu-alpha.c: Likewise. | |
1417 | * cpu-arm.c: Likewise. | |
1418 | * cpu-avr.c: Likewise. | |
1419 | * cpu-d10v.c: Likewise. | |
1420 | * cpu-h8500.c: Likewise. | |
1421 | * cpu-hppa.c: Likewise. | |
1422 | * cpu-i370.c: Likewise. | |
1423 | * cpu-i386.c: Likewise. | |
1424 | * cpu-i960.c: Likewise. | |
1425 | * cpu-ia64-opc.c: Likewise. | |
1426 | * cpu-ia64.c: Likewise. | |
1427 | * cpu-m32r.c: Likewise. | |
1428 | * cpu-m68hc11.c: Likewise. | |
1429 | * cpu-m68hc12.c: Likewise. | |
1430 | * cpu-m68k.c: Likewise. | |
1431 | * cpu-m88k.c: Likewise. | |
1432 | * cpu-mips.c: Likewise. | |
1433 | * cpu-ns32k.c: Likewise. | |
1434 | * cpu-pj.c: Likewise. | |
1435 | * cpu-powerpc.c: Likewise. | |
1436 | * cpu-sh.c: Likewise. | |
1437 | * cpu-sparc.c: Likewise. | |
1438 | * cpu-tic54x.c: Likewise. | |
1439 | * cpu-v850.c: Likewise. | |
1440 | * cpu-vax.c: Likewise. | |
1441 | * cpu-w65.c: Likewise. | |
1442 | * cpu-we32k.c: Likewise. | |
1443 | * cpu-z8k.c: Likewise. | |
1444 | * dwarf1.c: Likewise. | |
98591c73 KH |
1445 | * dwarf2.c: Likewise. |
1446 | ||
c5930ee6 KH |
1447 | 2000-11-15 Kazu Hirata <kazu@hxi.com> |
1448 | ||
1449 | * coff-arm.c: Fix formatting. | |
1450 | * coff-ppc.c: Likewise. | |
1451 | * coff-rs6000.c: Likewise. | |
cbfe05c4 KH |
1452 | * coff-sh.c: Likewise. |
1453 | * coff-sparc.c: Likewise. | |
1454 | * coff-tic30.c: Likewise. | |
1455 | * coff-tic54x.c: Likewise. | |
1456 | * coff-tic80.c: Likewise. | |
1457 | * coff-w65.c: Likewise. | |
1458 | * coff-we32k.c: Likewise. | |
1459 | * coff-z8k.c: Likewise. | |
c5930ee6 | 1460 | |
dac544a8 RH |
1461 | 2000-11-15 Richard Henderson <rth@redhat.com> |
1462 | ||
1463 | * elf64-alpha.c (elf64_alpha_check_relocs): Create the reloc | |
1464 | section with the same ALLOC|LOAD flags as the source section. | |
1465 | ||
c810873d JJ |
1466 | 2000-11-14 Jakub Jelinek <jakub@redhat.com> |
1467 | ||
1468 | * elf64-alpha.c (elf64_alpha_relax_opt_call): Only check bits used | |
1469 | by STO_ALPHA constants. | |
1470 | ||
43646c9d KH |
1471 | 2000-11-14 Kazu Hirata <kazu@hxi.com> |
1472 | ||
1473 | * coff-pmac.c: Fix formatting. | |
1474 | * coff-ppc.c: Likewise. | |
1475 | ||
051b8577 L |
1476 | 2000-11-13 H.J. Lu <hjl@gnu.org> |
1477 | ||
1478 | * elflink.h (elf_link_add_object_symbols): Also add indirect | |
1479 | symbols for common symbols with the default version. | |
1480 | ||
90460d97 PB |
1481 | 2000-11-09 Philip Blundell <pb@futuretv.com> |
1482 | ||
1483 | * section.c (STD_SECTION): Set gc_mark flag. | |
1484 | ||
b48499ec KH |
1485 | 2000-11-11 Kazu Hirata <kazu@hxi.com> |
1486 | ||
1487 | * coff-i960.c: Likewise. | |
1488 | * coff-m68k.c: Likewise. | |
1489 | * coff-m88k.c: Likewise. | |
1490 | * coff-mcore.c: Likewise. | |
1491 | * coff-mips.c: Likewise. | |
1492 | ||
c5aeb40f AO |
1493 | 2000-11-11 Bernd Schmidt <bernds@cygnus.co.uk> |
1494 | ||
1495 | * elf32-sh.c (sh_elf_relocate_section): Ignore R_SH_NONE relocs. | |
1496 | ||
5fcfd273 KH |
1497 | 2000-11-10 Kazu Hirata <kazu@hxi.com> |
1498 | ||
1499 | * coff-h8300.c: Fix formatting. | |
1500 | * coff-h8500.c: Likewise. | |
1501 | * coff-i386.c: Likewise. | |
1502 | * coff-i860.c: Likewise. | |
1503 | * coff-i960.c: Likewise. | |
1504 | * coff-ia64.c: Likewise. | |
1505 | ||
047066e1 KH |
1506 | 2000-11-09 Kazu Hirata <kazu@hxi.com> |
1507 | ||
1508 | * archive.c: Fix formatting. | |
1509 | * archures.c: Likewise. | |
1510 | ||
9a951beb RH |
1511 | 2000-11-07 Richard Henderson <rth@redhat.com> |
1512 | ||
1513 | * elfxx-ia64.c (elf64_ia64_final_link): New local unwind_output_sec. | |
1514 | Set it before bfd_elf64_bfd_final_link call. Use it after the call. | |
1515 | * section.c (bfd_set_section_contents): Call memcpy if | |
1516 | section->contents set and location not equal to contents plus offset. | |
1517 | ||
aebad5fe KH |
1518 | 2000-11-08 Kazu Hirata <kazu@hxi.com> |
1519 | ||
8546af74 KH |
1520 | * bfd-in.h: Fix formatting. |
1521 | * bfd-in2.h: Likewise. | |
1522 | * bfd.c: Likewise. | |
aebad5fe KH |
1523 | * binary.c: Likewise. |
1524 | * bout.c: Likewise. | |
346ceb11 KH |
1525 | * coff-a29k.c: Likewise. |
1526 | * coff-alpha.c: Likewise. | |
1527 | * coff-apollo.c: Likewise. | |
1528 | * coff-aux.c: Likewise. | |
aebad5fe | 1529 | |
0ef5a5bd KH |
1530 | 2000-11-07 Kazu Hirata <kazu@hxi.com> |
1531 | ||
1532 | * aix386-core.c: Fix formatting. | |
1533 | * aoutf1.h: Likewise. | |
1534 | * aoutx.h: Likewise. | |
1535 | * archures.c: Likewise. | |
1536 | * armnetbsd.c: Likewise. | |
1537 | ||
d562d2fb AM |
1538 | 2000-11-07 Alan Modra <alan@linuxcare.com.au> |
1539 | ||
1540 | * coff-h8300.c (special): Adjust reloc address. | |
1541 | ||
bbe66d08 JW |
1542 | 2000-11-06 Steve Ellcey <sje@cup.hp.com> |
1543 | ||
4efc3e05 | 1544 | * archures.c (bfd_mach_ia64_elf64, bfd_mach_ia64_elf32): Add defines |
bbe66d08 JW |
1545 | to differentiate elf32 and elf64 on ia64. |
1546 | * bfd-in2.h: Regenerate. | |
1547 | * config.bfd: Add target for "ia64*-*-hpux*". | |
1548 | * configure.in: Add bfd_elf32_ia64_big_vec to selvecs switch. | |
1549 | * configure: Regenerate. | |
4efc3e05 | 1550 | * cpu-ia64.c (bfd_ia64_elf32_arch): Add elf32 arch info structure. |
bbe66d08 JW |
1551 | * targets.c: Add bfd_target bfd_elf32_ia64_big_vec. |
1552 | ||
1553 | * Makefile.am: Make elf32-ia64.c and elf64-ia64.c derived objects | |
1554 | from elfxx-ia64.c. Add depenency rules for making elf32-ia64.lo. | |
1555 | * Makefile.in: Regnerate. | |
4efc3e05 | 1556 | * elf64-ia64.c: Deleted. |
bbe66d08 JW |
1557 | * elfxx-ia64.c: New file, paramaterized version of elf64-ia64.c. |
1558 | ||
c4dfa77f KH |
1559 | 2000-11-06 Kazu Hirata <kazu@hxi.com> |
1560 | ||
1561 | * aout-adobe.c: Fix formatting. | |
1562 | * aout-arm.c: Likewise. | |
1563 | * aout-cris.c: Likewise. | |
1564 | * aout-encap.c: Likewise. | |
1565 | * aout-ns32k.c: Likewise. | |
1566 | * aout-target.h: Likewise. | |
1567 | * aout-tic30.c: Likewise. | |
1568 | ||
cf919dfd PB |
1569 | 2000-11-05 Philip Blundell <philb@gnu.org> |
1570 | ||
1571 | * elf32-arm.h (elf32_arm_merge_private_bfd_data): Always permit | |
1572 | BFDs containing no sections to be merged, regardless of their flags. | |
1573 | ||
1574 | 2000-11-04 Philip Blundell <philb@gnu.org> | |
1575 | ||
1576 | * elf32-arm.h (elf32_arm_relocate_section): Suppress error message | |
1577 | if a relocation for an undefined symbol also results in an | |
1578 | overflow. | |
1579 | ||
8d88c4ca | 1580 | 2000-11-06 Christopher Faylor <cgf@cygnus.com> |
8848a8d0 CF |
1581 | |
1582 | * config.bfd: Add support for Sun Chorus. | |
1583 | ||
46d59bfa DB |
1584 | 2000-11-05 David O'Brien <obrien@FreeBSD.org> |
1585 | ||
1586 | * configure.in: Recognize alpha-*-freebsd*. | |
1587 | * configure: Regenerate. | |
1588 | ||
d952f17a | 1589 | 2000-11-02 Luciano Gemme <ishitawa@yahoo.com> |
420496c1 NC |
1590 | |
1591 | * srec.c (CHUNK): Rename to DEFAULT_CHUNK. | |
1592 | (Chunk): New global variable set by a parameter in objcopy.c. | |
1593 | (S3Forced): New global variable set by a parameter in | |
1594 | objcopy.c. | |
1595 | (srec_set_section_contents): If S3Forced is true, always generate | |
1596 | S3 records. | |
1597 | (srec_write_section): Use 'Chunk' to limit maximum length of S | |
1598 | records. | |
1599 | ||
59ff2774 NC |
1600 | 2000-11-02 Per Lundberg <plundis@chaosdev.org> |
1601 | ||
1602 | * config.bfd: Add support for i[3456]86-chaosdev-storm-chaos. | |
1603 | * Makefile.in: Regenerate. | |
1604 | * bfd-in2.h: Regenerate. | |
1605 | * po/bfd.pot: Regenerate. | |
d952f17a | 1606 | |
ee43f35e PB |
1607 | 2000-10-31 Philip Blundell <philb@gnu.org> |
1608 | ||
1609 | * elf32-arm.h (elf32_arm_merge_private_bfd_data): Only handle | |
1610 | EF_SOFT_FLOAT if it is defined. | |
1611 | ||
1006ba19 PB |
1612 | 2000-10-27 Philip Blundell <philb@gnu.org> |
1613 | ||
1614 | * elf32-arm.h (elf32_arm_copy_private_bfd_data): Don't refuse | |
1615 | attempts to mix PIC code with non-PIC, just mark the output as | |
1616 | being position dependent. | |
d952f17a AM |
1617 | (elf32_arm_merge_private_bfd_data): Likewise. Print an error |
1618 | message for EF_SOFT_FLOAT mismatches. Display diagnostics for | |
1006ba19 | 1619 | all mismatches, not just the first one. |
d952f17a | 1620 | |
c4920b97 NC |
1621 | 2000-10-25 Chris Demetriou <cgd@sibyte.com> |
1622 | ||
1623 | * ieee.c (ieee_archive_p): Plug one of many possible | |
1624 | memory leaks in error handling. | |
1625 | ||
19f7b010 JJ |
1626 | 2000-10-20 Jakub Jelinek <jakub@redhat.com> |
1627 | ||
1628 | * elf32-sparc.c (elf32_sparc_merge_private_bfd_data, | |
1629 | elf32_sparc_object_p, elf32_sparc_final_write_processing): | |
1630 | Support v8plusb. | |
1631 | * elf64-sparc.c (sparc64_elf_merge_private_bfd_data, | |
1632 | sparc64_elf_object_p): Support v9b. | |
1633 | * archures.c: Declare v8plusb and v9b machines. | |
1634 | * bfd-in2.h: Ditto. | |
1635 | * cpu-sparc.c: Ditto. | |
1636 | ||
e1e0340b GK |
1637 | 2000-10-16 Geoffrey Keating <geoffk@shoggoth.cygnus.com> |
1638 | ||
ea5fbc67 GK |
1639 | * elf64-sparc.c (sparc64_elf_relocate_section): Clear the location |
1640 | of a GOT reloc. | |
1641 | ||
e1e0340b GK |
1642 | * elf32-ppc.c (SYMBOL_REFERENCES_LOCAL): New macro. |
1643 | (SYMBOL_CALLS_LOCAL): New macro. | |
1644 | (ppc_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL. | |
1645 | (ppc_elf_check_relocs): Use SYMBOL_REFERENCES_LOCAL. | |
1646 | (ppc_elf_finish_dynamic_symbol): Use SYMBOL_REFERENCES_LOCAL. | |
1647 | (ppc_elf_relocate_section): Use flag variable to determine | |
1648 | whether the relocation refers to a local symbol. | |
1649 | Test whether a PLTREL24 reloc will produce a reloc by looking | |
1650 | to see whether a PLT entry was made. | |
1651 | ||
a4b120e1 GK |
1652 | 2000-10-14 Geoffrey Keating <geoffk@shoggoth.cygnus.com> |
1653 | ||
1654 | * elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Don't make PLT | |
1655 | entries that could serve as a definition for a weak symbol. | |
1656 | ||
5af5b85b UC |
1657 | 2000-10-13 Ulf Carlsson <ulfc@engr.sgi.com> |
1658 | ||
1659 | From Ralf Baechle <ralf@gnu.org> | |
1660 | ||
1661 | * elf32-mips.c (mips_elf_create_dynamic_relocation): New argument | |
1662 | local_p. Add symbol value only for non-R_MIPS_REL32 relocations | |
1663 | against local symbols. | |
1664 | (_bfd_mips_elf_finish_dynamic_sections): Undo patch from 2000-10-01. | |
d952f17a | 1665 | |
3ef20aaa AM |
1666 | 2000-10-12 Alan Modra <alan@linuxcare.com.au> |
1667 | ||
24376d1b AM |
1668 | * section.c (struct sec): Add kept_section. |
1669 | (struct bfd_comdat_info): Remove sec, we can use above. | |
1670 | (STD_SECTION): Add initializer. | |
1671 | (bfd_make_section_anyway): Init here too. | |
1672 | ||
1673 | * bfd-in2.h: Regenerate. | |
1674 | ||
1675 | * elflink.h (elf_link_add_object_symbols): Remove unnecessary | |
d952f17a | 1676 | zeroing of `flags'. |
24376d1b AM |
1677 | (elf_link_input_bfd): Set all asection->symbol->value's here, and |
1678 | fudge values for discarded link-once section symbols. | |
1679 | ||
3ef20aaa AM |
1680 | * elf64-hppa.c: Include alloca-conf.h |
1681 | ||
c0e219cc AM |
1682 | 2000-10-11 Alan Modra <alan@linuxcare.com.au> |
1683 | ||
d01e2a23 AM |
1684 | * elf.c (swap_out_syms): Revert 2000-10-07 changes. |
1685 | ||
c0e219cc AM |
1686 | * ieee.c (ieee_make_empty_symbol): Oops, bfd_zalloc needs another arg. |
1687 | ||
fe268b66 AM |
1688 | 2000-10-10 Alan Modra <alan@linuxcare.com.au> |
1689 | ||
1690 | * ieee.c (ieee_make_empty_symbol): Use bfd_zalloc, not bfd_zmalloc. | |
1691 | ||
4d7ce4dd AM |
1692 | 2000-10-10 Tom Rix <trix@redhat.com> |
1693 | ||
d952f17a | 1694 | * section.c (bfd_make_section_anyway): Release newsect ptr when |
4d7ce4dd AM |
1695 | newsect->symbol fails to alloc. Use bfd_release instead of free. |
1696 | ||
f3b6f7c3 RH |
1697 | 2000-10-09 Richard Henderson <rth@cygnus.com |
1698 | ||
1699 | * elf64-ia64.c (elf64_ia64_unwind_entry_compare_bfd): New. | |
1700 | (elf64_ia64_unwind_entry_compare): New. | |
1701 | (elf64_ia64_final_link): Sort the .IA_64.unwind section. | |
1702 | ||
44852b19 AM |
1703 | 2000-10-07 Alan Modra <alan@linuxcare.com.au> |
1704 | ||
fc8c40a0 AM |
1705 | * elflink.h (size_dynamic_sections): Don't create various tags if |
1706 | .dynstr is excluded from the link. Don't set first dynsym entry | |
1707 | if dynsymcount is zero. | |
1708 | (elf_bfd_final_link): Don't try to swap out dynamic syms if | |
1709 | .dynsym excluded from the link. Don't try to write any dynamic | |
1710 | sections excluded from the link. | |
1711 | ||
44852b19 AM |
1712 | * elf.c (swap_out_syms): Handle global section symbols. |
1713 | ||
3e4554a2 DD |
1714 | 2000-10-05 DJ Delorie <dj@redhat.com> |
1715 | ||
1716 | * peigen.c (_bfd_pei_swap_scnhdr_out): note extended relocs | |
1717 | * coffcode.h (coff_set_alignment_hook): read extended reloc count | |
1718 | (coff_write_relocs): write extended reloc count | |
1719 | (coff_write_object_contents): account for extended relocs | |
1720 | ||
fa152c49 JW |
1721 | 2000-10-05 Jim Wilson <wilson@cygnus.com> |
1722 | ||
1723 | * elf-bfd.h (struct elf_backend_data): Add elf_backend_section_flags | |
1724 | field. | |
1725 | * elf.c (_bfd_elf_make_section_from_shdr): Call the | |
1726 | elf_backend_section_flags function. | |
1727 | * elf64-ia64.c (elf64_ia64_section_from_shdr): Delete flag conversion | |
1728 | code. | |
1729 | (elf64_ia64_section_flags): New function containing flag conversion | |
1730 | code. | |
1731 | (elf_backend_section_flags): Define to elf64_ia64_section_flags. | |
1732 | * elfxx-target.h (elf_backend_section_flags): Define. | |
1733 | (elfNN_bed): Initialize elf_backend_section_flags field. | |
1734 | ||
36605136 AM |
1735 | 2000-10-02 Alan Modra <alan@linuxcare.com.au> |
1736 | ||
1737 | * elf32-hppa.c (elf32_hppa_check_relocs): Correct call to | |
1738 | _bfd_elf32_gc_record_vtable. Correct a comment. | |
1739 | ||
4b6609a0 UC |
1740 | 2000-10-01 Ulf Carlsson <ulfc@engr.sgi.com> |
1741 | ||
1742 | From Ralf Baechle <ralf@gnu.org> | |
1743 | ||
1744 | * elf32-mips.c (_bfd_mips_elf_finish_dynamic_sections): Mark gld | |
1745 | produces binaries with got[1] = 0x80000001 to differenciate them | |
1746 | for the dynamic linker from the broken binaries produced by old | |
1747 | versions. | |
36605136 | 1748 | |
f572a39d AM |
1749 | 2000-09-30 Petr Sorfa <petrs@sco.com> |
1750 | ||
1751 | * elf.c (elfcore_grok_pstatus): Check for size of pxstatus_t. | |
1752 | (elfcore_grok_lwpstatus): Check for size of lwpxstatus_t. | |
1753 | * configure.in: Add check for pxstatus_t and lwpxstatus_t. | |
1754 | * configure: Regenerate. | |
1755 | ||
4da81684 HPN |
1756 | 2000-09-27 Hans-Peter Nilsson <hp@axis.com> |
1757 | ||
1758 | Define two bfd_targets for absence and presence of leading | |
1759 | underscore on symbols. Make sure to only link same kind. | |
1760 | * elf32-cris.c (cris_elf_object_p, | |
1761 | cris_elf_final_write_processing, cris_elf_print_private_bfd_data, | |
1762 | cris_elf_merge_private_bfd_data): New. | |
1763 | (elf_backend_object_p, elf_backend_final_write_processing, | |
1764 | bfd_elf32_bfd_print_private_bfd_data, | |
1765 | bfd_elf32_bfd_merge_private_bfd_data): Define. | |
1766 | <Target vector definition>: Include elf32-target.h twice with | |
1767 | different macro settings: | |
1768 | (TARGET_LITTLE_SYM): First as bfd_elf32_cris_vec, then as | |
1769 | bfd_elf32_us_cris_vec. | |
1770 | (TARGET_LITTLE_NAME): First as "elf32-cris", then "elf32-us-cris". | |
1771 | (elf_symbol_leading_char): First as 0, then '_'. | |
1772 | (INCLUDED_TARGET_FILE): Define for second include of elf32-target.h. | |
1773 | * config.bfd (cris-*-*): Add bfd_elf32_us_cris_vec to targ_selvecs. | |
1774 | * configure.in (bfd_elf32_cris_vec, cris_aout_vec): New vector. | |
1775 | * configure: Regenerate. | |
1776 | * targets.c: Declare bfd_elf32_us_cris_vec. | |
1777 | * po/bfd.pot: Regenerate. | |
1778 | ||
9a5aca8c AM |
1779 | 2000-09-29 Momchil Velikov <velco@fadata.bg> |
1780 | ||
1781 | * elf32-arm.h (arm_add_to_rel): Correctly adjust the addend for | |
1782 | R_ARM_THM_PC22 relocations. | |
1783 | ||
512a2384 AM |
1784 | 2000-09-29 NIIBE Yutaka <gniibe@chroot.org> |
1785 | ||
1786 | * elflink.h (elf_link_add_object_symbols): Don't bfd_release runpath. | |
1787 | ||
6c99a5c3 AM |
1788 | 2000-09-29 Momchil Velikov <velco@fadata.bg> |
1789 | ||
1790 | * elf.c (elf_fake_sections): Do not mark the section SHT_NOBITS if | |
1791 | is has the SEC_HAS_CONTENTS flag set. | |
1792 | ||
0dc1fa07 | 1793 |