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