Commit | Line | Data |
---|---|---|
94558834 L |
1 | 2000-07-19 H.J. Lu <hjl@gnu.org> |
2 | ||
3 | * elf.c (_bfd_elf_print_private_bfd_data): Handle DT_BIND_NOW, | |
4 | DT_INIT_ARRAY, DT_FINI_ARRAY, DT_INIT_ARRAYSZ, DT_FINI_ARRAYSZ, | |
5 | DT_RUNPATH, DT_FLAGS, DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ, | |
6 | DT_PLTPADSZ, DT_MOVEENT, DT_MOVESZ, DT_FEATURE, DT_POSFLAG_1, | |
7 | DT_SYMINSZ, DT_SYMINENT, DT_CONFIG, DT_DEPAUDIT, DT_AUDIT, | |
8 | DT_PLTPAD, DT_MOVETAB, DT_SYMINFO, DT_RELACOUNT, DT_RELCOUNT, | |
9 | DT_FLAGS_1, DT_USED and DT_CHECKSUM. | |
10 | ||
125c4a69 NC |
11 | Tue Jul 18 13:11:54 2000 Andrew Cagney <cagney@b1.cygnus.com> |
12 | ||
13 | * elf.c (bfd_elf_get_sign_extend_vma, bfd_elf_get_arch_size): Move | |
14 | renamed functions from here... | |
15 | (assign_section_numbers): Use renamed functions. | |
16 | (prep_headers): Use renamed functions. | |
17 | ||
18 | * bfd.c (bfd_get_sign_extend_vma, bfd_get_arch_size): ...To here. | |
19 | * bfd-in.h (bfd_get_sign_extend_vma, bfd_get_arch_size): Update. | |
20 | * bfd-in2.h: Regenerate. | |
21 | ||
31a9bdd9 UC |
22 | 2000-07-18 Ulf Carlsson <ulfc@engr.sgi.com> |
23 | ||
24 | * elf32-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Add | |
25 | paranthesis in if statement. | |
26 | ||
f7cb7d68 UC |
27 | 2000-07-17 Koundinya K <kk@ddeorg.soft.net> |
28 | ||
29 | Enable the support for Traditional MIPS. | |
30 | * elf32-mips.c (IRIX_COMPAT): Recognize bfd_elf32_tradbigmips_vecand | |
31 | return ict_none appropriately for traditional mips targets. | |
32 | (STUB_LW): Change 0x8f998000 to 0x8f998010 for traditional mips. | |
33 | (STUB_MOVE): Conditionalize for traditonal mips. | |
34 | (STUB_LI16): Likewise. | |
35 | (_bfd_mips_elf_modify_segment_map): Conditionalize to avoid making | |
36 | room for RTPROC header. | |
37 | (_bfd_mips_elf_modify_segment_map): For a normal mips executable set | |
38 | the permission for the PT_DYNAMIC as read, write and execute. | |
39 | (mips_elf_calculate_relocation): Check for the symbol _DYNAMIC_LINKING | |
40 | for traditonal mips. | |
41 | (_bfd_mips_elf_create_dynamic_sections): Add the symbol | |
42 | _DYNAMIC_LINKING for traditonal mips. | |
43 | (_bfd_mips_elf_create_dynamic_sections): Add the symbol __RLD_MAP | |
44 | in case of traditonal mips. | |
45 | (_bfd_mips_elf_adjust_dynamic_symbol): Create a stub only if a PLT | |
46 | entry is required. For a function if PLT is not required then set the | |
47 | corresponding hash table entry to 0. | |
48 | (_bfd_mips_elf_size_dynamic_sections): Add DT_DEBUG entry for | |
49 | traditonal mips. | |
50 | (_bfd_mips_elf_finish_dynamic_symbol): for a undefined symbol in a | |
51 | shared object set the value to 0. | |
52 | (_bfd_mips_elf_finish_dynamic_symbol): Check for the symbol | |
53 | _DYNAMIC_LINKING for traditonal mips. | |
54 | (_bfd_mips_elf_finish_dynamic_symbol): Check for the symbol __RLD_MAP | |
55 | for traditonal mips. | |
56 | ||
930d924d L |
57 | 2000-07-15 H.J. Lu <hjl@gnu.org> |
58 | ||
59 | * aoutx.h (translate_to_native_sym_flags): Handle BSF_LOCAL. | |
60 | ||
e67f03db DD |
61 | 2000-07-12 Charles Wilson <cwilson@ece.gatech.edu> |
62 | ||
63 | * libbfd.c (bfd_seek): fix 'seek beyond EOF' error when writing | |
64 | out a structure that is BFD_IN_MEMORY. | |
65 | ||
0ba2a60e AM |
66 | 2000-07-11 Alan Modra <alan@linuxcare.com.au> |
67 | ||
68 | * elf64-hppa.c (get_dyn_name): Pass in section pointer instead of | |
69 | bfd pointer. Print section id instead of bfd pointer for local | |
70 | syms. Prefix addend with `+' for global syms as well as local. | |
71 | Correct calculation of name component lengths. | |
72 | (elf64_hppa_check_relocs): Update call to get_dyn_name. | |
73 | ||
74 | From David Huggins-Daines <dhd@linuxcare.com> | |
75 | * elf-hppa.h (elf_hppa_relocate_section): Update calls here too. | |
76 | * elf64-hppa.c (elf64_hppa_check_relocs): Fix some warnings. | |
77 | (elf64_hppa_modify_segment_map): Likewise. | |
78 | ||
6d9019e4 AC |
79 | Tue Jul 11 17:21:52 2000 Andrew Cagney <cagney@b1.cygnus.com> |
80 | ||
81 | * elf.c (bfd_elf_get_sign_extend_vma): Return tendency of VMA | |
82 | addresses to be "naturally" sign extended. Return -1 if unknown. | |
0ba2a60e | 83 | * bfd-in.h (bfd_elf_get_sign_extend_vma): Add declaration. |
6d9019e4 AC |
84 | * bfd-in2.h: Regenerate. |
85 | ||
23e2c83b AC |
86 | Tue Jul 11 16:25:52 2000 Andrew Cagney <cagney@b1.cygnus.com> |
87 | ||
88 | * ecoffswap.h (ecoff_get_off, ecoff_put_off): Add ECOFF_SIGNED_32 | |
89 | and ECOF_SIGNED_64 to list ways to extract an offset. | |
90 | (ecoff_swap_fdr_in, ecoff_swap_fdr_out, ecoff_swap_pdr_in, | |
91 | ecoff_swap_pdr_out, ecoff_swap_ext_in, ecoff_swap_ext_out): | |
92 | Update. | |
93 | * elf64-mips.c (ECOFF_SIGNED_64): Define instead of ECOFF_64. | |
94 | * elf32-mips.c (ECOFF_SIGNED_32): Define instead of ECOFF_32. | |
95 | ||
448cafa4 AC |
96 | Tue Jul 11 16:03:04 2000 Andrew Cagney <cagney@b1.cygnus.com> |
97 | ||
98 | * elfcode.h (elf_object_p): Use bfd_set_start_address and not | |
99 | bfd_get_start_address. | |
100 | (elf_swap_ehdr_in): Sign extend e_entry when applicable. | |
101 | (elf_swap_ehdr_out): Ditto. | |
102 | ||
83ea41ad NC |
103 | 2000-07-10 Alexander Aganichev <AAganichev@hypercom.com> |
104 | ||
105 | * archures.c (bfd_default_scan): Add set of bfd_mach_ cases for | |
106 | compatibility with older binutils. | |
107 | ||
3df7b4e2 AM |
108 | 2000-07-10 Alan Modra <alan@linuxcare.com.au> |
109 | ||
110 | * section.c (bfd_make_section_anyway): Start section_id at 0x10. | |
111 | (STD_SECTION): Avoid negative ids, instead use 0 to 3. | |
112 | ||
b7af50e3 AM |
113 | From Ryan Bradetich <rbradetich@uswest.net> |
114 | * dwarf1.c (parse_die): Cure signed/unsigned char warnings. | |
115 | (parse_line_table): Ditto. | |
116 | (_bfd_dwarf1_find_nearest_line): Ditto. | |
117 | * syms.c (cmpindexentry): Remove extra `*' from params. | |
118 | ||
adb76a3e UC |
119 | 2000-07-09 Koundinya K <kk@ddeorg.soft.net> |
120 | ||
121 | * elf32-mips.c (sort_dynamic_relocs): New Function. | |
122 | (_bfd_mips_elf_finish_dynamic_sections): Call sort_dynamic_relocs | |
123 | via qsort to sort the dynamic relocations in increasing r_symndx | |
124 | value. | |
125 | ||
edd21aca AM |
126 | 2000-07-09 Alan Modra <alan@linuxcare.com.au> |
127 | ||
128 | * elf64-hppa.c (elf64_hppa_dyn_hash_table_init): Add | |
129 | ATTRIBUTE_UNUSED to unused args. | |
130 | (get_opd): Likewise. | |
131 | (get_plt): Likewise. | |
132 | (get_dlt): Likewise. | |
133 | (get_stub): Likewise. | |
134 | (elf64_hppa_adjust_dynamic_symbol): Likewise. | |
135 | (elf64_hppa_link_output_symbol_hook): Likewise. | |
136 | (elf64_hppa_check_relocs): Delete unused var. | |
137 | (elf64_hppa_size_dynamic_sections): Likewise. | |
138 | (elf64_hppa_finalize_opd): Likewise. | |
139 | (elf64_hppa_finalize_dynreloc): Likewise. | |
140 | (elf64_hppa_modify_segment_map): Likewise. | |
141 | (elf64_hppa_finish_dynamic_sections): Likewise. | |
142 | ||
143 | * elf-hppa.h (elf_hppa_final_write_processing): Add | |
144 | ATTRIBUTE_UNUSED to unused args. | |
145 | (elf_hppa_final_link_relocate): Likewise. | |
146 | (elf_hppa_record_segment_addrs): Add paretheses. | |
147 | (elf_hppa_relocate_section): Constify dyn_name. | |
148 | ||
149 | From David Huggins-Daines <dhd@linuxcare.com> | |
150 | * config.bfd: Add hppa*64*-*-linux-gnu 64-bit target, and | |
151 | rearrange case statement so that it gets preferred to 32-bit ones. | |
152 | ||
153 | * elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Use | |
154 | asection->id instead of address of asection structure. | |
155 | (elf32_hppa_size_stubs): Likewise. | |
156 | ||
157 | * elf32-hppa.c (elf32_hppa_size_stubs): Use just one stub section | |
158 | for .init* and .fini*. | |
159 | ||
160 | * elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Mask pointers | |
161 | and addends used in stub names to 32 bits. | |
162 | (elf32_hppa_size_stubs): Likewise. | |
163 | ||
164 | * elf-hppa.h (elf_hppa_final_link_relocate): Don't sum addend | |
165 | twice for R_PARISC_GPREL64. Use bfd_put_32 for R_PARISC_PCREL32, | |
166 | not bfd_put_64. Fix minor comment typo and formatting. | |
167 | ||
168 | Changes to create multiple linker stubs, positioned immediately | |
169 | before the section where they are required. | |
170 | * elf32-hppa.c: Don't include hppa_stubs.h. | |
171 | (elf32_hppa_stub_hash_entry): Add a pointer to the stub section. | |
172 | (elf32_hppa_stub_hash_table): Delete. | |
173 | (elf32_hppa_link_hash_entry): Delete. | |
174 | (elf32_hppa_link_hash_table): Use plain bfd_hash_table for | |
175 | stub_hash_table, and store the struct here rather than a pointer. | |
176 | Delete output_symbol_count. Add offset array. Change | |
177 | global_value to a bfd_vma. | |
178 | (elf32_hppa_stub_hash_lookup): Use table instead of table->root. | |
179 | (elf32_hppa_stub_hash_traverse): Delete. | |
180 | (elf32_hppa_name_of_stub): Delete. | |
181 | (elf32_hppa_link_hash_lookup): Delete. | |
182 | (elf32_hppa_link_hash_traverse): Delete. | |
183 | (elf32_hppa_stub_hash_table_init): Delete. | |
184 | (elf32_hppa_size_of_stub): Pass input section and offset rather | |
185 | than location and calculate location here. Don't pass name as all | |
186 | stubs are now the same size. | |
187 | (elf32_hppa_stub_hash_newfunc): Init new fields. | |
188 | (elf32_hppa_link_hash_table_create): Likewise, and stub_hash_table | |
189 | too. | |
190 | (elf32_hppa_bfd_final_link_relocate): Cast enums to int before | |
191 | comparing against ints. Rewrite stub handling code. | |
192 | (elf32_hppa_relocate_section): Make r_type and r_symndx unsigned. | |
193 | Case enums to int before comparing against ints. Remove | |
194 | bfd_reloc_dangerous case. | |
195 | (elf32_hppa_build_one_stub): Rewrite. | |
196 | (elf32_hppa_size_one_stub): New function. | |
197 | (elf32_hppa_build_stubs): Rewrite. | |
198 | (elf32_hppa_size_stubs): Pass in linker call-back functions. | |
199 | Rewrite stub-handling specific code. | |
200 | ||
201 | * elf32-hppa.h (elf32_hppa_size_stubs): Update prototype. | |
202 | ||
203 | * elf64-hppa.c (elf64_hppa_dyn_hash_entry): Fix a comment typo. | |
204 | ||
205 | * hppa_stubs.h: Delete. | |
206 | * Makefile.am (SOURCE_HFILES): Remove hppa_stubs.h | |
207 | (elf32-hppa.lo): Remove hppa_stubs.h from dependencies. | |
208 | * Makefile.in: Regenerate. | |
209 | ||
210 | * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): Handle e_nlsel and | |
211 | e_nlrsel. | |
212 | ||
213 | * libhppa.h (hppa_field_adjust): Correct e_nsel case. | |
214 | ||
215 | * elf32-hppa.c (elf32_hppa_relocate_section): Mention the offset | |
216 | and section name for bfd_reloc_notsupported error message. | |
217 | (elf32_hppa_bfd_final_link_relocate): Print reasons for returning | |
218 | bfd_reloc_notsupported. | |
219 | (elf32_hppa_relocate_section): Add ATTRIBUTE_UNUSED to output_bfd. | |
220 | ||
221 | * elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Handle | |
222 | undefined weak symbols for all relocs. | |
223 | (elf32_hppa_size_of_stub): Adjust calculation by 8 since branch | |
224 | offsets are relative to one past the delay slot. | |
225 | (elf32_hppa_size_stubs): Account for reloc addend when calculating | |
226 | branch destination. Put addend into stub name too. | |
227 | (elf32_hppa_bfd_final_link_relocate): Account for reloc addend and | |
228 | adjust by 8 when deciding whether a linker stub is needed. Put | |
229 | addend into stub name as for above. | |
230 | ||
231 | * elf32-hppa.c (hppa_elf_relocate_insn): Change signed/unsigned on | |
232 | various args and vars. | |
233 | (elf32_hppa_bfd_final_link_relocate): Here too. | |
234 | (elf32_hppa_size_stubs): Rename index -> indx. Use e_indx for | |
235 | inner block var to avoid shadowing. | |
236 | ||
237 | * elf32-hppa.h (_bfd_elf32_hppa_gen_reloc_type): Make `field' arg | |
238 | unsigned. | |
239 | * elf64-hppa.h (_bfd_elf64_hppa_gen_reloc_type): Ditto. | |
240 | * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): Ditto. | |
241 | (elf_hppa_fake_sections): Rename local var to avoid shadowing. | |
242 | ||
243 | * libhppa.h: Change practically all unsigned ints to plain ints. | |
244 | Remove tests on gcc version. Instead use ATTRIBUTE_UNUSED for | |
245 | prototypes. | |
246 | ||
247 | From Ryan Bradetich <rbradetich@uswest.net> | |
248 | * libhppa.h (hppa_opcode_type): New enum to replace #define's. | |
249 | * elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Modify to | |
250 | suit above. | |
251 | From David Huggins-Daines <dhd@linuxcare.com> | |
252 | * elf-hppa.h (elf_hppa_relocate_insn): Update the opcode constants | |
253 | to the new OP_* ones. | |
254 | ||
255 | * elf32-hppa.c (elf32_hppa_size_stubs): Consolidate freeing on | |
256 | error exit. Bail out earlier on plabel relocs that we aren't | |
257 | interested in. Don't tell elf32_hppa_stub_hash_lookup to copy | |
258 | string, and then don't free our copy. | |
259 | (elf32_hppa_build_one_stub): Make insn unsigned int. | |
260 | ||
261 | * libhppa.h (bfd_hppa_insn2fmt): 22 bit branches are only | |
262 | available with BL, not BE and BLE. | |
263 | ||
264 | * elf32-hppa.c (hppa_elf_relocate_insn): Add some more example | |
265 | code for elf arg relocs. | |
266 | (elf32_hppa_bfd_final_link_relocate): Replace boolean is_local | |
267 | argument with elf_link_hash_entry h. Handle undefined weak | |
268 | symbols. Move $global$ lookup from here... | |
269 | (elf32_hppa_relocate_section): ...to here. Return correct error | |
270 | message for non-handled relocs. | |
271 | (elf32_hppa_size_of_stub): Correctly test branch range. Previous | |
272 | wrong test was -0x3ffff to +0x40000. | |
273 | ||
274 | * elf-hppa.h (elf_hppa_final_link_relocate): R_PARISC_DIR17R, | |
275 | R_PARISC_DIR17F, and R_PARISC_DIR21L are for absolute branches; | |
276 | Handle them as such. | |
277 | (elf_hppa_relocate_insn): Fix a typo. | |
278 | ||
279 | * libhppa.h (GET_FIELD, GET_BIT, MASK, CATENATE, ELEVEN): Delete. | |
280 | (assemble_3, assemble_6, assemble_12, assemble_16, assemble_16a, | |
281 | assemble_17, assemble_21): Delete. | |
282 | Supply defines for all 64 possible opcodes. | |
283 | (bfd_hppa_insn2fmt): Add bfd argument, and use to select wide mode | |
284 | formats. Handle COMICLR. | |
285 | (hppa_rebuild_insn): Delete bfd argument. Handle formats 10, -11, | |
286 | -10, -16, 16, 22. | |
287 | ||
288 | * elf32-hppa.c (hppa_elf_relocate_insn): Complete rewrite. | |
289 | (elf32_hppa_bfd_final_link_relocate): Major rewrite. | |
290 | (elf32_hppa_build_one_stub): Modify hppa_elf_relocate_insn calls | |
291 | to suit. | |
292 | (elf32_hppa_size_stubs): Don't free stub_name twice. Read in all | |
293 | the local syms - did this code get deleted accidentally? Ignore | |
294 | undefined and undefweak syms. | |
295 | ||
296 | * elf-hppa.h (elf_hppa_final_link): Move hppa_info to outermost | |
297 | block. Use it instead of elf64_hppa_hash_table (info). | |
298 | (elf_hppa_final_link_relocate): Use hppa_info instead of | |
299 | elf64_hppa_hash_table (info). | |
300 | ||
301 | * libhppa.h (re_assemble_3, re_assemble_12, re_assemble_16, | |
302 | re_assemble_17, re_assemble_21, re_assemble_22): Don't mask insn. | |
303 | (hppa_rebuild_insn): Mask immediate bits here instead. | |
304 | * elf-hppa.h (elf_hppa_relocate_insn): Mask here too. | |
305 | ||
52b219b5 AM |
306 | 2000-07-08 Alan Modra <alan@linuxcare.com.au> |
307 | ||
308 | * section.c (struct sec): Add id field. Tidy comment formatting. | |
309 | (bfd_make_section_anyway): Set id. | |
310 | (STD_SECTION): Init id too. | |
311 | Change CONST to const throughout. | |
312 | * archures.c (bfd_arch_info): Tidy comment. | |
313 | (bfd_arch_list): Change a CONST to const. | |
314 | * libbfd-in.h: Tidy comments and replace CONST with const. | |
315 | * elf-bfd.h: Likewise. | |
316 | * libbfd.h: Regenerate. | |
317 | * bfd-in2.h: Regenerate. | |
318 | * libcoff.h: Regenerate. | |
319 | ||
8000a618 DD |
320 | 2000-07-07 DJ Delorie <dj@redhat.com> |
321 | ||
322 | * archive.c (_bfd_write_archive_contents): Add an informative | |
323 | comment. | |
324 | ||
c3b7c767 NC |
325 | 2000-07-06 Kazu Hirata <kazu@hxi.com> |
326 | ||
327 | * srec.c: Fix formatting. | |
328 | ||
302ab118 DD |
329 | 2000-06-05 DJ Delorie <dj@redhat.com> |
330 | ||
331 | * MAINTAINERS: new | |
332 | ||
ed1de528 AO |
333 | 2000-07-04 Alexandre Oliva <aoliva@redhat.com> |
334 | ||
335 | * coff-arm.c (coff_arm_relocate_section): Do not ignore the symbol | |
336 | value of PC-relative offsets. | |
337 | ||
70bcb145 JW |
338 | 2000-07-03 Jim Wilson <wilson@cygnus.com> |
339 | ||
340 | * elf64-alpha.c (alpha_elf_size_info): New. | |
341 | (elf_backend_size_info): Define to alpha_elf_size_info. | |
342 | * elfcode.h (elf_size_info): Change hash bucket size to 4. | |
343 | ||
b8ee63fa UC |
344 | 2000-07-03 Ulf Carlsson <ulfc@engr.sgi.com> |
345 | ||
346 | * elf32-mips.c: Include elf32-target.h again for the traditional | |
347 | MIPS targets. | |
348 | ||
00d2865b NC |
349 | 2000-07-03 Marek Michalkiewicz <marekm@linux.org.pl> |
350 | ||
351 | * elf32-avr.c (bfd_elf32_bfd_reloc_type_lookup): | |
352 | Add ATTRIBUTE_UNUSED to unused arguments to avoid warnings. | |
353 | (avr_info_to_howto_rela): Likewise. | |
354 | (elf32_avr_gc_mark_hook): Likewise. | |
355 | (elf32_avr_gc_sweep_hook): Likewise. | |
356 | (elf32_avr_relocate_section): Likewise. | |
357 | ||
e4202681 NC |
358 | 2000-07-03 Mark Elbrecht <snowball3@bigfoot.com> |
359 | ||
360 | * cofflink.c (_bfd_coff_write_global_sym): Turn a weak symbol into | |
361 | an external symbol for a non-shared, non-relocatable link. | |
362 | ||
363 | 2000-07-03 Nick Clifton <nickc@redhat.com> | |
364 | ||
99d6ac2f NC |
365 | * cofflink.c (IS_EXTERNAL): New macro: Return true if the symbol |
366 | is an external symbol. | |
e4202681 NC |
367 | (IS_WEAK_EXTERNAL): New macro: Return true if the symbol is a weak |
368 | external symbol. | |
369 | ||
289c596c NC |
370 | 2000-07-03 Kazu Hirata <kazu@hxi.com> |
371 | ||
372 | * reloc16.c: Fix formatting. | |
373 | ||
dd745cfa UC |
374 | 2000-07-01 Koundinya K <kk@ddeorg.soft.net> |
375 | ||
376 | * config.bfd: Change targ_defvec and targ_selvecs for mips*-*-sysv4* | |
377 | to add a new target for traditional mips i.e | |
378 | bfd_elf32_tradbigmips_vec and bfd_elf32_tradlittlemips_vec. | |
379 | * configure.in: Likewise. | |
380 | * configure: Rebuild. | |
381 | * targets.c (bfd_elf32_tradbigmips_vec): Declare and put in | |
382 | bfd_target_vector. | |
383 | (bfd_elf32_tradlittlemips_vec): Likewise. | |
384 | * elfxx-target.h: Add macro INCLUDED_TARGET_FILE which is more a test | |
385 | to see that elfNN_bed does not get redefined even if the target file | |
386 | is included twice for a chip. See elf32-mips.c. | |
387 | ||
0bdaf48b AM |
388 | 2000-07-01 Alan Modra <alan@linuxcare.com.au> |
389 | ||
390 | * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed | |
391 | (CLEANFILES): Add DEPA. | |
392 | * Makefile.in: Regenerate. | |
393 | ||
c75df619 DD |
394 | 2000-06-30 DJ Delorie <dj@cygnus.com> |
395 | ||
396 | * peicode.h (coff_swap_filehdr_in): can't use e_magic because we | |
397 | can't assume the PE header is at 0x80. | |
398 | ||
b4b415e5 DD |
399 | 2000-06-29 Mark Elbrecht <snowball3@bigfoot.com> |
400 | ||
cda43a1d | 401 | * syms.c (_bfd_stab_section_find_nearest_line): Use IS_ABSOLUTE_PATH. |
b4b415e5 | 402 | |
addd3117 DD |
403 | 2000-06-28 Mark Elbrecht <snowball3@bigfoot.com> |
404 | ||
405 | * go32stub.h: Update stub. | |
406 | ||
65aa24b6 NC |
407 | 2000-06-26 Marek Michalkiewicz <marekm@linux.org.pl> |
408 | ||
409 | * archures.c (bfd_mach_avr5): Define. | |
410 | * bfd-in2.h (bfd_mach_avr5): Define. | |
411 | * cpu-avr.c (arch_info_struct): Rename bfd_mach_avr4 to | |
412 | bfd_mach_avr5, add bfd_mach_avr4. Update comments. | |
413 | (compatible): Update comment. Add missing test. | |
414 | * elf32-avr.c (avr_final_link_relocate): Support 8K wrap | |
415 | for avr2 and avr4. Simplify 8K wrap code. | |
416 | (bfd_elf_avr_final_write_processing): Recognize bfd_mach_avr5. | |
417 | (elf32_avr_object_p): Recognize E_AVR_MACH_AVR5. | |
418 | ||
cc040812 NC |
419 | 2000-06-26 Kazu Hirata <kazu@hxi.com> |
420 | ||
421 | * coff-h8300.c: Fix formatting. | |
422 | * cpu-h8300.c: Likewise. | |
423 | ||
b1bcb49f AO |
424 | 2000-06-24 Alexandre Oliva <aoliva@redhat.com> |
425 | ||
426 | * elf32-arm.h (elf32_arm_final_link_relocate): Print `(local)' | |
427 | for local symbols whose names are unknown. | |
428 | ||
1581f8c9 AM |
429 | 2000-06-22 Alan Modra <alan@linuxcare.com.au> |
430 | ||
431 | * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we | |
432 | find one. | |
433 | * Makefile.in: Regenerate. | |
434 | * doc/Makefile.in: Regenerate. | |
435 | ||
bbeb2e03 L |
436 | 2000-06-20 H.J. Lu <hjl@gnu.org> |
437 | ||
438 | * Makefile.am: Rebuild dependency. | |
439 | * Makefile.in: Rebuild. | |
440 | ||
8a20f077 UC |
441 | 2000-06-20 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
442 | ||
443 | * elf32-mips.c (_bfd_mips_elf_copy_indirect_symbol): New function. | |
444 | (elf_backend_copy_indirect_symbol): Map to the new function. | |
445 | ||
2ab47eed AM |
446 | 2000-06-20 Alan Modra <alan@linuxcare.com.au> |
447 | ||
448 | * archive.c (normalize): Correct pointer comparison when checking | |
449 | for backslashes. | |
450 | (bfd_bsd_truncate_arname): Likewise. | |
451 | (bfd_gnu_truncate_arname): Likewise. | |
452 | ||
b305ef96 UC |
453 | 2000-06-20 Ulf Carlsson <ulfc@engr.sgi.com> |
454 | ||
455 | * elf-bfd.h (struct elf_obj_tdata): Define per BFD Irix 5 virtual | |
456 | sections elf_{text,data}_{section,symbol}. | |
457 | * elf32-mips.c: mips_elf_{text,data}_{section,symbol}{,_ptr}: Remove. | |
458 | (_bfd_mips_elf_hide_symbol): New function. | |
459 | (elf_backend_hide_symbol): Map to the new function. | |
460 | (_bfd_mips_elf_add_symbol_hook): Change to use new per BFD | |
461 | definitions of mips_elf_{text,data}_{section,symbol}. | |
462 | (mips_elf_local_relocation_p): Try to find the direct symbol | |
463 | based on new check_forced argument. | |
464 | (mips_elf_calculate_relocation): Use new version of | |
465 | mips_elf_local_relocation_p. | |
466 | (mips_elf_relocate_section): Likewise. | |
467 | (_bfd_mips_elf_relocate_section): Likewise. | |
468 | (mips_elf_sort_hash_table): Only assert that have enough GOT | |
469 | space. | |
470 | (mips_elf_got16_entry): Match all 32 bits to the existing GOT | |
471 | entry if the relocation based on the new external argument. | |
472 | (mips_elf_create_dynamic_relocation): Assert that we have a | |
473 | section contents allocated where we can swap out the dynamic | |
474 | relocations. | |
475 | (mips_elf_calculate_relocation): Find the real hash-table entry | |
476 | correctly by using h->root.root.type. Only create a dynamic | |
477 | relocation entry if the symbol is defined in a shared library. | |
478 | Create an external GOT entry for the GOT16 relocation if the | |
479 | symbol was forced local. | |
480 | (_bfd_mips_elf_finish_dynamic_symbol): Don't assert there is a | |
481 | dynamic index if the symbol was forced local. | |
482 | ||
483 | 2000-06-20 Maciej W. Rozycki <macro@ds2.pg.gda.pl> | |
484 | ||
485 | * elf32-mips.c: Fix typos in comments. | |
486 | ||
1605fc4f MK |
487 | 2000-06-19 Mark Kettenis <kettenis@gnu.org> |
488 | ||
489 | * rs6000-core.c: Wrap definition of `union VmInfo' within #ifdef | |
490 | CORE_VERSION_1. | |
491 | ||
60bcf0fa NC |
492 | 2000-06-18 Stephane Carrez <stcarrez@worldnet.fr> |
493 | ||
494 | * Makefile.in, bfd-in2.h, libbfd.h, configure: Rebuild. | |
495 | * Makefile.am (ALL_MACHINES, ALL_MACHINES_CFILES, BFD32_BACKENDS, | |
496 | BFD32_BACKENDS_CFILES): Add 68hc12, 68hc11 files. | |
497 | * configure.in (bfd_elf32_m68hc12_vec): Recognize. | |
498 | (bfd_elf32_m68hc11_vec): Likewise. | |
499 | * config.bfd (targ_cpu): Recognize 68hc12 and 68hc11. | |
500 | Supports 68hc11 & 68hc12 at the same time. | |
501 | * targets.c (bfd_elf32_m68hc12_vec): Declare and put in | |
502 | bfd_target_vector. | |
503 | (bfd_elf32_m68hc11_vec): Likewise. | |
504 | * elf.c (prep_headers): Recognize bfd_arch_m68hc12 and 68hc11. | |
505 | * archures.c (bfd_m68hc12_arch): Define and register in global list | |
506 | (bfd_m68hc11_arch): Likewise. | |
507 | * reloc.c (BFD_RELOC_M68HC11_HI8, BFD_RELOC_M68HC11_LO8, | |
508 | BFD_RELOC_M68HC11_3B): Define. | |
509 | * cpu-m68hc12.c, elf32-m68hc12.c: New files for 68hc12 support. | |
510 | * cpu-m68hc11.c, elf32-m68hc11.c: New files for 68hc11 support. | |
511 | ||
f41cbf03 UC |
512 | 2000-06-18 Ulf Carlsson <ulfc@engr.sgi.com> |
513 | ||
514 | * elf_bfd.h (struct elf_backend_data): Add info argument to | |
515 | elf_backend_hide_symbol. | |
516 | (_bfd_elf_link_hash_hide_symbol): Likewise. | |
517 | * elf.c (_bfd_elf_link_hash_hide_symbol): Likewise. | |
518 | * elf64-ia64.c (elf64_ia64_hash_hide_symbol): Likewise. | |
519 | * elflink.h (elf_link_add_object_symbols): Likewise. | |
520 | (elf_link_assign_sym_version): Likewise. | |
521 | ||
689be717 L |
522 | 2000-06-18 H.J. Lu <hjl@gnu.org> |
523 | ||
524 | * coff-i386.c (coff_i386_reloc): Don't return in case of | |
525 | output_bfd == (bfd *) NULL if COFF_WITH_PE is defined. | |
526 | Compensate PE relocations when linking with non-PE object | |
527 | files to generate a non-PE executable. | |
528 | ||
9a8f3bb7 UC |
529 | 2000-06-17 Ulf Carlsson <ulfc@engr.sgi.com> |
530 | ||
531 | * elf32-mips.c (mips_elf_calculate_relocation): Explicitly write | |
532 | GOT entries if we're doing a static link or -Bsymbolic link. | |
533 | ||
32f0787a UC |
534 | 2000-06-15 Ulf Carlsson <ulfc@engr.sgi.com> |
535 | ||
536 | * elflink.h (elf_link_adjust_relocs): Check for and call backend | |
537 | specifific swap_reloc_{in,out} and swap_reloca_{in,out} if | |
538 | available. | |
539 | (elf_link_output_relocs): Likewise. | |
540 | (elf_reloc_link_order): Likewise. | |
541 | ||
87f33987 ND |
542 | 2000-06-16 Nicholas Duffek <nsd@redhat.com> |
543 | ||
544 | * archures.c (enum bfd_architecture): #define constants for | |
545 | PowerPc and RS6000 machine numbers. | |
546 | * bfd-in2.h: Regenerate. | |
547 | * coffcode.h (coff_set_arch_mach_hook): #ifdef XCOFF64, set arch | |
548 | to bfd_arch_powerpc instead of bfd_arch_rs6000. Refer to PowerPc | |
549 | and RS6000 machine numbers using #defined constants from | |
550 | archures.c. | |
551 | * cpu-powerpc.c (arch_info_struct): Refer to PowerPc and RS6000 | |
552 | machine numbers using #defined constants from archures.c. Add | |
553 | entries for EC603e, 630, A35, RS64II, RS64III, 7400. Specify | |
554 | 64-bit words in 620 entry. | |
555 | * cpu-rs6000.c (arch_info_struct): Create with entries for RS1, | |
556 | RSC, and RS2. | |
557 | (bfd_rs6000_arch): Change default machine to 0 (bfd_mach_rs6k). | |
558 | ||
a2fdf270 ND |
559 | 2000-06-16 Nicholas Duffek <nsd@cygnus.com> |
560 | ||
561 | * coffcode.h (coff_mkobject_hook): Set xcoff_tdata.xcoff64. | |
562 | * libcoff-in.h (struct xcoff_tdata): Define xcoff64 field. | |
563 | * libcoff.h (struct xcoff_tdata): Define xcoff64 field. | |
564 | ||
9bd09e22 ND |
565 | 2000-06-16 Nicholas Duffek <nsd@redhat.com> |
566 | ||
567 | * bfd-in.h (bfd_family_coff): Define. | |
568 | * bfd-in2.h: Regenerate. | |
569 | * coffgen.c (coff_count_linenumbers, coff_symbol_from, | |
570 | coff_find_nearest_line): Check COFFness using bfd_family_coff() | |
571 | instead of bfd_target_coff_flavour. | |
572 | * cofflink.c (_bfd_coff_final_link): Likewise. | |
573 | * cpu-ns32k.c (do_ns32k_reloc): Don't strcmp() target name to | |
574 | exclude XCOFF files. | |
575 | * reloc.c (bfd_perform_relocation, bfd_install_relocation): | |
576 | Likewise. | |
577 | * targets.c (enum bfd_flavour): Add bfd_target_xcoff_flavour. | |
578 | * xcoff-target.h (TARGET_SYM): Use bfd_target_xcoff_flavour. | |
579 | * xcofflink.c (XCOFF_XVECP): Delete. | |
580 | (bfd_xcoff_link_record_set, bfd_xcoff_import_symbol, | |
581 | bfd_xcoff_export_symbol, bfd_xcoff_link_count_reloc, | |
582 | bfd_xcoff_record_link_assignment, | |
583 | bfd_xcoff_size_dynamic_sections): Replace XCOFF_XVECP() with | |
584 | check for bfd_target_xcoff_flavour. | |
585 | ||
59d9f049 ND |
586 | 2000-06-16 Nicholas Duffek <nsd@redhat.com> |
587 | ||
588 | * rs6000-core.c: Support 64-bit core files, support pre-4.3 core | |
589 | files on AIX 4.3. | |
590 | (read_hdr): New function. | |
591 | (rs6000coff_core_p): Store mstsave or __context64 struct instead | |
592 | of trying to extract individual registers. Set abfd->arch_info | |
593 | to match the architecture that created the core file. | |
594 | (rs6000coff_get_section_contents): Delete. | |
595 | * xcoff-target.h (rs6000coff_get_section_contents): Delete. | |
596 | ||
63e39178 L |
597 | 2000-06-14 H.J. Lu <hjl@gnu.org> |
598 | ||
599 | * vms-misc.c (_bfd_vms_next_record): Return -1 if PRIV(vms_rec) | |
600 | is NULL. | |
601 | ||
bcef29e6 L |
602 | 2000-06-13 H.J. Lu <hjl@gnu.org> |
603 | ||
604 | * configure: Regenerate. | |
605 | ||
26bfd1c0 JR |
606 | Tue Jun 13 01:28:57 2000 J"orn Rennecke <amylaar@cygnus.co.uk> |
607 | ||
608 | * peicode.h (pe_ILF_object_p): Use TARGET_LITTLE_SYM instead of | |
609 | armpei_little_vec. | |
610 | ||
946efd95 DB |
611 | 2000-06-08 David O'Brien <obrien@FreeBSD.org> |
612 | ||
613 | * configure.in (VERSION): Update to show this is the CVS mainline. | |
614 | ||
1b452ec6 AM |
615 | 2000-06-07 Alan Modra <alan@linuxcare.com.au> |
616 | ||
617 | * elf32-d10v.c: Include elf/d10v.h | |
618 | (enum reloc_type): Delete. | |
619 | * elf32-d30v.c: Include elf/d30v.h | |
620 | (enum reloc_type): Delete. | |
621 | ||
622 | * Makefile.am: Run "make dep-am" to regenerate dependencies. | |
623 | * Makefile.in: Regenerate. | |
624 | ||
625 | * elf32-i386.c (elf_howto_table): Remove EMPTY_HOWTOs. | |
dc47f327 AM |
626 | (elf32_i386_vtinherit_howto, elf32_i386_vtentry_howto): Delete and |
627 | move HOWTOs into elf_howto_table. | |
1b452ec6 | 628 | (R_386_standard, R_386_ext_offset): Define. |
dc47f327 | 629 | (R_386_ext, R_386_vt_offset, R_386_vt): Define. |
1b452ec6 | 630 | (elf_i386_reloc_type_lookup): Modify calculation of index into |
dc47f327 | 631 | elf_howto_table since we've removed the padding. |
1b452ec6 AM |
632 | (elf_i386_info_to_howto_rel): Likewise. |
633 | (elf_i386_relocate_section): Likewise. | |
634 | ||
e0ebfc61 MS |
635 | 2000-06-06 Michael Snyder <msnyder@seadog.cygnus.com> |
636 | ||
637 | * elf.c (elf_grok_pr_status): Eliminate reference to prgregset_t. | |
638 | ||
9d6eee78 L |
639 | 2000-06-05 H.J. Lu <hjl@gnu.org> |
640 | ||
641 | * elflink.c (_bfd_elf_link_record_dynamic_symbol): Don't flag | |
642 | an error when seeing an undefined symbol with hidden/internal | |
643 | attribute. It is handled in *_relocate_section (). | |
644 | ||
94b6c40a L |
645 | 2000-06-05 H.J. Lu <hjl@gnu.org> |
646 | ||
647 | * elflink.h (elf_fix_symbol_flags): Follow the link for the | |
648 | indirect symbol for the ELF_LINK_NON_ELF bit. | |
649 | (elf_link_output_extsym): Don't output the indirect symbol even | |
650 | if the ELF_LINK_NON_ELF bit is set. | |
651 | ||
0af288f3 C |
652 | 2000-06-01 J.T. Conklin <jtc@redback.com> |
653 | ||
654 | * config.bfd (i[3456]86-*-netbsdelf*): New target. | |
655 | (i[3456]86-*-netbsdaout*): New target. | |
656 | (i[3456]86-*-netbsd*): Add bfd_elf32_i386_vec to targ_selvecs. | |
657 | (i[3456]86-*-openbsd*): Likewise. | |
658 | ||
12df4d3c AC |
659 | Tue May 30 15:39:04 2000 Andrew Cagney <cagney@b1.cygnus.com> |
660 | ||
661 | * trad-core.c: From hpux-core.c, include <dirent.h> or | |
662 | <sys/ndir.h> when possible. | |
663 | ||
c0ae4ccc NC |
664 | 2000-05-31 Nick Clifton <nickc@cygnus.com> |
665 | ||
666 | * opintl.h (_(String)): Explain why dgettext is used instead | |
667 | of gettext. | |
668 | ||
321fa097 UD |
669 | 2000-05-31 Ulrich Drepper <drepper@redhat.com> |
670 | ||
671 | * elf.c (_bfd_elf_slurp_version_tables): Correct reading of version | |
672 | definitions. We must not assume they are sorted in the file | |
673 | according to their index numbers. | |
674 | ||
70d72e0e AM |
675 | 2000-05-31 Alan Modra <alan@linuxcare.com.au> |
676 | ||
677 | * elf-hppa.h: (elf_hppa_final_link_relocate): Use e_rsel field | |
678 | selector for R_PARISC_PCREL17R. R_PARISC_DIR17R and | |
679 | R_PARISC_DIR17F are for absolute branches; Handle them as such. | |
680 | ||
96f6d4c4 NC |
681 | 2000-05-30 Nick Clifton <nickc@cygnus.com> |
682 | ||
683 | * cpu-i960.c (scan_960_mach): Accept 80960KA, 80960KB, | |
684 | 80960CA, 80960MC as valid machine names. | |
685 | ||
38048eb9 L |
686 | 2000-05-30 H.J. Lu <hjl@gnu.org> |
687 | ||
688 | * elflink.c (_bfd_elf_link_record_dynamic_symbol): Clear the | |
689 | visibility bits if the symbol is undefined. Correctly handle | |
690 | weak undefined symbols with hidden and internal attributes. | |
691 | ||
692 | * elflink.h (elf_link_add_object_symbols): Always turn the | |
693 | symbol into local if it has the hidden or internal attribute. | |
694 | ||
8c763017 PB |
695 | 2000-05-29 Philip Blundell <philb@gnu.org> |
696 | ||
697 | * ppcboot.c: Add packed attribute if compiling with GCC. | |
698 | ||
1ae00f9d AM |
699 | 2000-05-29 Anatoly Vorobey <mellon@pobox.com> |
700 | ||
701 | * elf.c (_bfd_elf_link_hash_table_init): Initialize dynlocal. | |
702 | ||
4a938328 MS |
703 | 2000-05-26 Michael Snyder <msnyder@seadog.cygnus.com> |
704 | ||
705 | * elf.c (elfcore_grok_prstatus, elfcore_grok_pstatus, | |
706 | elfcore_grok_psinfo): Add code to allow debugging a 32-bit | |
707 | corefile on a 64-bit (Sparc Solaris) host. Also clean up | |
708 | a few old comments. | |
709 | ||
5af11cab AM |
710 | 2000-05-26 Alan Modra <alan@linuxcare.com.au> |
711 | ||
2114f57b AM |
712 | * Makefile.am: Update dependencies with "make dep-am" |
713 | * Makefile.in: Regenerate. | |
714 | ||
5af11cab AM |
715 | * sysdep.h (gettext, dgettext, dcgettext, textdomain, |
716 | bindtextdomain): Replace defines with those from intl/libgettext.h | |
717 | to quieten gcc warnings. | |
718 | ||
719 | 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il> | |
720 | ||
721 | * aoutx.h (find_nearest_line): Use IS_ABSOLUTE_PATH. | |
722 | ||
723 | * archive.c (normalize, bfd_bsd_truncate_arname, | |
724 | bfd_gnu_truncate_arname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support | |
725 | file names with backslashes. | |
726 | ||
727 | * cache.c (bfd_open_file) [__MSDOS__]: Don't unlink the file | |
728 | before opening it. | |
729 | ||
730 | * sysdep.h: Include filenames.h. | |
731 | ||
b6cdd0fd AM |
732 | 2000-05-26 Alan Modra <alan@linuxcare.com.au> |
733 | ||
734 | * opncls.c (bfd_close_all_done): Mask file perms with 0777 not 0x777. | |
735 | ||
f7775d95 JJ |
736 | 2000-05-26 Jakub Jelinek <jakub@redhat.com> |
737 | ||
738 | * elf64-sparc.c (sparc64_elf_relax_section): New. | |
739 | (sparc64_elf_relocate_section): Optimize tail call into branch always | |
740 | if possible. | |
741 | * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. | |
742 | (elf32_sparc_relax_section): New. | |
743 | ||
6c08d697 JJ |
744 | 2000-05-26 Jakub Jelinek <jakub@redhat.com> |
745 | ||
746 | * elf64-sparc.c: Add ATTRIBUTE_UNUSED to unused function parameters. | |
747 | Remove unusued variables. | |
748 | (sparc64_elf_relocate_section): Change r_symndx type to unsigned long. | |
749 | (sparc64_elf_merge_private_bfd_data): Fix shared library case from | |
750 | previous fix, so that shared libs really don't influence targets | |
751 | extension mask and memory model. | |
752 | ||
edb72b3b L |
753 | 2000-05-23 H.J. Lu <hjl@gnu.org> |
754 | ||
755 | * elf64-alpha.c (elf64_alpha_relocate_section): Check | |
756 | h->root.other not h->other. | |
ba09750c L |
757 | * elf32-mips.c (mips_elf_calculate_relocation): Likewise. |
758 | ||
759 | * elf32-ppc.c (ppc_elf_relocate_section): Fix a typo. | |
edb72b3b | 760 | |
3a27a730 L |
761 | 2000-05-23 H.J. Lu <hjl@gnu.org> |
762 | ||
763 | * elf32-i386.c (elf_i386_relocate_section): Don't allow the | |
764 | undefined symbol with the non-default visibility attributes. | |
765 | * elf-hppa.h (elf_hppa_relocate_section): Likewise. | |
766 | * elf32-arm.h (elf32_arm_relocate_section): Likewise. | |
767 | * elf32-i370.c (i370_elf_relocate_section): Likewise. | |
768 | * elf32-m68k.c (elf_m68k_relocate_section): Likewise. | |
769 | * elf32-mcore.c (mcore_elf_relocate_section): Likewise. | |
770 | * elf32-mips.c (mips_elf_calculate_relocation): Likewise. | |
771 | * elf32-ppc.c (ppc_elf_relocate_section): Likewise. | |
772 | * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. | |
773 | * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. | |
774 | * elf64-ia64.c (elf64_ia64_relocate_section): Likewise. | |
775 | * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. | |
776 | ||
748abff6 RH |
777 | 2000-05-22 Richard Henderson <rth@cygnus.com> |
778 | ||
779 | * elf64-ia64.c (ia64_howto_table): Add PCREL60B, PCREL21BI, | |
780 | PCREL22, PCREL64I. Zero size of special relocs. | |
781 | (elf64_ia64_reloc_type_lookup): Likewise. | |
782 | (USE_BRL, oor_brl, oor_ip): New. | |
783 | (elf64_ia64_relax_section): New. | |
784 | (elf64_ia64_check_relocs): Handle PCREL60B, PCREL22, PCREL64I. | |
785 | (elf64_ia64_install_value): Likewise, plus PCREL21BI. | |
786 | (elf64_ia64_relocate_section): Likewise. | |
787 | (bfd_elf64_bfd_relax_section): New. | |
788 | * reloc.c (BFD_RELOC_IA64_PCREL21BI): New. | |
789 | (BFD_RELOC_IA64_{PCREL22,PCREL60B,PCREL64I}): New. | |
790 | * bfd-in2.h, libbfd.h: Regenerate. | |
791 | ||
fb67355a NC |
792 | 2000-05-22 Nick Clifton <nickc@cygnus.com> |
793 | ||
794 | * configure.in : Add peigen.lo to MIPS PE targets. | |
795 | * configure: Regenerate. | |
796 | ||
1fe494a5 NC |
797 | 2000-05-22 Momchil Velikov <velco@fadata.bg> |
798 | ||
799 | * libbfd.c (_bfd_generic_verify_endian_match): Compare endianess | |
748abff6 | 800 | only if it is known for both input and output bfds. Separate |
1fe494a5 NC |
801 | error message strings as in some languages, it may be necessary |
802 | to change more than one place in the string to change between | |
803 | 'big' and 'little'. | |
804 | ||
805 | * elf32-ppc.c (ppc_elf_merge_private_bfd_data): Remove inline | |
806 | endianess checks, call _bfd_generic_verify_endian_match() instead. | |
807 | ||
808 | * elf32-mips.c (_bfd_mips_elf_merge_private_bfd_data): Likewise. | |
809 | ||
810 | * elf32-mcore.c (mcore_elf_merge_private_bfd_data): Likewise. | |
811 | ||
812 | * elf32-arm.h (elf32_arm_merge_private_bfd_data): Likewise. Verify | |
813 | endianess before checking bfd flavours. | |
814 | ||
32c092c3 L |
815 | 2000-05-22 H.J. Lu <hjl@gnu.org> |
816 | ||
817 | * elflink.h (elf_link_output_extsym): Clear the visibility | |
818 | field for symbols not defined locally. | |
819 | ||
df6d9773 JL |
820 | 2000-05-18 Alan Modra <alan@linuxcare.com.au> |
821 | ||
822 | * libhppa.h (re_assemble_3, re_assemble_12, re_assemble_16, | |
823 | re_assemble_17, re_assemble_21, re_assemble_22): Don't mask insn. | |
824 | (hppa_rebuild_insn): Mask immediate bits here instead. | |
825 | * elf-hppa.h (elf_hppa_relocate_insn): Mask here too. | |
826 | ||
7ad34365 NC |
827 | 2000-05-18 Momchil Velikov <velco@fadata.bg> |
828 | ||
829 | * elflink.h (elf_bfd_final_link, elf_link_input_bfd): When emiting | |
830 | relocs for an executable, ensure that they are virtual addresses. | |
831 | ||
d1dab720 JL |
832 | Thu May 18 10:55:47 2000 Jeffrey A Law (law@cygnus.com) |
833 | ||
834 | * config.bfd (hppa*64*-*-hpux11*): New target triplet. | |
835 | ||
a712da20 NC |
836 | 2000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com> |
837 | Rick Gorton <gorton@scrugs.lkg.dec.com> | |
838 | ||
839 | * elflink.h: Add emitrelocations support: when enabled, relocation | |
840 | information and relocation sections are put into final output | |
841 | executables. If the emitrelocations flag is set, do the following: | |
842 | (elf_bfd_final_link): Emit relocation sections. | |
843 | (elf_link_input_bfd): Compute relocation section contents. | |
844 | (elf_gc_sections): Don't clean relocation sections. | |
845 | ||
10febd84 CM |
846 | 2000-05-16 Catherine Moore <clm@cygnux.com> |
847 | ||
848 | * som.c (som_decode_symclass): Recognize weak symbols. | |
849 | ||
db8503c4 AM |
850 | 2000-05-16 Szabolcs Szakacsits <szaka@F-Secure.com> |
851 | ||
852 | * peigen.c (pe_print_idata): Undo part of 2000-05-12 change that | |
853 | read idata section only from dataoff. | |
854 | (pe_print_edata): Correctly check for valid eat_member. | |
855 | ||
851cde10 JR |
856 | Tue May 16 00:04:11 2000 J"orn Rennecke <amylaar@cygnus.co.uk> |
857 | ||
858 | * elf32-sh.c (sh_elf_relax_delete_bytes): Handle R_SH_SWITCH8. | |
859 | ||
1bde2d57 PB |
860 | 2000-05-14 Philip Blundell <philb@gnu.org> |
861 | ||
862 | * config.bfd (armeb-*-elf, arm*b-*-linux-gnu*): New targets. | |
863 | ||
a76b448c AM |
864 | 2000-05-12 Alan Modra <alan@linuxcare.com.au> |
865 | ||
9ee25201 AM |
866 | * targets.c (bfd_target_vector): #ifdef BFD64 rs6000coff64_vec |
867 | ||
a76b448c AM |
868 | * peigen.c (pe_print_idata): Look for .idata section and print |
869 | info even if data directory has zero entries. Read idata section | |
870 | starting from dataoff, and adjust all data offsets to suit. Cast | |
871 | all bfd_vma vars to unsigned long before passing to fprintf. | |
872 | * peigen.c (pe_print_edata): Similarly, look for .edata section | |
873 | and print info even if data directory has zero entries. Cast | |
874 | all bfd_vma vars to unsigned long before passing to fprintf. | |
875 | ||
876 | From Szabolcs Szakacsits <szaka@F-Secure.com> | |
877 | * peigen.c (pe_print_idata): Use bfd_section_size rather than data | |
878 | directory size which may be bogus. | |
879 | * peigen.c (pe_print_edata): Similarly. | |
880 | ||
72730e0c AM |
881 | 2000-05-09 Alan Modra <alan@linuxcare.com.au> |
882 | ||
883 | * elf.c (bfd_section_from_shdr): Don't set use_rela_p if rela | |
884 | section is empty. | |
885 | (copy_private_bfd_data): Allow for space possibly taken up by elf | |
886 | headers when calculating segment physical address from lma. | |
887 | ||
8181c403 AM |
888 | 2000-05-08 Alan Modra <alan@linuxcare.com.au> |
889 | ||
bfde9f99 AM |
890 | * versados.c (versados_scan): Init stringlen and pass_2_done. |
891 | ||
b35efbcd AM |
892 | * trad-core.c (trad_unix_core_file_p): Return |
893 | bfd_error_wrong_format rather than bfd_error_file_truncated. | |
894 | ||
8181c403 AM |
895 | * peigen.c (_bfd_pei_swap_aouthdr_out): Pass ImageBase to |
896 | add_data_entry. DataDirectory virtual address is relative. | |
897 | (pe_print_idata): Account for relative DataDirectory virtual | |
898 | addresses. Don't trash datasize inside POWERPC_LE_PE code. | |
899 | (pe_print_edata): Similarly. | |
900 | ||
901 | From Szabolcs Szakacsits <szaka@F-Secure.com> | |
902 | * peigen.c (dir_names): Add Delay Import Directory. | |
903 | (pe_print_idata): Always search for bfd section containing | |
904 | idata address rather than looking up section name. Print this | |
905 | section name rather than .idata. | |
906 | (pe_print_edata): Similarly. Also print some fields as %08lx. | |
907 | (_bfd_pe_print_private_bfd_data_common): Print Reserved1 field as | |
908 | Win32Version. | |
909 | ||
2c38bc20 CP |
910 | Fri May 5 20:44:40 2000 Clinton Popetz <cpopetz@cygnus.com> |
911 | ||
912 | * xcoff.h: Rename to xcoff-target.h | |
913 | * Makefile.am: Change all instances of xcoff.h to xcoff-target.h | |
914 | * coff-rs6000.c: Ditto. | |
915 | * coff64-rs6000.c: Ditto. | |
916 | * coff-pmac.c: Ditto. | |
917 | * Makefile.in: Regenerate. | |
918 | ||
c6664dfb CP |
919 | Fri May 5 16:51:03 2000 Clinton Popetz <cpopetz@cygnus.com> |
920 | ||
921 | * coffcode.h (coff_set_arch_mach_hook, coff_set_flags): | |
922 | Change U802TOC64MAGIC to U803XTOCMAGIC. | |
923 | ||
3425c182 MS |
924 | 2000-05-04 Michael Snyder <msnyder@seadog.cygnus.com> |
925 | ||
926 | * elf.c (bfd_elf_get_arch_size): New function, return 32 | 64 | -1. | |
927 | * bfd-in.h: Prototype bfd_elf_get_arch_size. | |
928 | * bfd-in2.h: Prototype bfd_elf_get_arch_size. | |
929 | ||
7c30ac37 AM |
930 | 2000-05-04 Alan Modra <alan@linuxcare.com.au> |
931 | ||
932 | * libhppa.h (HPPA_R_CONSTANT): Cast argument to bfd_signed_vma. | |
933 |