Commit | Line | Data |
---|---|---|
49bd834c AM |
1 | 2000-09-05 Alan Modra <alan@linuxcare.com.au> |
2 | ||
3 | * elf-hppa.h (elf_hppa_howto_table): Restructure into groups of | |
4 | eight entries. Replace NULL with bfd_elf_generic_reloc. Add | |
5 | R_PARISC_GNU_VTENTRY, R_PARISC_GNU_VTINHERIT and R_PARISC_PCREL12F. | |
6 | (_bfd_elf_hppa_gen_reloc_type): Handle R_PARISC_GNU_VT*. Add some | |
7 | comments. Handle format == 12 for R_HPPA_PCREL_CALL. | |
8 | (elf_hppa_final_link_relocate): Handle R_PARISC_PCREL12F. | |
9 | (elf_hppa_relocate_insn): Likewise. Reformat some comments. | |
10 | (elf_hppa_final_write_processing): Expose it for ARCH_SIZE == 32. | |
11 | ||
12 | From David Huggins-Daines <dhd@linuxcare.com> | |
13 | * elf-hppa.h (elf_hppa_is_local_label_name): Accept the SysV/ELF | |
14 | style of local labels as well. | |
15 | ||
05924f36 PB |
16 | 2000-09-03 Philip Blundell <philb@gnu.org> |
17 | ||
18 | * elf32-arm.h (elf32_arm_relocate_section): Don't try to relocate | |
19 | references to undefined symbols in debugging sections. | |
20 | ||
3d96075c L |
21 | 2000-09-02 H.J. Lu <hjl@gnu.org> |
22 | ||
23 | * reloc.c (BFD_RELOC_SH_COPY, BFD_RELOC_SH_GLOB_DAT, | |
24 | BFD_RELOC_SH_JMP_SLOT, BFD_RELOC_SH_RELATIVE, | |
25 | BFD_RELOC_SH_GOTPC): Move them from the MIPS section to the SH | |
26 | section. | |
27 | ||
de24da47 JE |
28 | 2000-09-02 Jason Eckhardt <jle@cygnus.com> |
29 | ||
30 | * elf32-i860.c (bfd_elf32_bfd_is_local_label_name): Define macro. | |
31 | (elf32_i860_is_local_label_name): New function and prototype. | |
32 | ||
18e03609 NC |
33 | 2000-09-02 Nick Clifton <nickc@redhat.com> |
34 | ||
35 | * configure.in: Increase version number to 2.10.91. | |
36 | * configure: Regenerate. | |
37 | * aclocal.m4: Regenerate. | |
38 | * config.in: Regenerate. | |
39 | * po/bfd.pot: Regenerate. | |
40 | ||
7a6cc5fb NC |
41 | 2000-09-02 Daniel Berlin <dberlin@redhat.com> |
42 | ||
43 | * elf.c (_bfd_elf_make_section_from_shdr): Add | |
44 | .gnu.linkobce.wi. to the list of debug section names. | |
45 | ||
a092b084 NC |
46 | 2000-09-02 Nick Clifton <nickc@redhat.com> |
47 | ||
48 | * dwarf2.c (find_debug_info): New function: Locate a section | |
49 | containing dwarf2 debug information. | |
50 | (bfd_dwarf2_find_nearest_line): Find all sections containing | |
51 | debug information and include them in the stash. | |
52 | ||
37c644f2 AO |
53 | 2000-09-01 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com> |
54 | ||
55 | * elf32-sh.c (R_SH_GOT32, R_SH_PLT32, R_SH_COPY, R_SH_GLOB_DAT, | |
56 | R_SH_JMP_SLOT, R_SH_RELATIVE, R_SH_GOTOFF, R_SH_GOTPC): New. | |
57 | (sh_reloc_map): Add new relocs. | |
58 | (sh_elf_check_relocs, sh_elf_link_hash_newfunc, | |
59 | sh_elf_link_hash_table_create, sh_elf_adjust_dynamic_symbol, | |
60 | sh_elf_size_dynamic_sections, sh_elf_finish_dynamic_symbol, | |
61 | sh_elf_finishe_dynamic_sections, sh_elf_discard_copies): New | |
62 | functions. | |
63 | (ELF_DYNAMIC_INTERPRETER, PLT_ENTRY_SIZE): Define. | |
64 | (elf_sh_plt0_entry_be, elf_sh_plt0_entry_le, | |
65 | elf_sh_plt_entry_be, elf_sh_plt_entry_le, | |
66 | elf_sh_pic_plt_entry_be, elf_sh_pic_plt_entry_le): | |
67 | New array constants. | |
68 | (elf_sh_plt0_entry, elf_sh_plt_entry, elf_sh_pic_plt_entry): | |
69 | New variables. | |
70 | (elf_sh_sizeof_plt, elf_sh_plt_plt0_offset, | |
71 | elf_sh_plt0_linker_offset, elf_sh_plt0_gotid_offset, | |
72 | elf_sh_plt_temp_offset, elf_sh_plt_symbol_offset, | |
73 | elf_sh_plt_reloc_offset): Define. | |
74 | (elf_sh_pcrel_relocs_copied, elf_sh_link_hash_entry, | |
75 | elf_sh_link_hash_table): New structs. | |
76 | (sh_elf_link_hash_traverse, sh_elf_hash_table): New macros. | |
77 | (sh_elf_relocate_section, sh_elf_check_relocs): Handle new | |
78 | relocation types. | |
79 | (elf_backend_create_dynamic_sections, | |
80 | bfd_elf32_bfd_link_hash_table_create, | |
81 | elf_backend_adjust_dynamic_symbol, | |
82 | elf_backend_size_dynamic_sections, | |
83 | elf_backend_finish_dynamic_symbol, | |
84 | elf_backend_finish_dynamic_sections, elf_backend_want_got_plt, | |
85 | elf_backend_plt_readonly, elf_backend_want_plt_sym, | |
86 | elf_backend_got_header_size, elf_backend_plt_header_size): | |
87 | Define. | |
88 | * reloc.c (BFD_RELOC_SH_COPY, BFD_RELOC_SH_GLOB_DAT, | |
89 | BFD_RELOC_SH_JMP_SLOT, BFD_RELOC_SH_RELATIVE, BFD_RELOC_SH_GOTPC): | |
90 | New relocs. | |
91 | * bfd-in2.h, libbfd.h: Rebuilt. | |
92 | ||
791987af AM |
93 | 2000-09-01 Alan Modra <alan@linuxcare.com.au> |
94 | ||
95 | * elf32-i386.c (elf_i386_finish_dynamic_symbol): Revert 2000-08-27 | |
96 | change. | |
97 | ||
a39b79b9 JR |
98 | Thu Aug 31 22:49:30 2000 J"orn Rennecke <amylaar@cygnus.co.uk> |
99 | ||
100 | * elf32-sh.c (sh_elf_merge_private_data): If ibfd's elf header flags | |
101 | not initialized, set them to indicate the SH1 instruction set. | |
102 | ||
ac48eca1 AO |
103 | 2000-08-31 Alexandre Oliva <aoliva@redhat.com> |
104 | ||
105 | * acinclude.m4: Include libtool and gettext macros from the | |
106 | top level. | |
107 | * aclocal.m4, configure: Rebuilt. | |
108 | ||
7ee38065 MS |
109 | 2000-08-29 Michael Snyder <msnyder@seadog.cygnus.com> |
110 | ||
111 | * elf.c: Eliminate references to __sparcv9 macro; replace with | |
112 | autoconf variables HAVE_PSINFO32_T etc. | |
113 | * configure.in: Auto-configure HAVE_PSINFO_32_T, HAVE_PRPSINFO32_T, | |
114 | HAVE_PSTATUS32_T, HAVE_PRSTATUS32_T, HAVE_PRSTATUS32_T_PR_WHO. | |
115 | * config.in: Ditto. | |
116 | * acinclude.m4 (BFD_HAVE_SYS_PROCFS_TYPE) define _SYSCALL32 so it can | |
117 | detect the above typedefs. (BFD_HAVE_SYS_PROCFS_TYPE_MEMBER): Ditto. | |
118 | * aclocal.m4: Ditto. | |
119 | * configure: Regenerate. | |
120 | ||
f69da49f AM |
121 | 2000-08-27 Alan Modra <alan@linuxcare.com.au> |
122 | ||
123 | * elf32-i386.c (elf_i386_check_relocs): Keep info on relocs copied | |
124 | for any shared link, not just shared -Bsymbolic. | |
125 | (elf_i386_size_dynamic_sections): Call elf_i386_discard_copies on | |
126 | any shared link, and pass link info to it. | |
127 | (elf_i386_size_dynamic_sections): Update comment. | |
128 | (elf_i386_discard_copies): Modify to discard relocs for symbols | |
129 | that have been forced local. | |
130 | (elf_i386_finish_dynamic_symbol): Don't copy relocs for symbols | |
131 | that have been forced local. | |
132 | ||
724982f6 NC |
133 | 2000-08-24 Denis Chertykov <denisc@overta.ru> & Nick Clifton <nickc@redhat.com> |
134 | ||
135 | * elflink.h (elf_link_add_object_symbols): Allow common | |
136 | symbols to have an alignment of 1 if explicitly requested, and | |
137 | not overridden by other definitions. | |
138 | ||
371e71b8 NC |
139 | 2000-08-22 Doug Kwan <dkwan@transmeta.com> |
140 | ||
141 | * coff-w65.c (CREATE_LITTLE_COFF_TARGET): Fix typo. | |
142 | * coffcode.h (coff_set_flags): Add detection of w65 architecture. | |
143 | ||
a963dc6a L |
144 | 2000-08-22 H.J. Lu <hjl@gnu.org> |
145 | ||
146 | * elf-bfd.h (elf_link_hash_table): Add runpath. | |
147 | ||
148 | * bfd-in.h (bfd_elf_get_runpath_list): New prototype. | |
149 | * bfd-in2.h: Rebuilt. | |
150 | ||
151 | * elf.c (_bfd_elf_link_hash_table_init): Initialize the | |
152 | "runpath" field to NULL. | |
153 | (bfd_elf_get_runpath_list): New function. | |
154 | ||
155 | * elflink.h (elf_link_add_object_symbols): Record DT_RPATH and | |
156 | DT_RUNPATH entries. | |
157 | ||
9bdafcce AO |
158 | 2000-08-22 Alexandre Oliva <aoliva@redhat.com> |
159 | ||
160 | * elf32-sh.c (sh_elf_relocate_section) [R_SH_IND12W, | |
161 | R_SH_DIR8WPN, R_SH_DIR8WPZ, R_SH_DIR8WPL]: Handle them | |
162 | explicitly. Improve validation of r_type. | |
163 | ||
7a9af8c4 NC |
164 | 2000-08-21 H.J. Lu <hjl@gnu.org> |
165 | ||
166 | * elf32-i386.c (elf_i386_size_dynamic_sections): Zero out the | |
167 | dynamic allocated content space. Add a comment to remind us that | |
168 | one day this ought to be fixed. | |
169 | * elf32-m68k.c (elf_m68k_size_dynamic_sections): Likewise. | |
170 | * elf32-sparc.c (elf32_sparc_size_dynamic_sections): Likewise. | |
171 | * elf64-hppa.c (elf64_hppa_size_dynamic_sections): Likewise. | |
172 | ||
ded0649c JE |
173 | 2000-08-21 Jason Eckhardt <jle@cygnus.com> |
174 | ||
175 | * elf32-i860.c (elf32_i860_relocate_pc16): Just write the immediate | |
176 | field with the newly relocated value instead of adding it to the | |
177 | existing immediate field. | |
178 | (elf32_i860_relocate_splitn): Likewise. | |
179 | (elf32_i860_relocate_highadj): Likewise. | |
180 | ||
d670a150 JE |
181 | 2000-08-16 Jason Eckhardt <jle@cygnus.com> |
182 | ||
183 | * elf32-i860.c (elf32_i860_relocate_pc16): Implemented function (it | |
184 | was previously just a stub). | |
185 | ||
bb0deeff AO |
186 | 2000-08-16 Alexandre Oliva <aoliva@redhat.com> |
187 | ||
188 | * elflink.c (_bfd_elf_create_got_section): Don't abort(). | |
189 | Formatting fixes. | |
190 | (_bfd_elf_create_dynamic_sections): Likewise. | |
191 | ||
be040dbb JJ |
192 | 2000-08-16 Andrew Macleod <amacleod@cygnus.com> |
193 | ||
194 | * elf64-sparc.c (sparc64_elf_relocate_section): Set relocation address | |
195 | for undefined symbols to be the beginning of the section. | |
196 | ||
197 | * elf64-sparc.c (sparc64_elf_adjust_dynamic_symbol): Don't allocate | |
198 | four extra entries at the beginning of the .rela.plt section. | |
199 | (sparc64_elf_finish_dynamic_symbol): Adjust the offset in the .rela.plt | |
200 | section to account for the four reserved entries in the .plt section. | |
201 | ||
31612ca6 GK |
202 | 2000-08-15 Geoffrey Keating <geoffk@cygnus.com> |
203 | ||
204 | * xcofflink.c (_bfd_ppc_xcoff_relocate_section): Add ori r0,r0,0 | |
205 | to the list of NOPs we recognize after a branch-and-link. | |
206 | Use the ori NOP when one is needed. | |
207 | ||
208 | * coff-rs6000.c (_bfd_xcoff_slurp_armap): Finish implementation | |
209 | for large archives. | |
210 | ||
c43c2cc5 JW |
211 | 2000-08-14 Jim Wilson <wilson@cygnus.com> |
212 | ||
213 | * elf64-ia64.c (elf64_ia64_merge_private_bfd_data): Handle | |
214 | EF_IA_64_REDUCEDFP, EF_IA_64_CONS_GP, and EF_IA_64_NOFUNCDESC_CONS_GP. | |
215 | (elf64_ia64_print_private_bfd_data): Likewise. Also handle | |
216 | EF_IA_64_ABSOLUTE. | |
217 | ||
1630fd2b AO |
218 | 2000-08-11 Alexandre Oliva <aoliva@redhat.com> |
219 | ||
220 | * elf32-sh.c (sh_elf_set_mach_from_flags): Make it static. | |
221 | ||
fdeafce7 JE |
222 | 2000-08-10 Jason Eckhardt <jle@cygnus.com> |
223 | ||
224 | * elf32-i860.c (elf32_i860_relocate_section): New function. | |
225 | (i860_final_link_relocate): New function. | |
226 | (elf32_i860_relocate_splitn): New function. | |
227 | (elf32_i860_relocate_pc16): New function. | |
228 | (elf32_i860_relocate_highadj): New function. | |
229 | (elf32_i860_howto): Minor adjustments to some relocations. | |
230 | (elf_info_to_howto_rel): Define. | |
231 | (elf_backend_relocate_section): Define. | |
232 | ||
9b485d32 NC |
233 | 2000-08-10 Nick Clifton <nickc@cygnus.com> |
234 | ||
235 | * elf32-arm.h: Fix formatting. | |
236 | ||
00fdaf47 BS |
237 | 2000-08-10 Bernd Schmidt <bernds@cygnus.co.uk> |
238 | ||
239 | * elf32-sh.c (sh_elf_reloc_loop): Make LAST_SYMBOL_SECTION static. | |
240 | ||
305d537e JE |
241 | 2000-08-08 Jason Eckhardt <jle@cygnus.com> |
242 | ||
243 | * elf32-i860.c (elf32_i860_howto_table): Updated some fields. | |
244 | ||
46f5aac8 KH |
245 | 2000-08-07 Kazu Hirata <kazu@hxi.com> |
246 | ||
dce61835 KH |
247 | * ieee.c (ieee_write_debug_part): Rewrite a comment. |
248 | * elf64-ia64.c: Fix a typo. | |
46f5aac8 | 249 | |
0e5136c6 JE |
250 | 2000-08-05 Jason Eckhardt <jle@cygnus.com> |
251 | ||
252 | * elf32-i860 (elf32_i860_howto_table): New structure. | |
253 | (lookup_howto): New function. | |
254 | (elf32_i860_reloc_type_lookup): New function. | |
255 | (elf32_i860_info_to_howto_rela): New function. | |
256 | (elf_code_to_howto_index): New structure. | |
257 | (elf_info_to_howto): Re-define as elf32_i860_info_to_howto_rela. | |
258 | (bfd_elf32_bfd_reloc_type_lookup): Re-define as | |
259 | elf32_i860_reloc_type_lookup. | |
260 | ||
7dca057b JL |
261 | 2000-08-04 Rodney Brown <RodneyBrown@pmsc.com> |
262 | ||
263 | * som.c (struct fixup_format): Constify `format'. | |
264 | (som_hppa_howto_table): Use SOM_HOWTO macro. | |
265 | (try_prev_fixup, hppa_som_reloc): Decorate unused parameter. | |
266 | (som_bfd_reloc_type_lookup): Likewise. | |
267 | (compare_subspaces): Remove unused `count1', `count2'. | |
268 | (som_begin_writing): Remove unused `total_reloc_size'. | |
269 | (som_bfd_derive_misc_symbol_info): Decorate unused parameter. | |
270 | (som_print_symbol, som_bfd_is_local_label_name): Likewise. | |
271 | (som_set_reloc_info): Constify `cp'. Remove unused `addend'. | |
272 | (som_find_nearest_line): Decorate unused parameter(s). | |
273 | (som_sizeof_headers, som_get_symbol_info, som_write_armap): Likewise. | |
274 | (som_bfd_link_split_section): Likewise. | |
275 | ||
bc67d8a6 NC |
276 | 2000-08-03 Nick Clifton <nickc@cygnus.com> |
277 | ||
278 | * section.c: Restore backed out code. | |
279 | * elf.c: Restore backed out code. | |
280 | (copy_private_bfd_data): Fix bug preventing stipped dynamic | |
281 | binaries from working. | |
282 | * bfd-in2.h: Regenerate. | |
283 | ||
c0f7859b L |
284 | 2000-08-03 H.J. Lu <hjl@gnu.org> |
285 | ||
286 | * section.c: Back out the change made by Nick Clifton | |
287 | <nickc@cygnus.com> on 2000-07-31. It breaks stripping dynamic | |
288 | binaries. | |
289 | * bfd-in2.h: Likewise. | |
290 | * elf.c: Likewise. | |
291 | ||
61ff1804 AO |
292 | 2000-08-03 Alexandre Oliva <aoliva@redhat.com> |
293 | ||
294 | * elf32-sh.c (sh_elf_reloc_loop): Warning removal. | |
295 | ||
a87fdb8d JE |
296 | 2000-07-31 Jason Eckhardt <jle@cygnus.com> |
297 | ||
298 | * reloc.c (BFD_RELOC_860_*): New bfd relocs for i860. | |
299 | * bfd-in2.h, libbfd.h: Regenerate. | |
300 | ||
5c440b1e NC |
301 | 2000-07-31 Nick Clifton <nickc@cygnus.com> |
302 | ||
303 | * section.c (struct sec): Add new boolean field 'segment_mark'. | |
304 | (STD_SECTION): Initialise new field to zero. | |
305 | ||
306 | * bfd-in2.h: Regenerate. | |
307 | ||
308 | * elf.c (copy_private_bfd_data): Reorganise section to segment | |
309 | mapping to cope with moved sections requiring new segments, | |
310 | and overlapping segments. | |
311 | (SEGMENT_END): New macro: Return the end address of a segment. | |
312 | (IS_CONTAINED_BY_VMA): New macro: Determine if a segment | |
313 | contains a section by comparing their VMA addresses. | |
314 | (IS_CONTAINED_BY_LMA): New macro: Determine if a segment | |
315 | contains a section by comparing their LMA addresses. | |
316 | (INCLUDE_SECTION_IN_SEGMENT): New macro: Determine if a | |
317 | section should be included in a segment. | |
318 | (SEGMENT_AFTER_SEGMENT): New macro: Determine if one segment | |
319 | follows another in memory. | |
320 | (SEGMENT_OVERLAPS_SEGMENT): New macro: Determine if two | |
321 | segments overlap. | |
322 | ||
aa76cae8 | 323 | 2000-07-22 Jason Eckhardt <jle@cygnus.com> |
24208c5c JE |
324 | |
325 | * cpu-i860.c: Added comments. | |
326 | ||
327 | * elf32-i860.c (TARGET_LITTLE_SYM): Defined to | |
328 | bfd_elf32_i860_little_vec. | |
329 | (TARGET_LITTLE_NAME): Defined to "elf32-i860-little". | |
330 | (ELF_MAXPAGESIZE): Changed to 4096. | |
331 | ||
332 | * targets.c (bfd_elf32_i860_little_vec): Declaration of | |
333 | new target. | |
334 | (bfd_target_vector): Added bfd_elf32_i860_little_vec. | |
335 | ||
336 | * config.bfd (i860-stardent-sysv4*, i860-stardent-elf*): Added | |
337 | config for little endian elf32 i860. | |
338 | (targ_defvec): Define for the new config above | |
339 | as "bfd_elf32_i860_little_vec". | |
340 | (targ_selvecs): Define for the new config above | |
341 | as "bfd_elf32_i860_vec bfd_elf32_i860_little_vec" | |
342 | ||
343 | * configure.in (bfd_elf32_i860_little_vec): Added recognition | |
344 | of new target vec. | |
345 | ||
346 | * configure: Regenerated. | |
347 | ||
456981d7 L |
348 | 2000-07-27 H.J. Lu <hjl@gnu.org> |
349 | ||
350 | * elflink.h (elf_merge_symbol): Take one more argument, | |
351 | dt_needed, to indicate if the symbol comes from a DT_NEEDED | |
352 | entry. Don't overide the existing weak definition if dt_needed | |
353 | is true. | |
354 | (elf_link_add_object_symbols): Pass dt_needed to | |
355 | elf_merge_symbol (). | |
356 | ||
755cfd29 NC |
357 | 2000-07-27 Nick Clifton <nickc@cygnus.com> |
358 | ||
359 | * elflink.h (elf_link_size_reloc_section): Zeroes the section's | |
360 | allocated contents. | |
361 | ||
1a6df346 GK |
362 | 2000-07-25 Geoffrey Keating <geoffk@cygnus.com> |
363 | ||
adfdf838 GK |
364 | * configure.host (*-*-aix*): AIX has 'long long' always. |
365 | ||
1a6df346 GK |
366 | * coff-rs6000.c (xcoff_write_one_armap_big): New procedure. |
367 | (xcoff_write_armap_big): Write both 32-bit and 64-bit armaps. | |
368 | (xcoff_write_archive_contents_big): Don't update the offset | |
369 | of the symbol table, xcoff_write_armap will do it. | |
370 | ||
313ba8d6 UC |
371 | 2000-07-23 Ulf Carlsson <ulfc@engr.sgi.com> |
372 | ||
373 | * elf32-mips.c (_bfd_mips_elf_check_relocs): Use abfd instead | |
374 | of dynobj for SGI_COMPAT checks. | |
375 | ||
3eb6f68f | 376 | 2000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
20bccb34 NC |
377 | |
378 | * coff-m68k.c (bfd_m68k_coff_create_embedded_relocs): New function. | |
379 | * bfd-in.h (bfd_m68k_coff_create_embedded_relocs): Add declaration. | |
380 | * bfd-in2.h: Regenerate. | |
381 | ||
7a3120d9 NC |
382 | 2000-07-21 Nick Clifton <nickc@cygnus.com> |
383 | ||
384 | * elf32-mips.c (_bfd_mips_elf_check_relocs): Detect out of | |
385 | range symbol indices in relocs and issue an error message. | |
386 | ||
4d538889 L |
387 | 2000-07-20 H.J. Lu <hjl@gnu.org> |
388 | ||
389 | * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Don't check | |
390 | info->new_dtags when setting DT_FLAGS_1. It will only be set | |
391 | by the new linker options. It shouldn't break anything. | |
392 | ||
b586af58 L |
393 | 2000-07-20 H.J. Lu <hjl@gnu.org> |
394 | ||
395 | * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set DT_FLAGS_1 | |
396 | only if info->new_dtags is true. | |
397 | ||
c25373b7 L |
398 | 2000-07-20 H.J. Lu <hjl@gnu.org> |
399 | ||
400 | * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set | |
401 | DT_RUNPATH and DT_FLAGS only if info->new_dtags is true. | |
402 | ||
06c15ad7 HPN |
403 | 2000-07-20 Hans-Peter Nilsson <hp@axis.com> |
404 | ||
405 | * Makefile.am (ALL_MACHINES): Add cpu-cris.lo. | |
406 | (ALL_MACHINES_CFILES): Add cpu-cris.c. | |
407 | (BFD32_BACKENDS): Add aout-cris.lo and elf32-cris.lo. | |
408 | (BFD32_BACKENDS_CFILES): Add aout-cris.c and elf32-cris.c. | |
409 | (cpu-cris.lo, aout-cris.lo, elf32-cris.lo): New rules. | |
410 | * Makefile.in: Rebuild. | |
411 | * aclocal.m4: Rebuild. | |
412 | * aoutx.h (NAME(aout,machine_type)): Add case for bfd_arch_cris. | |
413 | * archures.c (enum bfd_architecture): Add bfd_arch_cris. | |
414 | (bfd_cris_arch): Declare. | |
415 | (bfd_archures_list): Add bfd_cris_arch. | |
416 | * bfd-in2.h: Rebuild. | |
417 | * config.bfd: (cris-*-*): New target. | |
418 | * configure.in (bfd_elf32_cris_vec, cris_aout_vec): New vectors. | |
419 | * configure: Rebuild. | |
420 | * elf.c (prep_headers): Add bfd_arch_cris. | |
421 | * libbfd.h: Rebuild. | |
422 | * libaout.h (enum machine_type): Add M_CRIS. | |
423 | * reloc.c: Add CRIS relocations. | |
3bd336f7 | 424 | * targets.c (bfd_elf32_cris_vec, cris_aout_vec): Declare. |
06c15ad7 HPN |
425 | (bfd_target_vect): Add bfd_elf32_cris_vec and cris_aout_vec. |
426 | * cpu-cris.c, aout-cris.c, elf32-cris.c: New files. | |
427 | * po/POTFILES.in, po/bfd.pot: Regenerate. | |
428 | ||
d6cf2879 L |
429 | 2000-07-19 H.J. Lu <hjl@gnu.org> |
430 | ||
431 | * elf32-arm.h (elf32_arm_size_dynamic_sections): Also set | |
432 | DF_TEXTREL if DT_TEXTREL is set. | |
433 | * elf32-i370.c (i370_elf_size_dynamic_sections): Likewise. | |
434 | * elf32-i386.c (elf_i386_size_dynamic_sections): Likewise. | |
435 | * elf32-m68k.c (elf_m68k_size_dynamic_sections): Likewise. | |
436 | * elf32-mips.c (_bfd_mips_elf_size_dynamic_sections): Likewise. | |
437 | * elf32-ppc.c (ppc_elf_size_dynamic_sections): Likewise. | |
438 | * elf32-sparc.c (elf32_sparc_size_dynamic_sections): Likewise. | |
439 | * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Likewise. | |
440 | * elf64-hppa.c (elf64_hppa_size_dynamic_sections): Likewise. | |
441 | * elf64-ia64.c (elf64_ia64_size_dynamic_sections): Likewise. | |
442 | * elf64-sparc.c (sparc64_elf_size_dynamic_sections): Likewise. | |
443 | ||
c25373b7 | 444 | * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Also |
d6cf2879 L |
445 | set DF_SYMBOLIC for symbolic link. Also set DT_RUNPATH if |
446 | DT_RPATH is set. | |
447 | Set the DT_FLAGS and DT_FLAGS_1 entries if necessary. | |
448 | ||
74816898 L |
449 | 2000-07-19 H.J. Lu <hjl@gnu.org> |
450 | ||
451 | * bfd-in.h (bfd_elf_set_dt_needed_soname): New. | |
452 | * bfd-in2.h: Rebuild. | |
453 | ||
454 | * elf-bfd.h (elf_obj_tdata): Add dt_soname. | |
455 | (elf_dt_soname): New. | |
456 | ||
457 | * elf.c (bfd_elf_set_dt_needed_soname): New. | |
458 | ||
459 | * elflink.h (elf_link_add_object_symbols): Add the DT_NEEDED | |
460 | entry if the shared object loaded by DT_NEEDED is used to | |
461 | resolve the reference in a regular object. | |
462 | ||
36a30e65 L |
463 | 2000-07-19 H.J. Lu <hjl@gnu.org> |
464 | ||
465 | * elf.c (_bfd_elf_print_private_bfd_data): Handle DT_CONFIG, | |
466 | DT_DEPAUDIT and DT_AUDIT as strings. | |
467 | ||
1d713d9e NC |
468 | 2000-07-19 Nick Clifton <nickc@cygnus.com> |
469 | ||
470 | * format.c: Fix formatting. | |
471 | ||
d48188b9 L |
472 | 2000-07-19 H.J. Lu <hjl@gnu.org> |
473 | ||
474 | * elf.c (_bfd_elf_print_private_bfd_data): Fix DT_CHECKSUM. | |
475 | ||
94558834 L |
476 | 2000-07-19 H.J. Lu <hjl@gnu.org> |
477 | ||
478 | * elf.c (_bfd_elf_print_private_bfd_data): Handle DT_BIND_NOW, | |
479 | DT_INIT_ARRAY, DT_FINI_ARRAY, DT_INIT_ARRAYSZ, DT_FINI_ARRAYSZ, | |
480 | DT_RUNPATH, DT_FLAGS, DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ, | |
481 | DT_PLTPADSZ, DT_MOVEENT, DT_MOVESZ, DT_FEATURE, DT_POSFLAG_1, | |
482 | DT_SYMINSZ, DT_SYMINENT, DT_CONFIG, DT_DEPAUDIT, DT_AUDIT, | |
483 | DT_PLTPAD, DT_MOVETAB, DT_SYMINFO, DT_RELACOUNT, DT_RELCOUNT, | |
484 | DT_FLAGS_1, DT_USED and DT_CHECKSUM. | |
485 | ||
125c4a69 NC |
486 | Tue Jul 18 13:11:54 2000 Andrew Cagney <cagney@b1.cygnus.com> |
487 | ||
488 | * elf.c (bfd_elf_get_sign_extend_vma, bfd_elf_get_arch_size): Move | |
489 | renamed functions from here... | |
490 | (assign_section_numbers): Use renamed functions. | |
491 | (prep_headers): Use renamed functions. | |
492 | ||
493 | * bfd.c (bfd_get_sign_extend_vma, bfd_get_arch_size): ...To here. | |
494 | * bfd-in.h (bfd_get_sign_extend_vma, bfd_get_arch_size): Update. | |
495 | * bfd-in2.h: Regenerate. | |
496 | ||
31a9bdd9 UC |
497 | 2000-07-18 Ulf Carlsson <ulfc@engr.sgi.com> |
498 | ||
499 | * elf32-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Add | |
313ba8d6 | 500 | parenthesis in if statement. |
31a9bdd9 | 501 | |
f7cb7d68 UC |
502 | 2000-07-17 Koundinya K <kk@ddeorg.soft.net> |
503 | ||
504 | Enable the support for Traditional MIPS. | |
505 | * elf32-mips.c (IRIX_COMPAT): Recognize bfd_elf32_tradbigmips_vecand | |
506 | return ict_none appropriately for traditional mips targets. | |
507 | (STUB_LW): Change 0x8f998000 to 0x8f998010 for traditional mips. | |
508 | (STUB_MOVE): Conditionalize for traditonal mips. | |
509 | (STUB_LI16): Likewise. | |
510 | (_bfd_mips_elf_modify_segment_map): Conditionalize to avoid making | |
511 | room for RTPROC header. | |
512 | (_bfd_mips_elf_modify_segment_map): For a normal mips executable set | |
513 | the permission for the PT_DYNAMIC as read, write and execute. | |
514 | (mips_elf_calculate_relocation): Check for the symbol _DYNAMIC_LINKING | |
515 | for traditonal mips. | |
516 | (_bfd_mips_elf_create_dynamic_sections): Add the symbol | |
517 | _DYNAMIC_LINKING for traditonal mips. | |
518 | (_bfd_mips_elf_create_dynamic_sections): Add the symbol __RLD_MAP | |
519 | in case of traditonal mips. | |
520 | (_bfd_mips_elf_adjust_dynamic_symbol): Create a stub only if a PLT | |
521 | entry is required. For a function if PLT is not required then set the | |
522 | corresponding hash table entry to 0. | |
523 | (_bfd_mips_elf_size_dynamic_sections): Add DT_DEBUG entry for | |
524 | traditonal mips. | |
525 | (_bfd_mips_elf_finish_dynamic_symbol): for a undefined symbol in a | |
526 | shared object set the value to 0. | |
527 | (_bfd_mips_elf_finish_dynamic_symbol): Check for the symbol | |
528 | _DYNAMIC_LINKING for traditonal mips. | |
529 | (_bfd_mips_elf_finish_dynamic_symbol): Check for the symbol __RLD_MAP | |
530 | for traditonal mips. | |
531 | ||
930d924d L |
532 | 2000-07-15 H.J. Lu <hjl@gnu.org> |
533 | ||
534 | * aoutx.h (translate_to_native_sym_flags): Handle BSF_LOCAL. | |
535 | ||
e67f03db DD |
536 | 2000-07-12 Charles Wilson <cwilson@ece.gatech.edu> |
537 | ||
538 | * libbfd.c (bfd_seek): fix 'seek beyond EOF' error when writing | |
539 | out a structure that is BFD_IN_MEMORY. | |
540 | ||
0ba2a60e AM |
541 | 2000-07-11 Alan Modra <alan@linuxcare.com.au> |
542 | ||
543 | * elf64-hppa.c (get_dyn_name): Pass in section pointer instead of | |
544 | bfd pointer. Print section id instead of bfd pointer for local | |
545 | syms. Prefix addend with `+' for global syms as well as local. | |
546 | Correct calculation of name component lengths. | |
547 | (elf64_hppa_check_relocs): Update call to get_dyn_name. | |
548 | ||
549 | From David Huggins-Daines <dhd@linuxcare.com> | |
550 | * elf-hppa.h (elf_hppa_relocate_section): Update calls here too. | |
551 | * elf64-hppa.c (elf64_hppa_check_relocs): Fix some warnings. | |
552 | (elf64_hppa_modify_segment_map): Likewise. | |
553 | ||
6d9019e4 AC |
554 | Tue Jul 11 17:21:52 2000 Andrew Cagney <cagney@b1.cygnus.com> |
555 | ||
556 | * elf.c (bfd_elf_get_sign_extend_vma): Return tendency of VMA | |
557 | addresses to be "naturally" sign extended. Return -1 if unknown. | |
0ba2a60e | 558 | * bfd-in.h (bfd_elf_get_sign_extend_vma): Add declaration. |
6d9019e4 AC |
559 | * bfd-in2.h: Regenerate. |
560 | ||
23e2c83b AC |
561 | Tue Jul 11 16:25:52 2000 Andrew Cagney <cagney@b1.cygnus.com> |
562 | ||
563 | * ecoffswap.h (ecoff_get_off, ecoff_put_off): Add ECOFF_SIGNED_32 | |
564 | and ECOF_SIGNED_64 to list ways to extract an offset. | |
565 | (ecoff_swap_fdr_in, ecoff_swap_fdr_out, ecoff_swap_pdr_in, | |
566 | ecoff_swap_pdr_out, ecoff_swap_ext_in, ecoff_swap_ext_out): | |
567 | Update. | |
568 | * elf64-mips.c (ECOFF_SIGNED_64): Define instead of ECOFF_64. | |
569 | * elf32-mips.c (ECOFF_SIGNED_32): Define instead of ECOFF_32. | |
570 | ||
448cafa4 AC |
571 | Tue Jul 11 16:03:04 2000 Andrew Cagney <cagney@b1.cygnus.com> |
572 | ||
573 | * elfcode.h (elf_object_p): Use bfd_set_start_address and not | |
574 | bfd_get_start_address. | |
575 | (elf_swap_ehdr_in): Sign extend e_entry when applicable. | |
576 | (elf_swap_ehdr_out): Ditto. | |
577 | ||
83ea41ad NC |
578 | 2000-07-10 Alexander Aganichev <AAganichev@hypercom.com> |
579 | ||
580 | * archures.c (bfd_default_scan): Add set of bfd_mach_ cases for | |
581 | compatibility with older binutils. | |
582 | ||
3df7b4e2 AM |
583 | 2000-07-10 Alan Modra <alan@linuxcare.com.au> |
584 | ||
585 | * section.c (bfd_make_section_anyway): Start section_id at 0x10. | |
586 | (STD_SECTION): Avoid negative ids, instead use 0 to 3. | |
587 | ||
b7af50e3 AM |
588 | From Ryan Bradetich <rbradetich@uswest.net> |
589 | * dwarf1.c (parse_die): Cure signed/unsigned char warnings. | |
590 | (parse_line_table): Ditto. | |
591 | (_bfd_dwarf1_find_nearest_line): Ditto. | |
592 | * syms.c (cmpindexentry): Remove extra `*' from params. | |
593 | ||
adb76a3e UC |
594 | 2000-07-09 Koundinya K <kk@ddeorg.soft.net> |
595 | ||
596 | * elf32-mips.c (sort_dynamic_relocs): New Function. | |
597 | (_bfd_mips_elf_finish_dynamic_sections): Call sort_dynamic_relocs | |
598 | via qsort to sort the dynamic relocations in increasing r_symndx | |
599 | value. | |
600 | ||
edd21aca AM |
601 | 2000-07-09 Alan Modra <alan@linuxcare.com.au> |
602 | ||
603 | * elf64-hppa.c (elf64_hppa_dyn_hash_table_init): Add | |
604 | ATTRIBUTE_UNUSED to unused args. | |
605 | (get_opd): Likewise. | |
606 | (get_plt): Likewise. | |
607 | (get_dlt): Likewise. | |
608 | (get_stub): Likewise. | |
609 | (elf64_hppa_adjust_dynamic_symbol): Likewise. | |
610 | (elf64_hppa_link_output_symbol_hook): Likewise. | |
611 | (elf64_hppa_check_relocs): Delete unused var. | |
612 | (elf64_hppa_size_dynamic_sections): Likewise. | |
613 | (elf64_hppa_finalize_opd): Likewise. | |
614 | (elf64_hppa_finalize_dynreloc): Likewise. | |
615 | (elf64_hppa_modify_segment_map): Likewise. | |
616 | (elf64_hppa_finish_dynamic_sections): Likewise. | |
617 | ||
618 | * elf-hppa.h (elf_hppa_final_write_processing): Add | |
619 | ATTRIBUTE_UNUSED to unused args. | |
620 | (elf_hppa_final_link_relocate): Likewise. | |
621 | (elf_hppa_record_segment_addrs): Add paretheses. | |
622 | (elf_hppa_relocate_section): Constify dyn_name. | |
623 | ||
624 | From David Huggins-Daines <dhd@linuxcare.com> | |
625 | * config.bfd: Add hppa*64*-*-linux-gnu 64-bit target, and | |
626 | rearrange case statement so that it gets preferred to 32-bit ones. | |
627 | ||
628 | * elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Use | |
629 | asection->id instead of address of asection structure. | |
630 | (elf32_hppa_size_stubs): Likewise. | |
631 | ||
632 | * elf32-hppa.c (elf32_hppa_size_stubs): Use just one stub section | |
633 | for .init* and .fini*. | |
634 | ||
635 | * elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Mask pointers | |
636 | and addends used in stub names to 32 bits. | |
637 | (elf32_hppa_size_stubs): Likewise. | |
638 | ||
639 | * elf-hppa.h (elf_hppa_final_link_relocate): Don't sum addend | |
640 | twice for R_PARISC_GPREL64. Use bfd_put_32 for R_PARISC_PCREL32, | |
641 | not bfd_put_64. Fix minor comment typo and formatting. | |
642 | ||
643 | Changes to create multiple linker stubs, positioned immediately | |
644 | before the section where they are required. | |
645 | * elf32-hppa.c: Don't include hppa_stubs.h. | |
646 | (elf32_hppa_stub_hash_entry): Add a pointer to the stub section. | |
647 | (elf32_hppa_stub_hash_table): Delete. | |
648 | (elf32_hppa_link_hash_entry): Delete. | |
649 | (elf32_hppa_link_hash_table): Use plain bfd_hash_table for | |
650 | stub_hash_table, and store the struct here rather than a pointer. | |
651 | Delete output_symbol_count. Add offset array. Change | |
652 | global_value to a bfd_vma. | |
653 | (elf32_hppa_stub_hash_lookup): Use table instead of table->root. | |
654 | (elf32_hppa_stub_hash_traverse): Delete. | |
655 | (elf32_hppa_name_of_stub): Delete. | |
656 | (elf32_hppa_link_hash_lookup): Delete. | |
657 | (elf32_hppa_link_hash_traverse): Delete. | |
658 | (elf32_hppa_stub_hash_table_init): Delete. | |
659 | (elf32_hppa_size_of_stub): Pass input section and offset rather | |
660 | than location and calculate location here. Don't pass name as all | |
661 | stubs are now the same size. | |
662 | (elf32_hppa_stub_hash_newfunc): Init new fields. | |
663 | (elf32_hppa_link_hash_table_create): Likewise, and stub_hash_table | |
664 | too. | |
665 | (elf32_hppa_bfd_final_link_relocate): Cast enums to int before | |
666 | comparing against ints. Rewrite stub handling code. | |
667 | (elf32_hppa_relocate_section): Make r_type and r_symndx unsigned. | |
668 | Case enums to int before comparing against ints. Remove | |
669 | bfd_reloc_dangerous case. | |
670 | (elf32_hppa_build_one_stub): Rewrite. | |
671 | (elf32_hppa_size_one_stub): New function. | |
672 | (elf32_hppa_build_stubs): Rewrite. | |
673 | (elf32_hppa_size_stubs): Pass in linker call-back functions. | |
674 | Rewrite stub-handling specific code. | |
675 | ||
676 | * elf32-hppa.h (elf32_hppa_size_stubs): Update prototype. | |
677 | ||
678 | * elf64-hppa.c (elf64_hppa_dyn_hash_entry): Fix a comment typo. | |
679 | ||
680 | * hppa_stubs.h: Delete. | |
681 | * Makefile.am (SOURCE_HFILES): Remove hppa_stubs.h | |
682 | (elf32-hppa.lo): Remove hppa_stubs.h from dependencies. | |
683 | * Makefile.in: Regenerate. | |
684 | ||
685 | * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): Handle e_nlsel and | |
686 | e_nlrsel. | |
687 | ||
688 | * libhppa.h (hppa_field_adjust): Correct e_nsel case. | |
689 | ||
690 | * elf32-hppa.c (elf32_hppa_relocate_section): Mention the offset | |
691 | and section name for bfd_reloc_notsupported error message. | |
692 | (elf32_hppa_bfd_final_link_relocate): Print reasons for returning | |
693 | bfd_reloc_notsupported. | |
694 | (elf32_hppa_relocate_section): Add ATTRIBUTE_UNUSED to output_bfd. | |
695 | ||
696 | * elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Handle | |
697 | undefined weak symbols for all relocs. | |
698 | (elf32_hppa_size_of_stub): Adjust calculation by 8 since branch | |
699 | offsets are relative to one past the delay slot. | |
700 | (elf32_hppa_size_stubs): Account for reloc addend when calculating | |
701 | branch destination. Put addend into stub name too. | |
702 | (elf32_hppa_bfd_final_link_relocate): Account for reloc addend and | |
703 | adjust by 8 when deciding whether a linker stub is needed. Put | |
704 | addend into stub name as for above. | |
705 | ||
706 | * elf32-hppa.c (hppa_elf_relocate_insn): Change signed/unsigned on | |
707 | various args and vars. | |
708 | (elf32_hppa_bfd_final_link_relocate): Here too. | |
709 | (elf32_hppa_size_stubs): Rename index -> indx. Use e_indx for | |
710 | inner block var to avoid shadowing. | |
711 | ||
712 | * elf32-hppa.h (_bfd_elf32_hppa_gen_reloc_type): Make `field' arg | |
713 | unsigned. | |
714 | * elf64-hppa.h (_bfd_elf64_hppa_gen_reloc_type): Ditto. | |
715 | * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): Ditto. | |
716 | (elf_hppa_fake_sections): Rename local var to avoid shadowing. | |
717 | ||
718 | * libhppa.h: Change practically all unsigned ints to plain ints. | |
719 | Remove tests on gcc version. Instead use ATTRIBUTE_UNUSED for | |
720 | prototypes. | |
721 | ||
722 | From Ryan Bradetich <rbradetich@uswest.net> | |
723 | * libhppa.h (hppa_opcode_type): New enum to replace #define's. | |
724 | * elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Modify to | |
725 | suit above. | |
726 | From David Huggins-Daines <dhd@linuxcare.com> | |
727 | * elf-hppa.h (elf_hppa_relocate_insn): Update the opcode constants | |
728 | to the new OP_* ones. | |
729 | ||
730 | * elf32-hppa.c (elf32_hppa_size_stubs): Consolidate freeing on | |
731 | error exit. Bail out earlier on plabel relocs that we aren't | |
732 | interested in. Don't tell elf32_hppa_stub_hash_lookup to copy | |
733 | string, and then don't free our copy. | |
734 | (elf32_hppa_build_one_stub): Make insn unsigned int. | |
735 | ||
736 | * libhppa.h (bfd_hppa_insn2fmt): 22 bit branches are only | |
737 | available with BL, not BE and BLE. | |
738 | ||
739 | * elf32-hppa.c (hppa_elf_relocate_insn): Add some more example | |
740 | code for elf arg relocs. | |
741 | (elf32_hppa_bfd_final_link_relocate): Replace boolean is_local | |
742 | argument with elf_link_hash_entry h. Handle undefined weak | |
743 | symbols. Move $global$ lookup from here... | |
744 | (elf32_hppa_relocate_section): ...to here. Return correct error | |
745 | message for non-handled relocs. | |
746 | (elf32_hppa_size_of_stub): Correctly test branch range. Previous | |
747 | wrong test was -0x3ffff to +0x40000. | |
748 | ||
749 | * elf-hppa.h (elf_hppa_final_link_relocate): R_PARISC_DIR17R, | |
750 | R_PARISC_DIR17F, and R_PARISC_DIR21L are for absolute branches; | |
751 | Handle them as such. | |
752 | (elf_hppa_relocate_insn): Fix a typo. | |
753 | ||
754 | * libhppa.h (GET_FIELD, GET_BIT, MASK, CATENATE, ELEVEN): Delete. | |
755 | (assemble_3, assemble_6, assemble_12, assemble_16, assemble_16a, | |
756 | assemble_17, assemble_21): Delete. | |
757 | Supply defines for all 64 possible opcodes. | |
758 | (bfd_hppa_insn2fmt): Add bfd argument, and use to select wide mode | |
759 | formats. Handle COMICLR. | |
760 | (hppa_rebuild_insn): Delete bfd argument. Handle formats 10, -11, | |
761 | -10, -16, 16, 22. | |
762 | ||
763 | * elf32-hppa.c (hppa_elf_relocate_insn): Complete rewrite. | |
764 | (elf32_hppa_bfd_final_link_relocate): Major rewrite. | |
765 | (elf32_hppa_build_one_stub): Modify hppa_elf_relocate_insn calls | |
766 | to suit. | |
767 | (elf32_hppa_size_stubs): Don't free stub_name twice. Read in all | |
768 | the local syms - did this code get deleted accidentally? Ignore | |
769 | undefined and undefweak syms. | |
770 | ||
771 | * elf-hppa.h (elf_hppa_final_link): Move hppa_info to outermost | |
772 | block. Use it instead of elf64_hppa_hash_table (info). | |
773 | (elf_hppa_final_link_relocate): Use hppa_info instead of | |
774 | elf64_hppa_hash_table (info). | |
775 | ||
776 | * libhppa.h (re_assemble_3, re_assemble_12, re_assemble_16, | |
777 | re_assemble_17, re_assemble_21, re_assemble_22): Don't mask insn. | |
778 | (hppa_rebuild_insn): Mask immediate bits here instead. | |
779 | * elf-hppa.h (elf_hppa_relocate_insn): Mask here too. | |
780 | ||
52b219b5 AM |
781 | 2000-07-08 Alan Modra <alan@linuxcare.com.au> |
782 | ||
783 | * section.c (struct sec): Add id field. Tidy comment formatting. | |
784 | (bfd_make_section_anyway): Set id. | |
785 | (STD_SECTION): Init id too. | |
786 | Change CONST to const throughout. | |
787 | * archures.c (bfd_arch_info): Tidy comment. | |
788 | (bfd_arch_list): Change a CONST to const. | |
789 | * libbfd-in.h: Tidy comments and replace CONST with const. | |
790 | * elf-bfd.h: Likewise. | |
791 | * libbfd.h: Regenerate. | |
792 | * bfd-in2.h: Regenerate. | |
793 | * libcoff.h: Regenerate. | |
794 | ||
8000a618 DD |
795 | 2000-07-07 DJ Delorie <dj@redhat.com> |
796 | ||
797 | * archive.c (_bfd_write_archive_contents): Add an informative | |
798 | comment. | |
799 | ||
c3b7c767 NC |
800 | 2000-07-06 Kazu Hirata <kazu@hxi.com> |
801 | ||
802 | * srec.c: Fix formatting. | |
803 | ||
302ab118 DD |
804 | 2000-06-05 DJ Delorie <dj@redhat.com> |
805 | ||
806 | * MAINTAINERS: new | |
807 | ||
ed1de528 AO |
808 | 2000-07-04 Alexandre Oliva <aoliva@redhat.com> |
809 | ||
810 | * coff-arm.c (coff_arm_relocate_section): Do not ignore the symbol | |
811 | value of PC-relative offsets. | |
812 | ||
70bcb145 JW |
813 | 2000-07-03 Jim Wilson <wilson@cygnus.com> |
814 | ||
815 | * elf64-alpha.c (alpha_elf_size_info): New. | |
816 | (elf_backend_size_info): Define to alpha_elf_size_info. | |
817 | * elfcode.h (elf_size_info): Change hash bucket size to 4. | |
818 | ||
b8ee63fa UC |
819 | 2000-07-03 Ulf Carlsson <ulfc@engr.sgi.com> |
820 | ||
821 | * elf32-mips.c: Include elf32-target.h again for the traditional | |
822 | MIPS targets. | |
823 | ||
00d2865b NC |
824 | 2000-07-03 Marek Michalkiewicz <marekm@linux.org.pl> |
825 | ||
826 | * elf32-avr.c (bfd_elf32_bfd_reloc_type_lookup): | |
827 | Add ATTRIBUTE_UNUSED to unused arguments to avoid warnings. | |
828 | (avr_info_to_howto_rela): Likewise. | |
829 | (elf32_avr_gc_mark_hook): Likewise. | |
830 | (elf32_avr_gc_sweep_hook): Likewise. | |
831 | (elf32_avr_relocate_section): Likewise. | |
832 | ||
e4202681 NC |
833 | 2000-07-03 Mark Elbrecht <snowball3@bigfoot.com> |
834 | ||
835 | * cofflink.c (_bfd_coff_write_global_sym): Turn a weak symbol into | |
836 | an external symbol for a non-shared, non-relocatable link. | |
837 | ||
838 | 2000-07-03 Nick Clifton <nickc@redhat.com> | |
839 | ||
99d6ac2f NC |
840 | * cofflink.c (IS_EXTERNAL): New macro: Return true if the symbol |
841 | is an external symbol. | |
e4202681 NC |
842 | (IS_WEAK_EXTERNAL): New macro: Return true if the symbol is a weak |
843 | external symbol. | |
844 | ||
289c596c NC |
845 | 2000-07-03 Kazu Hirata <kazu@hxi.com> |
846 | ||
847 | * reloc16.c: Fix formatting. | |
848 | ||
dd745cfa UC |
849 | 2000-07-01 Koundinya K <kk@ddeorg.soft.net> |
850 | ||
851 | * config.bfd: Change targ_defvec and targ_selvecs for mips*-*-sysv4* | |
852 | to add a new target for traditional mips i.e | |
853 | bfd_elf32_tradbigmips_vec and bfd_elf32_tradlittlemips_vec. | |
854 | * configure.in: Likewise. | |
855 | * configure: Rebuild. | |
856 | * targets.c (bfd_elf32_tradbigmips_vec): Declare and put in | |
857 | bfd_target_vector. | |
858 | (bfd_elf32_tradlittlemips_vec): Likewise. | |
859 | * elfxx-target.h: Add macro INCLUDED_TARGET_FILE which is more a test | |
860 | to see that elfNN_bed does not get redefined even if the target file | |
861 | is included twice for a chip. See elf32-mips.c. | |
862 | ||
0bdaf48b AM |
863 | 2000-07-01 Alan Modra <alan@linuxcare.com.au> |
864 | ||
865 | * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed | |
866 | (CLEANFILES): Add DEPA. | |
867 | * Makefile.in: Regenerate. | |
868 | ||
c75df619 DD |
869 | 2000-06-30 DJ Delorie <dj@cygnus.com> |
870 | ||
871 | * peicode.h (coff_swap_filehdr_in): can't use e_magic because we | |
872 | can't assume the PE header is at 0x80. | |
873 | ||
b4b415e5 DD |
874 | 2000-06-29 Mark Elbrecht <snowball3@bigfoot.com> |
875 | ||
cda43a1d | 876 | * syms.c (_bfd_stab_section_find_nearest_line): Use IS_ABSOLUTE_PATH. |
b4b415e5 | 877 | |
addd3117 DD |
878 | 2000-06-28 Mark Elbrecht <snowball3@bigfoot.com> |
879 | ||
880 | * go32stub.h: Update stub. | |
881 | ||
65aa24b6 NC |
882 | 2000-06-26 Marek Michalkiewicz <marekm@linux.org.pl> |
883 | ||
884 | * archures.c (bfd_mach_avr5): Define. | |
885 | * bfd-in2.h (bfd_mach_avr5): Define. | |
886 | * cpu-avr.c (arch_info_struct): Rename bfd_mach_avr4 to | |
887 | bfd_mach_avr5, add bfd_mach_avr4. Update comments. | |
888 | (compatible): Update comment. Add missing test. | |
889 | * elf32-avr.c (avr_final_link_relocate): Support 8K wrap | |
890 | for avr2 and avr4. Simplify 8K wrap code. | |
891 | (bfd_elf_avr_final_write_processing): Recognize bfd_mach_avr5. | |
892 | (elf32_avr_object_p): Recognize E_AVR_MACH_AVR5. | |
893 | ||
cc040812 NC |
894 | 2000-06-26 Kazu Hirata <kazu@hxi.com> |
895 | ||
896 | * coff-h8300.c: Fix formatting. | |
897 | * cpu-h8300.c: Likewise. | |
898 | ||
b1bcb49f AO |
899 | 2000-06-24 Alexandre Oliva <aoliva@redhat.com> |
900 | ||
901 | * elf32-arm.h (elf32_arm_final_link_relocate): Print `(local)' | |
902 | for local symbols whose names are unknown. | |
903 | ||
1581f8c9 AM |
904 | 2000-06-22 Alan Modra <alan@linuxcare.com.au> |
905 | ||
906 | * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we | |
907 | find one. | |
908 | * Makefile.in: Regenerate. | |
909 | * doc/Makefile.in: Regenerate. | |
910 | ||
bbeb2e03 L |
911 | 2000-06-20 H.J. Lu <hjl@gnu.org> |
912 | ||
913 | * Makefile.am: Rebuild dependency. | |
914 | * Makefile.in: Rebuild. | |
915 | ||
8a20f077 UC |
916 | 2000-06-20 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
917 | ||
918 | * elf32-mips.c (_bfd_mips_elf_copy_indirect_symbol): New function. | |
919 | (elf_backend_copy_indirect_symbol): Map to the new function. | |
920 | ||
2ab47eed AM |
921 | 2000-06-20 Alan Modra <alan@linuxcare.com.au> |
922 | ||
923 | * archive.c (normalize): Correct pointer comparison when checking | |
924 | for backslashes. | |
925 | (bfd_bsd_truncate_arname): Likewise. | |
926 | (bfd_gnu_truncate_arname): Likewise. | |
927 | ||
b305ef96 UC |
928 | 2000-06-20 Ulf Carlsson <ulfc@engr.sgi.com> |
929 | ||
930 | * elf-bfd.h (struct elf_obj_tdata): Define per BFD Irix 5 virtual | |
931 | sections elf_{text,data}_{section,symbol}. | |
932 | * elf32-mips.c: mips_elf_{text,data}_{section,symbol}{,_ptr}: Remove. | |
933 | (_bfd_mips_elf_hide_symbol): New function. | |
934 | (elf_backend_hide_symbol): Map to the new function. | |
935 | (_bfd_mips_elf_add_symbol_hook): Change to use new per BFD | |
936 | definitions of mips_elf_{text,data}_{section,symbol}. | |
937 | (mips_elf_local_relocation_p): Try to find the direct symbol | |
938 | based on new check_forced argument. | |
939 | (mips_elf_calculate_relocation): Use new version of | |
940 | mips_elf_local_relocation_p. | |
941 | (mips_elf_relocate_section): Likewise. | |
942 | (_bfd_mips_elf_relocate_section): Likewise. | |
943 | (mips_elf_sort_hash_table): Only assert that have enough GOT | |
944 | space. | |
945 | (mips_elf_got16_entry): Match all 32 bits to the existing GOT | |
946 | entry if the relocation based on the new external argument. | |
947 | (mips_elf_create_dynamic_relocation): Assert that we have a | |
948 | section contents allocated where we can swap out the dynamic | |
949 | relocations. | |
950 | (mips_elf_calculate_relocation): Find the real hash-table entry | |
951 | correctly by using h->root.root.type. Only create a dynamic | |
952 | relocation entry if the symbol is defined in a shared library. | |
953 | Create an external GOT entry for the GOT16 relocation if the | |
954 | symbol was forced local. | |
955 | (_bfd_mips_elf_finish_dynamic_symbol): Don't assert there is a | |
956 | dynamic index if the symbol was forced local. | |
957 | ||
958 | 2000-06-20 Maciej W. Rozycki <macro@ds2.pg.gda.pl> | |
959 | ||
960 | * elf32-mips.c: Fix typos in comments. | |
961 | ||
1605fc4f MK |
962 | 2000-06-19 Mark Kettenis <kettenis@gnu.org> |
963 | ||
964 | * rs6000-core.c: Wrap definition of `union VmInfo' within #ifdef | |
965 | CORE_VERSION_1. | |
966 | ||
60bcf0fa NC |
967 | 2000-06-18 Stephane Carrez <stcarrez@worldnet.fr> |
968 | ||
969 | * Makefile.in, bfd-in2.h, libbfd.h, configure: Rebuild. | |
970 | * Makefile.am (ALL_MACHINES, ALL_MACHINES_CFILES, BFD32_BACKENDS, | |
971 | BFD32_BACKENDS_CFILES): Add 68hc12, 68hc11 files. | |
972 | * configure.in (bfd_elf32_m68hc12_vec): Recognize. | |
973 | (bfd_elf32_m68hc11_vec): Likewise. | |
974 | * config.bfd (targ_cpu): Recognize 68hc12 and 68hc11. | |
975 | Supports 68hc11 & 68hc12 at the same time. | |
976 | * targets.c (bfd_elf32_m68hc12_vec): Declare and put in | |
977 | bfd_target_vector. | |
978 | (bfd_elf32_m68hc11_vec): Likewise. | |
979 | * elf.c (prep_headers): Recognize bfd_arch_m68hc12 and 68hc11. | |
980 | * archures.c (bfd_m68hc12_arch): Define and register in global list | |
981 | (bfd_m68hc11_arch): Likewise. | |
982 | * reloc.c (BFD_RELOC_M68HC11_HI8, BFD_RELOC_M68HC11_LO8, | |
983 | BFD_RELOC_M68HC11_3B): Define. | |
984 | * cpu-m68hc12.c, elf32-m68hc12.c: New files for 68hc12 support. | |
985 | * cpu-m68hc11.c, elf32-m68hc11.c: New files for 68hc11 support. | |
986 | ||
f41cbf03 UC |
987 | 2000-06-18 Ulf Carlsson <ulfc@engr.sgi.com> |
988 | ||
989 | * elf_bfd.h (struct elf_backend_data): Add info argument to | |
990 | elf_backend_hide_symbol. | |
991 | (_bfd_elf_link_hash_hide_symbol): Likewise. | |
992 | * elf.c (_bfd_elf_link_hash_hide_symbol): Likewise. | |
993 | * elf64-ia64.c (elf64_ia64_hash_hide_symbol): Likewise. | |
994 | * elflink.h (elf_link_add_object_symbols): Likewise. | |
995 | (elf_link_assign_sym_version): Likewise. | |
996 | ||
689be717 L |
997 | 2000-06-18 H.J. Lu <hjl@gnu.org> |
998 | ||
999 | * coff-i386.c (coff_i386_reloc): Don't return in case of | |
1000 | output_bfd == (bfd *) NULL if COFF_WITH_PE is defined. | |
1001 | Compensate PE relocations when linking with non-PE object | |
1002 | files to generate a non-PE executable. | |
1003 | ||
9a8f3bb7 UC |
1004 | 2000-06-17 Ulf Carlsson <ulfc@engr.sgi.com> |
1005 | ||
1006 | * elf32-mips.c (mips_elf_calculate_relocation): Explicitly write | |
1007 | GOT entries if we're doing a static link or -Bsymbolic link. | |
1008 | ||
32f0787a UC |
1009 | 2000-06-15 Ulf Carlsson <ulfc@engr.sgi.com> |
1010 | ||
1011 | * elflink.h (elf_link_adjust_relocs): Check for and call backend | |
1012 | specifific swap_reloc_{in,out} and swap_reloca_{in,out} if | |
1013 | available. | |
1014 | (elf_link_output_relocs): Likewise. | |
1015 | (elf_reloc_link_order): Likewise. | |
1016 | ||
87f33987 ND |
1017 | 2000-06-16 Nicholas Duffek <nsd@redhat.com> |
1018 | ||
1019 | * archures.c (enum bfd_architecture): #define constants for | |
1020 | PowerPc and RS6000 machine numbers. | |
1021 | * bfd-in2.h: Regenerate. | |
1022 | * coffcode.h (coff_set_arch_mach_hook): #ifdef XCOFF64, set arch | |
1023 | to bfd_arch_powerpc instead of bfd_arch_rs6000. Refer to PowerPc | |
1024 | and RS6000 machine numbers using #defined constants from | |
1025 | archures.c. | |
1026 | * cpu-powerpc.c (arch_info_struct): Refer to PowerPc and RS6000 | |
1027 | machine numbers using #defined constants from archures.c. Add | |
1028 | entries for EC603e, 630, A35, RS64II, RS64III, 7400. Specify | |
1029 | 64-bit words in 620 entry. | |
1030 | * cpu-rs6000.c (arch_info_struct): Create with entries for RS1, | |
1031 | RSC, and RS2. | |
1032 | (bfd_rs6000_arch): Change default machine to 0 (bfd_mach_rs6k). | |
1033 | ||
a2fdf270 ND |
1034 | 2000-06-16 Nicholas Duffek <nsd@cygnus.com> |
1035 | ||
1036 | * coffcode.h (coff_mkobject_hook): Set xcoff_tdata.xcoff64. | |
1037 | * libcoff-in.h (struct xcoff_tdata): Define xcoff64 field. | |
1038 | * libcoff.h (struct xcoff_tdata): Define xcoff64 field. | |
1039 | ||
9bd09e22 ND |
1040 | 2000-06-16 Nicholas Duffek <nsd@redhat.com> |
1041 | ||
1042 | * bfd-in.h (bfd_family_coff): Define. | |
1043 | * bfd-in2.h: Regenerate. | |
1044 | * coffgen.c (coff_count_linenumbers, coff_symbol_from, | |
1045 | coff_find_nearest_line): Check COFFness using bfd_family_coff() | |
1046 | instead of bfd_target_coff_flavour. | |
1047 | * cofflink.c (_bfd_coff_final_link): Likewise. | |
1048 | * cpu-ns32k.c (do_ns32k_reloc): Don't strcmp() target name to | |
1049 | exclude XCOFF files. | |
1050 | * reloc.c (bfd_perform_relocation, bfd_install_relocation): | |
1051 | Likewise. | |
1052 | * targets.c (enum bfd_flavour): Add bfd_target_xcoff_flavour. | |
1053 | * xcoff-target.h (TARGET_SYM): Use bfd_target_xcoff_flavour. | |
1054 | * xcofflink.c (XCOFF_XVECP): Delete. | |
1055 | (bfd_xcoff_link_record_set, bfd_xcoff_import_symbol, | |
1056 | bfd_xcoff_export_symbol, bfd_xcoff_link_count_reloc, | |
1057 | bfd_xcoff_record_link_assignment, | |
1058 | bfd_xcoff_size_dynamic_sections): Replace XCOFF_XVECP() with | |
1059 | check for bfd_target_xcoff_flavour. | |
1060 | ||
59d9f049 ND |
1061 | 2000-06-16 Nicholas Duffek <nsd@redhat.com> |
1062 | ||
1063 | * rs6000-core.c: Support 64-bit core files, support pre-4.3 core | |
1064 | files on AIX 4.3. | |
1065 | (read_hdr): New function. | |
1066 | (rs6000coff_core_p): Store mstsave or __context64 struct instead | |
1067 | of trying to extract individual registers. Set abfd->arch_info | |
1068 | to match the architecture that created the core file. | |
1069 | (rs6000coff_get_section_contents): Delete. | |
1070 | * xcoff-target.h (rs6000coff_get_section_contents): Delete. | |
1071 | ||
63e39178 L |
1072 | 2000-06-14 H.J. Lu <hjl@gnu.org> |
1073 | ||
1074 | * vms-misc.c (_bfd_vms_next_record): Return -1 if PRIV(vms_rec) | |
1075 | is NULL. | |
1076 | ||
bcef29e6 L |
1077 | 2000-06-13 H.J. Lu <hjl@gnu.org> |
1078 | ||
1079 | * configure: Regenerate. | |
1080 | ||
26bfd1c0 JR |
1081 | Tue Jun 13 01:28:57 2000 J"orn Rennecke <amylaar@cygnus.co.uk> |
1082 | ||
1083 | * peicode.h (pe_ILF_object_p): Use TARGET_LITTLE_SYM instead of | |
1084 | armpei_little_vec. | |
1085 | ||
946efd95 DB |
1086 | 2000-06-08 David O'Brien <obrien@FreeBSD.org> |
1087 | ||
1088 | * configure.in (VERSION): Update to show this is the CVS mainline. | |
1089 | ||
1b452ec6 AM |
1090 | 2000-06-07 Alan Modra <alan@linuxcare.com.au> |
1091 | ||
1092 | * elf32-d10v.c: Include elf/d10v.h | |
1093 | (enum reloc_type): Delete. | |
1094 | * elf32-d30v.c: Include elf/d30v.h | |
1095 | (enum reloc_type): Delete. | |
1096 | ||
1097 | * Makefile.am: Run "make dep-am" to regenerate dependencies. | |
1098 | * Makefile.in: Regenerate. | |
1099 | ||
1100 | * elf32-i386.c (elf_howto_table): Remove EMPTY_HOWTOs. | |
dc47f327 AM |
1101 | (elf32_i386_vtinherit_howto, elf32_i386_vtentry_howto): Delete and |
1102 | move HOWTOs into elf_howto_table. | |
1b452ec6 | 1103 | (R_386_standard, R_386_ext_offset): Define. |
dc47f327 | 1104 | (R_386_ext, R_386_vt_offset, R_386_vt): Define. |
1b452ec6 | 1105 | (elf_i386_reloc_type_lookup): Modify calculation of index into |
dc47f327 | 1106 | elf_howto_table since we've removed the padding. |
1b452ec6 AM |
1107 | (elf_i386_info_to_howto_rel): Likewise. |
1108 | (elf_i386_relocate_section): Likewise. | |
1109 | ||
e0ebfc61 MS |
1110 | 2000-06-06 Michael Snyder <msnyder@seadog.cygnus.com> |
1111 | ||
1112 | * elf.c (elf_grok_pr_status): Eliminate reference to prgregset_t. | |
1113 | ||
9d6eee78 L |
1114 | 2000-06-05 H.J. Lu <hjl@gnu.org> |
1115 | ||
1116 | * elflink.c (_bfd_elf_link_record_dynamic_symbol): Don't flag | |
1117 | an error when seeing an undefined symbol with hidden/internal | |
1118 | attribute. It is handled in *_relocate_section (). | |
1119 | ||
94b6c40a L |
1120 | 2000-06-05 H.J. Lu <hjl@gnu.org> |
1121 | ||
1122 | * elflink.h (elf_fix_symbol_flags): Follow the link for the | |
1123 | indirect symbol for the ELF_LINK_NON_ELF bit. | |
1124 | (elf_link_output_extsym): Don't output the indirect symbol even | |
1125 | if the ELF_LINK_NON_ELF bit is set. | |
1126 | ||
0af288f3 C |
1127 | 2000-06-01 J.T. Conklin <jtc@redback.com> |
1128 | ||
1129 | * config.bfd (i[3456]86-*-netbsdelf*): New target. | |
1130 | (i[3456]86-*-netbsdaout*): New target. | |
1131 | (i[3456]86-*-netbsd*): Add bfd_elf32_i386_vec to targ_selvecs. | |
1132 | (i[3456]86-*-openbsd*): Likewise. | |
1133 | ||
12df4d3c AC |
1134 | Tue May 30 15:39:04 2000 Andrew Cagney <cagney@b1.cygnus.com> |
1135 | ||
1136 | * trad-core.c: From hpux-core.c, include <dirent.h> or | |
1137 | <sys/ndir.h> when possible. | |
1138 | ||
c0ae4ccc NC |
1139 | 2000-05-31 Nick Clifton <nickc@cygnus.com> |
1140 | ||
1141 | * opintl.h (_(String)): Explain why dgettext is used instead | |
1142 | of gettext. | |
1143 | ||
321fa097 UD |
1144 | 2000-05-31 Ulrich Drepper <drepper@redhat.com> |
1145 | ||
1146 | * elf.c (_bfd_elf_slurp_version_tables): Correct reading of version | |
1147 | definitions. We must not assume they are sorted in the file | |
1148 | according to their index numbers. | |
1149 | ||
70d72e0e AM |
1150 | 2000-05-31 Alan Modra <alan@linuxcare.com.au> |
1151 | ||
1152 | * elf-hppa.h: (elf_hppa_final_link_relocate): Use e_rsel field | |
1153 | selector for R_PARISC_PCREL17R. R_PARISC_DIR17R and | |
1154 | R_PARISC_DIR17F are for absolute branches; Handle them as such. | |
1155 | ||
96f6d4c4 NC |
1156 | 2000-05-30 Nick Clifton <nickc@cygnus.com> |
1157 | ||
1158 | * cpu-i960.c (scan_960_mach): Accept 80960KA, 80960KB, | |
1159 | 80960CA, 80960MC as valid machine names. | |
1160 | ||
38048eb9 L |
1161 | 2000-05-30 H.J. Lu <hjl@gnu.org> |
1162 | ||
1163 | * elflink.c (_bfd_elf_link_record_dynamic_symbol): Clear the | |
1164 | visibility bits if the symbol is undefined. Correctly handle | |
1165 | weak undefined symbols with hidden and internal attributes. | |
1166 | ||
1167 | * elflink.h (elf_link_add_object_symbols): Always turn the | |
1168 | symbol into local if it has the hidden or internal attribute. | |
1169 | ||
8c763017 PB |
1170 | 2000-05-29 Philip Blundell <philb@gnu.org> |
1171 | ||
1172 | * ppcboot.c: Add packed attribute if compiling with GCC. | |
1173 | ||
1ae00f9d AM |
1174 | 2000-05-29 Anatoly Vorobey <mellon@pobox.com> |
1175 | ||
1176 | * elf.c (_bfd_elf_link_hash_table_init): Initialize dynlocal. | |
1177 | ||
4a938328 MS |
1178 | 2000-05-26 Michael Snyder <msnyder@seadog.cygnus.com> |
1179 | ||
1180 | * elf.c (elfcore_grok_prstatus, elfcore_grok_pstatus, | |
1181 | elfcore_grok_psinfo): Add code to allow debugging a 32-bit | |
1182 | corefile on a 64-bit (Sparc Solaris) host. Also clean up | |
1183 | a few old comments. | |
1184 | ||
5af11cab AM |
1185 | 2000-05-26 Alan Modra <alan@linuxcare.com.au> |
1186 | ||
2114f57b AM |
1187 | * Makefile.am: Update dependencies with "make dep-am" |
1188 | * Makefile.in: Regenerate. | |
1189 | ||
5af11cab AM |
1190 | * sysdep.h (gettext, dgettext, dcgettext, textdomain, |
1191 | bindtextdomain): Replace defines with those from intl/libgettext.h | |
1192 | to quieten gcc warnings. | |
1193 | ||
1194 | 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il> | |
1195 | ||
1196 | * aoutx.h (find_nearest_line): Use IS_ABSOLUTE_PATH. | |
1197 | ||
1198 | * archive.c (normalize, bfd_bsd_truncate_arname, | |
1199 | bfd_gnu_truncate_arname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support | |
1200 | file names with backslashes. | |
1201 | ||
1202 | * cache.c (bfd_open_file) [__MSDOS__]: Don't unlink the file | |
1203 | before opening it. | |
1204 | ||
1205 | * sysdep.h: Include filenames.h. | |
1206 | ||
b6cdd0fd AM |
1207 | 2000-05-26 Alan Modra <alan@linuxcare.com.au> |
1208 | ||
1209 | * opncls.c (bfd_close_all_done): Mask file perms with 0777 not 0x777. | |
1210 | ||
f7775d95 JJ |
1211 | 2000-05-26 Jakub Jelinek <jakub@redhat.com> |
1212 | ||
1213 | * elf64-sparc.c (sparc64_elf_relax_section): New. | |
1214 | (sparc64_elf_relocate_section): Optimize tail call into branch always | |
1215 | if possible. | |
1216 | * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. | |
1217 | (elf32_sparc_relax_section): New. | |
1218 | ||
6c08d697 JJ |
1219 | 2000-05-26 Jakub Jelinek <jakub@redhat.com> |
1220 | ||
1221 | * elf64-sparc.c: Add ATTRIBUTE_UNUSED to unused function parameters. | |
1222 | Remove unusued variables. | |
1223 | (sparc64_elf_relocate_section): Change r_symndx type to unsigned long. | |
1224 | (sparc64_elf_merge_private_bfd_data): Fix shared library case from | |
1225 | previous fix, so that shared libs really don't influence targets | |
1226 | extension mask and memory model. | |
1227 | ||
edb72b3b L |
1228 | 2000-05-23 H.J. Lu <hjl@gnu.org> |
1229 | ||
1230 | * elf64-alpha.c (elf64_alpha_relocate_section): Check | |
1231 | h->root.other not h->other. | |
ba09750c L |
1232 | * elf32-mips.c (mips_elf_calculate_relocation): Likewise. |
1233 | ||
1234 | * elf32-ppc.c (ppc_elf_relocate_section): Fix a typo. | |
edb72b3b | 1235 | |
3a27a730 L |
1236 | 2000-05-23 H.J. Lu <hjl@gnu.org> |
1237 | ||
1238 | * elf32-i386.c (elf_i386_relocate_section): Don't allow the | |
1239 | undefined symbol with the non-default visibility attributes. | |
1240 | * elf-hppa.h (elf_hppa_relocate_section): Likewise. | |
1241 | * elf32-arm.h (elf32_arm_relocate_section): Likewise. | |
1242 | * elf32-i370.c (i370_elf_relocate_section): Likewise. | |
1243 | * elf32-m68k.c (elf_m68k_relocate_section): Likewise. | |
1244 | * elf32-mcore.c (mcore_elf_relocate_section): Likewise. | |
1245 | * elf32-mips.c (mips_elf_calculate_relocation): Likewise. | |
1246 | * elf32-ppc.c (ppc_elf_relocate_section): Likewise. | |
1247 | * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. | |
1248 | * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. | |
1249 | * elf64-ia64.c (elf64_ia64_relocate_section): Likewise. | |
1250 | * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. | |
1251 | ||
748abff6 RH |
1252 | 2000-05-22 Richard Henderson <rth@cygnus.com> |
1253 | ||
1254 | * elf64-ia64.c (ia64_howto_table): Add PCREL60B, PCREL21BI, | |
1255 | PCREL22, PCREL64I. Zero size of special relocs. | |
1256 | (elf64_ia64_reloc_type_lookup): Likewise. | |
1257 | (USE_BRL, oor_brl, oor_ip): New. | |
1258 | (elf64_ia64_relax_section): New. | |
1259 | (elf64_ia64_check_relocs): Handle PCREL60B, PCREL22, PCREL64I. | |
1260 | (elf64_ia64_install_value): Likewise, plus PCREL21BI. | |
1261 | (elf64_ia64_relocate_section): Likewise. | |
1262 | (bfd_elf64_bfd_relax_section): New. | |
1263 | * reloc.c (BFD_RELOC_IA64_PCREL21BI): New. | |
1264 | (BFD_RELOC_IA64_{PCREL22,PCREL60B,PCREL64I}): New. | |
1265 | * bfd-in2.h, libbfd.h: Regenerate. | |
1266 | ||
fb67355a NC |
1267 | 2000-05-22 Nick Clifton <nickc@cygnus.com> |
1268 | ||
1269 | * configure.in : Add peigen.lo to MIPS PE targets. | |
1270 | * configure: Regenerate. | |
1271 | ||
1fe494a5 NC |
1272 | 2000-05-22 Momchil Velikov <velco@fadata.bg> |
1273 | ||
1274 | * libbfd.c (_bfd_generic_verify_endian_match): Compare endianess | |
748abff6 | 1275 | only if it is known for both input and output bfds. Separate |
1fe494a5 NC |
1276 | error message strings as in some languages, it may be necessary |
1277 | to change more than one place in the string to change between | |
1278 | 'big' and 'little'. | |
1279 | ||
1280 | * elf32-ppc.c (ppc_elf_merge_private_bfd_data): Remove inline | |
1281 | endianess checks, call _bfd_generic_verify_endian_match() instead. | |
1282 | ||
1283 | * elf32-mips.c (_bfd_mips_elf_merge_private_bfd_data): Likewise. | |
1284 | ||
1285 | * elf32-mcore.c (mcore_elf_merge_private_bfd_data): Likewise. | |
1286 | ||
1287 | * elf32-arm.h (elf32_arm_merge_private_bfd_data): Likewise. Verify | |
1288 | endianess before checking bfd flavours. | |
1289 | ||
32c092c3 L |
1290 | 2000-05-22 H.J. Lu <hjl@gnu.org> |
1291 | ||
1292 | * elflink.h (elf_link_output_extsym): Clear the visibility | |
1293 | field for symbols not defined locally. | |
1294 | ||
df6d9773 JL |
1295 | 2000-05-18 Alan Modra <alan@linuxcare.com.au> |
1296 | ||
1297 | * libhppa.h (re_assemble_3, re_assemble_12, re_assemble_16, | |
1298 | re_assemble_17, re_assemble_21, re_assemble_22): Don't mask insn. | |
1299 | (hppa_rebuild_insn): Mask immediate bits here instead. | |
1300 | * elf-hppa.h (elf_hppa_relocate_insn): Mask here too. | |
1301 | ||
7ad34365 NC |
1302 | 2000-05-18 Momchil Velikov <velco@fadata.bg> |
1303 | ||
1304 | * elflink.h (elf_bfd_final_link, elf_link_input_bfd): When emiting | |
1305 | relocs for an executable, ensure that they are virtual addresses. | |
1306 | ||
d1dab720 JL |
1307 | Thu May 18 10:55:47 2000 Jeffrey A Law (law@cygnus.com) |
1308 | ||
1309 | * config.bfd (hppa*64*-*-hpux11*): New target triplet. | |
1310 | ||
a712da20 NC |
1311 | 2000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com> |
1312 | Rick Gorton <gorton@scrugs.lkg.dec.com> | |
1313 | ||
aa76cae8 | 1314 | * elflink.h: Add emitrelocations support: when enabled, relocation |
a712da20 NC |
1315 | information and relocation sections are put into final output |
1316 | executables. If the emitrelocations flag is set, do the following: | |
1317 | (elf_bfd_final_link): Emit relocation sections. | |
1318 | (elf_link_input_bfd): Compute relocation section contents. | |
1319 | (elf_gc_sections): Don't clean relocation sections. | |
1320 | ||
aa76cae8 | 1321 | 2000-05-16 Catherine Moore <clm@cygnus.com> |
10febd84 CM |
1322 | |
1323 | * som.c (som_decode_symclass): Recognize weak symbols. | |
1324 | ||
db8503c4 AM |
1325 | 2000-05-16 Szabolcs Szakacsits <szaka@F-Secure.com> |
1326 | ||
1327 | * peigen.c (pe_print_idata): Undo part of 2000-05-12 change that | |
1328 | read idata section only from dataoff. | |
1329 | (pe_print_edata): Correctly check for valid eat_member. | |
1330 | ||
851cde10 JR |
1331 | Tue May 16 00:04:11 2000 J"orn Rennecke <amylaar@cygnus.co.uk> |
1332 | ||
1333 | * elf32-sh.c (sh_elf_relax_delete_bytes): Handle R_SH_SWITCH8. | |
1334 | ||
1bde2d57 PB |
1335 | 2000-05-14 Philip Blundell <philb@gnu.org> |
1336 | ||
1337 | * config.bfd (armeb-*-elf, arm*b-*-linux-gnu*): New targets. | |
1338 | ||
a76b448c AM |
1339 | 2000-05-12 Alan Modra <alan@linuxcare.com.au> |
1340 | ||
9ee25201 AM |
1341 | * targets.c (bfd_target_vector): #ifdef BFD64 rs6000coff64_vec |
1342 | ||
a76b448c AM |
1343 | * peigen.c (pe_print_idata): Look for .idata section and print |
1344 | info even if data directory has zero entries. Read idata section | |
1345 | starting from dataoff, and adjust all data offsets to suit. Cast | |
1346 | all bfd_vma vars to unsigned long before passing to fprintf. | |
1347 | * peigen.c (pe_print_edata): Similarly, look for .edata section | |
1348 | and print info even if data directory has zero entries. Cast | |
1349 | all bfd_vma vars to unsigned long before passing to fprintf. | |
1350 | ||
1351 | From Szabolcs Szakacsits <szaka@F-Secure.com> | |
1352 | * peigen.c (pe_print_idata): Use bfd_section_size rather than data | |
1353 | directory size which may be bogus. | |
1354 | * peigen.c (pe_print_edata): Similarly. | |
1355 | ||
72730e0c AM |
1356 | 2000-05-09 Alan Modra <alan@linuxcare.com.au> |
1357 | ||
1358 | * elf.c (bfd_section_from_shdr): Don't set use_rela_p if rela | |
1359 | section is empty. | |
1360 | (copy_private_bfd_data): Allow for space possibly taken up by elf | |
1361 | headers when calculating segment physical address from lma. | |
1362 | ||
8181c403 AM |
1363 | 2000-05-08 Alan Modra <alan@linuxcare.com.au> |
1364 | ||
bfde9f99 AM |
1365 | * versados.c (versados_scan): Init stringlen and pass_2_done. |
1366 | ||
b35efbcd AM |
1367 | * trad-core.c (trad_unix_core_file_p): Return |
1368 | bfd_error_wrong_format rather than bfd_error_file_truncated. | |
1369 | ||
8181c403 AM |
1370 | * peigen.c (_bfd_pei_swap_aouthdr_out): Pass ImageBase to |
1371 | add_data_entry. DataDirectory virtual address is relative. | |
1372 | (pe_print_idata): Account for relative DataDirectory virtual | |
1373 | addresses. Don't trash datasize inside POWERPC_LE_PE code. | |
1374 | (pe_print_edata): Similarly. | |
1375 | ||
1376 | From Szabolcs Szakacsits <szaka@F-Secure.com> | |
1377 | * peigen.c (dir_names): Add Delay Import Directory. | |
1378 | (pe_print_idata): Always search for bfd section containing | |
1379 | idata address rather than looking up section name. Print this | |
1380 | section name rather than .idata. | |
1381 | (pe_print_edata): Similarly. Also print some fields as %08lx. | |
1382 | (_bfd_pe_print_private_bfd_data_common): Print Reserved1 field as | |
1383 | Win32Version. | |
1384 | ||
2c38bc20 CP |
1385 | Fri May 5 20:44:40 2000 Clinton Popetz <cpopetz@cygnus.com> |
1386 | ||
1387 | * xcoff.h: Rename to xcoff-target.h | |
1388 | * Makefile.am: Change all instances of xcoff.h to xcoff-target.h | |
1389 | * coff-rs6000.c: Ditto. | |
1390 | * coff64-rs6000.c: Ditto. | |
1391 | * coff-pmac.c: Ditto. | |
1392 | * Makefile.in: Regenerate. | |
1393 | ||
c6664dfb CP |
1394 | Fri May 5 16:51:03 2000 Clinton Popetz <cpopetz@cygnus.com> |
1395 | ||
1396 | * coffcode.h (coff_set_arch_mach_hook, coff_set_flags): | |
1397 | Change U802TOC64MAGIC to U803XTOCMAGIC. | |
1398 | ||
3425c182 MS |
1399 | 2000-05-04 Michael Snyder <msnyder@seadog.cygnus.com> |
1400 | ||
1401 | * elf.c (bfd_elf_get_arch_size): New function, return 32 | 64 | -1. | |
1402 | * bfd-in.h: Prototype bfd_elf_get_arch_size. | |
1403 | * bfd-in2.h: Prototype bfd_elf_get_arch_size. | |
1404 | ||
7c30ac37 AM |
1405 | 2000-05-04 Alan Modra <alan@linuxcare.com.au> |
1406 | ||
1407 | * libhppa.h (HPPA_R_CONSTANT): Cast argument to bfd_signed_vma. | |
1408 |