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