Commit | Line | Data |
---|---|---|
36478e9d AM |
1 | 2002-12-05 Alan Modra <amodra@bigpond.net.au> |
2 | ||
3 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Set | |
4 | load_base for orphans that follow a section with load_base set. | |
5 | ||
a981ed6f L |
6 | 2002-12-01 H.J. Lu <hjl@gnu.org> |
7 | ||
8 | * ld.texinfo: Remove the extra `;' in sample version script. | |
9 | ||
b34976b6 AM |
10 | 2002-11-30 Alan Modra <amodra@bigpond.net.au> |
11 | ||
08a1b063 AM |
12 | * configure.host: Correct dynamic-linker for powerpc64 hosts. |
13 | ||
4a1359d7 AM |
14 | * Makefile.am (eelf32ppcwindiss.c): Correct dependencies. |
15 | * Makefile.in: Regenerate. | |
16 | ||
b34976b6 AM |
17 | * ld.h, ldcref.c, ldctor.c, ldctor.h, ldemul.c, ldemul.h, ldexp.c, |
18 | ldexp.h, ldfile.c, ldfile.h, ldgram.y, ldlang.c, ldlang.h, ldmain.c, | |
19 | ldmain.h, ldmisc.c, ldwrite.c, lexsup.c, mri.c, pe-dll.c, pe-dll.h, | |
20 | emulparams/elf32b4300.sh, emultempl/aix.em, emultempl/armcoff.em, | |
21 | emultempl/armelf.em, emultempl/armelf_oabi.em, emultempl/beos.em, | |
22 | emultempl/elf32.em, emultempl/generic.em, emultempl/gld960.em, | |
23 | emultempl/gld960c.em, emultempl/hppaelf.em, emultempl/linux.em, | |
24 | emultempl/lnk960.em, emultempl/m68kcoff.em, emultempl/mipsecoff.em, | |
25 | emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em, emultempl/mmo.em, | |
26 | emultempl/needrelax.em, emultempl/pe.em, emultempl/ppc64elf.em, | |
27 | emultempl/sh64elf.em, emultempl/sunos.em, emultempl/ticoff.em: Replace | |
28 | boolean with bfd_boolean, true with TRUE, false with FALSE. Simplify | |
29 | comparisons of bfd_boolean vars with TRUE/FALSE. Formatting. | |
30 | ||
3b70b24e DB |
31 | 2002-11-27 David O'Brien <obrien@FreeBSD.org> |
32 | ||
33 | * configure.host: Fix generic FreeBSD configuration entry. | |
34 | ||
7c9c73be L |
35 | 2002-11-27 H.J. Lu <hjl@gnu.org> |
36 | ||
37 | * ld.texinfo: Add the missing `;' to sample version scripts. | |
38 | ||
1a3fdaa7 | 39 | 2002-11-20 Alan Modra <amodra@bigpond.net.au> |
48c5eb8a | 40 | |
1a3fdaa7 | 41 | * emulparams/elf64ppc.sh (SEGMENT_SIZE): Don't define. |
48c5eb8a | 42 | |
2fa9fc65 NC |
43 | 2002-11-14 Egor Duda <deo@logos-m.ru> |
44 | ||
45 | * ldmain.c (main): Make runtime relocs disabled by default. Remove | |
46 | assignment which has no effect. | |
47 | * pe-dll.h (pe_create_import_fixup): Change prototype. | |
48 | * pe-dll.c (make_runtime_pseudo_reloc): New function. | |
49 | (pe_create_runtime_relocator_reference): Ditto. | |
50 | (pe_create_import_fixup): Handle relocations with non-zero addends. | |
51 | * emultempl/pe.em: Add options --enable-runtime-pseudo-reloc and | |
52 | --disable-runtime-pseudo-reloc. | |
53 | (make_import_fixup): Handle relocations with non-zero addends. Create | |
54 | an external reference to _pei386_runtime_relocator symbol if at least | |
55 | one pseudo reloc was created. | |
56 | * ld.texinfo: Document --enable-runtime-pseudo-reloc and | |
57 | --disable-runtime-pseudo-reloc options. | |
58 | ||
c4c41219 AM |
59 | 2002-11-12 Earl Chew <earl_chew@agilent.com> |
60 | ||
61 | * ldlang.c (lang_add_section): Discard debugging sections that have | |
1a3fdaa7 | 62 | been marked SEC_EXCLUDE. |
c4c41219 | 63 | |
cd24c222 NC |
64 | 2002-11-12 Nick Clifton <nickc@redhat.com> |
65 | ||
66 | * configure.in (ALL_LINGUAS): Add da. | |
67 | * configure: Regenerate. | |
68 | * po/da.po: New Danish translation. | |
69 | ||
836c6af1 AM |
70 | 2002-11-12 Alan Modra <amodra@bigpond.net.au> |
71 | ||
72 | * emultempl/ppc64elf.em (ppc_before_allocation): New function. | |
73 | (LDEMUL_BEFORE_ALLOCATION): Define. | |
74 | (gld${EMULATION_NAME}_finish): Run discard_info for relocatable | |
75 | linking. | |
76 | * emultemp/hppaelf.em ((gld${EMULATION_NAME}_finish): Likewise. | |
77 | ||
f8b0dbb8 CF |
78 | 2002-11-11 Christopher Faylor <cgf@redhat.com> |
79 | ||
80 | * configure.tgt (LIB_PATH): Default to searching w32api directory under | |
81 | cygwin. | |
82 | ||
9e8d33e7 CF |
83 | 2002-11-11 Charles Wilson <cwilson@ece.gatech.edu> |
84 | ||
85 | * pe-dll.c (autofilter_liblist): add libmingwex and libgcj to the list | |
86 | of restricted auto-export libs. | |
87 | ||
75c2ea5b CF |
88 | 2002-11-11 Charles Wilson <cwilson@ece.gatech.edu> |
89 | ||
90 | * pe-dll.c (autofilter_liblist): Generalize library names to catch more | |
91 | creative library naming instances like, e.g., libstdc++-2.a. | |
92 | ||
426af4fe AO |
93 | 2002-11-06 Alexandre Oliva <aoliva@redhat.com> |
94 | ||
95 | * emulparams/elf32btsmipn32.sh (TEXT_DYNAMIC): Define. | |
96 | * emulparams/elf64btsmip.sh (TEXT_DYNAMIC): Likewise. | |
97 | ||
c9e38879 NC |
98 | 2002-11-07 Danny Smith <dannysmith@users.sourceforge.net> |
99 | ||
100 | * deffilep.y (def_lex): Handle '@' as first character of an ID. | |
101 | * pe-dll.c (auto-export): Filter on "_imp_" prefix, not "_imp__". | |
102 | (make_one): Don't prefix decorated fastcall symbols with '_'. | |
103 | (pe_process_import_defs): Likewise. | |
104 | * emultempl/pe.em (pe_fixup_stdcalls): Don't fixup fastcall | |
105 | symbols to cdecl names or vise-versa. | |
106 | ||
836c6af1 | 107 | 2002-10-13 Eric Kohl <ekohl@rz-online.de> |
c9e38879 NC |
108 | |
109 | * pe-dll.c (process_def_file): Handle fastcall symbols when | |
110 | generating undecorated aliases. Don't prefix decorated fastcall | |
111 | symbols with '_'. | |
112 | (fill_exported_offsets): Don't prefix decorated fastcall symbols | |
113 | with '_'. | |
114 | ||
df2a7313 DJ |
115 | 2002-10-29 Daniel Jacobowitz <drow@mvista.com> |
116 | ||
117 | * emultempl/aix.em: Use include <> for generated headers. | |
118 | * emultempl/beos.em: Likewise. | |
119 | * emultempl/elf32.em: Likewise. | |
120 | * emultempl/pe.em: Likewise. | |
121 | * ldctor.c: Likewise. | |
122 | * ldexp.c: Likewise. | |
123 | * ldfile.c: Likewise. | |
124 | * ldlang.c: Likewise. | |
125 | * ldlex.c: Likewise. | |
126 | * ldlex.l: Likewise. | |
127 | * ldmain.c: Likewise. | |
128 | * ldmisc.c: Likewise. | |
129 | * ldwrite.c: Likewise. | |
130 | * lexsup.c: Likewise. | |
131 | * mri.c: Likewise. | |
132 | * pe-dll.c: Likewise. | |
133 | ||
a8927cfd JJ |
134 | 2002-10-23 Jakub Jelinek <jakub@redhat.com> |
135 | ||
136 | * emultempl/elf32.em (place_orphan): Don't put non-allocated .rel* | |
137 | sections into .rel{,a}.dyn. | |
138 | ||
63fd3b82 NC |
139 | 2002-10-23 Nick Clifton <nickc@redhat.com> |
140 | ||
141 | * lexsup.c (OPTION_NO_OMAGIC): Define. | |
142 | (ld_options): Add "no-omagic" option. | |
143 | (parse_args): Parse --no-omagic. | |
144 | * ld.texinfo: Document --no-omagic. | |
145 | * NEWS: Mention new option. | |
146 | ||
36379167 NC |
147 | 2002-10-21 Danny Smith <dannysmith@users.sourceforeg.net> |
148 | ||
149 | * scripttempl/pe.sc (__RUNTIME_PSEUDO_RELOC_LIST__, | |
150 | __RUNTIME_PSEUDO_RELOC_LIST_END__): Add only when relocating. | |
151 | ||
3ffe58d9 AO |
152 | 2002-10-22 Alexandre Oliva <aoliva@redhat.com> |
153 | ||
154 | * emulparams/elf32bmipn32-defs.sh: Set ELFSIZE according to | |
155 | emulation name. Set LIB_PATH only for native tools, and | |
156 | search the ABI-specific versions of NATIVE_LIB_DIRS before the | |
157 | .../lib variants, not instead of them. Mostly copied from... | |
158 | * emulparams/elf32ppc.sh: ... here. Fixed typo. | |
159 | * emulparams/elf64bmip-defs.sh: Backed out. | |
160 | * emulparams/elf64bmip.sh: Import elf32bmipn32-defs.sh again. | |
161 | * emulparams/elf64btsmip.sh: Likewise. | |
162 | (DATA_ADDR, NONPAGED_TEXT_START_ADDR, SHLIB_TEXT_START_ADDR, | |
163 | TEXT_DYNAMIC): Removed. | |
164 | ||
e316b3a0 AO |
165 | 2002-10-17 Alexandre Oliva <aoliva@redhat.com> |
166 | ||
167 | * emulparams/elf32bmipn32-defs.sh (LIB_PATH): Set to /usr/lib32. | |
168 | (GENERATE_SHLIB_SCRIPT): Set to yes. | |
169 | (EXECUTABLE_SYMBOLS, WRITABLE_RODATA): Moved to... | |
170 | * emulparams/elf32bmipn32.sh: here. | |
171 | (GENERATE_SHLIB_SCRIPT): Deleted as redundant. | |
172 | * emulparams/elf32btsmipn32.sh: Delete redundant unsets. | |
173 | * emulparams/elf64bmip-defs.sh: New file. Extend | |
174 | elf32bmipn32-defs.sh by overiding ELFSIZE and LIB_PATH. | |
175 | * emulparams/elf64bmip.sh: Bring in definitions from | |
176 | elf64bmip-defs.sh. | |
177 | (ELFSIZE, GENERATE_SHLIB_SCRIPT, LIB_PATH): Delete redundant | |
178 | settings. | |
179 | (WRITABLE_RODATA): Moved from elf32bmipn32-defs.sh. | |
180 | * emulparams/elf64btsmip.sh: Bring in definitions from | |
181 | elf64bmip-defs.sh. | |
182 | (ELFSIZE, GENERATE_SHLIB_SCRIPT): Delete, redundant. | |
183 | (EXECUTABLE_SYMBOLS, WRITABLE_RODATA): Delete redundant unsets. | |
184 | ||
f52d1d64 JJ |
185 | 2002-10-16 Jakub Jelinek <jakub@redhat.com> |
186 | ||
187 | * configure.tgt (s390x-*-linux*): Add elf_s390 emulation. | |
188 | (s390-*-linux*): Add elf64_s390 emulation if want64. | |
189 | * emulparams/elf64_sparc.sh (LIB_PATH): Update to match 2002-05-22 | |
190 | genscript.sh changes. | |
191 | * emulparams/elf_x86_64.sh (LIB_PATH): Likewise. | |
192 | * emulparams/elf64_s390.sh (LIB_PATH): Set up native 64 bit dirs. | |
193 | ||
03bdc404 AM |
194 | 2002-10-15 Alan Modra <amodra@bigpond.net.au> |
195 | ||
196 | * ldlang.c (load_symbols): Revert last change. | |
197 | ||
c6db2f05 AM |
198 | 2002-10-14 Alan Modra <amodra@bigpond.net.au> |
199 | ||
7c519c12 AM |
200 | * ldlang.c (load_symbols): Don't call bfd_link_add_symbols when |
201 | just_syms_flag. | |
202 | (lang_reasonable_defaults): Don't compare against false. | |
203 | (size_input_section): Likewise. | |
204 | (lang_size_sections_1): Likewise. | |
205 | (lang_do_assignments): Likewise. | |
206 | (lang_add_output): Likewise. | |
207 | ||
c6db2f05 AM |
208 | * Makefile.am: Run "make dep-am". |
209 | * Makefile.in: Regenerate. | |
210 | * ldver.c: #include "bfdver.h". | |
211 | ||
e1026ffb SC |
212 | 2002-10-13 Stephane Carrez <stcarrez@nerim.fr> |
213 | ||
214 | * scripttempl/elfm68hc11.sc: Use KEEP for .vectors, .installN, | |
215 | .finiN section. | |
216 | * scripttempl/elfm68hc12.sc: Likewise. | |
217 | ||
2d801b0f AM |
218 | 2002-10-11 Alan Modra <amodra@bigpond.net.au> |
219 | ||
fe213ce2 AM |
220 | * pe-dll.c (make_import_fixup_mark): Avoid type-punned pointer. |
221 | ||
2d801b0f AM |
222 | * ldgram.y (memory_spec): Provide empty action. |
223 | (section <NAME>): Likewise. | |
224 | ||
599917b8 JJ |
225 | 2002-10-10 Jakub Jelinek <jakub@redhat.com> |
226 | ||
227 | * ldfile.c (ldfile_try_open_bfd): When searching skip linker scripts if | |
228 | they have OUTPUT_FORMAT not matching actual output format. | |
229 | * ldlang.c (lang_get_output_target): New function. | |
230 | (open_output): Use it. | |
231 | * ldlang.h (lang_get_output_target): New prototype. | |
232 | ||
24cdb50a AM |
233 | 2002-10-10 Alan Modra <amodra@bigpond.net.au> |
234 | ||
235 | * emultempl/elf32.em (output_rel_find): Prefer .rel script sections | |
236 | when orphan is .rel, .rela when orphan is .rela. | |
237 | (gld${EMULATION_NAME}_place_orphan): Handle combreloc .rel* case | |
238 | first. Remove outsecname var. | |
239 | ||
a2b3c630 SC |
240 | 2002-10-09 Richard Shann <richard.shann@superh.com> |
241 | Stephen Clarke <stephen.clarke@superh.com> | |
242 | ||
243 | * Makefile.am: Add eshelf32_linux.o and | |
244 | eshlelf32_linux.o, new emulations for sh64 Linux. | |
245 | * Makefile.in: Regenerate. | |
246 | * configure.tgt: Add sh64eb-*-linux* and sh64-*-linux* emulations. | |
247 | * emulparams/shelf32_linux.sh: New file. | |
248 | * emulparams/shlelf32_linux.sh: New file. | |
7c519c12 | 249 | |
c04c9586 L |
250 | 2002-10-08 H.J. Lu <hjl@gnu.org> |
251 | ||
252 | * ldlang.c (lang_file_exist): Removed. | |
253 | (new_afile): Revert the last change. | |
254 | * ldlang.h (lang_file_exist): Removed. | |
255 | * lexsup.c (parse_args): Revert the last change. | |
256 | ||
39cebe23 NC |
257 | 2002-10-07 Ralf Habacker <Ralf.Habacker@freenet.de> |
258 | ||
259 | * pe-dll.cc (autofilter_symbolprefixlist): Don't re-export | |
260 | auto-import symbols. | |
261 | (make_one): Create _nm_<symbol> for data only. | |
262 | ||
53b2a62f NC |
263 | 2002-10-05 Elias Athanasopoulos <eathan@otenet.gr> |
264 | ||
265 | * ldlang.c (lang_file_exist): New function. | |
7c519c12 | 266 | (new_afile): Abort if the filename to be added matches the linker |
53b2a62f NC |
267 | output filename. |
268 | * ldlang.h: Add prototype for lang_file_exist. | |
269 | * lexsup.c (parse_args): Abort if the output filename matches | |
270 | one of the input filenames. | |
271 | ||
a86a09cc AM |
272 | 2002-10-02 Alan Modra <amodra@bigpond.net.au> |
273 | ||
274 | * emulparams/elf64ppc.sh (MAXPAGESIZE): Set to 0x10000. | |
275 | ||
ba493122 AM |
276 | 2002-09-30 Alan Modra <amodra@bigpond.net.au> |
277 | ||
1bf0a4d9 AM |
278 | * scripttempl/elfd30v.sc: Order reloc sections placing .plt last. |
279 | * scripttempl/elfm68hc11.sc: Likewise. | |
280 | * scripttempl/elfm68hc12.sc: Likewise. | |
281 | ||
ba493122 AM |
282 | * emultempl/elf32.em (output_rel_find): Always place orphan loadable |
283 | reloc sections just before .rel.plt/.rela.plt. | |
284 | (gld${EMULATION_NAME}_place_orphan <.rel>): Remove combreloc code. | |
285 | Only put loadable reloc sections in hold_rel. | |
286 | ||
fdb9132d L |
287 | 2002-09-29 H.J. Lu <hjl@gnu.org> |
288 | ||
42f98619 | 289 | * emulparams/elf32ppc.sh (OTHER_GOT_RELOC_SECTIONS): New. |
fdb9132d | 290 | |
ff326826 DJ |
291 | 2002-09-25 Daniel Jacobowitz <drow@mvista.com> |
292 | ||
293 | From "Anita Kulkarni" <AnitaK@kpit.com> | |
294 | * scripttempl/sh.sc: Handle .eh_frame* and .gcc_exc* | |
295 | sections. | |
296 | ||
0ae1cf52 AM |
297 | 2002-09-25 Alan Modra <amodra@bigpond.net.au> |
298 | ||
1ddd7b13 AM |
299 | * genscripts.sh (SEGMENT_SIZE): Use MAXPAGESIZE before |
300 | TARGET_PAGE_SIZE. | |
301 | * scripttempl/elf.sc (DATA_SEGMENT_ALIGN): Incorporate | |
302 | SEGMENT_SIZE alignment. | |
303 | * emulparams/elf64ppc.sh (DATA_ADDR): Delete. | |
304 | (SEGMENT_SIZE): Define. | |
305 | ||
0ae1cf52 AM |
306 | * ldexp.c (fold_unary): New. Split out from exp_fold_tree. |
307 | (fold_binary): Correct abs - non-abs case. | |
308 | (fold_trinary): New. Split out from exp_fold_tree. | |
309 | ||
06143382 AM |
310 | 2002-09-24 Alan Modra <amodra@bigpond.net.au> |
311 | ||
312 | * emulparams/elf64ppc.sh (DATA_ADDR): Define. | |
313 | * emulparams/elf64_aix.sh (DATA_ADDR): Don't use a fixed address | |
314 | for start of .data, instead align up to 256M boundary. | |
315 | * scripttempl/aix.sc: Likewise. | |
316 | ||
8e616ecc DD |
317 | 2002-09-22 Mark Elbrecht <snowball3@softhome.net> |
318 | ||
319 | * scripttempl/i386go32.sc: Handle bss unique sections. | |
320 | ||
5cfb2bb2 AM |
321 | 2002-09-21 Alan Modra <amodra@bigpond.net.au> |
322 | ||
323 | * ldmisc.c (vfinfo <%C,%D,%G>): Always output bfd, section and offset. | |
324 | ||
dd2e0905 SC |
325 | 2002-09-17 Stan Cox <scox@redhat.com> |
326 | ||
327 | * emulparams/elf32bmipn32-defs.sh: New file. | |
328 | * emulparams/elf32bmipn32.sh: Use elf32bmipn32-defs.sh. | |
329 | * emulparams/elf32btsmipn32.sh: Likewise. | |
330 | * emulparams/elf64bmip.sh: Likewise. | |
331 | * emulparams/elf64btsmip.sh: Likewise. | |
332 | ||
4ada7262 DB |
333 | 2002-09-16 Bruno Haible <bruno@clisp.org> |
334 | ||
335 | * emulparams/elf_i386_fbsd.sh: Set OUTPUT_FORMAT to | |
336 | elf32-i386-freebsd. | |
337 | * emulparams/elf64alpha_fbsd.sh: Set OUTPUT_FORMAT to | |
338 | elf64-alpha-freebsd. | |
339 | ||
e09f4395 NC |
340 | 2002-09-11 Nick Clifton <nickc@redhat.com> |
341 | ||
004d9caf NC |
342 | * NEWS: New TI port supports both C4x and C3x series of DSPs. |
343 | ||
e09f4395 NC |
344 | * po/tr.po: Updated Turkish translation. |
345 | ||
004d9caf | 346 | 2002-09-06 Jeffrey A Law (law@redhat.com) |
0b3a6a28 | 347 | |
7c519c12 | 348 | * configure.tgt (h8300-*-hms*, h8500-*-hms*): Restore. |
0b3a6a28 | 349 | |
3e369e96 NC |
350 | 2002-09-02 Nick Clifton <nickc@redhat.com> |
351 | ||
67010b46 NC |
352 | * scripttempl/v850.sc: Add EXTERN references to __ctbpm __gp and |
353 | __ep. | |
354 | * emulparams/v850.sh (TEMPLATE_NAME): Define. | |
3e369e96 | 355 | |
5435462c NC |
356 | 2002-08-30 Nick Clifton <nickc@redhat.com> |
357 | ||
358 | * scripttempl/elfd10v.sc (MEMORY): Remove UNIFIED, it is not | |
359 | used. Change INSN to start at 0x01000000 and extend for | |
360 | 256K (ignoring holes). Start the STACK on a word aligned | |
361 | boundary. | |
7c519c12 | 362 | (.rodata): Start it at the READONLY_START_ADDR. |
5435462c | 363 | |
5c368657 AM |
364 | 2002-08-30 Alan Modra <amodra@bigpond.net.au> |
365 | ||
366 | * emulparams/elf32ppc.sh (ARCH): Set to "powerpc:common". | |
367 | ||
026df7c5 NC |
368 | 2002-08-28 Svein E. Seldal <Svein.Seldal@solidas.com> |
369 | ||
370 | * Makefile.am: Add etic4xcoff.o in ALL_EMULATIONS list and | |
371 | added makefile targets for this file. | |
372 | * Makefile.in: Regenerate. | |
373 | * configure.tgt: Added tic4x-coff and c4x-coff emulations. | |
374 | * NEWS: Mention new port. | |
375 | ||
376 | 2002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz> | |
377 | ||
378 | * emulparams/tic3xcoff.sh: New file. | |
379 | * emulparams/tic4xcoff.sh: New file. | |
380 | * scripttempl/tic3xcoff.sc: New file. | |
381 | * scripttempl/tic4xcoff.sc: New file. | |
382 | ||
c89e8944 AM |
383 | 2002-08-28 Alan Modra <amodra@bigpond.net.au> |
384 | ||
385 | * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Replace strtoll, | |
386 | strtoul and strtoull with bfd_scan_vma. | |
387 | (gld${EMULATION_NAME}_read_file): Likewise. | |
388 | ||
6459ecfa AM |
389 | 2002-08-28 Alan Modra <amodra@bigpond.net.au> |
390 | ||
391 | * configure.tgt: Remove h8[35]00-*-hms*. Add h8500-*-rtems*. | |
392 | ||
ad5211be NC |
393 | 2002-08-27 Egor Duda <deo@logos-m.ru> |
394 | ||
395 | * scripttempl/pe.sc: Handle .rdata_runtime_pseudo_reloc sections. | |
396 | Add symbols for application to access them. | |
397 | ||
88f7bcd5 NC |
398 | 2002-08-27 Nick Clifton <nickc@redhat.com> |
399 | ||
400 | * emultempl/armelf.em: Revert this patch, it is not needed. | |
7c519c12 | 401 | |
88f7bcd5 NC |
402 | 2002-08-22 Adam Nemet <anemet@lnxw.com> |
403 | ||
8e523c23 | 404 | 2002-08-20 Dan Kegel <dank@kegel.com> |
7c519c12 | 405 | |
8e523c23 NC |
406 | * configure.in: added --with-lib-path argument to ld's configure |
407 | to set LIB_PATH. | |
408 | * ld/NEWS: Document new switch. | |
409 | * ld/README: Mention new switch. | |
410 | * configure: Regenerate. | |
411 | * Makefile.in: Regenerate. | |
7c519c12 | 412 | |
8e523c23 NC |
413 | Based on this patch: |
414 | 2001-04-25 Christopher Faylor <cgf@cygnus.com> | |
415 | ||
416 | * Makefile.in (LIB_PATH): Make configurable. | |
417 | (GENSCRIPTS): Set LIB_PATH in environment. | |
418 | * configure.in: Substitute LIB_PATH. | |
419 | ||
d9a7f7ab NC |
420 | 2002-08-22 Adam Nemet <anemet@lnxw.com> |
421 | ||
422 | * emultempl/armelf.em: Include elf-bfd.h and elf/arm.h. | |
423 | (arm_elf_finish): Set the last bit of DT_INIT and DT_FINI | |
424 | depending on the type of the function. | |
425 | (arm_elf_convert_thumb_symbol_to_address): New function. | |
426 | ||
ed71e111 NC |
427 | 2002-08-22 Graeme Peterson <gp@qnx.com> |
428 | ||
429 | * Makefile.am: Add esh{l}elf_nto.o files. | |
430 | * Makefile.in: Regenerate. | |
431 | * configure.tgt: Add support for sh-**-nto* targets. | |
432 | * emulparams/shelf_nto.sh: New file. | |
433 | * emulparams/shlelf_nto.sh: New file. | |
434 | ||
7abb6dea AM |
435 | 2002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca> |
436 | ||
437 | * ldlang.c (offsetof): Define if not defined. | |
438 | ||
e9229007 L |
439 | 2002-08-14 H.J. Lu <hjl@gnu.org> |
440 | ||
441 | * configure.tgt: Always enable 64bit emulations for 32bit | |
442 | Linux/mips. | |
443 | ||
c553bb91 AM |
444 | 2002-08-13 Alan Modra <amodra@bigpond.net.au> |
445 | ||
446 | * emulparams/elf32_dlx.sh (TARGET_PAGE_SIZE): Set to 1. | |
447 | (MAXPAGESIZE): Set to 1. | |
448 | ||
449 | * ld.h (ALIGN_N): Delete. | |
450 | * ldexp.h (align_n): Declare. | |
451 | * ldexp.c (align_n): New function. | |
452 | (fold_binary): Use align_n instead of ALIGN_N. | |
453 | (exp_fold_tree): Likewise. | |
454 | * ldlang.c (lang_size_sections_1): Likewise. | |
455 | (lang_one_common): Likewise. | |
3c6706bb | 456 | * ld.texinfo (ALIGN): Remove power of 2 restriction. |
c553bb91 | 457 | |
59bc061d NC |
458 | 2002-07-31 Graeme Peterson <gp@qnx.com> |
459 | ||
460 | * configure.tgt: Add support for powerpc{le}-*-nto* targets. | |
461 | * Makefile.am: Add eelf32{l}ppcnto.o files. | |
462 | * Makefile.in: Regenerate. | |
463 | * emulparams/elf32lppcnto.sh: New file. | |
464 | * emulparams/elf32ppcnto.sh: New file. | |
465 | ||
31941635 L |
466 | 2002-08-07 H.J. Lu <hjl@gnu.org> |
467 | ||
468 | * ld.texinfo: Document --no-undefined-version. | |
469 | ||
470 | * ldlang.c (lang_new_vers_pattern): Set the `symver' and | |
471 | `script.' fields to 0. | |
472 | ||
473 | * ldmain.c (main): Initialize the allow_undefined_version to | |
474 | true. | |
475 | ||
476 | * lexsup.c (OPTION_NO_UNDEFINED_VERSION): New. | |
477 | (ld_options): Add --no-undefined-version. | |
478 | (parse_args): Support OPTION_NO_UNDEFINED_VERSION. | |
479 | ||
2004afbc NC |
480 | 2002-08-07 Nick Clifton <nickc@redhat.com> |
481 | ||
482 | * emultempl/armelf.em (arm_elf_before_allocation): Only search for | |
483 | an interworking bfd if there are input bfds. (107501) | |
484 | ||
7fc44b9c AM |
485 | 2002-08-06 Alan Modra <amodra@bigpond.net.au> |
486 | ||
487 | * emultempl/aix.em (gld*_before_parse): Set default arch. Reverts | |
488 | 2002-05-10 change. | |
489 | ||
24a1ba0f NC |
490 | 2002-08-01 Nick Clifton <nickc@redhat.com> |
491 | ||
492 | * emulparams/armelf.sh: Revert previous delta. | |
493 | * scripttempl/elf.sc: Revert previous delta. | |
494 | ||
ebc6e014 L |
495 | 2002-07-31 H.J. Lu <hjl@gnu.org> |
496 | ||
497 | * configure.tgt (powerpc*-*-linux*): Enable elf64ppc for | |
498 | --enable-64-bit-bfd. | |
499 | ||
39a2a3eb L |
500 | 2002-07-31 H.J. Lu <hjl@gnu.org> |
501 | ||
502 | * configure.tgt: Enable x86-64 emulation for Linux/i386 if | |
503 | 64bit BFD is selected. | |
504 | ||
a0dfa6a8 L |
505 | 2002-07-31 H.J. Lu <hjl@gnu.org> |
506 | ||
507 | * configure.tgt: Enable 64bit emulations for 32bit Linux/mips | |
508 | if 64bit BFD is selected. | |
509 | ||
f7c33884 NC |
510 | 2002-07-31 Ian Dall <ian@sibyl.beware.dropbear.id.au> |
511 | ||
512 | * emultempl/netbsd.em (LDEMUL_BEFORE_PARSE): New file to custom set | |
513 | link_info.common_skip_ar_aymbols. | |
514 | * emulparams/ns32knbsd.sh (EXTRA_EM_FILE): Refer to extra file. | |
515 | ||
516 | * ldmain.c (main): Initialize new field | |
517 | link_info.common_skip_ar_aymbols. | |
518 | ||
8f64befb NC |
519 | 2002-07-31 Adam Nemet <anemet@lnxw.com> |
520 | ||
521 | * emulparams/armelf.sh (OTHER_PLT_SECTIONS): New variable. Set it | |
522 | to .plt.thumb. | |
523 | * scripttempl/elf.sc: Comment it. Use the same way as ${PLT} is | |
524 | used. | |
525 | ||
500800ca NC |
526 | 2002-07-31 Nick Clifton <nickc@redhat.com> |
527 | ||
528 | * NEWS: Retroactively add entry for Lars Brinkhoff's contribution | |
529 | of the PDP-11 and 2.11BSD a.out support. | |
530 | ||
7808a785 TS |
531 | 2002-07-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
532 | ||
533 | * Makefile.am (eelf32btsmipn32.o, eelf32ltsmipn32.o): New emulations | |
534 | for n32 ABI support. | |
535 | * Makefile.in: Regenerate. | |
536 | * configure.tgt (mips64*el-*-linux-gnu*,mips64*-*-linux-gnu*): Add | |
537 | n32 ABI emulations for these 64 bit targets. | |
538 | * emulparams/elf32bmipn32.sh: Expand comment. | |
539 | * emulparams/elf32btsmipn32.sh: New file, for traditional big endian | |
540 | n32 ABI. | |
541 | * emulparams/elf32ltsmipn32.sh: Likewise for little endian. | |
542 | ||
7e392df6 NC |
543 | 2002-07-30 Graeme Peterson <gp@qnx.com> |
544 | ||
545 | * configure.tgt: Add support for arm-*-nto target. | |
546 | * Makefile.am: Add earmnto.o file. | |
547 | * Makefile.in: Regenerate. | |
548 | * NEWS: Mention port of ARM support to QNX. | |
549 | * emulparams/armnto.sh: New file. | |
550 | ||
704afa60 JJ |
551 | 2002-07-30 Jakub Jelinek <jakub@redhat.com> |
552 | ||
553 | * ldlang.c (lang_add_section): Don't turn .tbss into normal sections | |
554 | for relocatable link. | |
555 | (lang_size_sections_1): Don't make .tbss zero size for relocatable | |
556 | link. | |
557 | ||
7dcd22c2 BS |
558 | 2002-07-26 Bernd Schmidt <bernds@redhat.com> |
559 | ||
560 | * emulparams/elf32frv.sh (OTHER_RELOCATING_SECTIONS): Delete. | |
561 | (STACK_ADDR): New. | |
562 | ||
219576a4 NC |
563 | 2002-07-25 Nick Clifton <nickc@redhat.com> |
564 | ||
565 | * po/sv.po: Updated Swedish translation. | |
566 | * po/es.po: Updated Spanish translation. | |
567 | * po/fr.po: Updated French translation. | |
568 | ||
ff3063f5 NC |
569 | 2002-07-24 Nick Clifton <nickc@redhat.com> |
570 | ||
571 | * po/sv.po: Updated Swedish translation. | |
572 | * po/es.po: Updated Spanish translation. | |
573 | ||
0461a601 NC |
574 | 2002-07-23 Nick Clifton <nickc@redhat.com> |
575 | ||
ff3063f5 | 576 | * po/fr.po: Updated French translation. |
0461a601 | 577 | |
25844aae AM |
578 | 2002-07-20 Alan Modra <amodra@bigpond.net.au> |
579 | ||
580 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't | |
581 | bomb on /DISCARD/ input section. | |
582 | * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise. | |
583 | * emultempl/mmo.em (mmo_place_orphan): Likewise. | |
584 | ||
3595bd6e HPN |
585 | 2002-07-19 Hans-Peter Nilsson <hp@bitrange.com> |
586 | ||
587 | * emultempl/mmo.em (mmo_place_orphan): Handle case of no .text | |
588 | output section. | |
589 | ||
cf88bb9f NC |
590 | 2002-07-16 Denis Chertykov <denisc@overta.ru> |
591 | Nick Clifton <nickc@redhat.com> | |
592 | Frank Ch. Eigler <fche@redhat.com> | |
593 | John Healy <jhealy@redhat.com> | |
594 | ||
595 | * configure.tgt: Add support for ip2k-elf. | |
596 | * Makefile.am: Add support for ip2k-elf. | |
597 | * Makefile.in: Regenerate. | |
598 | * emulparams/elf32ip2k.sh: New file. | |
599 | * scripttempl/ip2k.sc: New file | |
600 | * NEWS: Mention support for new port. | |
601 | ||
2cbb2eef NC |
602 | 2002-07-16 Nick Clifton <nickc@cambridge.redhat.com> |
603 | ||
604 | * NEWS: Add 'Changes in 2.13'. | |
605 | ||
96a94295 L |
606 | 2002-07-14 H.J. Lu <hjl@gnu.org> |
607 | ||
608 | * ld.texinfo: Document a .symver takes precedence over a | |
609 | version script. | |
610 | ||
120d20f2 AM |
611 | 2002-07-12 Alan Modra <amodra@bigpond.net.au> |
612 | ||
613 | * emulparams/elf64ppc.sh (ARCH): Set to powerpc:common64. | |
614 | (COMMONPAGESIZE): Define. | |
615 | ||
0d2ddeb2 AM |
616 | 2002-07-09 Alan Modra <amodra@bigpond.net.au> |
617 | ||
618 | * emulparams/hppanbsd.sh: Remark that hppaobsd.sh references this file. | |
619 | ||
554690ed AM |
620 | 2002-07-09 Federico G. Schwindt <fgsch@olimpo.com.br> |
621 | ||
622 | * configure.tgt: Add support for alpha-*-openbsd*, hppa-*-openbsd*, | |
623 | powerpc-*-openbsd* and sparc64-*-openbsd*. | |
624 | * Makefile.am (ALL_EMULATIONS): Add ehppaobsd.o. | |
625 | * Makefile.in: Regenerate. | |
626 | * emulparams/hppaobsd.sh: New file. | |
627 | ||
34786259 AM |
628 | 2002-07-05 Alan Modra <amodra@bigpond.net.au> |
629 | ||
630 | * ldlang.c (print_wild_statement): Fix output formatting. | |
631 | ||
4bd5a393 AM |
632 | 2002-07-04 Alan Modra <amodra@bigpond.net.au> |
633 | ||
634 | * ldlang.c: (strip_excluded_output_sections): New function. | |
635 | (lang_process): Call it. | |
636 | (lang_size_sections_1): Revert 2002-06-10 change. | |
637 | ||
ce4f7385 AM |
638 | 2002-07-03 Alan Modra <amodra@bigpond.net.au> |
639 | ||
640 | * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change. | |
641 | Run "make dep-am". | |
642 | * Makefile.in: Regenerate. | |
643 | ||
b7b482a3 AM |
644 | 2002-07-02 Alan Modra <amodra@bigpond.net.au> |
645 | ||
71daf8b4 AM |
646 | * ldfile.c (ldfile_try_open_bfd): Formatting. |
647 | ||
b7b482a3 AM |
648 | * ldmisc.c (demangle): Move so that it doesn't intrude between |
649 | vfinfo comment and body. Add comment. | |
650 | ||
29e2951e AM |
651 | 2002-07-01 John David Anglin <dave@hiauly1.hia.nrc.ca> |
652 | ||
653 | * emulparams/vax.sh (OUTPUT_FORMAT): Use a.out-vax-bsd format. | |
654 | ||
e3e942e9 AM |
655 | 2002-07-01 Alan Modra <amodra@bigpond.net.au> |
656 | ||
657 | * ldlang.h (entry_sym): Make it a struct bfd_sym_chain. | |
658 | * ldlang.c (entry_sym): Likewise. | |
659 | (ldlang_undef_chain_list_type): Likewise. | |
660 | (lang_finish): Adjust references to entry_symbol. | |
661 | (lang_add_entry): Likewise. | |
662 | (lang_gc_sections): Use link_info.gc_sym_list. | |
663 | (lang_process): Set link_info.gc_sym_list. | |
664 | * ldlex.l: Include bfdlink.h. | |
665 | * ldmain.c (main): Init link_info.gc_sym_list. | |
666 | * emultempl/aix.em: Adjust references to entry_symbol. | |
667 | * emultempl/armcoff.em: Likewise. | |
668 | * emultempl/armelf.em: Likewise. | |
669 | * emultempl/pe.em: Likewise. | |
670 | * emultempl/ppc64elf.em (ppc_after_open): New function. | |
671 | (LDEMUL_AFTER_OPEN): Define. | |
672 | * emulparams/elf64ppc.sh: KEEP .opd sections. | |
673 | ||
a66c0f2c SC |
674 | 2002-06-29 Stephane Carrez <stcarrez@nerim.fr> |
675 | ||
676 | * emulparams/m68hc12elfb.sh (EEPROM_MEMORY): Define. | |
677 | * emulparams/m68hc11elfb.sh (EEPROM_MEMORY): Define. | |
678 | * emulparams/m68hc11elf.sh (EEPROM_SIZE): Define. | |
679 | (EEPROM_START_ADDR): Define. | |
680 | (EEPROM_MEMORY): Define. | |
681 | * emulparams/m68hc12elf.sh: Likewise. | |
682 | * scripttempl/elfm68hc11.sc: Handle .eeprom section; handle .softregs | |
683 | section to put soft registers in .page0. | |
684 | * scripttempl/elfm68hc12.sc: Likewise but put soft registers in bss. | |
685 | ||
2b67cf00 JL |
686 | 2002-06-26 John David Anglin <dave@hiauly1.hia.nrc.ca> |
687 | ||
688 | * emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd | |
689 | section. Add ${RELOCATING-0}. | |
690 | ||
219576a4 | 691 | 2002-06-26 J"orn Rennecke <joern.rennecke@superh.com> |
164c4054 JR |
692 | |
693 | * emulparams/shelf.sh (STACK_ADDR): Don't define. | |
694 | (OTHER_SECTIONS): Define. | |
695 | * emulparams/shelf_nbsd.sh ((STACK_ADDR): Don't undef. | |
696 | (OTHER_SECTIONS): Undef. | |
697 | ||
fc28fbc2 AM |
698 | 2002-06-26 Alan Modra <amodra@bigpond.net.au> |
699 | ||
700 | * ldmisc.c (demangle): Restore dots stripped from sym name. | |
701 | ||
a13a0de8 L |
702 | 2002-06-25 H.J. Lu <hjl@gnu.org> |
703 | ||
704 | * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it. | |
705 | * Makefile.in: Regenerated. | |
706 | ||
b553b183 NC |
707 | 2002-06-20 Nick Clifton <nickc@cambridge.redhat.com> |
708 | ||
709 | * ld.texinfo (Bug Reporting): Update text to suggest a limit on | |
710 | the size of attached object files, to allow make the object files | |
711 | available via FTP or HTTP and to mention that the mail will be | |
712 | sent to a mailing list. | |
713 | ||
2755afba NC |
714 | 2002-06-20 Nathanael Nerode <neroden@twcny.rr.com> |
715 | ||
716 | * ld/configure.host (romp): Drop support. | |
717 | ||
7d0a848e CD |
718 | 2002-06-18 Chris Demetriou <cgd@broadcom.com> |
719 | ||
720 | * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Check | |
721 | section flags for SEC_DATA, rather than for SEC_CODE being unset. | |
722 | ||
8505f884 CD |
723 | 2002-06-18 Chris Demetriou <cgd@broadcom.com> |
724 | ||
725 | * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Fix | |
726 | format specifier used to print BFD name. | |
727 | ||
7d553a40 DB |
728 | 2002-06-18 Dave Brolley <brolley@redhat.com> |
729 | ||
730 | From Catherine Moore, Michael Meissner, Jim Blandy: | |
731 | * emulparams/elf32frv.sh: New file. | |
732 | * configure.tgt: Support frv-*-*. | |
733 | * Makefile.am (ALL_EMULATIONS): Add eelf32frv.o. | |
734 | (eelf32frv.c): New target. | |
735 | ||
82434356 TR |
736 | 2002-06-17 Tom Rix <trix@redhat.com> |
737 | ||
a59f3d35 | 738 | * emultempl/elf32.em: gld*_get_script: Check for |
82434356 TR |
739 | GENERATE_COMBRELOC_SCRIPT. |
740 | * scripttempl/elfd10v.sc : Fix STACK and INSN. | |
741 | * emulparams/d10velf.sh : Fix TEXT_START_ADDR. | |
742 | ||
219576a4 | 743 | 2002-06-13 J"orn Rennecke <joern.rennecke@superh.com> |
5d9b5481 JR |
744 | |
745 | * configure.tgt: Add support for sh[1234]*le*-*-elf, sh[1234]*-*-elf. | |
746 | ||
c4bb8067 L |
747 | 2002-06-12 H.J. Lu <hjl@gnu.org> |
748 | ||
749 | * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Return | |
750 | false if xvec doesn't match. | |
751 | ||
e052cfbe RS |
752 | 2002-06-10 Richard Sandiford <rsandifo@redhat.com> |
753 | ||
754 | * ldlang.c (lang_size_sections_1): Skip removed output sections. | |
755 | ||
4da711b1 AM |
756 | 2002-06-08 Alan Modra <amodra@bigpond.net.au> |
757 | ||
758 | * ldexp.c: Replace CONST with const. | |
759 | * ldfile.c: Likewise. | |
760 | * ldfile.h: Likewise. | |
761 | * ldlex.l: Likewise. | |
762 | * mri.c: Likewise. | |
763 | * pe-dll.h: Likewise. | |
764 | ||
eb95bb9a AM |
765 | 2002-06-07 Alan Modra <amodra@bigpond.net.au> |
766 | ||
767 | * emultempl/ppc64elf.em (new_vers_pattern): Warning fix. | |
768 | ||
e0076ab3 NC |
769 | 2002-06-07 Charles Wilson <cwilson@ece.gatech.edu> |
770 | ||
771 | * ld/ldmain.c (main): initialize link_info.pei386_auto_import | |
772 | to -1 == implicit enable. | |
773 | * ld/emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): | |
774 | initialize link_info.pei386_auto_import to -1 == implicit | |
775 | enable. | |
776 | (gld_${EMULATION_NAME}_parse_args): When processing | |
777 | --enable-auto-import and --disable-auto-import options, use | |
778 | '1' and '0' instead of 'true' and 'false'. | |
779 | (pe_find_data_imports): Only issue message about auto-import | |
780 | when the feature is implicitly enabled. Downgrade message to | |
781 | informational instead of warning. | |
782 | ||
f13a5424 AM |
783 | 2002-06-07 Alan Modra <amodra@bigpond.net.au> |
784 | ||
785 | * scripttempl/elf.sc (.tbss): Fix mismatched parentheses/braces. | |
786 | ||
1abffd82 JL |
787 | 2002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca> |
788 | ||
789 | * configure.host (hppa*64*-*-hpux11*): Define NATIVE_LIB_DIRS, | |
790 | HOSTING_CRT0 and HOSTING_LIBS. | |
791 | ||
e0076ab3 | 792 | 2002-06-05 J"orn Rennecke <joern.rennecke@superh.com> |
7a33bc10 JR |
793 | |
794 | * configure.tgt (shle*-*-elf*, sh64le-*-elf*): New configurations. | |
795 | ||
4a5e698d JT |
796 | 2002-06-05 Jason Thorpe <thorpej@wasabisystems.com> |
797 | ||
798 | * emulparams/ns32knbsd.sh (EXECUTABLE_SYMBOLS): Set _DYNAMIC to 0. | |
799 | (NONPAGED_TEXT_START_ADDR): Set to 0x1000. | |
800 | ||
1d475d82 AM |
801 | 2002-06-05 Alan Modra <amodra@bigpond.net.au> |
802 | ||
803 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Place | |
804 | SEC_EXCLUDE sections when doing a relocatable link. | |
805 | ||
5b0e55b6 JT |
806 | 2002-06-04 Jason Thorpe <thorpej@wasabisystems.com> |
807 | ||
808 | * Makefile.am (ALL_EMULATIONS): Add eshelf32_nbsd.o, | |
809 | eshlelf32_nbsd.o, eshelf64_nbsd.o, and eshlelf64_nbsd.o. | |
810 | (eshelf32_nbsd.c, eshelf64_nbsd.c, eshlelf32_nbsd.c) | |
811 | (eshlelf64_nbsd.c): New rules. | |
812 | * Makefile.in: Regenerate. | |
813 | * configure.tgt (sh5le-*-netbsd*, sh5-*-netbsd*, sh64le-*-netbsd*) | |
814 | (sh64-*-netbsd*): New targets. | |
815 | * emulparams/shelf32_nbsd.sh: New file. | |
816 | * emulparams/shelf64_nbsd.sh: New file. | |
817 | * emulparams/shlelf32_nbsd.sh: New file. | |
818 | * emulparams/shlelf64_nbsd.sh: New file. | |
819 | ||
9ad85d9b AM |
820 | 2002-06-04 Alan Modra <amodra@bigpond.net.au> |
821 | ||
822 | * ldlang.c (section_already_linked): Call bfd_discard_group. Typo fix. | |
823 | ||
0c9b4fee MM |
824 | 2002-06-02 Marek Michalkiewicz <marekm@amelek.gda.pl> |
825 | ||
826 | * scripttempl/avr.sc: Changes to support current GCC and avr-libc, | |
827 | C++ constructors/destructors, loosely based on the m68hc11 port. | |
828 | ||
2c538bde AM |
829 | 2002-05-31 Alan Modra <amodra@bigpond.net.au> |
830 | ||
831 | * Makefile.in: Regenerate. | |
832 | * aclocal.m4: Regenerate. | |
833 | * config.in: Regenerate. | |
834 | * configure: Regenerate. | |
835 | ||
a0cb91c6 AM |
836 | 2002-05-31 Graeme Peterson <gp@qnx.com> |
837 | ||
838 | * Makefile.am (ALL_EMULATIONS): Add ei386nto.o. | |
839 | (ei386nto.c): Add rule. | |
840 | * Makefile.in: Regenerate. | |
841 | * configure.tgt: Add i[3456]86-*-nto-qnx*. | |
842 | * emulparams/i386nto.sh: New file. | |
843 | ||
37020578 JT |
844 | 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com> |
845 | ||
846 | * NEWS: Add entry for VAX ELF support. | |
847 | ||
ab68f3e0 | 848 | 2002-05-29 Matt Thomas <matt@3am-software.com> |
a59f3d35 | 849 | Jason Thorpe <thorpej@wasabisystems.com> |
ab68f3e0 JT |
850 | |
851 | * Makefile.am (ALL_EMULATIONS): Add eelf32vax.o and evaxnbsd.o. | |
852 | (eelf32vax.c) | |
853 | (evaxnbsd.c): New rules. | |
854 | * Makefile.in: Regenerate. | |
855 | * configure.tgt (vax-*-netbsdelf*) | |
856 | (vax-*-netbsdaout*) | |
857 | (vax-*-netbsd*): New targets. | |
858 | * emulparams/elf32vax.sh: New file. | |
859 | * emulparams/vaxnbsd.sh: New file. | |
860 | ||
8afb0e02 NC |
861 | 2002-05-29 Adam Nemet <anemet@lnxw.com> |
862 | ||
863 | * emultempl/armelf.em (arm_elf_after_open): Don't determine | |
864 | bfd_for_interwork, instead add glue sections to each input bfd. | |
865 | (bfd_for_interwork): New global. | |
866 | (arm_elf_set_bfd_for_interworking): New function. | |
867 | (arm_elf_before_allocation): Use it. | |
868 | ||
d172d4ba NC |
869 | 2002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net> |
870 | ||
871 | * Makefile.am: Add DLX make target. | |
872 | * configure.tgt: Add DLX configuration. | |
873 | * Makefile.in: Regenerate. | |
874 | * emulparams/elf32_dlx.sh: New file | |
875 | * scripttempl/dlx.sc: New file | |
876 | ||
b4477fa8 NC |
877 | 2002-05-27 Per Lundberg <per@caleb.dnsalias.org> |
878 | ||
879 | * Makefile.am (eelf_i386_chaos): Use elf_chaos.sc script. | |
880 | * Makefile.in: Regenerate. | |
881 | * emulparams/elf_chaos.sh: Use elf_chaos script. | |
882 | * scripttempl/elf_chaos.sc: New file. | |
883 | ||
ee3cc2e2 RS |
884 | 2002-05-27 Richard Sandiford <rsandifo@redhat.com> |
885 | ||
886 | * ldlang.c (lang_size_sections_1): Move check for conflicting load | |
887 | addresses and regions from here... | |
888 | (lang_get_regions): ...to this new function. | |
889 | (lang_leave_output_section_statement): Use lang_get_regions. | |
890 | (lang_leave_overlay): Likewise. | |
891 | * mri.c (mri_draw_tree): Pass null as last argument to | |
892 | lang_leave_output_section_statement. | |
893 | * emultempl/elf32.em (gld*_place_orphan): Likewise. | |
894 | * emultempl/mmo.em (mmo_place_orphan): Likewise. | |
895 | * emultempl/pe.em (gld*_place_orphan): Likewise. | |
896 | ||
aa501e5c JT |
897 | 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com> |
898 | ||
899 | * configure.tgt: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*. | |
900 | ||
658957db KH |
901 | 2002-05-25 Kazu Hirata <kazu@cs.umass.edu> |
902 | ||
903 | * ldemul.c: Fix formatting. | |
904 | * ldfile.c: Likewise. | |
905 | * pe-dll.c: Likewise. | |
906 | * pe-dll.h: Likewise. | |
907 | ||
3511b595 AM |
908 | 2002-05-25 Alan Modra <amodra@bigpond.net.au> |
909 | ||
0d6d936f AM |
910 | * ldlang.c (lang_process): Formatting, grammar. |
911 | ||
3511b595 AM |
912 | * ldlex.l: Use #include "" instead of <> for local header files. |
913 | ||
436e8db0 NC |
914 | 2002-05-24 TAMURA Kent <kent@netbsd.org> |
915 | ||
916 | * configure.tgt: Add a target for i386-netbsdpe. | |
917 | ||
13ae64f3 JJ |
918 | 2002-05-23 Jakub Jelinek <jakub@redhat.com> |
919 | ||
920 | * scripttempl/elf.sc: Add .rel{,a}.t{bss,data}, .tdata and .tbss. | |
921 | * ldlang.c (lang_add_section): Set SEC_THREAD_LOCAL for | |
922 | output section if necessary. Handle .tbss. | |
923 | (lang_size_sections): Clear _raw_size for .tbss section | |
924 | (it allocates space in PT_TLS segment only). | |
925 | * ldwrite.c (build_link_order): Build link order for .tbss too. | |
926 | ||
68b2fc7a AM |
927 | 2002-05-23 Alan Modra <amodra@bigpond.net.au> |
928 | ||
929 | * configure.in: Correct spelling of AC_PREREQ. | |
930 | ||
70b0be79 CF |
931 | 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net> |
932 | ||
933 | * pe-dll.c (autofilter_liblist): Add more system libs excluded by | |
934 | default. | |
935 | (autofilter_objlist): Add crtbegin.o, crtend.o. | |
936 | ||
937 | 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net> | |
938 | ||
939 | * emultempl/pe.em (OPTION_EXCLUDE_LIBS): Add new define. | |
940 | (longopts): Add new option --exclude-libs. | |
941 | (gld_${EMULATION_NAME}_list_options): Give quick help about it. | |
942 | (gld_${EMULATION_NAME}_parse_args): Use it. | |
943 | * pe-dll.h (pe_dll_add_excludes): Add second param to prototype. | |
944 | * pe-dll.c (exclude_list_struct): Add field type to distinguish symbols | |
945 | from whole archives. | |
946 | (pe_dll_add_excludes): Set excludes->type. | |
947 | (auto_export): Add new variable libname and set to archive basename if | |
948 | abfd. Use it when filtering default and user-specified libarary | |
949 | excludes. Let string "ALL" mean all libs when filtering user-specified | |
950 | libs. | |
951 | * ld.texinfo: Document --exclude-libs. | |
952 | ||
fac1652d AM |
953 | 2002-05-22 Alan Modra <amodra@bigpond.net.au> |
954 | ||
955 | * ldemul.c (ldemul_new_vers_pattern): New function. | |
956 | * ldemul.h (ldemul_new_vers_pattern): Declare. | |
957 | (struct ld_emulation_xfer_struct): Add new_vers_pattern. | |
958 | * ldlang.c (lang_new_vers_pattern): Call ldemul_new_vers_pattern. | |
959 | * emultempl/ppc64elf.em (dotsyms): New static var. | |
960 | (gld${EMULATION_NAME}_new_vers_pattern): New function. | |
961 | (LDEMUL_NEW_VERS_PATTERN): Define. | |
962 | (PARSE_AND_LIST_PROLOGUE): Add OPTION_DOTSYMS, OPTION_NO_DOTSYMS. | |
963 | (PARSE_AND_LIST_LONGOPTS): Likewise. | |
964 | (PARSE_AND_LIST_ARGS_CASES): Handle them. | |
965 | * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Update | |
966 | initialiser. | |
967 | * emultempl/armcoff.em: Likewise. | |
968 | * emultempl/armelf_oabi.em: Likewise. | |
969 | * emultempl/beos.em: Likewise. | |
970 | * emultempl/elf32.em: Likewise. | |
971 | * emultempl/generic.em: Likewise. | |
972 | * emultempl/gld960.em: Likewise. | |
973 | * emultempl/gld960c.em: Likewise. | |
974 | * emultempl/linux.em: Likewise. | |
975 | * emultempl/lnk960.em: Likewise. | |
976 | * emultempl/m68kcoff.em: Likewise. | |
977 | * emultempl/mipsecoff.em: Likewise. | |
978 | * emultempl/pe.em: Likewise. | |
979 | * emultempl/sunos.em: Likewise. | |
980 | * emultempl/ticoff.em: Likewise. | |
981 | * emultempl/vanilla.em: Likewise. | |
982 | ||
eb3d6bb8 AM |
983 | 2002-05-22 Alan Modra <amodra@bigpond.net.au> |
984 | ||
985 | * genscripts.sh (LIB_PATH): For native targets, concatenate $libdir | |
986 | and $NATIVE_LIB_DIRS. Add $tool_lib before other libs. | |
987 | (LIB_SEARCH_DIRS): No need to use "tr". | |
988 | (COMPILE_IN): Only set for native targets. | |
989 | * configure.host (NATIVE_LIB_DIRS): Specify all native search dirs | |
990 | here, rather than adding lib:/usr/lib:/usr/local/lib in genscripts.sh. | |
991 | * configure.tgt (powerpc*): Set tdir_*. | |
992 | (powerpcle*): Correct targ_extra_emuls. | |
993 | * emulparams/elf32ppc.sh (LIB_PATH): Set up native 64 bit dirs. | |
994 | * emulparams/elf64ppc.sh (LIB_PATH): Likewise. | |
995 | ||
54f24647 AM |
996 | 2002-05-22 Alan Modra <amodra@bigpond.net.au> |
997 | ||
998 | * emultempl/pe.em (set_pe_subsystem): Don't set "cmdline" when | |
999 | calling lang_add_entry. | |
1000 | ||
aa713662 L |
1001 | 2002-05-21 H.J. Lu (hjl@gnu.org) |
1002 | ||
1003 | * emultempl/elf32.em (gld${EMULATION_NAME}_parse_args): Handle | |
1004 | "-z muldefs". | |
1005 | (gld${EMULATION_NAME}_list_options): Add "-z muldefs". | |
1006 | ||
1007 | * ld.texinfo: Updated for --allow-multiple-definition and | |
1008 | "-z muldefs". | |
1009 | ||
1010 | * ldmain.c (main): Initialize the allow_multiple_definition | |
1011 | field to false. | |
1012 | ||
1013 | * lexsup.c (OPTION_ALLOW_MULTIPLE_DEFINITION): New. | |
1014 | (ld_options): Add --allow-multiple-definition. | |
1015 | (parse_args): Support OPTION_ALLOW_MULTIPLE_DEFINITION. | |
1016 | ||
658f2588 JT |
1017 | 2002-05-21 Jason Thorpe <thorpej@wasabisystems.com> |
1018 | ||
1019 | * Makefile.am (ALL_EMULATIONS): Add earmelfb_nbsd.o. | |
1020 | (earmelfb_nbsd.c): New rule. | |
a59f3d35 | 1021 | * Makefile.in: Regenerate. |
658f2588 | 1022 | * configure.tgt (armeb-*-netbsdelf*): New target. |
a59f3d35 | 1023 | (arm-*-netbsdelf*): Add armelfb_nbsd to targ_extra_emuls. |
658f2588 JT |
1024 | (arm-*-netbsd*): Likewise. |
1025 | * emulparams/armelfb_nbsd.sh: New file. | |
1026 | ||
ca10c62d TR |
1027 | 2002-05-18 Tom Rix <trix@redhat.com> |
1028 | ||
a59f3d35 | 1029 | * emultempl/aix.em (gld*_parse_args): Add -bnortl and -bnortllib |
ca10c62d TR |
1030 | support. |
1031 | ||
fae1e84f MM |
1032 | 2002-05-17 Marek Michalkiewicz <marekm@amelek.gda.pl> |
1033 | ||
1034 | * Makefile.am: Add new emulations avr1, avr2, avr3, avr4, avr5. | |
1035 | * Makefile.in: Regenerate. | |
1036 | * configure.tgt (avr-*-*): Add avr[1-5] to targ_extra_emuls. | |
1037 | ||
7c8bf1e8 MM |
1038 | 2002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl> |
1039 | ||
1040 | * emulparams/avr1.sh: New file. | |
1041 | * emulparams/avr2.sh: New file. | |
1042 | * emulparams/avr3.sh: New file. | |
1043 | * emulparams/avr4.sh: New file. | |
1044 | * emulparams/avr5.sh: New file. | |
1045 | * scripttempl/avr.sc: New file. | |
1046 | ||
c2c01aa7 AM |
1047 | 2002-05-15 Alan Modra <amodra@bigpond.net.au> |
1048 | ||
1049 | * ldlang.c (section_already_linked): Call bfd_link_just_syms. | |
1050 | (lang_place_orphans): Abort if just_syms_flag. | |
1051 | ||
f1f0d9ab TR |
1052 | 2002-05-10 Tom Rix <trix@redhat.com> |
1053 | ||
a59f3d35 | 1054 | * emultempl/aix.em: (gld*_set_output_arch): New function. Use |
f1f0d9ab TR |
1055 | architecture and machine information in the output bfd. |
1056 | (gld*_before_parse): Remove old arch and machine code. | |
1057 | (choose_target): Rename to gld*_choose_target. | |
a59f3d35 AM |
1058 | (rtld): Change type to int. |
1059 | * ldfile.c (ldfile_try_open_bfd): Disable compatiblity check for | |
f1f0d9ab TR |
1060 | objects in XCOFF archives. |
1061 | * ldfile.h: Update copyright date. | |
1062 | ||
f4d73366 JJ |
1063 | 2002-05-10 Jakub Jelinek <jakub@redhat.com> |
1064 | ||
1065 | * ldmain.c (main): Enable -z combreloc by default. | |
1066 | ||
d3d8a9ee NC |
1067 | 2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br> |
1068 | ||
1069 | * Makefile.am: Honour DESTDIR. | |
1070 | * Makefile.in: Regenerate. | |
1071 | ||
9f88b410 RS |
1072 | 2002-05-07 Richard Sandiford <rsandifo@redhat.com> |
1073 | ||
1074 | * ldlang.h (lang_output_section_statement_type): Add update_dot_tree. | |
1075 | (lang_enter_overlay): Remove the last two parameters. | |
1076 | (lang_leave_overlay): Take them here instead. | |
1077 | * ldgram.y (memspec_at_opt): Set $$ to null if no region is given. | |
1078 | (section): Pass LMA and crossref flag to lang_leave_overlay rather | |
1079 | than lang_enter_overlay. | |
1080 | * ldlang.c (lang_memory_region_lookup): Return null for null names. | |
1081 | (lang_output_section_statement_lookup): Initialize update_dot_tree. | |
1082 | (lang_size_sections_1): Evaluate it. | |
1083 | (lang_leave_output_section_statement): Rework LMA lookup. | |
1084 | (overlay_lma, overlay_nocrossrefs): Remove. | |
3511b595 | 1085 | (lang_enter_overlay): Remove LMA and crossref arguments. |
9f88b410 RS |
1086 | (lang_enter_overlay_section): Don't set the LMA here. |
1087 | (lang_leave_overlay): Take LMA and crossref arguments. Move the '.' | |
1088 | assignment to the last section's update_dot_tree. Unconditionally | |
1089 | use the load and run-time regions specified in the OVERLAY statement. | |
1090 | Likewise the first section's LMA. Only set the other sections' LMAs | |
1091 | when no load region is given. | |
1092 | ||
b9a743c8 NC |
1093 | 2002-05-06 Nick Clifton <nickc@redhat.com> |
1094 | ||
1095 | * po/sv.po: New translation. | |
1096 | ||
a3d60be3 AM |
1097 | 2002-05-04 Alan Modra <amodra@bigpond.net.au> |
1098 | ||
1099 | * emultempl/hppaelf.em (build_section_lists): New function. | |
1100 | (gld${EMULATION_NAME}_finish): Call elf32_hppa_setup_section_lists | |
1101 | and build_section_lists. | |
1102 | ||
b7a26f91 KH |
1103 | 2002-05-03 Kazu Hirata <kazu@cs.umass.edu> |
1104 | ||
1105 | * ld.h: Fix formatting. | |
1106 | * ldexp.c: Likewise. | |
1107 | * ldfile.c: Likewise. | |
1108 | * ldlang.c: Likewise. | |
1109 | * ldmain.c: Likewise. | |
1110 | * lexsup.c: Likewise. | |
1111 | * pe-dll.c: Likewise. | |
1112 | ||
805fc799 AM |
1113 | 2002-05-02 Alan Modra <amodra@bigpond.net.au> |
1114 | ||
1115 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): | |
1116 | Adjust for ppc64_elf_set_toc change. #include libbfd.h. | |
1117 | (build_section_lists): Do output_section tests here. | |
1118 | ||
cc7e59b2 TR |
1119 | 2002-04-30 Tom Rix <trix@redhat.com> |
1120 | ||
1121 | * emultempl/aix.em : (gld*_parse_arge): Formatting changes. | |
1122 | ||
9c1d81c1 AM |
1123 | 2002-05-01 Alan Modra <amodra@bigpond.net.au> |
1124 | ||
1125 | Long branch stubs, multiple stub sections. | |
1126 | * emultempl/ppc64elf.em: Include ldctor.h. | |
1127 | (stub_file): New var. | |
1128 | (group_size): New var. | |
1129 | (ppc_create_output_section_statements): New function. | |
1130 | (struct hook_stub_info): New. | |
1131 | (hook_in_stub): New function. | |
1132 | (ppc_add_stub_section): New function. | |
1133 | (ppc_layout_sections_again): New function. | |
1134 | (build_section_lists): New function. | |
1135 | (gld${EMULATION_NAME}_finish): Rewrite. | |
1136 | (real_func): New var. | |
1137 | (ppc_for_each_input_file_wrapper): New function. | |
1138 | (ppc_lang_for_each_input_file): New function. | |
1139 | (lang_for_each_input_file): Define. | |
1140 | (PARSE_AND_LIST_PROLOGUE): Define. | |
1141 | (PARSE_AND_LIST_LONGOPTS): Define. | |
1142 | (PARSE_AND_LIST_OPTIONS): Define. | |
1143 | (PARSE_AND_LIST_ARGS_CASES): Define. | |
1144 | (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define. | |
1145 | ||
aa67bccf TR |
1146 | 2002-04-30 Tom Rix <trix@redhat.com> |
1147 | ||
a59f3d35 AM |
1148 | * emultempl/aix.em (gld*_parse_arge, gld*_before_allocation): Add |
1149 | -blibpath, -bnolibpath support. | |
1150 | ||
94349e12 MM |
1151 | 2002-04-30 Mark Mitchell <mark@codesourcery.com> |
1152 | ||
1153 | * Makefile.am (ALL_EMULATIONS): Add elf32ppcwindiss.o. | |
1154 | (eelf32ppcwindiss.c): New target. | |
1155 | * Makefile.in: Regenerated. | |
1156 | * configure.tgt: Add support for powerpc-*-windiss. | |
1157 | * emulparams/elf32ppcwindiss.sh: New file. | |
a59f3d35 | 1158 | |
7b17f854 RS |
1159 | 2002-04-30 Richard Sandiford <rsandifo@redhat.com> |
1160 | ||
1161 | * ldlang.c (print_assignment): Update print_dot for assignments to ".". | |
1162 | * ldexp.c (exp_print_token): Add "infix_p" argument. | |
1163 | (exp_print_tree): Update accordingly. | |
1164 | ||
596dafeb AM |
1165 | 2002-04-28 Alan Modra <amodra@bigpond.net.au> |
1166 | ||
1167 | * Makefile.am (mpw): New maintainer mode rule to make mpw-*.c files. | |
1168 | * Makefile.in: Regenerate. | |
1169 | * mpw-elfmips.c: Delete. | |
1170 | * mpw-eppcmac.c: Delete. | |
1171 | * mpw-esh.c: Delete. | |
1172 | * mpw-idtmips.c: Delete. | |
1173 | ||
219576a4 | 1174 | 2002-04-17 J"orn Rennecke <joern.rennecke@superh.com> |
a44d7f9c JR |
1175 | |
1176 | * emulparams/shelf32.sh (MACHINE): Now sh5. | |
1177 | ||
944cd72c TS |
1178 | 2002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
1179 | ||
1180 | * ldgram.y: Fix syntax warning. | |
1181 | ||
5835c212 NC |
1182 | 2002-04-11 Nick Clifton <nickc@cambridge.redhat.com> |
1183 | ||
1184 | * emultempl/armelf.em (PARSE_AND_LIST_SHORTOPTS): Add 'n' in order | |
1185 | to prevent "-n" from being taken as an abbreviation for | |
1186 | "--no-pipeline-knowledge". | |
1187 | ||
024531e2 AM |
1188 | 2002-04-08 Alan Modra <amodra@bigpond.net.au> |
1189 | ||
d08a14c3 AM |
1190 | * ldlang.c (lang_size_sections_1): Don't complain about |
1191 | SEC_NEVER_LOAD sections having no memory region specified. | |
1192 | ||
024531e2 AM |
1193 | * ld.texinfo (Format Commands <OUTPUT_FORMAT>): Typo fix. |
1194 | ||
c657a1f0 MG |
1195 | 2002-04-07 matthew green <mrg@redhat.com> |
1196 | ||
1197 | * ld/configure.host (*-*-netbsd*): Add support for NetBSD/ELF. | |
1198 | ||
61bef6f1 AM |
1199 | 2002-04-04 Alan Modra <amodra@bigpond.net.au> |
1200 | ||
1201 | * dep-in.sed: Cope with absolute paths. | |
1202 | * Makefile.am (dep.sed): Subst TOPDIR and BFDDIR. | |
1203 | Run "make dep-am". | |
1204 | * Makefile.in: Regenerate. | |
1205 | ||
49ba2791 TS |
1206 | 2002-04-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
1207 | ||
1208 | * emulparams/elf64btsmip.sh: n64 replaces .reginfo with .MIPS.options. | |
1209 | ||
50e60fb5 JJ |
1210 | 2002-04-03 Jakub Jelinek <jakub@redhat.com> |
1211 | ||
1212 | * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: If common page size | |
1213 | is smaller than maximum, round dot up to common page boundary. | |
1214 | ||
6f12f4ca AM |
1215 | 2002-03-28 Alan Modra <amodra@bigpond.net.au> |
1216 | ||
1217 | * configure.host: Set up for generic hosts first, then tweak as | |
1218 | necessary in more specific targets. | |
1219 | (HOSTING_LIBS): Include libgcc_eh.a if found. | |
1220 | ||
a8f1f017 AJ |
1221 | 2002-03-23 Andreas Jaeger <aj@suse.de> |
1222 | ||
1223 | * emulparams/elf_x86_64.sh (COMMONPAGESIZE): Set it. | |
1224 | ||
1d3fdf38 AM |
1225 | 2002-03-21 Alan Modra <amodra@bigpond.net.au> |
1226 | ||
1227 | * Makefile.am: Run "make dep-am". | |
1228 | * Makefile.in: Regenerate. | |
1229 | ||
79b1faa8 AM |
1230 | 2002-03-21 Albert Chin-A-Young <china@thewrittenword.com> |
1231 | ||
1232 | * genscripts.sh (LIB_SEARCH_DIRS): Quote path. | |
1233 | ||
fcf0e35b AM |
1234 | 2002-03-20 Alan Modra <amodra@bigpond.net.au> |
1235 | ||
1236 | * ldlang.c (ldlang_add_undef): If the output bfd has been opened, | |
1237 | add the symbol to the linker hash table immediately. | |
1238 | (lang_place_undefineds): Split symbol creation out.. | |
1239 | (insert_undefined): ..to here. | |
1240 | ||
fed2999d DB |
1241 | 2002-03-18 David O'Brien <obrien@FreeBSD.org> |
1242 | ||
1243 | * emultempl/elf32.em: Use lbasename vs. basename to fix problem where | |
1244 | the contents of the buffer returned from basename function will are | |
1245 | getting overwritten while still being used. | |
1246 | ||
219576a4 NC |
1247 | 2002-03-18 Jan Hubicka <jh@suse.cz> |
1248 | Andreas Jaeger <aj@suse.de> | |
1249 | Andreas Schwab <schwab@suse.de> | |
beb43bb9 JH |
1250 | |
1251 | * configure.tgt (x86_64-*-linux-gnu*): Configure i386 as native. | |
1252 | * elf_x86_64.sh (ARCH): Set to i386:x86-64 | |
1253 | set libraries to default to lib64 paths. | |
1254 | ||
eb1e0e80 NC |
1255 | 2002-03-18 Tom Rix <trix@redhat.com> |
1256 | ||
1257 | * Makefile.am : Add eaix5ppc and eaix5rs6, AIX 5 support. | |
1258 | * configure.tgt : Same. | |
1259 | * emulparms/aix5ppc.sh : New file. For eaix5ppc. | |
1260 | * emulparms/aix5rs6.sh : New file. For eaix5rs6. | |
1261 | * emulparms/aixppc.sh : OUPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT | |
1262 | emulation parameters for better -b32, -b64 support. | |
1263 | * emulparms/aixrs6.sh : Same. | |
1264 | * emulparms/ppcmacos.sh : Same. | |
1265 | * emultempl/aix.em (choose_target) : Use new emulation parameters | |
1266 | OUTPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT. | |
1267 | * Makefile.in : Regenerate. | |
1268 | ||
a1c259a1 NC |
1269 | 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com> |
1270 | ||
1271 | * po/fr.po: Updated version. | |
1272 | ||
862120bd AM |
1273 | 2002-03-18 Alan Modra <amodra@bigpond.net.au> |
1274 | ||
1275 | * ldmain.c (main): Move .text readonly flag fudges from here.. | |
1276 | * ldlang.c (lang_process): ..to here. | |
1277 | ||
d35a52e2 AM |
1278 | 2002-03-14 Alan Modra <amodra@bigpond.net.au> |
1279 | ||
1280 | * ldlang.c (lang_check): Remove the word size check added in last | |
1281 | change. Treat emitrelocations case as for relocatable links. | |
1282 | ||
9ce88e60 NC |
1283 | 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com> |
1284 | ||
1285 | * po/fr.po: Updated version. | |
1286 | ||
30cba025 AM |
1287 | 2002-03-13 Alan Modra <amodra@bigpond.net.au> |
1288 | ||
1289 | * ldlang.c (lang_check): Do relocatable link checks first, so that | |
1290 | warn_mismatch can't override. Check compatible and word size too. | |
1291 | ||
84ec0e6d DJ |
1292 | 2002-03-07 Daniel Jacobowitz <drow@mvista.com> |
1293 | ||
1294 | * ld.texinfo: Wrap @menu in @ifnottex, not @ifinfo. | |
1295 | ||
2d13d8c5 JJ |
1296 | 2002-03-05 Jakub Jelinek <jakub@redhat.com> |
1297 | ||
1298 | * scripttempl/elf.sc: Only use DATA_SEGMENT_END() together with | |
1299 | DATA_SEGMENT_ALIGN. | |
1300 | ||
b5090659 L |
1301 | 2002-03-04 H.J. Lu <hjl@gnu.org> |
1302 | ||
1303 | * scripttempl/elf.sc: Put .preinit_array, .init_array and | |
1304 | .fini_array in the data segment. | |
1305 | ||
f42ce16e AM |
1306 | 2002-03-04 Alan Modra <amodra@bigpond.net.au> |
1307 | ||
1308 | * scripttempl/elf.sc: Correct syntax errors in 2002-03-01 commit. | |
1309 | ||
de77b6ac RH |
1310 | 2002-03-01 David Mosberger <davidm@hpl.hp.com> |
1311 | ||
1312 | * scripttempl/elf.sc (SECTIONS): Add entries for .preinit_array, | |
1313 | .init_array, and .fini_array. | |
1314 | ||
997e08c0 AS |
1315 | 2002-02-20 Andreas Schwab <schwab@suse.de> |
1316 | ||
1317 | * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't fold | |
1318 | .IA64_unwind* in a relocatable link. | |
1319 | ||
9a66911f NC |
1320 | 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com> |
1321 | ||
1322 | * NEWS: Mark 2.12 branch. | |
1323 | ||
d86bcc10 MS |
1324 | 2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com> |
1325 | ||
1326 | * emulparams/elf64_s390.sh (ARCH): Change to "s390:64-bit". | |
1327 | * emulparams/elf_s390.sh (ARCH): Change to "s390:31-bit". | |
1328 | ||
69f284c7 TR |
1329 | 2002-02-18 Tom Rix <trix@redhat.com> |
1330 | ||
1331 | * emultempl/aix.em (gld*_parse_args): Add -brtl support. | |
1332 | (gld*_before_allocation): Same. | |
a8f1f017 | 1333 | (gld*_create_output_section_statements): Generate |
69f284c7 TR |
1334 | __rtinit if run time linking. Add librtl.a to the link. |
1335 | (gld*_read_file): Clean. | |
1336 | ||
82bd7b59 AM |
1337 | 2002-02-18 Alan Modra <amodra@bigpond.net.au> |
1338 | ||
1339 | * emulparams/elf64ppc.sh (OTHER_TEXT_SECTIONS): Define. | |
1340 | ||
ac3e50bf DB |
1341 | 2002-02-18 David O'Brien <obrien@FreeBSD.org> |
1342 | ||
6a7f963b | 1343 | * Makefile.am: Add new files earmelf_fbsd, eelf32ppc_fbsd, |
ac3e50bf DB |
1344 | eelf_i386_fbsd, eelf64_ia64_fbsd, eelf_x86_64_fbsd, eelf64_sparc_fbsd, |
1345 | and eelf64alpha_fbsd. | |
6a7f963b | 1346 | * Makefile.in: Regenerate. |
ac3e50bf DB |
1347 | * configure.tgt(sparc64-*-freebsd, ia64-*-freebsd, i[3456]86-*-freebsd, |
1348 | x86_64-*-freebsd, arm-*-freebsd, alpha*-*-freebsd, powerpc-*-freebsd): | |
1349 | use a FreeBSD-specific emulation rather than the psABI one. | |
1350 | * emulparams/elf_fbsd.sh (ELF_INTERPRETER_NAME): Set appropriate value | |
1351 | for all FreeBSD ELF systems. | |
1352 | * emulparams/armelf_fbsd.sh: Bridge elf_fbsd.sh and the "native" psABI | |
1353 | emulation. | |
1354 | * emulparams/elf32ppc_fbsd.sh: Likewise. | |
1355 | * emulparams/elf64_ia64_fbsd.sh: Likewise. | |
1356 | * emulparams/elf64_sparc_fbsd.sh: Likewise. | |
1357 | * emulparams/elf64alpha_fbsd.sh: Likewise. | |
1358 | * emulparams/elf_i386_fbsd.sh: Likewise. | |
1359 | * emulparams/elf_x86_64_fbsd.sh: Likewise. | |
1360 | ||
6ad738c5 NC |
1361 | 2002-02-18 Nick Clifton <nickc@cambridge.redhat.com> |
1362 | ||
1363 | * po/tr.po: Updated version. | |
1364 | ||
9673c93c AM |
1365 | 2002-02-18 Alan Modra <amodra@bigpond.net.au> |
1366 | ||
1367 | * ld.texinfo (Output Section Fill): Fix amateur texinfo. | |
1368 | (FILL): Likewise. | |
1369 | ||
1c5e6447 HPN |
1370 | 2002-02-17 Hans-Peter Nilsson <hp@bitrange.com> |
1371 | ||
1372 | * emultempl/mmo.em (mmo_after_open): Don't call | |
1373 | _bfd_mmix_check_all_relocs when producing ELF output. | |
1374 | ||
8bb57516 RH |
1375 | 2002-02-15 Richard Henderson <rth@redhat.com> |
1376 | ||
de77b6ac | 1377 | * emulparams/elf64alpha.sh (NOP): Adjust for big-endian |
8bb57516 RH |
1378 | definition. Emit a unop+nop pair. |
1379 | ||
49fda6c8 HPN |
1380 | 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com> |
1381 | ||
83c2d653 HPN |
1382 | * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Also check |
1383 | for presence of .MMIX.reg_contents.linker_allocated before early | |
1384 | exit. | |
1385 | ||
49fda6c8 HPN |
1386 | * NEWS: Mention support for MMIX. |
1387 | ||
2c382fb6 AM |
1388 | 2002-02-15 Alan Modra <amodra@bigpond.net.au> |
1389 | ||
1390 | Support arbitrary length fill patterns. | |
a139d329 AM |
1391 | * ld.texinfo (Output Section Fill): Describe fill expressions. |
1392 | (FILL): Refer to the above. | |
2c382fb6 AM |
1393 | * ldexp.h (etree_value_type): Add "str" field. |
1394 | (union etree_union): Add "str" to "value" struct. | |
1395 | (exp_bigintop): Declare. | |
1396 | (exp_get_fill): Declare. | |
1397 | * ldexp.c: Include "safe-ctype.h". | |
1398 | (exp_intop): Set value.str to NULL. | |
1399 | (exp_bigintop): New function. | |
1400 | (new_rel): Pass in "str", and set new.str from it. | |
1401 | (new_rel_from_section): Set new.str to NULL. | |
1402 | (fold_name): Adjust calls to new_rel. | |
1403 | (exp_fold_tree): Likewise. | |
1404 | (exp_get_fill): New function. | |
1405 | * ldgram.y (struct big_int bigint, fill_type *fill): New. | |
1406 | (INT): Returns a "bigint". Adjust all code handling INTs. | |
1407 | (fill_opt): Returns a "fill". | |
1408 | (fill_exp): Split out of fill_opt, use for FILL. | |
1409 | * ldlang.h (struct _fill_type): New. | |
1410 | (fill_type): Move typedef to ldexp.h. | |
1411 | (lang_output_section_statement_type): "fill" is now a pointer. | |
1412 | (lang_fill_statement_type): Likewise. | |
1413 | (lang_padding_statement_type): Likewise. | |
1414 | (lang_add_fill): Now takes a "fill_type *" param. | |
1415 | (lang_leave_output_section_statement): Likewise. | |
1416 | (lang_do_assignments): Likewise. | |
1417 | (lang_size_sections): Likewise. | |
1418 | (lang_leave_overlay_section): Likewise. | |
1419 | (lang_leave_overlay): Likewise. | |
1420 | * ldlang.c: Include ldgram.h after ldexp.h. | |
1421 | (lang_output_section_statement_lookup): Adjust for fill_type change. | |
1422 | (print_fill_statement): Likewise. | |
1423 | (print_padding_statement): Likewise. | |
1424 | (insert_pad): Now takes a "fill_type *" arg. | |
1425 | (size_input_section): Likewise. | |
1426 | (lang_size_sections_1): Likewise. | |
1427 | (lang_size_sections): Likewise. | |
1428 | (lang_do_assignments): Likewise. | |
1429 | (lang_add_fill): Likewise. | |
1430 | (lang_leave_output_section_statement): Likewise. | |
1431 | (lang_leave_overlay_section): Likewise. | |
1432 | (lang_leave_overlay): Likewise. | |
1433 | Adjust all callers of the above function. | |
1434 | * ldlex.l: Include ldgram.h after ldexp.h. Allow hex numbers | |
1435 | starting with "0X" as well as "0x". Return bigint.str for hex | |
1436 | numbers starting with "0x" or "0X", zero bigint.str otherwise. | |
1437 | Always use base 16 for numbers starting with "$". | |
1438 | * ldmain.c: Include ldgram.h after ldexp.h. | |
1439 | * ldwrite.c (build_link_order): Use bfd_data_link_order in place | |
1440 | of bfd_fill_link_order. | |
1441 | * pe-dll.c: Adjust lang_do_assignments calls. | |
1442 | * emultempl/elf32.em: Likewise. | |
1443 | * emultempl/hppaelf.em: Likewise. | |
1444 | * emultempl/ppc64elf.em: Likewise. | |
1445 | * emultempl/beos.em: Include ldgram.h after ldexp.h, adjust | |
1446 | lang_add_assignment call. | |
1447 | * emultempl/pe.em: Likewise. | |
1448 | ||
313e35ee AM |
1449 | 2002-02-14 Phil Edwards <pme@gcc.gnu.org> |
1450 | ||
a139d329 | 1451 | * ld.texinfo (VERSION scripts): Symbol names are globbing patterns. |
313e35ee AM |
1452 | * ldgram.y (lang_new_vers_regex): Rename to lang_new_vers_pattern; |
1453 | the pattern in question is not a regexp. | |
1454 | * ldlang.c: Likewise. | |
1455 | * ldlang.h: Likewise. | |
1456 | * ldlex.l (V_IDENTIFIER): Allow '[', ']', '-', '!', and '^' also. | |
1457 | ||
2d20f7bf JJ |
1458 | 2002-02-12 Jakub Jelinek <jakub@redhat.com> |
1459 | ||
1460 | * ldlex.l (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens. | |
1461 | * ldgram.y (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens. | |
1462 | (exp): Add DATA_SEGMENT_ALIGN (exp, exp) and DATA_SEGMENT_END (exp). | |
1463 | * ldexp.c (exp_data_seg): New variable. | |
1464 | (exp_print_token): Handle DATA_SEGMENT_ALIGN and DATA_SEGMENT_END. | |
1465 | (fold_binary): Handle DATA_SEGMENT_ALIGN. | |
1466 | (exp_fold_tree): Handle DATA_SEGMENT_END. | |
1467 | Pass allocation_done when recursing instead of hardcoding | |
1468 | lang_allocating_phase_enum. | |
1469 | * ldexp.h (exp_data_seg): New. | |
1470 | * ldlang.c (lang_size_sections_1): Renamed from lang_size_sections. | |
1471 | (lang_size_sections): New. | |
1472 | * ld.texinfo (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): Document. | |
1473 | * scripttempl/elf.sc: Use DATA_SEGMENT_ALIGN and DATA_SEGMENT_END | |
1474 | if COMMONPAGESIZE is defined. | |
1475 | * emulparams/elf_i386.sh (COMMONPAGESIZE): Set to 4K. | |
1476 | * emulparams/elf32_sparc.sh (COMMONPAGESIZE): Set to 8K. | |
1477 | * emulparams/elf64_sparc.sh (COMMONPAGESIZE): Set to 8K. | |
1478 | * emulparams/elf64alpha.sh (COMMONPAGESIZE): Set to 8K. | |
1479 | * emulparams/elf64_ia64.sh (COMMONPAGESIZE): Set to 16K for shared | |
1480 | libraries only. | |
1481 | ||
06880219 AM |
1482 | 2002-02-11 Alan Modra <amodra@bigpond.net.au> |
1483 | ||
1484 | * Makefile.in: Regenerate. | |
1485 | ||
37b0ac0f DJ |
1486 | 2002-02-10 Daniel Jacobowitz <drow@mvista.com> |
1487 | ||
1488 | * lexsup.c: Remove strtoul declaration. | |
1489 | ||
4e5bae56 DJ |
1490 | 2002-02-10 Daniel Jacobowitz <drow@mvista.com> |
1491 | ||
1492 | * ldmain.c: Add prototype for main (). | |
1493 | * lexsup.c: Guard declaration of strtoul with HAVE_STDLIB_H. | |
1494 | * emultempl/lnk960.em (lnk960_choose_target): Function should | |
1495 | take two arguments. | |
1496 | ||
1e281515 AM |
1497 | 2002-02-10 Alan Modra <amodra@bigpond.net.au> |
1498 | ||
1499 | * ldlang.c (entry_section): New initialised variable. | |
1500 | (lang_finish): Use it. | |
1501 | * ldlang.h (entry_section): Declare. | |
1502 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Set | |
1503 | entry_section to ".opd". | |
1504 | ||
f92d92ff | 1505 | 2002-02-09 Chris Demetriou <cgd@broadcom.com> |
0a9c1c8e CD |
1506 | |
1507 | * ld.texinfo (Options): Add back in -nostdlib documentation, | |
1508 | which had been inadvertently removed. | |
1509 | ||
74c44237 HPN |
1510 | 2002-02-09 Hans-Peter Nilsson <hp@bitrange.com> |
1511 | ||
1512 | * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Adjust | |
1513 | register section vma to a sane value after emitting error. Make | |
1514 | fatal conditions cause program exit when emitting message. | |
1515 | ||
5e37cc46 NC |
1516 | 2002-02-08 Ivan Guzvinec <ivang@opencores.org> |
1517 | ||
1518 | * configure.tgt: Add or32-*-rtems target. | |
1519 | ||
2d92cb7d AO |
1520 | 2002-02-08 Alexandre Oliva <aoliva@redhat.com> |
1521 | ||
1522 | Contribute sh64-elf. | |
1523 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> | |
1524 | * emulparams/shelf32.sh (STACK_ADDR): Define as formerly defined | |
1525 | in OTHER_RELOCATABLE_SECTIONS. | |
1526 | 2002-01-18 Alexandre Oliva <aoliva@redhat.com> | |
1527 | * emulparams/shelf32.sh (STACK_ADDR): Define. | |
1528 | (OTHER_RELOCATABLE_SECTIONS): Renamed to... | |
1529 | (OTHER_SECTIONS): this. Removed stack settings. | |
1530 | * emulparams/shelf64.sh (OTHER_RELOCATABLE_SECTIONS): Do not set. | |
1531 | (OTHER_SECTIONS): Reset after sourcing shelf32.sh. | |
1532 | 2001-03-12 DJ Delorie <dj@redhat.com> | |
1533 | * emultempl/sh64elf.em (sh64_elf_$_before_allocation): Disable | |
1534 | relaxing if any shmedia or mixed sections are found. | |
1535 | 2001-03-07 DJ Delorie <dj@redhat.com> | |
1536 | * emultempl/sh64elf.em (sh64_elf_before_allocation): Pass f to | |
1537 | einfo. Gracefully decline to output to non-elf formats. | |
1538 | 2001-03-06 Hans-Peter Nilsson <hpn@redhat.com> | |
1539 | * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS) <.stack>: | |
1540 | Default to _end aligned to next multiple of 0x40000, plus 0x40000. | |
1541 | * emulparams/shelf32.sh: Ditto. | |
1542 | 2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com> | |
1543 | * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Tweak | |
1544 | comment. | |
1545 | 2001-01-10 Ben Elliston <bje@redhat.com> | |
1546 | * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Avoid | |
1547 | non-portable shell constructs. From Hans-Peter Nilsson. | |
1548 | 2001-01-09 Hans-Peter Nilsson <hpn@cygnus.com> | |
1549 | * emulparams/shelf64.sh (EXTRA_EM_FILE): Define empty. | |
1550 | * Makefile.am (eshelf64.c, eshlelf64.c, eshlelf32.c): Adjust | |
1551 | dependencies to the shell script include chain. | |
1552 | * Makefile.in: Regenerate. | |
1553 | 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com> | |
1554 | * emultempl/sh64elf.em: Update and tweak comments. | |
1555 | (sh64_elf_${EMULATION_NAME}_after_allocation): Always allocate and | |
1556 | make a .cranges section SEC_IN_MEMORY. | |
1557 | 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com> | |
1558 | * emultempl/sh64elf.em | |
1559 | (sh64_elf_${EMULATION_NAME}_before_allocation): Don't stop when | |
1560 | .cranges section found to be necessary; continue and set stored | |
1561 | section contents flags for sections with non-mixed contents. | |
1562 | Use a struct sh64_section_data container and sh64_elf_section_data | |
1563 | to store contents-type flags. | |
1564 | Remove unused update of "isec". | |
1565 | (sh64_elf_${EMULATION_NAME}_after_allocation): Only process | |
1566 | sections marked SHF_SH5_ISA32_MIXED. Use sh64_elf_section_data to | |
1567 | access contents-type flags. Assert that the associated container | |
1568 | is initialized. Use that container, not elf_gp_size, to hold size | |
1569 | of linker-generated cranges contents. | |
1570 | 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com> | |
1571 | * emultempl/sh64elf.em | |
1572 | (sh64_elf_${EMULATION_NAME}_before_allocation): Exit early if | |
1573 | there's already a .cranges section. When section flag difference | |
1574 | is found, don't NULL-check cranges a second time. Tweak comments. | |
1575 | (sh64_elf_${EMULATION_NAME}_after_allocation): Use size after | |
1576 | merging, not max size, as size of ld-generated .cranges contents. | |
1577 | Don't set ELF section flags in output section. When checking for | |
1578 | needed .cranges descriptors, don't use a variable; compare | |
1579 | incoming ELF section flags directly to SHF_SH5_ISA32_MIXED. Tweak | |
1580 | comments. | |
1581 | 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com> | |
1582 | * emultempl/sh64elf.em: New file. | |
1583 | * Makefile.am (eshelf32.c, eshlelf32.c): Adjust dependencies. | |
1584 | * Makefile.in: Regenerate. | |
1585 | * emulparams/shelf32.sh (OUTPUT_FORMAT): Only set if not set. | |
1586 | (OTHER_RELOCATING_SECTIONS): Ditto. | |
1587 | (EXTRA_EM_FILE): New, set to sh64elf if not set. | |
1588 | * emulparams/shlelf32.sh: Stub out all settings except | |
1589 | OUTPUT_FORMAT. Source shelf32.sh. | |
1590 | * emulparams/shelf64.sh: Similar, but also keep ELF_SIZE and | |
1591 | OTHER_RELOCATING_SECTIONS. | |
1592 | (OTHER_RELOCATING_SECTIONS): Remove .cranges. | |
1593 | * emulparams/shlelf64.sh: Stub out all settings except | |
1594 | OUTPUT_FORMAT. Source shelf64.sh. | |
1595 | 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com> | |
1596 | * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS): Include | |
1597 | .cranges section. | |
1598 | (DATA_START_SYMBOLS): Define, provide ___data. | |
1599 | (OTHER_READONLY_SYMBOLS): Define, provide ___rodata and align to 8 | |
1600 | for consecutive .data section. | |
1601 | (OTHER_GOT_SECTIONS): Define, align to 8 for consecutive .bss | |
1602 | section after .data section. | |
1603 | * emulparams/shlelf64.sh: Ditto. | |
1604 | * emulparams/shelf32.sh: Ditto. | |
1605 | (ALIGNMENT): Define to 8. | |
1606 | * emulparams/shelf32.sh: Ditto. | |
1607 | 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com> | |
1608 | * configure.tgt (sh64-*-elf*): Assign targ_extra_libpath to get | |
1609 | built-in linker scripts. | |
1610 | 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com> | |
1611 | * emulparams/shlelf64.sh: New. | |
1612 | * emulparams/shelf64.sh: New. | |
1613 | * configure.tgt (sh64-*-elf*): Add shelf64 and shlelf64 to | |
1614 | targ_extra_emuls. | |
1615 | * Makefile.am: Add support for shlelf64 and shelf64. | |
1616 | * Makefile.in: Regenerate. | |
1617 | 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com> | |
1618 | * configure.tgt (sh64-*-elf*): Add shelf as default. | |
1619 | Add shlelf to targ_extra_emuls. | |
1620 | 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com> | |
1621 | * emulparams/shelf32.sh: New file. | |
1622 | * emulparams/shlelf32.sh: New file. | |
1623 | * Makefile.am: Add support for shlelf32 and shelf32. | |
1624 | * configure.tgt: Map sh64-*-elf* to shlelf32 and shelf32. | |
1625 | * Makefile.in: Regenerate. | |
1626 | ||
e3dc8847 HPN |
1627 | 2002-02-05 Hans-Peter Nilsson <hp@axis.com> |
1628 | ||
1629 | * ldlang.c (lang_reset_memory_regions): Rename from | |
1630 | reset_memory_regions. Change all callers. Make public. | |
1631 | * ldlang.h (lang_reset_memory_regions): Prototype. | |
1632 | * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Call | |
1633 | lang_reset_memory_regions before lang_size_sections. | |
126730bd HPN |
1634 | * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise. |
1635 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Likewise. | |
e3dc8847 | 1636 | |
8017dbcb HPN |
1637 | 2002-02-04 Hans-Peter Nilsson <hp@bitrange.com> |
1638 | ||
1639 | * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Use signed | |
1640 | arithmetic when checking for too many global registers. | |
1641 | ||
006336b8 JT |
1642 | 2002-02-02 Jason Thorpe <thorpej@wasabisystems.com> |
1643 | ||
1644 | * Makefile.am (ALL_EMULATIONS): Add ehppanbsd.o. | |
1645 | (ehppanbsd.c): New rule. | |
1646 | * Makefile.in: Regenerate. | |
1647 | * configure.tgt (hppa*-*-netbsd*): New target. | |
1648 | * emulparams/hppalinux.sh: Add comment to check other files | |
1649 | that source this file it is modified, and list which | |
1650 | files that do. | |
1651 | * emulparams/hppanbsd.sh: New file. | |
1652 | ||
da1f2fec GK |
1653 | 2002-02-01 Geoffrey Keating <geoffk@redhat.com> |
1654 | ||
1655 | * scripttempl/xstormy16.sc: Don't allocate extra space for the | |
1656 | stack. | |
1657 | ||
48fa4a5d HPN |
1658 | 2002-02-01 Hans-Peter Nilsson <hp@bitrange.com> |
1659 | ||
1660 | Support on-demand global register allocation from | |
1661 | R_MMIX_BASE_PLUS_OFFSET relocs. | |
1662 | * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Rename from | |
1663 | mmix_set_reg_section_vma. Call | |
1664 | _bfd_mmix_finalize_linker_allocated_gregs. | |
1665 | (mmix_before_allocation): New function. | |
1666 | (LDEMUL_AFTER_ALLOCATION): Set to mmix_after_allocation. | |
1667 | (LDEMUL_BEFORE_ALLOCATION): Define to mmix_before_allocation. | |
1668 | * scripttempl/mmo.sc (.text): Mark .init, .fini as KEEP. | |
1669 | (.MMIX.reg_contents): Add .MMIX.reg_contents.linker_allocated | |
1670 | before .MMIX.reg_contents. | |
1671 | * emultempl/mmo.em (gldmmo_before_allocation): Define to default. | |
1672 | (mmo_after_open): New function. | |
1673 | (LDEMUL_AFTER_OPEN): Define to mmo_after_open. | |
1674 | * emulparams/elf64mmix.sh (OTHER_SECTIONS): Tweak formatting. Add | |
1675 | .MMIX.reg_contents.linker_allocated before .MMIX.reg_contents. | |
1676 | ||
3b16e843 NC |
1677 | 2002-01-31 Ivan Guzvinec <ivang@opencores.org> |
1678 | ||
1679 | * emulparams/or32.sh: New file. | |
1680 | * emulparams/or32elf.sh: New file. | |
1681 | * scripttempl/or32.sc: New file. | |
1682 | * configure.tgt : Add support for or32. | |
1683 | * configure: Regenerate | |
1684 | * Makefile.am: Add support for or32. | |
1685 | * Makefile.in: Regenerate. | |
1686 | * NEWS: Mention support for or32. | |
1687 | * po/ld.pot: Regenerate. | |
1688 | ||
f744d540 | 1689 | 2002-01-29 Chris Demetriou <cgd@broadcom.com> |
313e35ee | 1690 | Mitch Lichtenberg <mpl@broadcom.com> |
f744d540 CD |
1691 | |
1692 | * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define to be mipself. | |
1693 | * emultempl/mipself.em: New file to handle MIPS ELF embedded | |
1694 | reloc creation (ld --embedded-relocs). | |
1695 | ||
4867be41 DJ |
1696 | 2002-01-27 Daniel Jacobowitz <drow@mvista.com> |
1697 | ||
1698 | * configure: Regenerated. | |
1699 | ||
cd8e197b HPN |
1700 | 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com> |
1701 | ||
1702 | * Makefile.am (install): Depend on install-info. | |
1703 | * Makefile.in: Regenerate. | |
1704 | ||
9cb61eab AM |
1705 | 2002-01-26 Christian Rose <menthos@menthos.com> |
1706 | ||
1707 | * ldmain.c (main): Use full sentences to ease translation. | |
1708 | ||
1caa7b23 NC |
1709 | 2002-01-26 Nick Clifton <nickc@cambridge.redhat.com> |
1710 | ||
1711 | * po/fr.po: Updated version. | |
1712 | ||
1ddbd152 NC |
1713 | 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com> |
1714 | ||
1715 | * po/es.po: Updated version. | |
1716 | ||
1e84433f AJ |
1717 | 2002-01-25 Andreas Jaeger <aj@suse.de> |
1718 | ||
1719 | * ldlex.l (yy_input): Correct error check. | |
1720 | ||
6d39955e AM |
1721 | 2002-01-25 Alan Modra <amodra@bigpond.net.au> |
1722 | ||
1723 | * ldmisc.c (demangle): Put back dots when string not demangled. | |
1724 | ||
a9ed1e1b RH |
1725 | 2002-01-22 Richard Henderson <rth@redhat.com> |
1726 | ||
1727 | * emulparams/elf64alpha.sh (NOP): Use unop. | |
1728 | ||
968ec2b9 AJ |
1729 | 2002-01-21 Andreas Jaeger <aj@suse.de> |
1730 | ||
1731 | * ldlex.l: Use fread instead of read. | |
1732 | ||
9596feea JT |
1733 | 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com> |
1734 | ||
1735 | * configure.tgt (ia64-*-netbsd*): New target. | |
1736 | ||
493a6d47 L |
1737 | 2002-01-21 H.J. Lu <hjl@gnu.org> |
1738 | ||
1739 | * emulparams/elf32btsmip.sh (SHLIB_TEXT_START_ADDR): Change to | |
1740 | 0. | |
1741 | * emulparams/elf64btsmip.sh (SHLIB_TEXT_START_ADDR): Likewise. | |
1742 | ||
2a538ba5 AJ |
1743 | 2002-01-18 Andreas Jaeger <aj@suse.de> |
1744 | ||
1745 | * ldver.c (ldversion): Update year. | |
1746 | ||
328577ad NC |
1747 | 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com> |
1748 | ||
1749 | * po/ld.pot: Regenerate. | |
1750 | ||
1f808cd5 AM |
1751 | 2002-01-16 Alan Modra <amodra@bigpond.net.au> |
1752 | ||
1753 | * Makefile.am (eelf64ppc.c, eelf64lppc.c): Depend on ppc64elf.em. | |
1754 | * Makefile.in: Regenerate. | |
1755 | * emulparams/elf64ppc.sh (EXTRA_EM_FILE): Define. | |
1756 | * emultempl/ppc64elf.em: New file. | |
1757 | ||
335c5610 DD |
1758 | 2002-01-15 DJ Delorie <dj@redhat.com> |
1759 | ||
1760 | * scripttempl/pe.sc: Add support for constructor priorities. | |
1761 | ||
c40bbade DC |
1762 | 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl> |
1763 | ||
1764 | * emulparams/avr1200.sh (DATA_START): Define as 0x60. | |
1765 | * emulparams/avr23xx.sh: Likewise. | |
1766 | * emulparams/avr4433.sh: Likewise. | |
1767 | * emulparams/avr44x4.sh: Likewise. | |
1768 | * emulparams/avr85xx.sh: Likewise. | |
1769 | * emulparams/avrmega103.sh: Likewise. | |
1770 | * emulparams/avrmega161.sh: Likewise. | |
1771 | * emulparams/avrmega603.sh: Likewise. | |
1772 | * scripttempl/elf32avr.sc: Use DATA_START instead of 0x60. | |
1773 | ||
34efb449 AO |
1774 | 2002-01-08 Alexandre Oliva <aoliva@redhat.com> |
1775 | ||
1776 | * ldlang.c (walk_wild_section): Exclude object file if enclosing | |
1777 | archive is excluded. | |
1778 | ||
8d05742f JT |
1779 | 2002-01-07 Jason Thorpe <thorpej@wasabisystems.com> |
1780 | ||
1781 | * Makefile.am (ALL_EMULATIONS): Add eshelf_nbsd.o and eshlelf_nbsd.o. | |
2a538ba5 | 1782 | (eshelf_nbsd.c): New rule. |
8d05742f JT |
1783 | (eshlelf_nbsd.c): New rule. |
1784 | * Makefile.in: Regenerate. | |
1785 | * configure.tgt (sh*le-*-netbsdelf*): New target. | |
1786 | (sh*-*-netbsdelf*): New target. | |
1787 | * emulparams/shelf.sh: Document that shelf_nbsd.sh sources this file. | |
1788 | * ld/emulparams/shelf_nbsd.sh: New emulation. | |
1789 | * ld/emulparams/shlelf_nbsd.sh: New emulation. | |
1790 | ||
be2d1673 NC |
1791 | 2002-01-07 Nick Clifton <nickc@cambridge.redhat.com> |
1792 | ||
1793 | * po/es.po: New file: Spanish translation. | |
1794 | * configure.in (ALL_LINGUAS): Add es. | |
1795 | * configure: Regenerate. | |
1796 | ||
dbab7a7b NC |
1797 | 2002-01-06 John Marshall <jmarshall@acm.org> |
1798 | ||
1799 | * ld.texinfo: Note that --emit-relocs is currently only | |
1800 | implemented for ELF. | |
1801 | ||
3dfe7a8c AM |
1802 | 2002-01-05 Alan Modra <amodra@bigpond.net.au> |
1803 | ||
1804 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Make use | |
1805 | of bfd_section_list_remove and bfd_section_list_insert macros. | |
1806 | * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise. | |
1807 | * emultempl/mmo.em (mmo_place_orphan): Likewise. | |
1808 | ||
8a8b2d4b AJ |
1809 | 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com> |
1810 | ||
1811 | * configure.tgt (x86_64-*-netbsd*): New target. | |
1812 | ||
9a4c7f16 TR |
1813 | 2001-12-21 Tom Rix <trix@redhat.com> |
1814 | ||
8a8b2d4b | 1815 | (gld*_create_output_section_statements): New function. |
9a4c7f16 TR |
1816 | For -binitfini support. |
1817 | * emultempl/aix.em (gld*_before_parse): Fix comment. | |
1818 | * emultempl/aix.em (gld*_parse_args): Fix comment. | |
1819 | ||
3695c299 AM |
1820 | 2001-12-20 Jason Thorpe <thorpej@wasabisystems.com> |
1821 | ||
cf86e6df AM |
1822 | * configure.tgt (mips*-dec-netbsd*): Delete alias for |
1823 | mips*el-*-netbsd*. | |
1824 | (sparc64-*-netbsd*): Add elf32_sparc to targ_extra_emuls. | |
1825 | ||
3695c299 AM |
1826 | * configure.tgt (arm-*-netbsdelf*): Add target. |
1827 | (arm-*-netbsd*): Add armelf and armelf_nbsd to targ_extra_emuls. | |
1828 | * emulparams/armelf_nbsd.sh: Added. | |
1829 | * Makefile.am: Add rules for earmelf_nbsd. | |
1830 | * Makefile.in: Regenerate. | |
1831 | ||
97cb79ae AJ |
1832 | 2001-12-19 Andreas Jaeger <aj@suse.de>, |
1833 | Susanne Oberhauser <froh@suse.de> | |
1834 | ||
1835 | * configure.host: Add rules for x86_64-*linux-gnu. Change | |
1836 | s390x-linux entry to use gcc to report configuration, replace gcc | |
1837 | with $CC in s390-linux | |
1838 | ||
9d201f2f AJ |
1839 | 2001-12-19 Andreas Jaeger <aj@suse.de> |
1840 | ||
1841 | * ld.texinfo (VERSION): Fix markup. | |
1842 | ||
0b69cd08 MG |
1843 | 2001-12-18 matthew green <mrg@eterna.com.au> |
1844 | ||
1845 | * Makefile.am (ALL_EMULATIONS): Add m68kelfnbsd.o. | |
1846 | (m68kelfnbsd.c): New rule. | |
1847 | * Makefile.in: Regenerate. | |
1848 | * configure.tgt (m68*-hp-netbsd*): Renamed to .. | |
1849 | (m68*-*-netbsd*4k*): .. this. | |
1850 | (m68*-*-netbsdelf*): New target. | |
1851 | (m68*-*-netbsd*): Also include ELF support. | |
1852 | (m68*-*-netbsdaout*): New alias for m68*-*-netbsd*. | |
1853 | * emulparams/m68kelfnbsd.sh: New emulation. | |
1854 | ||
6b9b879a JJ |
1855 | 2001-12-18 Jakub Jelinek <jakub@redhat.com> |
1856 | ||
1857 | * ldgram.y (vers_node): Support anonymous version tags. | |
1858 | * ldlang.c (lang_register_vers_node): Ensure anonymous version | |
1859 | tag is not defined together with non-anonymous versions. | |
1860 | * ld.texinfo: Document it. | |
1861 | ||
9fc877ed NC |
1862 | 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com> |
1863 | ||
1864 | * po/tr.po: New file: Turkish translation. | |
1865 | * configure.in (ALL_LINGUAS): Add tr. | |
1866 | * configure: Regenerate. | |
1867 | ||
fc18a3f3 RH |
1868 | 2001-12-17 Jason Thorpe <thorpej@wasabisystems.com> |
1869 | ||
1870 | * Makefile.am: Add rules for eelf64alpha_nbsd. | |
1871 | * Makefile.in: Regenerate. | |
1872 | * configure.tgt (alpha*-*-netbsd*): Set | |
1873 | targ_emul to elf64alpha_nbsd. | |
1874 | * emulparams/elf64alpha_nbsd.sh: Added. | |
1875 | ||
76f63e91 AM |
1876 | 2001-12-17 Alan Modra <amodra@bigpond.net.au> |
1877 | ||
1878 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust | |
1879 | section_tail when fiddling with section list. | |
1880 | (gld${EMULATION_NAME}_list_options): Ensure sentences aren't | |
1881 | broken into separate strings to make translation easier. | |
1882 | * emultempl/mmo.em (mmo_place_orphan): Adjust section_tail when | |
1883 | fiddling with section list. | |
1884 | * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise. | |
1885 | ||
d03b89bd HPN |
1886 | 2001-12-16 Hans-Peter Nilsson <hp@bitrange.com> |
1887 | ||
1888 | * scripttempl/mmo.sc: Add .debug_ranges to listed sections. | |
1889 | ||
320fec9a AM |
1890 | 2001-12-15 Alan Modra <amodra@bigpond.net.au> |
1891 | ||
1892 | * ldmain.c (main): Initialise link_info.eh_frame_hdr. | |
1893 | ||
65765700 JJ |
1894 | 2001-12-13 Jakub Jelinek <jakub@redhat.com> |
1895 | ||
1896 | * emultempl/elf32.em (finish): Supply output_bfd | |
1897 | to bfd_elf*_discard_info. | |
1898 | (OPTION_EH_FRAME_HDR): Define. | |
1899 | (longopts): Add --eh-frame-hdr. | |
1900 | (parse_args): Handle it. | |
1901 | (list_options): Add --eh-frame-hdr to help. | |
1902 | * emultempl/hppaelf.em (finish): Supply output_bfd | |
1903 | to bfd_elf*_discard_info. | |
1904 | * scripttempl/elf.sc (.eh_frame_hdr): Add. | |
1905 | ||
89894c62 AM |
1906 | 2001-12-13 Alan Modra <amodra@bigpond.net.au> |
1907 | ||
1908 | * lexsup.c (parse_args): Don't pass shortopts to second call to | |
1909 | getopt functions. Restore optind rather than decrementing before | |
1910 | second call. Remove errind as it now duplicates last_optind. | |
1911 | ||
583f1926 CF |
1912 | 2001-12-11 Christopher Faylor <cgf@redhat.com> |
1913 | ||
1914 | * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Fix typo. | |
1915 | ||
93fbbb04 GK |
1916 | 2001-12-07 Geoffrey Keating <geoffk@redhat.com> |
1917 | Richard Henderson <rth@redhat.com> | |
1918 | ||
1919 | * Makefile.am: Add support for xstormy16. | |
1920 | * configure.tgt: Add support for xstormy16. | |
1921 | * Makefile.in: Regenerate. | |
1922 | * emulparams/elf32xstormy16.sh: New file. | |
1923 | * scripttempl/xstormy16.sc: New file. | |
1924 | ||
583f1926 CF |
1925 | 2001-10-01 Christopher Faylor <cgf@cygnus.com> |
1926 | ||
fc18a3f3 RH |
1927 | * Makefile.in (LIB_PATH): Make configurable. |
1928 | (GENSCRIPTS): Set LIB_PATH in environment. | |
1929 | * configure.in: Substitute LIB_PATH. | |
1930 | * configure: Regenerate. | |
1931 | * configure.tgt (*cygwin): Set LIB_PATH for cross build. | |
1932 | * configure.host (*cygwin): Add /usr/lib/w32api to NATIVE_LIB_DIRS. | |
583f1926 | 1933 | |
ff291a48 NC |
1934 | 2001-12-07 Nick Clifton <nickc@cambridge.redhat.com> |
1935 | ||
1936 | * lexsup.c (ld_options): Insert 'PROGRAM' into the text string | |
1937 | describing the -N option so that it is easier to translate into | |
1938 | foreign languages. | |
1939 | ||
e3c8793a NC |
1940 | 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com> |
1941 | ||
1942 | * emultempl/pe.em (..._list_options): Replace multiple fprintf | |
1943 | statements describing a single option with a single, newline | |
1944 | escaped fprintf. This allows better translation into other | |
1945 | languages. | |
9d201f2f | 1946 | |
fc18a3f3 RH |
1947 | * ldmain.c (add_archive_element): Combine multiple strings |
1948 | into a single string to permit better translation into other | |
1949 | languages. | |
e3c8793a | 1950 | |
f2eab0af TR |
1951 | 2001-12-05 Tom Rix <trix@redhat.com> |
1952 | ||
1953 | * Makefile.am: Remove eaixppc64. | |
9d201f2f | 1954 | * Makefile.in: Regenerate. |
f2eab0af | 1955 | |
249172c3 TR |
1956 | 2001-12-04 Tom Rix <trix@redhat.com> |
1957 | ||
9d201f2f | 1958 | * emultempl/aix.em (choose_target): Change default target to |
249172c3 TR |
1959 | OUTPUT_FORMAT for ppcmacos. Add braces to remove compiler |
1960 | warning. | |
1961 | (gld*_read_file): Fix typo. | |
1962 | (change_symbol_mode): Add prototype. | |
1963 | (is_syscall): Same. | |
9d201f2f | 1964 | |
249172c3 TR |
1965 | * emulparams/aixppc.sh (SYSCALL_MASK, SYMBOL_MODE_MASK): Delete. |
1966 | * emulparams/aixrs6.sh : Same. | |
1967 | * emulparams/ppcmacos.sh : Same. | |
1968 | * emulparams/aixppc64.sh : Delete file. | |
1969 | * emultempl/aix.em : Formatting changes. | |
1970 | ||
5b5cd1b0 HPN |
1971 | 2001-12-04 Hans-Peter Nilsson <hp@axis.com> |
1972 | ||
1973 | * emulparams/criself.sh (NO_SMALL_DATA): Set, to yes. | |
1974 | (OTHER_BSS_END_SYMBOLS): Don't refer to .sbss when setting | |
1975 | __Sbss. | |
1976 | (OTHER_END_SYMBOLS): Fix formatting. | |
1977 | * emulparams/crislinux.sh (NO_SMALL_DATA): Set, to yes. | |
1978 | (OTHER_END_SYMBOLS): Fix formatting. | |
1979 | ||
7cecdbff AM |
1980 | 2001-12-04 Alan Modra <amodra@bigpond.net.au> |
1981 | ||
1982 | * ldexp.c (exp_print_token): Correct "table" entry for RSHIFT. | |
1983 | ||
742aeb63 | 1984 | 2001-12-02 Tom Rix <trix@redhat.com> |
7cecdbff | 1985 | |
742aeb63 | 1986 | * configure.tgt : Remove eaixppc64 emulations. |
7cecdbff | 1987 | * Makefile.in : Remove eaixppc64.c |
742aeb63 TR |
1988 | * ldemul.c (ldemul_choose_target): New parameters argc, argv. |
1989 | (ldemul_default_target): Same. | |
1990 | * emultempl/gld960.em (gld960_choose_target): Same. | |
7cecdbff AM |
1991 | * emultempl/gld960c.em (gld960_choose_target): Same. |
1992 | * scripttempl/aix.sc: Remove OUTPUT_FORMAT. | |
742aeb63 TR |
1993 | * emultempl/aix.em (is_syscall): syscall_mask now a variable. |
1994 | * emultempl/aix.em (gld*_read_file): symbol_mode_mask now a variable. | |
1995 | * emultempl/aix.em (gld*_parse_args): Handle -b32 -b64 emulation. | |
7cecdbff | 1996 | * emultempl/aix.em (choose_target): New function. Handle emulation of |
742aeb63 TR |
1997 | -b32 and -b64. |
1998 | ||
48459341 L |
1999 | 2001-11-27 H.J. Lu <hjl@gnu.org> |
2000 | ||
2001 | * emulparams/elf_i386.sh (NO_SMALL_DATA): Set to yes. | |
2002 | * emulparams/elf_i386_be.sh (NO_SMALL_DATA): Likewise. | |
2003 | * emulparams/elf_i386_chaos.sh (NO_SMALL_DATA): Likewise. | |
2004 | * emulparams/elf_i386_ldso.sh (NO_SMALL_DATA): Likewise. | |
2005 | * emulparams/elf_x86_64.sh (NO_SMALL_DATA): Likewise. | |
2006 | * emulparams/m68kelf.sh (NO_SMALL_DATA): Likewise. | |
2007 | * emulparams/elf32_sparc.sh (NO_SMALL_DATA): Likewise. | |
2008 | * emulparams/elf64_sparc.sh (NO_SMALL_DATA): Likewise. | |
2009 | ||
7cecdbff | 2010 | * scripttempl/elf.sc (SBSS): New. Define if ${NO_SMALL_DATA} |
48459341 L |
2011 | is not empty. |
2012 | (SDATA): Likewise. | |
2013 | (REL_SDATA): Likewise. | |
2014 | (REL_SBSS): Likewise. | |
2015 | (REL_SDATA2): Likewise. | |
2016 | (REL_SBSS2): Likewise. | |
2017 | (SBSS2): Define if ${NO_SMALL_DATA} is not empty. | |
2018 | (SDATA2): Likewise. | |
2019 | ||
ecfdd20c SC |
2020 | 2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
2021 | ||
2022 | * scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and | |
2023 | destructor in rom. | |
7cecdbff | 2024 | * scripttempl/elfm68hc12.sc (CTOR, DTOR): Likewise. |
ecfdd20c | 2025 | |
da54c6eb L |
2026 | 2001-11-22 H.J. Lu <hjl@gnu.org> |
2027 | ||
2028 | * Makefile.in: Regenerated with automake based on automake | |
2029 | 1.4-8 in RedHat 7.1. | |
2030 | ||
465bc359 AM |
2031 | 2001-11-22 Alan Modra <amodra@bigpond.net.au> |
2032 | ||
2033 | * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define. | |
2034 | (config.status): Delete rule. | |
2035 | Add extra dependencies to cover sourced emulparams files. | |
2036 | * Makefile.in: Regenerate. | |
2037 | ||
2038 | * scripttempl/elf.sc: Order <section>, <section>.* and | |
2039 | corresponding linkonce sections as seen in input files. | |
2040 | Formatting fixes. Zero vma of all sections if not relocating. | |
2041 | (STACK): Define and insert if STACK_ADDR defined. | |
2042 | (OTHER_RELOCATING_SECTIONS): Delete. | |
2043 | (OTHER_END_SYMBOLS): Define. | |
2044 | (OTHER_READONLY_SECTIONS): Always insert, not just when relocating. | |
2045 | (OTHER_READWRITE_SECTIONS): Likewise. | |
2046 | (OTHER_GOT_SECTIONS): Likewise. | |
2047 | (OTHER_SDATA_SECTIONS): Likewise. | |
2048 | (OTHER_BSS_SECTIONS): Likewise. | |
2049 | * scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise. | |
2050 | (OTHER_READWRITE_SECTIONS): Likewise. | |
2051 | * scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise. | |
2052 | (OTHER_READWRITE_SECTIONS): Likewise | |
2053 | ||
2054 | * emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete. | |
2055 | (STACK_ADDR): Define. | |
2056 | * emulparams/armelf_oabi.sh: As for armelf.sh. | |
2057 | * emulparams/elf32mcore.sh: As for armelf.sh. | |
2058 | * emulparams/h8300elf.sh: As for armelf.sh. | |
2059 | * emulparams/mn10200.sh: As for armelf.sh. | |
2060 | * emulparams/shelf.sh: As for armelf.sh. | |
2061 | ||
2062 | * emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete. | |
2063 | (OTHER_END_SYMBOLS): Define. | |
2064 | * emulparams/m32relf.sh: As for elf32fr30.sh. | |
2065 | * emulparams/h8300helf.sh: As for elf32fr30.sh. | |
2066 | * emulparams/h8300self.sh: As for elf32fr30.sh. | |
2067 | ||
2068 | * emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol | |
2069 | defines with RELOCATING test. | |
2070 | (OTHER_SDATA_SECTIONS): Likewise. | |
2071 | (OTHER_RELOCATING_SECTIONS): Delete, replacing with.. | |
2072 | (OTHER_END_SYMBOLS): ..this. | |
2073 | * emulparams/crislinux.sh: As for criself.sh. | |
2074 | ||
2075 | * emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma | |
2076 | if not relocating. | |
2077 | (OTHER_RELOCATING_SECTIONS): Delete, replacing with.. | |
2078 | (OTHER_SECTIONS): ..this. Zero vma if not relocating. Order | |
2079 | normal and linkonce sections as seen in input files. | |
2080 | * emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED. | |
2081 | (TEXT_DYNAMIC): Likewise. | |
2082 | (INITIAL_READONLY_SECTIONS): Zero vma if not relocating. | |
2083 | (OTHER_SDATA_SECTIONS): Likewise. | |
2084 | * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise. | |
2085 | * emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise. | |
2086 | * emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise. | |
2087 | * emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise. | |
2088 | * emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise. | |
2089 | (OTHER_PLT_RELOC_SECTIONS): Likewise. | |
2090 | (OTHER_READONLY_SECTIONS): Likewise. Order normal and linkonce | |
2091 | sections as seen in input files. | |
2092 | * emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh. | |
2093 | * emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma | |
2094 | if not relocating. | |
2095 | (OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise. | |
2096 | (OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh. | |
2097 | * emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete. | |
2098 | (OTHER_SECTIONS): Instead, use this.. | |
2099 | (OTHER_END_SYMBOLS): ..and this. | |
2100 | ||
2101 | * emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates. | |
2102 | * emulparams/elf32bsmip.sh: Likewise. | |
2103 | * emulparams/elf32btsmip.sh: Likewise. | |
2104 | * emulparams/elf32ebmip.sh: Likewise. | |
2105 | * emulparams/elf32lmip.sh: Likewise. | |
2106 | * emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates. | |
2107 | * emulparams/elf32lsmip.sh: Likewise. | |
2108 | * emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates. | |
2109 | * emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates. | |
2110 | * emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates. | |
2111 | * emulparams/elf64btsmip.sh: Likewise. | |
2112 | * emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates. | |
2113 | * emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates. | |
2114 | * emulparams/elf32ppclinux.sh: Likewise. | |
2115 | * emulparams/elf32ppcsim.sh: Likewise. | |
2116 | * emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates. | |
2117 | * emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates. | |
2118 | * emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates. | |
2119 | * emulparams/h8300self.sh: Likewise. | |
2120 | * emulparams/mn10300.sh: Source mn10200.sh, remove duplicates. | |
2121 | * emulparams/sh.sh: Comment. | |
2122 | * emulparams/shl.sh: Source sh.sh, remove duplicates. | |
2123 | * emulparams/shlelf.sh: Source shelf.sh, remove duplicates. | |
2124 | * emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates. | |
2125 | ||
abc6ab0a AM |
2126 | 2001-11-21 David Heine <dlheine@tensilica.com> |
2127 | Alan Modra <amodra@bigpond.net.au> | |
2128 | ||
2129 | * ldlang.c (map_input_to_output_sections): Replace "break" | |
2130 | accidentally removed with 2001-08-03 change. | |
2131 | (lang_gc_sections_1): Likewise. | |
2132 | ||
2181f54f AM |
2133 | 2001-11-21 Alan Modra <amodra@bigpond.net.au> |
2134 | ||
2135 | * ldlang.c (walk_wild_section): Move sec == NULL case out of loop. | |
2136 | ||
ca0b5847 AM |
2137 | 2001-11-20 Angela Marie Thomas <angela@redhat.com> |
2138 | ||
2139 | * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL instead | |
2181f54f AM |
2140 | of false when calling lang_size_sections. |
2141 | * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise. | |
ca0b5847 | 2142 | |
c56feb2b AM |
2143 | 2001-11-15 Alan Modra <amodra@bigpond.net.au> |
2144 | ||
2145 | * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit this | |
2146 | function when LDEMUL_FINISH isn't set to the same name. Don't | |
2147 | call ${LDEMUL_FINISH}. | |
2148 | (ld_${EMULATION_NAME}_emulation): Call $LDEMUL_FINISH if defined. | |
2149 | * emultempl/armelf.em (arm_elf_finish): Call | |
2150 | gld${EMULATION_NAME}_finish. | |
2151 | * emultempl/hppaelf.em (hppaelf_finish): Rename to | |
2152 | gld${EMULATION_NAME}_finish. Call bfd_elf32_discard_info and | |
2153 | hppaelf_layout_sections_again if necessary. | |
2154 | (need_laying_out): New var. | |
2155 | (hppaelf_layaout_sections_again): Rename to | |
2156 | hppaelf_layout_sections_again. Clear need_laying_out. | |
2157 | (PARSE_AND_LIST_OPTIONS): Format text. | |
2158 | ||
a48ca7f2 L |
2159 | 2001-11-14 H.J. Lu <hjl@gnu.org> |
2160 | ||
2161 | * emultempl/armelf.em (arm_elf_finish): Renamed from | |
2162 | gld${EMULATION_NAME}_finish. | |
2163 | (LDEMUL_FINISH): Set to arm_elf_finish. | |
2164 | ||
73d074b4 DJ |
2165 | 2001-11-14 Daniel Jacobowitz <drow@mvista.com> |
2166 | ||
2167 | * emultempl/elf32.em (gld${EMULATION_NAME}_finish): New. | |
2168 | (struct ld_emulation_xfer_struct): Use it. | |
2169 | ||
3b16e843 | 2170 | 2001-11-13 Ross Alexander <ross.alexander@uk.neceur.com> |
fc65c602 | 2171 | |
465bc359 | 2172 | * emulparams/elf64hppa.sh (OTHER_BSS_END_SYMBOLS): Add |
fc65c602 JL |
2173 | additional symbols referenced by newer crt0.o files from HP. |
2174 | ||
f11b7027 NC |
2175 | 2001-11-12 Anthony Green <green@redhat.com> |
2176 | ||
2177 | * emulparams/armelf.sh (DATA_START_SYMBOLS): New symbol. | |
2178 | ||
3bf2994f AM |
2179 | 2001-11-12 Alfred M. Szmidt <ams@kemisten.nu> |
2180 | ||
2181 | * Makefile.am (GENSCRIPTS): Quote ${exec_prefix}. | |
2182 | * Makefile.in: Regenerate. | |
2183 | ||
ff5dcc92 SC |
2184 | 2001-11-02 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
2185 | ||
2186 | * ld.texinfo: Use @command for commands, @option for options. | |
2187 | * Makefile.am (POD2MAN): Use 'GNU Development Tools' for | |
2188 | the page man title. | |
2189 | * Makefile.in: Rebuild. | |
2190 | ||
9fb9af6e CD |
2191 | 2001-11-04 Chris Demetriou <cgd@broadcom.com> |
2192 | ||
2193 | * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*): | |
2194 | Add support for targets. | |
2181f54f | 2195 | |
3c62831e NC |
2196 | 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com> |
2197 | ||
2198 | * configure.in (ALL_LINGUAS): Add "fr" and "sv" | |
2199 | * configure: Regernate. | |
2200 | * po/fr.po: New file. | |
2201 | * po/sv.po: New file. | |
2202 | ||
3a9091c4 NC |
2203 | 2001-11-01 NIIBE Yutaka <gniibe@m17n.org> |
2204 | ||
2205 | * configure.tgt (sh-*-linux): Set targ_emul, targ_extra_emuls | |
2206 | as little endian default and to support big endian. | |
2181f54f | 2207 | |
361b220e CD |
2208 | 2001-11-01 Chris Demetriou <cgd@broadcom.com> |
2209 | ||
2210 | * ld.texinfo (Options): Document new option, -nostdlib. | |
2211 | * lexsup.c (OPTION_NOSTDLIB): New definition. | |
2212 | (ld_options): Add entry for "nostdlib". | |
2213 | (parse_args): Handle OPTIONS_NOSTDLIB. | |
2214 | * ldfile.c (ldfile_add_library_path): Don't add directories | |
2215 | to the search path if they weren't specified on the command line | |
2216 | and -nostdlib was specified. | |
2217 | * ld.h (ld_config_type): New member only_cmd_line_lib_dirs. | |
2218 | ||
210a7bd1 NC |
2219 | 2001-10-31 Nick Clifton <nickc@cambridge.redhat.com> |
2220 | ||
2221 | * lexsup.c (parse_args): Prevent infinite parsing loop when | |
2222 | "-rpath.a" is specified on the command line. | |
2223 | Replace calls to fprintf with calls to einfo. | |
2224 | ||
114283d8 NC |
2225 | 2001-10-31 John Marshall <jmarshall@acm.org> |
2226 | ||
2227 | * ld.texinfo: A historical requirement that MEMORY and SECTIONS | |
2228 | appear only once across all the linker scripts involved in a link | |
2229 | invocation no longer applies. Make the documentation reflect | |
2230 | that. | |
2231 | ||
7649aa50 NC |
2232 | 2001-10-31 NIIBE Yutaka <gniibe@m17n.org> |
2233 | ||
2234 | * configure.tgt: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu | |
2235 | targets. | |
2236 | (sh-*-linux*): Added targ_extra_libpath. | |
2237 | ||
6e814ff8 AM |
2238 | 2001-10-31 David Heine <dlheine@tensilica.com> |
2239 | ||
2240 | * ldlang.c (lang_size_sections): Keep a valid output_offset field | |
2241 | for padding statements. | |
2242 | ||
3c3bdf30 NC |
2243 | 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com> |
2244 | ||
2245 | * configure.tgt (mmix-*-*): New target. | |
2246 | * Makefile.am (ALL_EMULATIONS): Add eelf64mmix.o and emmo.o. | |
2247 | Add dependencies to match. | |
2248 | * emulparams/mmo.sh, emulparams/elf64mmix.sh, emultempl/mmo.em, | |
2249 | emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em, | |
2250 | scripttempl/mmo.sc: New files. | |
2251 | * gen-doc.texi: @set MMIX. | |
2252 | * ld.texinfo: Ditto. | |
6e814ff8 | 2253 | [MMIX] Add MMIX node. |
3c3bdf30 NC |
2254 | * Makefile.in: Regenerate. |
2255 | ||
ca0c1d3e KH |
2256 | 2001-10-29 Kazu Hirata <kazu@hxi.com> |
2257 | ||
2258 | * ldlang.c: Fix a comment typo. | |
2259 | ||
1a3d33ce AM |
2260 | 2001-10-23 Alan Modra <amodra@bigpond.net.au> |
2261 | ||
2262 | * configure.host: Move alpha*-*-linux-gnu* entry to generic | |
2263 | entries, and match *-*-linux*. | |
2264 | ||
b47c4208 AM |
2265 | 2001-10-20 Alan Modra <amodra@bigpond.net.au> |
2266 | ||
2267 | * ldgram.y (mri_script_command): Surround processing of INCLUDE | |
2268 | with ldlex_script, ldlex_popstate. | |
2269 | (ifile_p1): Likewise. | |
2270 | * ldlex.l (EOF): Don't BEGIN(SCRIPT). Restore lineno from the | |
2271 | correct slot. | |
2272 | (lex_push_file): Save current lineno to lineno_stack. Set lineno | |
2273 | to 1. Don't BEGIN(SCRIPT). | |
2274 | (lex_redirect): Similarly. | |
2275 | * ldmain.c (main): Set yydebug non-zero if YYDEBUG. | |
2276 | ||
fd521b47 NC |
2277 | 2001-10-20 Nick Clifton <nickc@cambridge.redhat.com> |
2278 | ||
2279 | * scripttempl/armcoff.sc: Define __EH_FRAME_BEGIN__ and | |
2280 | __EH_FRAME_END__ and accept eh frames into data section. | |
2281 | Add ctor and dtor sections. | |
2282 | ||
59d28a94 DD |
2283 | 2001-10-19 Danny Smith <danny_r_smith_2001@yahoo.co.nz> |
2284 | ||
2285 | * pe-dll.c (autofilter_objectlist): Add gcrt0.o. | |
2286 | (auto-export): Fix indentation. | |
2287 | ||
663dd378 DD |
2288 | 2001-10-18 Danny Smith <danny_r_smith_2001@yahoo.co.nz> |
2289 | ||
2290 | * pe-dll.c (autofilter_objectlist): Add startup objects | |
2291 | for profiling. | |
2292 | (auto-export): Constify char * p. | |
6e814ff8 | 2293 | Extract file basename and use strcmp rather than ststr |
663dd378 DD |
2294 | for object lookup. |
2295 | ||
31d677f9 CD |
2296 | 2001-10-18 Chris Demetriou <cgd@broadcom.com> |
2297 | ||
2298 | * ldmain.c (get_emulation): Improve comment about the handling | |
2299 | of -mipsN options. | |
2300 | ||
aa200fe8 AM |
2301 | 2001-10-17 Alan Modra <amodra@bigpond.net.au> |
2302 | ||
2303 | * po/POTFILES.in: Regenerate. | |
2304 | ||
146e7110 AM |
2305 | 2001-10-16 Vassili Karpov <malc@pulsesoft.com> |
2306 | ||
2307 | * emultempl/elf32.em (gld*_list_options): Remove extra '\t' from | |
2308 | -z nocopyreloc and -z nocombreloc usage strings. | |
2309 | ||
b4330e85 NC |
2310 | 2001-10-12 Vassili Karpov <malc@pulsesoft.com> |
2311 | ||
146e7110 | 2312 | * emultempl/elf32.em (gld*_list_options): Include -z nocopyreloc |
b4330e85 NC |
2313 | in usage. |
2314 | ||
5af8a2fb NC |
2315 | 2001-10-11 Aleksey Romanov <aromanov@ennovatenetworks.com> |
2316 | ||
2317 | * scripttempl/armaout.sc: Place .bss section after end of aligned | |
2318 | data section to match behaviour of aout code in constructrion of | |
2319 | header. | |
2320 | ||
5b784096 DD |
2321 | 2001-10-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz> |
2322 | ||
2323 | * pe-dll.c (autofilter_entry_type autofilter_liblist: Add | |
2324 | startup files for mingw32 dlls to list. | |
2325 | ||
61585df2 CD |
2326 | 2001-10-10 Chris Demetriou <cgd@broadcom.com> |
2327 | ||
2328 | * emultempl/elf32.em: Fix shell 'if' usage for portability. | |
2329 | ||
45cf6f3e AH |
2330 | 2001-10-08 Aldy Hernandez <aldyh@redhat.com> |
2331 | ||
2332 | * configure.tgt (targ): Add arm9e-*-elf. | |
2333 | ||
e24d7c12 L |
2334 | 2001-10-05 H.J. Lu <hjl@gnu.org> |
2335 | ||
2336 | * genscripts.sh: Fix a typo in the last change. | |
2337 | ||
ec38dd05 JJ |
2338 | 2001-10-05 Jakub Jelinek <jakub@redhat.com> |
2339 | ||
2340 | * emultempl/elf32.em (gld_*_list_options): Include -z combreloc and | |
2341 | -z nocombreloc in usage. | |
2342 | ||
cedd6b0d JB |
2343 | 2001-10-03 Jim Blandy <jimb@redhat.com> |
2344 | ||
2345 | * genscripts.sh: Include a comment at the top of each generated | |
2346 | script, explaining its purpose. | |
2347 | ||
8bd621d8 AM |
2348 | 2001-10-03 Vassili Karpov <malc@pulsesoft.com> |
2349 | ||
2350 | * emultempl/elf32.em (parse_args): Handle -z nocopyreloc. | |
2351 | * NEWS: Mention -z nocopyreloc. | |
2352 | * ld.texinfo (Options): Describe nocopyreloc. | |
2353 | ||
fcd8210c AM |
2354 | 2001-10-03 Alan Modra <amodra@bigpond.net.au> |
2355 | ||
2356 | * configure: Regenerate. | |
2357 | ||
d32820f2 AM |
2358 | 2001-10-02 Alan Modra <amodra@bigpond.net.au> |
2359 | ||
2360 | * ldver.h (ld_program_version): Remove declaration. | |
2361 | * lexsup.c (parse_args): Move printing of copyright message.. | |
2362 | * ldver.c (ldversion): .. to here. | |
2363 | Use BFD_VERSION_STRING in place of BFD_VERSION. | |
2364 | (ld_program_version): Remove. | |
2365 | * Makefile.am (Makefile): Depend on bfd/configure.in. | |
2366 | Run "make dep-am". | |
2367 | * Makefile.in: Regenerate. | |
2368 | ||
af46bcdc HPN |
2369 | 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com> |
2370 | ||
2371 | * Makefile.am: Update dependencies with "make dep-am". | |
2372 | * Makefile.in: Regenerate. | |
2373 | ||
4818e05f | 2374 | 2001-09-29 John Reiser <jreiser@BitWagon.com> |
862517b6 | 2375 | |
4818e05f AM |
2376 | * ldlang.c (lang_common): Conditionally inhibit Common allocation. |
2377 | * lexsup.c: Add --no-define-common commandline option. | |
2378 | * ldgram.y: Add INHIBIT_COMMON_ALLOCATION script command. | |
2379 | * ldlex.l: Likewise. | |
2380 | * ld.h: Add command_line.inhibit_common_definition. | |
2381 | * ldmain.c (main): Initialize. | |
2382 | * ld.texinfo: Document. | |
862517b6 | 2383 | |
a59f3d35 AM |
2384 | 2001-09-29 Alan Modra <amodra@bigpond.net.au> |
2385 | ||
2386 | * ldlang.c (section_already_linked): Remove assignment to kept_section. | |
2387 | ||
d5e0ebeb AM |
2388 | 2001-09-26 Alan Modra <amodra@bigpond.net.au> |
2389 | ||
2390 | * ldmisc.c (USE_STDARG): Remove. | |
2391 | (info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE. | |
2392 | (einfo): Likewise. | |
2393 | (minfo): Likewise. | |
2394 | (lfinfo): Likewise. | |
2395 | ||
2396 | * ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi | |
2397 | declarations. Update copyright. | |
2398 | ||
2f8d8971 NC |
2399 | 2001-09-24 Charles Wilson <cwilson@ece.gatech.edu> |
2400 | ||
85c77458 NC |
2401 | * pe-dll.c: Remove obsoleted declaration of |
2402 | pe_get_data_import_dll_name. | |
2403 | (pe_create_import_fixup): Fix thinko. | |
2404 | ||
2f8d8971 NC |
2405 | * ld.texinfo(enable-auto-import): Clarify the explanation. |
2406 | ||
2407 | 2001-09-24 Nick Clifton <nickc@cambridge.redhat.com> | |
2408 | ||
2409 | * pe-dll.c (pe_create_import_fixup): Revert previous patch. | |
2410 | * emultemp/pe.em (pe_data_import_dll): Move definition outside of | |
2411 | DLL_SUPPORT controlled code. | |
2412 | ||
72358f65 | 2413 | 2001-09-24 Charles Wilson <cwilson@ece.gatech.edu> |
146e7110 | 2414 | |
72358f65 NC |
2415 | * emultempl/pe.em(pe_data_import_dll): Make static. |
2416 | (pe_get_data_import_dll_name): New accessor function. | |
146e7110 | 2417 | * pe-dll.c(pe_create_import_fixup): call |
72358f65 NC |
2418 | pe_get_data_import_dll_name() from pe.em, instead of |
2419 | directly accessing pe_data_import_dll variable from pe.em. | |
2420 | ||
3882b010 L |
2421 | 2001-09-18 Bruno Haible <haible@clisp.cons.org> |
2422 | ||
2423 | * deffilep.y: Include "safe-ctype.h" instead of <ctype.h>. | |
2424 | (def_file_add_directive): Use ISSPACE instead of isspace. | |
2425 | (def_lex): Use ISDIGIT/ISXDIGIT/ISALPHA/ISALNUM instead of | |
2426 | isdigit/isxdigit/isalpha/isalnum. | |
2427 | * emultempl/aix.em: Include "safe-ctype.h" instead of <ctype.h>. | |
2428 | (gld${EMULATION_NAME}_read_file): Use ISSPACE instead of isspace. | |
2429 | * emultempl/elf32.em: Include "safe-ctype.h" instead of <ctype.h>. | |
2430 | (gld${EMULATION_NAME}_place_orphan): Use ISALNUM instead of | |
2431 | isalnum. | |
2432 | * emultempl/gld960c.em: Include "safe-ctype.h" instead of <ctype.h>. | |
2433 | (gld960_set_output_arch): Use ISUPPER/TOLOWER instead of | |
2434 | isupper/tolower. | |
2435 | * emultempl/sunos.em: Include "safe-ctype.h" instead of <ctype.h>. | |
2436 | (gld${EMULATION_NAME}_search_dir): Use ISDIGIT instead of isdigit. | |
2437 | * ldctor.c: Include "safe-ctype.h" instead of <ctype.h>. | |
2438 | (ctor_prio): Use ISDIGIT instead of isdigit. | |
2439 | * ldfile.c: Include "safe-ctype.h" instead of <ctype.h>. | |
2440 | (ldfile_open_file_search): Use ISALPHA instead of isalpha. | |
2441 | (ldfile_add_arch): Use ISUPPER/TOLOWER instead of | |
2442 | isupper/tolower. | |
2443 | * ldlang.c: Include "safe-ctype.h" instead of <ctype.h>. | |
2444 | (stricpy): Use TOLOWER instead of isupper/tolower. | |
2445 | (lang_leave_overlay_section): Use ISALNUM instead of isalnum. | |
2446 | * ldlex.l: Include "safe-ctype.h" instead of <ctype.h>. | |
2447 | (lex_warn_invalid): Use ISPRINT instead of isprint. | |
2448 | * ldmain.c: Include "safe-ctype.h" instead of <ctype.h>. | |
2449 | (main): For gettext, also set the LC_CTYPE locate facet. | |
2450 | (add_keepsyms_file): Use ISSPACE instead of isspace. | |
2451 | * lexsup.c: Include "safe-ctype.h" instead of <ctype.h>. | |
2452 | (is_num, parse_args): Use ISDIGIT instead of isdigit. | |
2453 | * mpw-elfmips.c: Include "safe-ctype.h" instead of <ctype.h>. | |
2454 | (gldelf32ebmip_place_orphan): Use ISALNUM instead of isalnum. | |
2455 | * mpw-eppcmac.c: Include "safe-ctype.h" instead of <ctype.h>. | |
2456 | (gldppcmacos_read_file): Use ISSPACE instead of isspace. | |
2457 | * pe-dll.c: Include "safe-ctype.h" instead of <ctype.h>. | |
2458 | (quoteput): Use ISSPACE instead of isspace. | |
2459 | (pe_dll_generate_implib, pe_process_import_defs): Use ISALNUM | |
2460 | instead of isalnum. | |
2461 | ||
db09f25b AM |
2462 | 2001-09-18 Alan Modra <amodra@bigpond.net.au> |
2463 | ||
2464 | * deffilep.y (def_stash_module): Constify "name" param. | |
2465 | ||
2466 | * pe-dll.c: Replace CONST with const throughout. | |
2467 | (quick_symbol): Constify "n1", "n2", "n3" params. | |
2468 | (make_singleton_name_thunk): Constify "import" param. Make | |
2469 | "buffer_len" a size_t. | |
2470 | (make_import_fixup_entry): Constify "name", "fixup_name", | |
2471 | "dll_symname" params. | |
2472 | (pe_get16): Cast args of bfd_seek. Replace bfd_read with bfd_bread. | |
2473 | (pe_get32): Likewise. | |
2474 | (pe_implied_import_dll): Likewise. | |
2475 | ||
2476 | * emultempl/beos.em (sort_by_file_name): Constify "ra", "rb". | |
2477 | (sort_by_section_name): Likewise. | |
2478 | ||
2479 | * emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included. | |
2480 | (make_import_fixup): Cast printf arg, rel->address to long rather | |
2481 | than int. | |
2482 | (gld_${EMULATION_NAME}_after_open): Don't compare NULL against int. | |
2483 | ||
74699268 AM |
2484 | 2001-09-15 Alan Modra <amodra@bigpond.net.au> |
2485 | ||
2486 | * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX | |
2487 | defines BufferSize. Increase buffer size by one. | |
2488 | ||
775cabad NC |
2489 | 2001-09-14 Ralf Habacker <Ralf.Habacker@freenet.de> |
2490 | ||
2491 | * pe-dll.c (pe_walk_relocs_of_symbol): Fix memory leak. | |
2492 | ||
056a1d49 NC |
2493 | 2001-09-14 Kevin Lo <kevlo@openbsd.org> |
2494 | ||
2495 | * configure.tgt: Add arm-openbsd target. | |
2496 | ||
a7d792bb L |
2497 | 2001-09-12 H.J. Lu <hjl@gnu.org> |
2498 | ||
2499 | * Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and | |
2500 | eelf64lppc.o to ... | |
2501 | (ALL_64_EMULATIONS): Here. | |
2502 | * Makefile.in: Regenerated. | |
2503 | ||
0d888aac CW |
2504 | 2001-09-12 Paul Sokolovsky <Paul.Sokolovsky@technologist.com> |
2505 | ||
2506 | * emultempl/pe.em(make_import_fixup): change signature to | |
2507 | take asection as well as arelec; we need this for proper | |
146e7110 | 2508 | error reporting. Only call pe_create_import_fixup() if |
0d888aac CW |
2509 | there is no attempt to add a constant addend to the reloc; |
2510 | otherwise, report error condition. | |
2511 | * pe-dll.c(pe_walk_relocs_of_symbol): change signature, | |
2512 | since final argument is a pointer to make_import_fixup(). | |
2513 | Change call to cb() to match make_import_fixup() signature. | |
2514 | (make_import_fixup_mark): make buffer_len unsigned. | |
2515 | * pe-dll.h: change signature of pe_walk_relocs_of_symbol. | |
2516 | ||
2517 | 2001-09-12 Charles Wilson <cwilson@ece.gatech.edu> | |
2518 | ||
2519 | * ld.texinfo: add verbose documentation for auto-import | |
146e7110 | 2520 | direct-addressing workaround, to compliment the terse |
0d888aac CW |
2521 | error message. |
2522 | ||
cedacdc0 CM |
2523 | 2001-09-12 Andrew MacLeod <amacleod@redhat.com> |
2524 | ||
146e7110 | 2525 | * scripttempl/v850.sc: Add gcc_except_table sections. |
cedacdc0 | 2526 | |
3b16e843 | 2527 | 2001-09-11 Jeffrey A Law (law@cygnus.com) |
38be0bb1 JL |
2528 | |
2529 | * emulparams/h8300helf.sh: Move stack to a much higher memory address. | |
2530 | * emulparams/h8300self.sh: Similarly. | |
2531 | ||
559e4713 NC |
2532 | 2001-09-05 Danny Smith <dannysmith@users.souceforge.net> |
2533 | ||
2534 | * ld.texinfo (Options, --stack): Correct default value for stack | |
2535 | reserve. | |
2536 | ||
1fdf0249 TR |
2537 | 2001-09-05 Tom Rix <trix@redhat.com> |
2538 | ||
2539 | * emultempl/aix.em : Handle import file XMC_XO and syscall symbols. | |
146e7110 | 2540 | |
9b5799b8 AJ |
2541 | 2001-09-03 Andreas Jaeger <aj@suse.de> |
2542 | ||
2543 | * emultempl/beos.em: Declare prototypes for comparions functions, | |
2544 | adjust definitions. | |
2545 | ||
48f6162b AJ |
2546 | 2001-09-02 Andreas Jaeger <aj@suse.de> |
2547 | ||
2548 | * emultempl/aix.em: Add missing prototype. | |
2549 | * emultempl/lnk960.em: Likewise. | |
2550 | * emultempl/vanilla.em: Likewise. | |
2551 | * emultempl/armcoff.em: Likewise. | |
2552 | * emultempl/armelf_oabi.em: Likewise. | |
2553 | * emultempl/beos.em: Likewise. | |
2554 | * emultempl/gld960c.em: Likewise. | |
2555 | * emultempl/gld960.em: Likewise. | |
2556 | ||
2557 | * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter | |
2558 | for prototype declaration. | |
2559 | ||
39e5585e EC |
2560 | 2001-08-31 Eric Christopher <echristo@redhat.com> |
2561 | Jason Eckhardt <jle@redhat.com> | |
2562 | ||
2563 | * ldmain.c (get_emulation): Add support for -mips32 and -mips64. | |
2564 | ||
3fc90ddb AJ |
2565 | 2001-08-31 Andreas Jaeger <aj@suse.de> |
2566 | ||
2567 | * emultempl/pe.em: Add missing prototypes. | |
2568 | (gld_${EMULATION_NAME}_after_open): Remove extra args to | |
2569 | pe_find_data_imports. | |
2570 | (pr_sym): Add unused attribute. | |
2571 | ||
d43ded80 PB |
2572 | 2001-08-29 Joel Sherrill <joel@OARcorp.com> |
2573 | ||
39e5585e | 2574 | * configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change |
d43ded80 PB |
2575 | default from coff to elf. |
2576 | ||
3946dd2f JL |
2577 | 2001-08-29 Jeff Law <law@redhat.com> |
2578 | ||
2579 | * emulparams/h8300helf.sh: Resync with h8300elf.sh. Update | |
2580 | ARCH specification. | |
2581 | * emulparams/h8300self.sh: Similarly. | |
2582 | ||
3b16e843 | 2583 | 2001-08-28 J"orn Rennecke <amylaar@redhat.com> |
8af6dd41 JR |
2584 | |
2585 | * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and | |
2586 | eh8300self.o . | |
2587 | (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets. | |
2588 | * configure.tgt (h8300-*-elf*): New case. | |
2589 | * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files. | |
2590 | * emulparams/h8300self.sh: New file. | |
2591 | * Makefile.in: Regenerated. | |
2592 | ||
70d0c6e9 NC |
2593 | 2001-08-28 Nick Clifton <nickc@cambridge.redhat.com> |
2594 | ||
2595 | * ldmain.c (main): Rename BSIZE to BufferSize to avoid collision | |
2596 | with macro name. | |
2597 | ||
5c67d4bb AM |
2598 | 2001-08-27 Linus Nordberg <linus@swox.com> |
2599 | Alan Modra <amodra@bigpond.net.au> | |
2600 | ||
2601 | * Makefile.am (ALL_EMULATIONS): Add eelf64ppc.o and eelf64lppc.o. | |
2602 | (eelf64ppc.c, eelf64lppc.c): Add make targets. | |
2603 | Run "make dep-am" | |
2604 | * Makefile.in: Regenerate. | |
2605 | * configure.tgt: Add powerpc64 support. Move pdp11, pjl, pj | |
2606 | entries to correct alphabetical position. | |
2607 | * emulparams/elf64ppc.sh: New. | |
2608 | * emulparams/elf64lppc.sh: New. | |
2609 | ||
08131015 NC |
2610 | 2001-08-27 Nick Clifton <nickc@cambridge.redhat.com> |
2611 | ||
2612 | * ldmain.c (main): Declare BSIZE as static. | |
2613 | ||
db6751f2 JJ |
2614 | 2001-08-23 Jakub Jelinek <jakub@redhat.com> |
2615 | ||
2616 | * emultempl/elf32.em (place_orphan): Place orphan .rel* sections | |
2617 | into .rel.dyn resp. .rela.dyn if combreloc. | |
2618 | (get_script): If .x linker script is equal to .xn, only put it | |
2619 | once into the binary. | |
2620 | Add .xc and .xsc scripts. | |
2621 | (parse_args): Handle -z combreloc and -z nocombreloc. | |
2622 | * scripttempl/elf.sc (.rela.sbss): Fix a typo. | |
2623 | For .xc and .xsc scripts put all .rel* or .rela* input sections | |
2624 | but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn. | |
2625 | * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME | |
2626 | is elf. | |
2627 | Strip trailing whitespace from script. | |
2628 | Generate .xc and .xsc scripts if requested. | |
2629 | * ldmain.c (main): Initialize link_info.combreloc and | |
2630 | link_info.spare_dynamic_tags. | |
2631 | * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define. | |
2632 | (ld_options): Add --spare-dynamic-tags option. | |
2633 | (parse_args): Likewise. | |
2634 | * ld.texinfo: Document -z combreloc and -z nocombreloc. | |
2635 | * ldint.texinfo: Document .xc and .xsc linker scripts. | |
2636 | * NEWS: Add notes about -z combreloc and SHF_MERGE. | |
2637 | ||
63d069c0 L |
2638 | 2001-08-22 H.J. Lu <hjl@gnu.org> |
2639 | ||
2640 | * emulparams/elf32fr30.sh: Add a newline. | |
2641 | ||
948f9114 AJ |
2642 | 2001-08-21 Andreas Jaeger <aj@suse.de> |
2643 | ||
2644 | * deffilep.y: Add missing prototypes. | |
2645 | * pe-dll.c: Likewise. | |
2646 | ||
ae7fb08f AM |
2647 | 2001-08-20 Alan Modra <amodra@bigpond.net.au> |
2648 | ||
2af02257 AM |
2649 | * ldlang.c (insert_pad): Fix typos in last patch. |
2650 | ||
2651 | * ldlang.c: When traversing lang_statement_union_type lists, | |
2652 | consistently use "header.next" rather than "next". | |
2653 | * mpw-eppcmac.c: Likewise. | |
2654 | * emultempl/beos.em: Likewise. | |
2655 | * emultempl/hppaelf.em: Likewise. | |
2656 | * emultempl/pe.em: Likewise. | |
2657 | * ldlang.h (union lang_statement_union): Remove "next" field. | |
2658 | ||
c0c330a7 AM |
2659 | * ldlang.c (insert_pad): Use offsetof macro. |
2660 | (lang_size_sections): Always neuter padding statements. | |
2661 | * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Delete. | |
2662 | ||
ae7fb08f AM |
2663 | * pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param |
2664 | passed to lang_size_sections. | |
2665 | (pe_exe_fill_sections): Likewise. | |
2666 | * emultempl/pe.em (output_prev_sec_find): Copied from elf32.em. | |
2667 | (gld_${EMULATION_NAME}_place_orphan): Merge from elf32.em. | |
2668 | ||
fab80407 AM |
2669 | 2001-08-18 Alan Modra <amodra@bigpond.net.au> |
2670 | ||
2671 | * emultempl/aix.em: Formatting fixes. | |
2672 | ||
b3327aad AM |
2673 | 2001-08-18 Alan Modra <amodra@bigpond.net.au> |
2674 | ||
2675 | * ldlang.c (insert_pad): Make use of an existing pad statement if | |
2676 | available. Move code calculating alignment, adjusting section | |
2677 | alignment power, and adjusting dot to .. | |
2678 | (size_input_section): .. here. Remove unused relax param. | |
2679 | (lang_size_sections): Change boolean `relax' param to boolean *. | |
2680 | Adjust call to size_input_section. Make use of insert_pad to | |
2681 | place pad after the assignment statement. If relaxing, zap | |
2682 | padding statements. | |
2683 | (reset_memory_regions): Reset output_bfd section sizes too. | |
2684 | (relax_again): Move to.. | |
2685 | (lang_process): ..here. Adjust call to lang_size_sections, and | |
2686 | remove duplicated code. | |
2687 | * ldlang.h (lang_size_sections): Change `relax' param to boolean *. | |
2688 | ||
563e308f AM |
2689 | 2001-08-17 Alan Modra <amodra@bigpond.net.au> |
2690 | ||
2691 | * ld.texinfo: Document that fill values now use the four least | |
2692 | significant bytes. | |
2693 | * emulparams/elf32fr30.sh (NOP): Update. | |
2694 | * emulparams/elf32mcore.sh: Likewise. | |
2695 | * emulparams/elf64_s390.sh: Likewise. | |
2696 | * emulparams/elf_i386.sh: Likewise. | |
2697 | * emulparams/elf_i386_be.sh: Likewise. | |
2698 | * emulparams/elf_i386_chaos.sh: Likewise. | |
2699 | * emulparams/elf_i386_ldso.sh: Likewise. | |
2700 | * emulparams/elf_s390.sh: Likewise. | |
2701 | * emulparams/elf_x86_64.sh: Likewise. | |
2702 | * emulparams/i386moss.sh: Likewise. | |
2703 | * emulparams/i386nw.sh: Likewise. | |
2704 | * emulparams/m68kelf.sh: Likewise. | |
2705 | * scripttempl/elf.sc: Update NOP comment. | |
2706 | * scripttempl/elfi370.sc: Likewise. | |
2707 | * scripttempl/elfm68hc11.sc: Likewise. | |
2708 | * scripttempl/elfm68hc12.sc: Likewise. | |
2709 | * scripttempl/nw.sc: Likewise. | |
2710 | ||
b90e1c6f TR |
2711 | 2001-08-15 Tom Rix <trix@redhat.com> |
2712 | ||
2713 | * ldgram.y (saved_script_handle): Initialize to NULL. | |
2714 | * ldmain.c (main): Change check on saved_script_handle. | |
948f9114 | 2715 | |
39dcfe18 AM |
2716 | 2001-08-14 Alan Modra <amodra@bigpond.net.au> |
2717 | ||
cde43e70 AM |
2718 | * emultempl/elf32.em: Formatting fixes. |
2719 | (output_prev_sec_find): Test for bfd_ind_section too; do so by | |
2720 | looking at sec->owner. | |
2721 | (output_rel_find): Move function inside LDEMUL_PLACE_ORPHAN test. | |
2722 | (gld${EMULATION_NAME}_place_orphan): Add a few comments. Remove | |
2723 | unused code, and reorganize orphan section placement code. | |
2724 | ||
39dcfe18 AM |
2725 | * ldlang.c (wild_doit): Rename to lang_add_section. |
2726 | * ldlang.h: Here too. | |
2727 | * mpw-elfmips.c: And here. | |
2728 | * emultempl/beos.em: And here. | |
2729 | * emultempl/elf32.em: And here. | |
2730 | * emultempl/hppaelf.em: And here. | |
2731 | * emultempl/pe.em: And here. | |
2732 | ||
908d20b3 RH |
2733 | 2001-08-13 Richard Henderson <rth@redhat.com> |
2734 | ||
2735 | * emultempl/needrelax.em: New file. | |
2736 | * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it. | |
2737 | * Makefile.am (eelf64_ia64.c): Depend on it. | |
2738 | * Makefile.in: Rebuild. | |
2739 | ||
0f33d40b AM |
2740 | 2001-08-13 Alan Modra <amodra@bigpond.net.au> |
2741 | ||
22af9fd3 AM |
2742 | * emultempl/elf32.em: For SEC_EXCLUDE sections, ensure that |
2743 | output_section is set non-NULL. | |
2744 | ||
0f33d40b AM |
2745 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Return |
2746 | `true' for SEC_EXCLUDE sections so that the generic code doesn't | |
2747 | needlessly create an output_section_statement. Treat a correctly | |
2748 | named output_section_statement with NULL bfd_section as compatible. | |
2749 | ||
55ab6103 HPN |
2750 | 2001-08-13 Hans-Peter Nilsson <hp@bitrange.com> |
2751 | ||
2752 | * emultempl/generic.em: Support EXTRA_EM_FILE. | |
2753 | (ld_${EMULATION_NAME}_emulation): Support emulation parameters | |
2754 | LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL, | |
2755 | LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION, | |
2756 | LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET, | |
2757 | LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH, | |
2758 | LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS, | |
2759 | LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN, | |
2760 | LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE, | |
2761 | LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE, | |
2762 | LDEMUL_FIND_POTENTIAL_LIBRARIES. | |
2763 | ||
24098abb RH |
2764 | 2001-08-12 Richard Henderson <rth@redhat.com> |
2765 | ||
2766 | * scripttempl/elf.sc, scripttempl/elfd30v.sc, | |
2767 | scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc, | |
2768 | scripttempl/v850.sc: Keep .jcr data. | |
2769 | ||
b9a8de1e | 2770 | 2001-08-12 H.J. Lu <hjl@gnu.org> |
146e7110 AM |
2771 | Andrew Haley <aph@cambridge.redhat.com> |
2772 | Nick Clifton <nickc@redhat.com> | |
b9a8de1e | 2773 | |
146e7110 | 2774 | * ldgram.y (had_script): Change name to saved_script_handle. |
b9a8de1e NC |
2775 | Change type to file handle. |
2776 | * ld.h (had_script): Rename and retype. | |
2777 | * ldfile.c (ldfile_open_command_file): Save the file handle | |
2778 | used in saved_script_handle. | |
2779 | * lexsup.c (parse_args): Do not allow -c option to alter | |
2780 | saved_script_handle. | |
2781 | * ldmain.c (main): Print out the linker script used if | |
2782 | --verbose is given. Check saved_script_handle to obtain the | |
2783 | external linker script used, or if NULL, dump the builtin | |
2784 | script. | |
2785 | * ld.texinfo: Document that --verbose now dumps the linker | |
2786 | script used, regardless of whether it was an internal or an | |
2787 | external script. | |
2788 | ||
0218d1e4 AJ |
2789 | 2001-08-10 Andreas Jaeger <aj@suse.de> |
2790 | ||
2791 | * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes | |
2792 | to build warnings. | |
2793 | * configure: Regenerate. | |
2794 | ||
5253f23b AM |
2795 | 2001-08-09 Alan Modra <amodra@bigpond.net.au> |
2796 | ||
73810896 AM |
2797 | * emultempl/elf32.em (output_prev_sec_find): Add missing prototype. |
2798 | ||
5253f23b AM |
2799 | * scripttempl/elf.sc: Move non-text .dynamic section before |
2800 | .plt/.got/.sdata* group. | |
2801 | (OTHER_GOT_SECTIONS): Move to immediately after .got. | |
2802 | (OTHER_SDATA_SECTIONS): Add. | |
2803 | * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than | |
2804 | OTHER_GOT_SECTIONS. | |
2805 | * emulparams/crislinux.sh: Likewise. | |
2806 | * emulparams/elf32b4300.sh: Likewise. | |
2807 | * emulparams/elf32bmip.sh: Likewise. | |
2808 | * emulparams/elf32bmipn32.sh: Likewise. | |
2809 | * emulparams/elf32bsmip.sh: Likewise. | |
2810 | * emulparams/elf32btsmip.sh: Likewise. | |
2811 | * emulparams/elf32ebmip.sh: Likewise. | |
2812 | * emulparams/elf32elmip.sh: Likewise. | |
2813 | * emulparams/elf32l4300.sh: Likewise. | |
2814 | * emulparams/elf32lmip.sh: Likewise. | |
2815 | * emulparams/elf32lsmip.sh: Likewise. | |
2816 | * emulparams/elf32ltsmip.sh: Likewise. | |
2817 | * emulparams/elf64bmip.sh: Likewise. | |
2818 | * emulparams/elf64btsmip.sh: Likewise. | |
2819 | * emulparams/elf64ltsmip.sh: Likewise. | |
2820 | ||
179c732c AM |
2821 | 2001-08-08 Alan Modra <amodra@bigpond.net.au> |
2822 | ||
2823 | * genscripts.sh: Source the emulparams script before each output | |
2824 | script is generated so that variables like `RELOCATING' may affect | |
2825 | variables defined in the emulparams script. | |
2826 | ||
3fd36710 AM |
2827 | 2001-08-04 Alan Modra <amodra@bigpond.net.au> |
2828 | ||
20713691 AM |
2829 | * emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this |
2830 | order. | |
2831 | ||
3fd36710 AM |
2832 | * emultempl/beos.em (sort_sections): Modify for 2001-08-03 change, |
2833 | ie. iterate over wild_statement.section_list. | |
2834 | (gld${EMULATION_NAME}_place_orphan): Likewise. | |
2835 | ||
de0b1853 SC |
2836 | 2001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
2837 | ||
2838 | * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handle | |
2839 | .fini[0-4] sections used by _exit | |
2840 | (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM. | |
2841 | (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*. | |
2842 | * scripttempl/elfm68hc11.sc: Likewise. | |
2843 | ||
ff7e6f88 L |
2844 | 2001-08-03 H.J. Lu <hjl@gnu.org> |
2845 | ||
2846 | * emultempl/beos.em (init): Add the missing initialization. | |
2847 | ||
b6bf44ba AM |
2848 | 2001-08-03 Alan Modra <amodra@bigpond.net.au> |
2849 | ||
2850 | * ld.texinfo (Input Section Basics): Clarify ordering of output | |
2851 | sections. | |
2852 | * ldlang.c (callback_t): Add wildcard_list param. | |
2853 | (walk_wild_section): Remove "section" param. Rewrite for | |
2854 | lang_wild_statement_type change. Remove unique_section_p test. | |
2855 | (walk_wild_file): Remove "section" param. | |
2856 | (walk_wild): Remove "section" and "file" params. | |
2857 | (lang_gc_wild): Likewise. | |
2858 | (wild): Likewise. Modify for lang_wild_statement_type change. | |
2859 | (wild_sort): Likewise. Add "sec" param. | |
2860 | (gc_section_callback): Likewise. | |
2861 | (output_section_callback): Likewise. Do unique_section_p test. | |
2862 | (map_input_to_output_sections): Modify call to wild. | |
2863 | (lang_gc_sections_1): Likewise. | |
2864 | (print_wild_statement): Modify for lang_wild_statement_type | |
2865 | change. | |
2866 | (lang_add_wild): Replace filename, filenames_sorted param with | |
2867 | filespec. Replace section_name, sections_sorted, | |
2868 | exclude_filename_list with section_list. | |
2869 | * ldlang.h (lang_add_wild): Here too. | |
2870 | (lang_wild_statement_type): Replace section_name, sections_sorted, | |
2871 | and exclude_filename_list with section_list. | |
2872 | * ldgram.y (current_file): Delete. | |
2873 | (%union): Add wildcard_list. | |
2874 | (file_NAME_list): Set type to wildcard_list. Build a linked list | |
2875 | rather than calling lang_add_wild for each entry. | |
2876 | (input_section_spec_no_keep): Call lang_add_wild here instead. | |
2877 | * ld.h (struct wildcard_list): Declare. | |
2878 | * mri.c (mri_draw_tree): Modify to suit new lang_add_wild. | |
2879 | ||
b044cda1 CW |
2880 | 2001-08-02 Charles Wilson <cwilson@ece.gatech.edu> |
2881 | ||
2882 | * ldmain.c (main): initialize link_info.pei386_auto_import | |
2883 | * pe-dll.c: new tables for auto-export filtering | |
2884 | (auto_export): change API, pass abfd for contextual filtering. | |
b6bf44ba | 2885 | Loop thru tables of excluded symbols instead of comparing |
b044cda1 CW |
2886 | "by hand". |
2887 | ||
2888 | 2001-08-02 Paul Sokolovsky <paul.sokolovsky@technologist.com> | |
2889 | ||
b6bf44ba AM |
2890 | * pe-dll.c: new variable pe_dll_enable_extra_debug. New |
2891 | static variable current_sec (static struct sec *). Add | |
b044cda1 | 2892 | forward declaration for add_bfd_to_link. |
b6bf44ba AM |
2893 | (process_def_file): Don't export undefined symbols. Do not |
2894 | export symbols starting with "_imp__". Call auto_export() | |
b044cda1 CW |
2895 | with new API. |
2896 | (pe_walk_relocs_of_symbol): New function. | |
2897 | (generate_reloc): add optional extra debugging | |
b6bf44ba | 2898 | (pe_dll_generate_def_file): eliminate extraneous initial blank |
b044cda1 | 2899 | line in output |
b6bf44ba | 2900 | (make_one): enlarge symtab to make room for __nm__ symbols |
b044cda1 CW |
2901 | (DATA auto-import support). |
2902 | (make_singleton_name_thunk): New function. | |
2903 | (make_import_fixup_mark): New function. | |
2904 | (make_import_fixup_entry): New function. | |
2905 | (pe_create_import_fixup): New function. | |
b6bf44ba | 2906 | (add_bfd_to_link): Specify that 'name' argument is a CONST |
b044cda1 | 2907 | char *. |
b6bf44ba AM |
2908 | * pe-dll.h: declare new variable pe_dll_extra_pe_debug; |
2909 | declare new functions pe_walk_relocs_of_symbol and | |
b044cda1 CW |
2910 | pe_create_import_fixup. |
2911 | * emultempl/pe.em: add new options --enable-auto-import, | |
2912 | --disable-auto-import, and --enable-extra-pe-debug. | |
2913 | (make_import_fixup): New function. | |
2914 | (pe_find_data_imports): New function. | |
2915 | (pr_sym): New function. | |
b6bf44ba | 2916 | (gld_${EMULATION_NAME}_after_open): Add optional extra pe |
b044cda1 CW |
2917 | debugging. Call pe_find_data_imports. Mark .idata as DATA, not |
2918 | CODE. | |
2919 | ||
2920 | 2001-08-02 Charles Wilson <cwilson@ece.gatech.edu> | |
b6bf44ba | 2921 | |
b044cda1 CW |
2922 | * ld.texinfo: add additional documentation for |
2923 | --export-all-symbols. Document --out-implib, | |
2924 | --enable-auto-image-base, --disable-auto-image-base, | |
b6bf44ba AM |
2925 | --dll-search-prefix, --enable-auto-import, and |
2926 | --disable-auto-import. | |
b044cda1 CW |
2927 | * ldint.texinfo: Add detailed documentation on auto-import |
2928 | implementation. | |
2929 | ||
156e34dd NC |
2930 | 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com> |
2931 | ||
2932 | * ld.texinfo (Simple Assignments): Fix computation in SECTIONS | |
2933 | example. | |
2934 | ||
d6231427 AM |
2935 | 2001-07-24 Alan Modra <amodra@bigpond.net.au> |
2936 | ||
2937 | * Makefile.am: Update dependencies with "make dep-am". | |
2938 | * Makefile.in: Regenerate | |
2939 | ||
e14ec88b AM |
2940 | 2001-07-23 Alan Modra <amodra@bigpond.net.au> |
2941 | ||
2942 | * ldcref.c (check_section_sym_xref): New function. | |
2943 | (check_nocrossrefs): Call it. | |
2944 | (check_nocrossref): Interate over h->refs here instead of.. | |
2945 | (check_refs): ..here. Pass in the symbol name, section, and bfd | |
2946 | rather than hash_entry pointers. | |
2947 | (struct check_refs_info): Keep symbol name rather than hash entry. | |
2948 | Remove "same". | |
2949 | (check_reloc_refs): Tweak for above changes in check_refs_info. | |
2950 | Only report references to section syms when symname is NULL to | |
2951 | prevent duplicate messages for the same reloc. | |
2952 | ||
1b577b00 NC |
2953 | 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com> |
2954 | ||
c7d701b0 NC |
2955 | * ldexp.c (exp_print_tree): Use stderr if config.map_file is not |
2956 | available. Do not print NULL trees. | |
2957 | (exp_print_token): Print unknown tokens with values > 126 as | |
2958 | decimal values not ASCII characters. | |
2959 | ||
1545243b NC |
2960 | * ldlang.c (lang_leave_overlay): If a region is specified assign |
2961 | it to all sections inside the overlay unless they have been | |
2962 | assigned to the own, non-default, memory region. | |
2963 | ||
1b577b00 NC |
2964 | * README: Add header for consistency with other README files. |
2965 | ||
5030876b L |
2966 | 2001-07-14 H.J. Lu <hjl@gnu.org> |
2967 | ||
2968 | * emultempl/elf32.em (output_prev_sec_find): Never return | |
2969 | bfd_abs_section_ptr, bfd_com_section_ptr nor | |
2970 | bfd_und_section_ptr. | |
2971 | ||
18c7a9a5 NC |
2972 | 2001-07-14 Nick Clifton <nickc@cambridge.redhat.com> |
2973 | ||
22af9fd3 | 2974 | * Makefile.am (em32relf.c): Change dependency from generic.em to |
18c7a9a5 NC |
2975 | elf32.em. |
2976 | * Makefile.in: Regenerate. | |
2977 | ||
9ffecff1 MG |
2978 | 2001-07-14 matthew green <mrg@eterna.com.au> |
2979 | ||
2980 | * configure.tgt (i386-*-netbsdelf*): New target. | |
2981 | (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386' | |
2982 | ||
95500e1c JJ |
2983 | 2001-07-13 Jakub Jelinek <jakub@redhat.com> |
2984 | ||
2985 | * emultempl/elf32.em (output_prev_sec_find): New. | |
2986 | (place_orphan): Use it. | |
2987 | ||
e97cb84f L |
2988 | 2001-07-11 H.J. Lu <hjl@gnu.org> |
2989 | ||
2990 | * ldmain.c (main): Fix typos in the last change. | |
2991 | ||
7333607e JJ |
2992 | 2001-07-11 Jakub Jelinek <jakub@redhat.com> |
2993 | ||
2994 | * ldmain.c (main): Disallow -F and -f without -shared. | |
2995 | ||
d29d80f2 NC |
2996 | 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com> |
2997 | ||
2998 | * emultempl/pe.em (after_open): Check for the output_bfd not | |
2999 | having any coff_data structure allocated to it. | |
3000 | ||
c2a1a436 DB |
3001 | 2001-07-09 David O'Brien <obrien@FreeBSD.org> |
3002 | ||
3003 | * emultempl/elf32.em: Do not assuming that contents of the buffer | |
3004 | returned from basename function will remain unchanged accross other | |
3005 | function calls. | |
3006 | ||
63653551 L |
3007 | 2001-07-03 H.J. Lu <hjl@gnu.org> |
3008 | ||
3009 | * scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on | |
3010 | 2001-07-03. It creates dynamic entries even for static binaries. | |
3011 | ||
d303a449 L |
3012 | 2001-07-03 Jakub Jelinek <jakub@redhat.com> |
3013 | ||
3014 | * scripttempl/elf.sc (DYNAMIC_PAD): New variable. | |
3015 | (DYNAMIC): Use it to reserve few dynamic entries for | |
3016 | post-linking tools. | |
3017 | ||
9f22353f AM |
3018 | 2001-06-27 Alan Modra <amodra@bigpond.net.au> |
3019 | ||
3020 | * emulparams/hppa64linux.sh: New file. | |
3021 | * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh | |
3022 | * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o | |
3023 | (ehppa64linux.c): Add rule to make it. | |
3024 | Run "make dep-am". | |
3025 | * Makefile.in: Regenerate. | |
3026 | ||
62bf86b4 HPN |
3027 | 2001-06-21 Hans-Peter Nilsson <hp@axis.com> |
3028 | ||
3029 | * ld.texinfo (Options, -r): Mention restrictions when using | |
3030 | different object formats. | |
3031 | ||
429d935d HPN |
3032 | 2001-06-19 Hans-Peter Nilsson <hp@axis.com> |
3033 | ||
3034 | * ldlang.c (lang_check): Emit fatal error if relocatable link | |
3035 | between different object flavours with relocations in input. | |
3036 | ||
cb840a31 L |
3037 | 2001-06-19 H.J. Lu <hjl@gnu.org> |
3038 | ||
3039 | * ld.texinfo (-E, --export-dynamic): Mention --version-script. | |
3040 | (--version-script): Mention the language support. | |
3041 | ||
9bf03acc L |
3042 | 2001-06-19 H.J. Lu <hjl@gnu.org> |
3043 | ||
3044 | * ldlang.c (lang_check): Revert the change mode on 2001-06-15. | |
3045 | ||
c45021f2 NC |
3046 | 2001-06-18 H.J. Lu <hjl@gnu.org> |
3047 | ||
b6bf44ba AM |
3048 | * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'. |
3049 | (diststuff): Add $(MANS). | |
3050 | * Makefile.in: Regenerated. | |
c45021f2 | 3051 | |
b6bf44ba | 3052 | * ld.1: Removed. |
c45021f2 | 3053 | |
6caa99ab HPN |
3054 | 2001-06-18 Hans-Peter Nilsson <hp@axis.com> |
3055 | ||
605d9b3a HPN |
3056 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): |
3057 | Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections. | |
3058 | * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto. | |
3059 | * ld.h (args_type): Remove member export_dynamic. All users | |
3060 | changed to use struct bfd_link_info member. | |
3061 | ||
6caa99ab HPN |
3062 | * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on |
3063 | $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em. | |
3064 | * Makefile.in: Regenerate. | |
3065 | ||
6f9efd97 L |
3066 | 2001-06-18 H.J. Lu <hjl@gnu.org> |
3067 | ||
3068 | * ldlang.c (init_os): Add the newline to the einfo call. | |
3069 | (lang_check): Likewise. | |
3070 | (lang_do_version_exports_section): Likewise. | |
3071 | ||
5af9fd8b L |
3072 | 2001-06-15 H.J. Lu <hjl@gnu.org> |
3073 | ||
3074 | * lexsup.c (parse_args); Save optind to report unrecognized | |
3075 | option. | |
3076 | ||
2a096f04 HPN |
3077 | 2001-06-15 Hans-Peter Nilsson <hp@axis.com> |
3078 | ||
7e66c3f5 HPN |
3079 | * ldlang.c (lang_check): Emit fatal error if relocatable link |
3080 | between different object flavours. | |
3081 | ||
2a096f04 HPN |
3082 | * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>: |
3083 | Set new link_info member export_dynamic. | |
3084 | * ldmain.c (main): Initialize new link_info member export_dynamic. | |
3085 | ||
6770ec8c NC |
3086 | 2001-06-12 Nick Clifton <nickc@cambridge.redhat.com> |
3087 | ||
3088 | * ldlang.c (walk_wild): Only call walk_wild_file if | |
3089 | lookup_name returns something. | |
b6bf44ba | 3090 | (lookup_name): If load_symbols fails, return NULL. |
22af9fd3 | 3091 | (load_symbols): Change to a boolean function. |
b6bf44ba | 3092 | (open_input_bfds): If load_symbols fails then do not make the |
6770ec8c NC |
3093 | executable. |
3094 | ||
8529105a AM |
3095 | 2001-06-08 Alan Modra <amodra@bigpond.net.au> |
3096 | ||
3097 | * ldlang.c (record_bfd_errors): Remove. | |
3098 | ||
3099 | * emultempl/aix.em: Fix copyright dates. | |
3100 | ||
8f3aa7a0 AJ |
3101 | 2001-06-07 Andreas Jaeger <aj@suse.de> |
3102 | ||
3103 | * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase. | |
3104 | (TEXT_START_ADDR): Likewise. | |
3105 | ||
3277f888 AM |
3106 | 2001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com> |
3107 | ||
3108 | * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390. | |
3109 | ||
3763134d DD |
3110 | 2001-06-05 Danny Smith <danny_r_smith_2001@yahoo.co.nz> |
3111 | ||
3112 | * emultempl/pe.em (init): Reduce default stack reserve to 0x200000. | |
3113 | ||
5929ebc0 L |
3114 | 2001-05-31 H.J. Lu <hjl@gnu.org> |
3115 | ||
3116 | * ldlang.c (open_input_bfds): Don't change the bfd error | |
3117 | handler whilst loading symbols. | |
3118 | ||
c04a062d NC |
3119 | 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com> |
3120 | ||
3121 | * configure.tgt: Remove i370-mvs architecture, it is not currently | |
3122 | supported. | |
3123 | ||
96fcab3e L |
3124 | 2001-05-25 H.J. Lu <hjl@gnu.org> |
3125 | ||
3126 | * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK | |
3127 | like emulparams/aixppc.sh. | |
3128 | ||
db8d4f23 L |
3129 | 2001-05-25 H.J. Lu <hjl@gnu.org> |
3130 | ||
3131 | * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move | |
3132 | setting of output_filename after bfd_scan_arch. | |
3133 | * emultempl/pe.em: Likewise. | |
3134 | ||
5f642101 L |
3135 | 2001-05-25 H.J. Lu <hjl@gnu.org> |
3136 | ||
3137 | * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK | |
3138 | like emulparams/aixppc.sh. | |
3139 | ||
3140 | * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed | |
3141 | instead of ${srcdir}/emultempl/stringify.sed. | |
3142 | ||
64e9ece0 TW |
3143 | 2001-05-25 Timothy Wall <twall@oculustech.com> |
3144 | ||
3145 | * emulparams/elf64_aix.sh: Change settings to match IBM linker | |
8f3aa7a0 | 3146 | output. |
64e9ece0 | 3147 | |
c709b096 AM |
3148 | 2001-05-25 Alan Modra <amodra@one.net.au> |
3149 | ||
3150 | * configure.host: Replace linuxoldld with linux*oldld. | |
3151 | * configure.tgt: Likewise. | |
3152 | ||
6cbdcc6f L |
3153 | 2001-05-24 H.J. Lu <hjl@gnu.org> |
3154 | ||
3155 | * emultempl/stringify.sed: Removed again. | |
3156 | ||
86af25fe L |
3157 | 2001-05-24 H.J. Lu <hjl@gnu.org> |
3158 | ||
3159 | * emultempl/aix.em (OUTPUT_ARCH): Defined. | |
3160 | (gld${EMULATION_NAME}_before_parse): Initialize | |
3161 | ldfile_output_architecture, ldfile_output_machine and | |
3162 | ldfile_output_machine_name from ${OUTPUT_ARCH} if possible. | |
3163 | * emultempl/beos.em: Likewise. | |
3164 | * emultempl/elf32.em: Likewise. | |
3165 | * emultempl/linux.em: Likewise. | |
3166 | * emultempl/mipsecoff.em: Likewise. | |
3167 | * emultempl/pe.em: Likewise. | |
3168 | * emultempl/sunos.em: Likewise. | |
3169 | ||
3b1b01cf TR |
3170 | 2001-05-24 Tom Rix <trix@redhat.com> |
3171 | ||
8f3aa7a0 | 3172 | * emultempl/aix.em : (gld${EMULATION_NAME}_read_file) |
3b1b01cf TR |
3173 | udate import file format. |
3174 | (change_symbol_mode) New, same | |
3175 | (is_syscall) New, same | |
3176 | * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK | |
3177 | * emulparams/aixppc64.sh : same | |
3178 | * emulparams/aixrs6.sh : same | |
3179 | * emulparams/ppcmacos.sh : same | |
3180 | * emultempl/aix.em : use strtoull to parse options | |
3181 | * Makefile.am : add eaixppc64 emulation for xcoff64 | |
3182 | * Makefile.in : same | |
3183 | * configure.tgt : same | |
3184 | ||
3185 | * scripttempl/aix.sc : default text section offset to 0x10000000 | |
146e7110 | 3186 | default data section offset to 0x20000000 |
3b1b01cf | 3187 | add .sv3264 and .sv64 pseudo sections |
8f3aa7a0 | 3188 | loader and debug sections use the currect section offset. |
3b1b01cf TR |
3189 | |
3190 | * emultempl/aix.em : Add xcoff64 support | |
3191 | Add -binitfini support | |
8f3aa7a0 | 3192 | (gld${EMULATION_NAME}_before_parse) -binitfini |
3b1b01cf | 3193 | (gld${EMULATION_NAME}_parse_args) same |
8f3aa7a0 | 3194 | (gld${EMULATION_NAME}_before_allocation) format change for special |
3b1b01cf TR |
3195 | sections |
3196 | ||
3197 | * emulparams/aixppc64.sh : New file for xcoff64 support | |
8f3aa7a0 | 3198 | |
57e6abd2 AO |
3199 | 2001-05-23 Alexandre Oliva <aoliva@redhat.com> |
3200 | ||
3201 | * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new | |
3202 | variable to avoid non-portable shell construct. | |
3203 | ||
d1cf510e NC |
3204 | 2001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
3205 | ||
3206 | * ldmain.c (get_emulation): Add -mips5 command line argument. | |
3207 | ||
506eee22 NC |
3208 | 2001-05-22 Alexandre Oliva <aoliva@redhat.com> |
3209 | ||
3210 | * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh. | |
3211 | (ELF_INTERPRETER_NAME): Define it. | |
3212 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use | |
3213 | it. | |
3214 | * configure.tgt (targ_emul, targ_extra_emuls) | |
3215 | [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso | |
3216 | as primary, elf_i386 as extra. | |
3217 | * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o. | |
3218 | (eelf_i386_ldso.c): New rule. | |
3219 | * Makefile.in: Rebuilt. | |
3220 | ||
3221 | 2001-05-22 Nick Clifton <nickc@redhat.com> | |
3222 | ||
3223 | * lexsup.c (ld_options): Allow -I to be an alias for | |
3224 | --dynamic-linker. This is for Solaris compatability. | |
3225 | * ld.texinfo: Document that -I can be used. | |
3226 | * ld.1: Regenerate. | |
3227 | ||
d1778b88 AM |
3228 | 2001-05-16 Alan Modra <amodra@one.net.au> |
3229 | ||
3230 | * ldlang.c (wild_doit): Use linker_has_input to reliably determine | |
3231 | whether an input section is the first one assigned to an output | |
3232 | section. | |
3233 | Assorted formatting fixes. | |
3234 | ||
02649152 DD |
3235 | 2001-05-14 DJ Delorie <dj@delorie.com> |
3236 | ||
3237 | * Makefile.am (ld.dvi): Search bfd/doc for texinfo files. | |
3238 | * Makefile.in: Ditto. | |
3239 | ||
579f31ac JJ |
3240 | 2001-05-11 Jakub Jelinek <jakub@redhat.com> |
3241 | ||
3242 | * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put | |
3243 | .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind* | |
3244 | output sections. | |
3245 | * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise. | |
3246 | ||
8550eb6e JJ |
3247 | 2001-05-11 Jakub Jelinek <jakub@redhat.com> |
3248 | ||
3249 | * ldlang.c (lang_process): Call bfd_merge_sections. | |
3250 | ||
8e5a525c AM |
3251 | 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
3252 | ||
3253 | * ldgram.y: Fix typo. | |
3254 | ||
1c9acd94 L |
3255 | 2001-05-03 H.J. Lu <hjl@gnu.org> |
3256 | ||
3257 | * emultempl/elf32.em: Include "libiberty.h". | |
3258 | (gld${EMULATION_NAME}_vercheck): Call basename () to get the | |
3259 | basename of the bfd filename. | |
3260 | (gld${EMULATION_NAME}_stat_needed): Likewise. | |
3261 | (gld${EMULATION_NAME}_try_needed): Likewise. | |
3262 | (gld${EMULATION_NAME}_open_dynamic_archive): Likewise. | |
3263 | ||
14fe918e L |
3264 | 2001-05-02 H.J. Lu <hjl@gnu.org> |
3265 | ||
3266 | * emultempl/pe.em: Include <ctype.h>. | |
3267 | ||
c7e40348 NC |
3268 | 2001-05-02 Johan Rydberg <jrydberg@opencores.org> |
3269 | ||
b6bf44ba | 3270 | * emulparams/elf32openrisc.sh: New file. |
c7e40348 | 3271 | |
b6bf44ba AM |
3272 | * Makefile.am: Add OpenRISC target. |
3273 | * Makefile.in: Regenerated. | |
c7e40348 | 3274 | |
b6bf44ba | 3275 | * configure.tgt: Add openrisc-*-* mapping. |
c7e40348 NC |
3276 | |
3277 | 2001-05-02 Nick Clifton <nickc@redhat.com> | |
3278 | ||
3279 | * emultempl/aix.em: Replace buystring with xstrdup. | |
3280 | * emultempl/beos.em: Replace buystring with xstrdup. | |
8f3aa7a0 | 3281 | |
d1b2b2dc L |
3282 | 2001-05-02 H.J. Lu <hjl@gnu.org> |
3283 | ||
3284 | * ldfile.c: Include "libiberty.h". | |
3285 | * ldlex.l: Likewise. | |
3286 | ||
3287 | * ldmisc.c (buystring): Removed. | |
3288 | * ldmisc.h: Likewise. | |
3289 | ||
3290 | * ldfile.c: Replace buystring with xstrdup. | |
3291 | * ldlang.c: Likewise. | |
3292 | * ldlex.l: Likewise. | |
3293 | * ldmain.c: Likewise. | |
3294 | * ldmisc.c: Likewise. | |
3295 | * lexsup.c: Likewise. | |
3296 | * mpw-eppcmac.c: Likewise. | |
3297 | ||
35714f2a AJ |
3298 | 2001-04-30 Andreas Jaeger <aj@suse.de> |
3299 | ||
3300 | * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value. | |
3301 | ||
884fb58e NC |
3302 | 2001-04-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com> |
3303 | ||
b6bf44ba AM |
3304 | * ldlang.c (load_symbols): Give emulation a chance |
3305 | to process unrecognized file before fatal error is | |
3306 | reported, not after. | |
884fb58e | 3307 | |
87748b32 NC |
3308 | 2001-04-27 Sean McNeil <sean@mcneil.com> |
3309 | ||
3310 | * configure.tgt: Add arm-vxworks target. | |
3311 | * scripttempl/armcoff.sc: Support .text or .data as a section name | |
3312 | prefix. | |
3313 | Define _etext. | |
35714f2a | 3314 | |
7ce691ae C |
3315 | 2001-04-13 J.T. Conklin <jtc@redback.com> |
3316 | ||
3317 | * ld.texinfo: Document --fatal-warnings. | |
3318 | * ld.1: Regenerate. | |
3319 | ||
3320 | * ldmisc.c (vfinfo): Set flag to inhibit making executable if | |
35714f2a | 3321 | warnings have been turned into errors. |
7ce691ae C |
3322 | * lexsup.c (OPTION_WARN_FATAL): Define. |
3323 | (ld_options): Entry for --fatal-warnings. | |
3324 | (parse_args): Handle OPTION_WARN_FATAL. | |
3325 | * ld.h (ld_config_type): Add fatal_warnings field. | |
3326 | ||
f5fa8ca2 JJ |
3327 | 2001-04-13 Jakub Jelinek <jakub@redhat.com> |
3328 | ||
3329 | * ldmain.c (main): Default to discard_sec_merge. | |
3330 | * lexsup.c (OPTION_DISCARD_NONE): Define. | |
3331 | (ld_options): Add --discard-none. | |
3332 | (parse_args): Handle OPTION_DISCARD_NONE. | |
3333 | * ldlang.c (wild_doit): SEC_MERGE should be set in the output | |
3334 | section only if SEC_MERGE and SEC_STRINGS flags and entsize of | |
3335 | all its input sections match. | |
3336 | ||
fdec3cfc L |
3337 | 2001-04-05 Steven J. Hill <sjhill@cotw.com> |
3338 | ||
3339 | * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o. | |
3340 | (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o. | |
3341 | (eelf32ltsmip.c): New target. | |
3342 | (eelf64btsmip.c): Likewise. | |
3343 | (eelf64ltsmip.c): Likewise. | |
3344 | * Makefile.in: Regenerated. | |
3345 | ||
3346 | * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS | |
3347 | target. | |
3348 | (mips*-*-linux-gnu*): Likewise. | |
3349 | ||
3350 | * emulparams/elf32ltsmip.sh: New. Traditional little endian | |
3351 | MIPS taget. | |
35714f2a | 3352 | * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian |
fdec3cfc L |
3353 | target. |
3354 | * emulparams/elf64ltsmip.sh: New. Traditional 64bit little | |
3355 | endian target. | |
3356 | ||
589bad82 HPN |
3357 | 2001-04-05 Hans-Peter Nilsson <hp@axis.com> |
3358 | ||
3359 | * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide | |
3360 | correct value of __Stext here. | |
3361 | (TEXT_START_SYMBOLS): Define; always define __Stext, to start of | |
3362 | .startup section. | |
3363 | ||
3364 | * emulparams/crislinux.sh: Remove FIXME. | |
3365 | ||
94202e16 AM |
3366 | 2001-04-02 Alan Modra <alan@linuxcare.com.au> |
3367 | ||
3368 | * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k. | |
3369 | (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise. | |
3370 | ||
1268a053 HPN |
3371 | 2001-03-27 Hans-Peter Nilsson <hp@axis.com> |
3372 | ||
3373 | * configure.tgt (cris-*-*): Change default emulation to criself. | |
3374 | (cris-*-*aout*): New rule. | |
3375 | ||
d85e9ff7 AM |
3376 | 2001-03-27 Matthew Wilcox <willy@ldl.fc.hp.com> |
3377 | ||
3378 | * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000. | |
3379 | (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto. | |
3380 | ||
0879a67a AJ |
3381 | 2001-03-26 Andreas Jaeger <aj@suse.de> |
3382 | ||
3383 | * ld.texinfo (Overview): Fix syntax in texi code. | |
3384 | ||
0285c67d NC |
3385 | 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
3386 | ||
3387 | * ld.texinfo: Put @c man indications to generate the ld man page. | |
3388 | When generating man, define all the variables. Define SEEALSO | |
3389 | and SYNOPSIS. Re-organize some lines to avoid the cross references. | |
3390 | * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables. | |
3391 | (ld.1): Generate from ld.texinfo. | |
3392 | * Makefile.in: Regenerate. | |
3393 | ||
c20ec07b NC |
3394 | 2001-03-23 Mark Elbrecht <snowball3@bigfoot.com> |
3395 | ||
3396 | * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections' | |
146e7110 | 3397 | and '-fdata-sections'. Set the VMA of STABS sections to zero. |
c20ec07b | 3398 | |
cc5ce052 UD |
3399 | 2001-03-17 Ulrich Drepper <drepper@redhat.com> |
3400 | ||
3401 | * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME | |
3402 | is an absolute path look only for this file and not along the path. | |
3403 | ||
a1ab1d2a UD |
3404 | 2001-03-17 Ulrich Drepper <drepper@redhat.com> |
3405 | ||
3406 | * emultempl/elf32.em (OPTION_GROUP): New macro. | |
3407 | Add new option Bgroup to longopts. | |
3408 | (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs. | |
3409 | (gld*_list_options): Add -Bgroup and -z defs. | |
3410 | * ld.1: Document -Bgroup and -z defs. | |
3411 | * ld.texinfo: Likewise. | |
3412 | ||
788fca5a MM |
3413 | 2001-03-07 Michael Meissner <meissner@redhat.com> |
3414 | ||
3415 | * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal | |
3416 | with sections created by -fdata-sections. | |
3417 | (.dynbss,.bss): Ditto. | |
3418 | ||
1c7566d1 AM |
3419 | 2001-03-05 Alan Modra <alan@linuxcare.com.au> |
3420 | ||
3421 | * emultempl/m68kelf.em (m68k_elf_after_allocation): Call | |
3422 | after_allocation_default, not gld..._before_allocation. | |
3423 | ||
27b7e12d AM |
3424 | 2001-02-27 Alan Modra <alan@linuxcare.com.au> |
3425 | ||
3426 | * configure.in (BFD_VERSION): New. | |
3427 | (AM_INIT_AUTOMAKE): Use $BFD_VERSION. | |
3428 | * configure: Regenerate. | |
3429 | * Makefile.am: Run "make dep-am" | |
3430 | * Makefile.in: Regenerate. | |
3431 | ||
2bc551c7 TW |
3432 | 2001-02-26 Timothy Wall <twall@cygnus.com> |
3433 | ||
3434 | * emulparams/elf64_aix.sh: Add additional read-only sections; | |
3435 | uncomment lines which are now required. | |
3436 | ||
1276aefa NC |
3437 | 2001-02-26 H.J. Lu <hjl@gnu.org> |
3438 | ||
3439 | * ldlang.c (open_input_bfds): Set the bfd error handler so | |
b6bf44ba AM |
3440 | that problems can be caught whilst loading symbols. |
3441 | (record_bfd_errors): New function: Report BFD errors and mark | |
3442 | the executable output as being invalid. | |
1276aefa | 3443 | |
41c49998 TW |
3444 | 2001-02-22 Timothy Wall <twall@cygnus.com> |
3445 | ||
3446 | * configure.host: Add configuration for ia64-*-aix*. | |
3447 | * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*. | |
3448 | Add dependencies for eelf64_aix.c. | |
3449 | * Makefile.in: Regenerate. | |
3450 | * configure.tgt: Add ia64-*-aix* mapping. | |
3451 | * emulparams/elf64_aix.sh: Add settings for elf64 on aix5. | |
0879a67a | 3452 | |
78f85fd7 L |
3453 | 2001-02-20 H.J. Lu <hjl@gnu.org> |
3454 | ||
3455 | * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to | |
3456 | false if we found the file. | |
3457 | ||
1ac7e077 | 3458 | 2001-02-18 David O'Brien <obrien@FreeBSD.org> |
fb33b906 DB |
3459 | |
3460 | * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64, | |
3461 | FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries. | |
3462 | ||
e135f41b NC |
3463 | 2001-02-18 lars brinkhoff <lars@nocrew.org> |
3464 | ||
3465 | * Makefile.am: Add PDP-11 target. | |
3466 | * configure.tgt: Likewise. | |
3467 | * emulparams/pdp11.sh: New file. | |
3468 | ||
a842aceb DB |
3469 | 2001-02-17 David O'Brien <obrien@FreeBSD.org> |
3470 | ||
3471 | * configure.host: Add a generic FreeBSD configuration entry such that | |
3472 | all [modern] FreeBSD systems on all platforms will look the same. | |
3473 | ||
24174db0 L |
3474 | 2001-02-14 H.J. Lu <hjl@gnu.org> |
3475 | ||
3476 | * configure.tgt: Remove mention of earmelf_linux26. | |
3477 | ||
30c3c13a RH |
3478 | 2001-02-13 Richard Henderson <rth@redhat.com> |
3479 | ||
3480 | * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove. | |
3481 | ||
b46a87b1 L |
3482 | 2001-02-13 H.J. Lu <hjl@gnu.org> |
3483 | ||
3484 | * ldexp.h (node_type): Add etree_provided. | |
3485 | * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node | |
3486 | type to etree_provided if defined by PROVIDE. Allow updating | |
0879a67a | 3487 | for etree_provided. |
b46a87b1 L |
3488 | (exp_print_tree): Handle etree_provided. |
3489 | * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle | |
3490 | etree_provided. | |
3491 | ||
f3988fd9 RH |
3492 | 2001-02-09 David Mosberger <davidm@hpl.hp.com> |
3493 | ||
3494 | * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add | |
3495 | .IA_64.unwind.* pattern to unwind table section and | |
3496 | .IA_64.unwind_info* pattern to unwind info section. | |
3497 | ||
a85d7ed0 NC |
3498 | 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com> |
3499 | ||
3500 | * Makefile.am: Add linux target for S/390. | |
3501 | * Makefile.in: Likewise. | |
3502 | * configure.host: Likewise. | |
3503 | * configure.tgt: Likewise. | |
3504 | * emulparams/elf64_s390.sh: New file. | |
3505 | * emulparams/elf_s390.sh: New file. | |
3506 | ||
780248c4 JJ |
3507 | 2001-02-09 Jakub Jelinek <jakub@redhat.com> |
3508 | ||
3509 | * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into | |
3510 | targ_extra_libpath. | |
3511 | (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath. | |
3512 | ||
0e2534bd PB |
3513 | 2001-02-06 Philip Blundell <philb@gnu.org> |
3514 | ||
3515 | * Makefile.am: Remove mention of earmelf_linux26. | |
3516 | * Makefile.in: Regenerate. | |
3517 | ||
46c1ea57 PB |
3518 | 2001-02-04 Philip Blundell <philb@gnu.org> |
3519 | ||
3520 | * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000. | |
3521 | * emulparams/armelf_linux26.sh: Delete. | |
3522 | * configure.tgt: Remove mention of armelf_linux26 emulation. | |
3523 | ||
0088edd2 NC |
3524 | 2001-02-01 Nick Clifton <nickc@redhat.com> |
3525 | ||
3526 | * ld.1: Replace occurances of -oformat with --oformat. | |
3527 | ||
02aa14fb AM |
3528 | 2001-01-25 Jim Driftmyer <jdrift@stny.rr.com> |
3529 | ||
3530 | * ldlang.c (lang_leave_overlay): Don't set lma_region when | |
3531 | load_base is specified. | |
3532 | ||
f813923c HPN |
3533 | 2001-01-24 Hans-Peter Nilsson <hp@axis.com> |
3534 | ||
3535 | * emultempl/elf32.em: Correct spelling in comments and listed | |
3536 | options. | |
3537 | ||
c1eb1488 AM |
3538 | 2001-01-23 Alan Modra <alan@linuxcare.com.au> |
3539 | ||
3540 | * ldlang.c (lang_leave_overlay): Only set lma_region from the | |
3541 | default for the first section of a group of overlay sections. | |
3542 | ||
d9fc3714 AM |
3543 | 2001-01-22 Alan Modra <alan@linuxcare.com.au> |
3544 | ||
3545 | * Makefile.am (GENSCRIPTS): Pass exec_prefix. | |
3546 | * Makefile.in: Regenerate. | |
3547 | * genscripts.sh: Use exec_prefix parameter to specify tool lib. | |
3548 | Check for null tool_dir. | |
3549 | ||
6be0ca94 JW |
3550 | 2001-01-16 Jim Wilson <wilson@redhat.com> |
3551 | ||
3552 | * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind | |
3553 | and IA_64.unwind.info. | |
3554 | ||
b9247304 L |
3555 | 2001-01-16 H.J. Lu <hjl@gnu.org> |
3556 | ||
3557 | * ldlang.c (lang_check): Merge the private data only if the | |
3558 | input file has contents. | |
3559 | ||
577a0623 AM |
3560 | 2001-01-14 Alan Modra <alan@linuxcare.com.au> |
3561 | ||
d952f17a AM |
3562 | * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux. |
3563 | ||
ffd6e9de AM |
3564 | * emultempl/hppaelf.em (hppaelf_after_parse): New function, |
3565 | enabling search for libmilli. On a relocatable link, make .text | |
3566 | sections unique. | |
3567 | (LDEMUL_AFTER_PARSE): Define. | |
3568 | (hppaelf_finish): Correct spelling of relocatable in comments. | |
3569 | ||
577a0623 AM |
3570 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't |
3571 | rummage through the script for sections on the unique list. | |
3572 | Correct length of strncmp for ".note". | |
3573 | (gld${EMULATION_NAME}_check_needed): Rearrange function. | |
3574 | ||
3575 | * ldlang.c (unique_section_list): New var. | |
3576 | (unique_section_p): New function. | |
3577 | (walk_wild_section): Don't match sections on unique_section_list. | |
3578 | (lang_add_unique): New function. | |
ffd6e9de | 3579 | Correct spelling of relocatable in comments. |
577a0623 AM |
3580 | |
3581 | * ldlang.h (struct unique_sections): Declare. | |
3582 | (unique_section_list): Declare. | |
3583 | (unique_section_p): Declare. | |
3584 | (lang_add_unique): Declare. | |
3585 | ||
3586 | * lexsup.c (ld_options): Allow --unique to take an optional arg. | |
3587 | (parse_args [OPTION_UNIQUE]): Call lang_add_unique. | |
3588 | ||
3589 | * ld.texinfo (--unique): Update. | |
3590 | ||
b7ed8fad NC |
3591 | 2001-01-13 Nick Clifton <nickc@redhat.com> |
3592 | ||
3593 | * lexsup.c (parse_args): Remove spurious white space. | |
3594 | ||
d0398d6a NC |
3595 | 2001-01-12 Nick Clifton <nickc@redhat.com> |
3596 | ||
3597 | * lexsup.c (parse_args): Update copyright date. | |
3598 | ||
350fdb00 PB |
3599 | 2001-01-12 Philip Blundell <pb@futuretv.com> |
3600 | ||
3601 | * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin. | |
3602 | ||
60c6797e KH |
3603 | 2001-01-10 Kazu Hirata <kazu@hxi.com> |
3604 | ||
3605 | * scripttempl/h8300.sc: Fix formatting. Fix a comment typo. | |
3606 | * scripttempl/h8300h.sc: Fix formatting. | |
3607 | * scripttempl/h8300s.sc: Likewise. | |
69f06969 KH |
3608 | * scripttempl/h8500.sc: Likewise. |
3609 | * scripttempl/h8500b.sc: Likewise. | |
3610 | * scripttempl/h8500c.sc: Likewise. | |
3611 | * scripttempl/h8500m.sc: Likewise. | |
3612 | * scripttempl/h8500s.sc: Likewise. | |
60c6797e | 3613 | |
482e8b32 DB |
3614 | 2000-01-07 David O'Brien <obrien@BSDi.com> |
3615 | ||
3616 | * emultempl/elf32.em: Only perform Linux ld hints processing when | |
3617 | targeting Linux. | |
3618 | ||
d7ed7ca6 PB |
3619 | 2001-01-07 Philip Blundell <philb@gnu.org> |
3620 | ||
3621 | * ld.texinfo (Bug Reporting): Update email address for reports. | |
3622 | ||
0fc3347a NC |
3623 | 2000-12-31 Nick Clifton <nickc@redhat.com> |
3624 | ||
3625 | * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long | |
3626 | options by checking for a return value of '?' not -1. | |
3627 | ||
e4897a32 NC |
3628 | 2000-12-28 Nick Clifton <nickc@redhat.com> |
3629 | ||
3630 | * lexsup.c (struct ld_option): Add new enum value: | |
3631 | EXACTLY_TWO_DASHES. | |
3632 | (ld_options[]): Change -omagic, -output and -oformat options | |
3633 | to be EXACTLY_TWO_DASHES. | |
3634 | (OUTPUT_COUNT): Use ARRAY_SIZE. | |
3635 | (parse_args): Change parameter 'argc' to unsigned. | |
3636 | Place EXACTLY_TWO_DASHES options into new really_longopts | |
3637 | array. | |
3638 | If getopt_long_only fails, try calling getopt_long using the | |
3639 | really_longopts array. | |
3640 | (help): Print a double dash for both EXACTLY_TWO_DASHES and | |
3641 | TWO_DASHES options. | |
3642 | ||
3643 | * ldlex.h: Fix prototype of parse_args. | |
3644 | ||
3645 | * ld.texinfo: Document that long options starting with 'o' | |
3646 | must be preceeded by two dashes. Change example of a single | |
3647 | dashed long option from -oformat to -trace-symbol. | |
3648 | ||
1122a5fc NC |
3649 | 2000-12-26 Danny Smith <danny_r_smith_2001@yahoo.co.nz> |
3650 | ||
3651 | * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define. | |
3652 | (longopts[]): New --no-default-excludes option. | |
3653 | (gld_${EMULATION_NAME}_list_options): Document. | |
3654 | (gld_${EMULATION_NAME}_parse_args): Handle. | |
3655 | ||
037849a9 NC |
3656 | 2000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
3657 | ||
3658 | * ldlang.c (new_stat): Revert the last beautification with "innocent" | |
3659 | whitespace, it breaks the K&R C preprocessor. | |
3660 | ||
7ec229ce DD |
3661 | 2000-12-11 DJ Delorie <dj@redhat.com> |
3662 | ||
3663 | * ld.texinfo: Add notes about --whole-archive and gcc. | |
3664 | ||
b79e8c78 NC |
3665 | 2000-11-18 Fred Fish <fnf@be.com> |
3666 | ||
3667 | * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define. | |
3668 | (ld_options): Entry for --allow-shlib-undefined. | |
3669 | (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED. | |
3670 | * ldmain.c (main): Initialize link_info.allow_shlib_undefined | |
3671 | to false. | |
3672 | * ld.texinfo: Document new command line switch. | |
d952f17a | 3673 | |
9a8e2505 GK |
3674 | 2000-12-12 Geoffrey Keating <geoffk@redhat.com> |
3675 | ||
3676 | * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): | |
3677 | .fixup is actually read/write. | |
3678 | * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise. | |
3679 | * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise. | |
3680 | * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise. | |
3681 | ||
3b16e843 | 3682 | 2000-12-11 Jan Hubicka <jh@suse.cz> |
b8355149 JH |
3683 | |
3684 | * NEWS: Add note about x86_64 architecture. | |
3685 | ||
93b63cd3 DD |
3686 | 2000-12-06 Mark Elbrecht <snowball3@bigfoot.com> |
3687 | ||
3688 | * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end. | |
3689 | Set DWARF2 sections to a VMA of zero. | |
3690 | ||
68b2fc7a | 3691 | 2000-12-01 Joel Sherrill <joel@OARcorp.com> |
24f6971a | 3692 | |
d952f17a | 3693 | * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*): |
24f6971a NC |
3694 | New targets. |
3695 | (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets. | |
3696 | (sparc*-*-rtems*): Switched from a.out to ELF. | |
3697 | ||
2be3aa03 NC |
3698 | 2000-11-30 Jan Hubicka <jh@suse.cz> |
3699 | ||
3700 | * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o | |
3701 | (eelf_x86_64.c): New. | |
3702 | * Makefile.in: Regenerate. | |
3703 | * configure.tgt: Add support for x86_64-*-linux-gnu*. | |
3704 | * emulparams/elf_x86_64.sh: New. | |
3705 | ||
8c899858 HPN |
3706 | 2000-11-30 Hans-Peter Nilsson <hp@axis.com> |
3707 | ||
3708 | * emulparams/crislinux.sh (ENTRY): Change back to _start. | |
3709 | (TEXT_START_SYMBOLS): Remove conditional setting of __start. | |
3710 | ||
3711 | * scripttempl/crisaout.sc: Change all RELOCATING not related to | |
3712 | merging non-a.out sections into CONSTRUCTING. | |
3713 | ||
e47b9e39 NC |
3714 | 2000-11-28 Nick Clifton <nickc@redhat.com> |
3715 | ||
3716 | * ld.1 (COPYING): Mention that the GNU Free Documentation | |
3717 | License is present in the sources, but not the output, and | |
3718 | also available from the GNU website. | |
3719 | (GNU Free Documentation License): Comment out this section. | |
3720 | ||
ad95f82a DB |
3721 | 2000-11-28 David O'Brien <obrien@dragon.nuxi.com> |
3722 | ||
3723 | * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF | |
3724 | does not use them. | |
3725 | ||
fd89e65f DB |
3726 | 2000-11-25 David O'Brien <obrien@FreeBSD.org> |
3727 | ||
3728 | * ld.1: Remove old date so it does not give the impression the manpage | |
3729 | is way out of date. | |
3730 | ||
077b8428 NC |
3731 | 2000-11-24 Nick Clifton <nickc@redhat.com> |
3732 | ||
3733 | * configure.tgt (xscale-coff): Add target. | |
3734 | (xscale-elf): Add target. | |
3735 | ||
49425d28 NC |
3736 | 2000-11-24 Fred Fish <fnf@be.com> |
3737 | ||
d952f17a AM |
3738 | * ldmain.c (main): Remove redundant init of config.make_executable |
3739 | to true. | |
49425d28 | 3740 | |
d3480244 RH |
3741 | 2000-11-15 Richard Henderson <rth@redhat.com> |
3742 | ||
3743 | * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M. | |
3744 | ||
1ce7de8b KH |
3745 | 2000-11-14 Kazu Hirata <kazu@hxi.com> |
3746 | ||
3747 | * scripttempl/h8300.sc: Fix formatting. | |
3748 | * scripttempl/h8300h.sc: Likewise. | |
3749 | * scripttempl/h8300s.sc: Likewise. | |
3750 | ||
3b16e843 | 3751 | 2000-11-14 Denis Chertykov <denisc@overta.ru> |
208d5cd0 DC |
3752 | |
3753 | * scripttempl/elf32avr.sc: Fix bug in .eeprom segment. | |
3754 | ||
2e418547 PB |
3755 | 2000-11-09 Philip Blundell <pb@futuretv.com> |
3756 | ||
3757 | * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME | |
3758 | around orphan sections whose names can be represented in C. | |
3759 | ||
c940e6fc JW |
3760 | 2000-11-07 Jim Wilson <wilson@redhat.com> |
3761 | ||
3762 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local | |
3763 | hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata. | |
3764 | ||
704c465c NC |
3765 | 2000-11-06 Nick Clifton <nickc@redhat.com> |
3766 | ||
3767 | * ld.texinfo: Add GNU Free Documentation License. | |
3768 | * ldint.texinfo: Add GNU Free Documentation License. | |
cf055d54 | 3769 | * ld.1: Add GNU Free Documentation License. |
704c465c | 3770 | |
dca7760f AM |
3771 | 2000-11-05 Alan Modra <alan@linuxcare.com.au> |
3772 | ||
3773 | * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer, | |
3774 | yy_is_interactive, yy_at_bol, and yy_fill_buffer. | |
3775 | ||
3776 | * Makefile.am (DISTCLEANFILES): Add stringify.sed. | |
3777 | Move 2000-11-02 Makefile.in changes to this file. | |
3778 | * Makefile.in: Regenerate. | |
3779 | ||
40a633d5 NC |
3780 | 2000-11-03 Nick Clifton <nickc@redhat.com> |
3781 | ||
3782 | * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose | |
3783 | constructors and destructors. | |
3784 | * scripttempl/h8300h.sc: Ditto. | |
3785 | * scripttempl/h8300s.sc: Ditto. | |
3786 | * scripttempl/h8500.sc: Ditto. | |
3787 | * scripttempl/h8500b.sc: Ditto. | |
3788 | * scripttempl/h8500c.sc: Ditto. | |
3789 | * scripttempl/h8500m.sc: Ditto. | |
3790 | * scripttempl/h8500s.sc: Ditto. | |
3791 | * scripttempl/v850.sc: Ditto. | |
3792 | * scripttempl/w65.sc: Ditto. | |
3793 | * scripttempl/z8000.sc: Ditto. | |
3794 | ||
59ff2774 NC |
3795 | 2000-11-02 Per Lundberg <plundis@chaosdev.org> |
3796 | ||
3797 | * Makefile.in (e_i386_chaos.c): New rule. | |
3798 | (ALL_EMULATIONS): Added e_i386_chaos.o. | |
3799 | * emulparams/elf_i386_chaos.sh: New file. | |
3800 | * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos. | |
3801 | ||
645571e1 JJ |
3802 | 2000-10-20 Jakub Jelinek <jakub@redhat.com> |
3803 | ||
3804 | * emulparams/elf64_sparc.sh (TEXT_START_ADDR, | |
3805 | NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets. | |
3806 | Fix sed invocation, so that it coped with '/' in Solaris 64bit | |
3807 | library path suffix. | |
3808 | Based on patch by Andrew Macleod <amacleod@cygnus.com>. | |
3809 | ||
c5975a45 HPN |
3810 | 2000-10-18 Hans-Peter Nilsson <hp@axis.com> |
3811 | ||
3812 | * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32), | |
3813 | for consecutive sections. | |
3814 | ||
ea20a7da CC |
3815 | 2000-10-17 Chandrakala Chavva <cchavva@redhat.com> |
3816 | ||
d952f17a AM |
3817 | * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific |
3818 | options. | |
3819 | * ld.texinfo: Added notes about this new option. | |
ea20a7da | 3820 | |
6e45556a NC |
3821 | 2000-10-16 Nick Clifton <nickc@redhat.com> |
3822 | ||
3823 | * emultempl/pe.em (_after_open): Add tests of return values from | |
3824 | bfd functions. Emit appropriate error messages if necessary. | |
3825 | ||
b9a69188 NC |
3826 | 2000-10-13 Nick Clifton <nickc@redhat.com> |
3827 | ||
3828 | * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms' | |
102c86f8 NC |
3829 | local variables - they are not used, but leave in the call to |
3830 | bfd_canonicalize_symtab. | |
b9a69188 NC |
3831 | (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of |
3832 | pe_dll_search_prefix. | |
3833 | ||
627427de | 3834 | 2000-10-12 Charles Wilson <cwilson@ece.gatech.edu> |
d952f17a | 3835 | |
627427de DD |
3836 | * emultempl/pe.em (pe_dll_search_prefix): New variable, |
3837 | (longopts): New --dll-search-prefix option. | |
3838 | (gld_${EMULATION_NAME}_list_options): Document. | |
3839 | (gld_${EMULATION_NAME}_parse_args): Handle. | |
3840 | (gld_${EMULATION_NAME}_open_dynamic_archive): When linking | |
3841 | dynamically, search for a dll named '<prefix><basename>.dll' | |
3842 | in preference to 'lib<basename>.dll' if --dll-search-prefix | |
3843 | is specified. | |
3844 | ||
24376d1b AM |
3845 | 2000-10-12 Alan Modra <alan@linuxcare.com.au> |
3846 | ||
3847 | * ldlang.c (section_already_linked): Set kept_section instead of | |
3848 | sec->comdat->sec. | |
3849 | ||
e47d05ad KH |
3850 | 2000-10-10 Kazu Hirata <kazu@hxi.com> |
3851 | ||
3852 | * deffile.h: Fix formatting. | |
3853 | * lexsup.c: Likewise. | |
3854 | * mri.c: Likewise. | |
3855 | ||
23a87948 DD |
3856 | 2000-10-09 Paul Sokolovsky <Paul.Sokolovsky@technologist.com> |
3857 | ||
3858 | * pe-dll.c (make_one): Do not generate code thunk for DATA | |
3859 | exports. | |
3860 | (process_def_file): deduce DATA flag for auto-export sumbols. | |
3861 | ||
86b1cc60 KH |
3862 | 2000-10-09 Kazu Hirata <kazu@hxi.com> |
3863 | ||
89cdebba KH |
3864 | * ld.h: Fix formatting. |
3865 | * ldcref.c: Likewise. | |
3866 | * ldctor.h: Likewise. | |
3867 | * ldemul.c: Likewise. | |
3868 | * ldemul.h: Likewise. | |
3869 | * ldexp.c: Likewise. | |
3870 | * ldexp.h: Likewise. | |
3871 | * ldfile.c: Likewise. | |
3872 | * ldfile.h: Likewise. | |
3873 | * ldlang.c: Likewise. | |
3874 | * ldlang.h: Likewise. | |
3875 | * ldmain.c: Likewise. | |
7bfd51a3 KH |
3876 | * pe-dll.c: Likewise. |
3877 | ||
3878 | * pe-dll.c: Revert some formatting fixes. | |
86b1cc60 | 3879 | |
d643799d KH |
3880 | 2000-10-08 Kazu Hirata <kazu@hxi.com> |
3881 | ||
3882 | * pe-dll.c: Fix formatting. | |
3883 | ||
08da4cac KH |
3884 | 2000-10-05 Kazu Hirata <kazu@hxi.com> |
3885 | ||
3886 | * ldlang.c: Fix formatting. | |
3887 | ||
c2a94a7a DD |
3888 | 2000-10-03 DJ Delorie <dj@redhat.com> |
3889 | ||
3890 | * pe-dll.c (fill_edata): initialize entire block | |
3891 | (make_one): fill in correct section. | |
3892 | ||
8c95a62e KH |
3893 | 2000-10-03 Kazu Hirata <kazu@hxi.com> |
3894 | ||
3895 | * ldexp.c: Fix formatting. | |
3896 | ||
486e80e2 DD |
3897 | 2000-10-02 DJ Delorie <dj@redhat.com> |
3898 | ||
3899 | * emultempl/pe.em (gld_*_after_open): detect case where there two | |
3900 | import libraries for same dll; rename one to ensure proper link | |
3901 | order. | |
3902 | ||
3903 | * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix | |
3904 | typo | |
3905 | (generate_edata): fix typo | |
3906 | ||
24dd9f75 HPN |
3907 | 2000-09-29 Hans-Peter Nilsson <hp@axis.com> |
3908 | ||
3909 | * scripttempl/crisaout.sc (ENTRY): Now __start. | |
3910 | (.text): Add default setting for __start. | |
3911 | Remove CONSTRUCTORS handling. | |
3912 | (/DISCARD/): Add .gnu.warning.*. | |
3913 | * emulparams/crislinux.sh (ENTRY): Now __start. | |
3914 | (TEXT_START_SYMBOLS): New; provide __Stext and __start default. | |
3915 | * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris. | |
3916 | (ENTRY): Now __start. | |
3917 | (INITIAL_READONLY_SECTIONS): Add KEEP for .startup. | |
3918 | (EXECUTABLE_SYMBOLS): Add default setting for __start. | |
3919 | ||
4de2d33d KH |
3920 | 2000-09-29 Kazu Hirata <kazu@hxi.com> |
3921 | ||
5cc18311 KH |
3922 | * deffile.h: Fix formatting. |
3923 | * ld.h: Likewise. | |
3924 | * ldcref.c: Likewise. | |
4de2d33d | 3925 | * ldctor.c: Likewise. |
5cc18311 | 3926 | * ldctor.h: Likewise. |
4de2d33d | 3927 | * ldemul.c: Likewise. |
5cc18311 | 3928 | * ldemul.h: Likewise. |
4de2d33d | 3929 | * ldexp.c: Likewise. |
5cc18311 | 3930 | * ldexp.h: Likewise. |
4de2d33d | 3931 | * ldfile.c: Likewise. |
5cc18311 | 3932 | * ldfile.h: Likewise. |
4de2d33d | 3933 | * ldlang.c: Likewise. |
5cc18311 KH |
3934 | * ldlang.h: Likewise. |
3935 | * lexsup.c: Likewise. | |
3936 | * mri.c: Likewise. | |
3937 | * pe-dll.c: Likewise. | |
4de2d33d | 3938 | |
45b1f63c DD |
3939 | 2000-09-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com> |
3940 | ||
3941 | * pe-dll.c (process_def_file): Uninitialized data wasn't | |
3942 | exported with --export-all-symbols switch. | |
d952f17a | 3943 | |
45b1f63c DD |
3944 | 2000-09-28 DJ Delorie <dj@redhat.com> |
3945 | ||
3946 | * pe-dll.c (fill_edata): rearrange the data so that ordinals and | |
3947 | noname work properly. | |
3948 | ||
47d89dba AM |
3949 | 2000-09-28 Alan Modra <alan@linuxcare.com.au> |
3950 | ||
3951 | * ld.texinfo (HPPA ELF32): New section. | |
3952 | ||
3953 | * emultempl/hppaelf.em (group_size): New. | |
3954 | (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs. | |
3955 | (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE. | |
3956 | (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate | |
3957 | options to prevent abbreviations matching. | |
3958 | (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat. | |
3959 | (PARSE_AND_LIST_ARGS_CASES): Handle it. | |
3960 | ||
36bdbeec NC |
3961 | 2000-09-21 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
3962 | ||
3963 | * emultempl/m68kelf.em: Conditionalise the embedded relocs feature | |
3964 | on the m68*-*-elf target. Make it support COFF input objects. | |
3965 | ||
6d5e62f8 KH |
3966 | 2000-09-21 Kazu Hirata <kazu@hxi.com> |
3967 | ||
3968 | * ldmain.c: Fix formatting. | |
3969 | * ldmisc.c: Likewise. | |
3970 | * ldver.c: Likewise. | |
3971 | * ldwrite.c: Likewise. | |
3972 | ||
e2eb67d9 AM |
3973 | 2000-09-21 Alan Modra <alan@linuxcare.com.au> |
3974 | ||
3975 | * ldwrite.c (clone_section): Silence gcc warnings. | |
3976 | ||
b3ea3584 AM |
3977 | 2000-09-20 Alan Modra <alan@linuxcare.com.au> |
3978 | ||
3979 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle | |
3980 | out of memory failure. | |
3981 | ||
3982 | * ldwrite.c (ldwrite): Remove unnecessary einfo arg. | |
3983 | (clone_section): Handle out of memory failures. Rename var to | |
3984 | avoid c++ reserved word. | |
3985 | ||
25f72752 AM |
3986 | 2000-09-18 Alan Modra <alan@linuxcare.com.au> |
3987 | ||
3988 | * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename | |
3989 | stub_name param to stub_sec_name. | |
3990 | (hppaelf_finish): Modify call to elf32_hppa_size_stubs. | |
3991 | ||
0752970e NC |
3992 | 2000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
3993 | ||
3994 | * emultempl/m68kelf.em: New file. | |
3995 | * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it. | |
3996 | * Makefile.am (em68kelf.c): Add dependency on m68kelf.em. | |
3997 | * Makefile.in: Regenerate. | |
3998 | ||
92b7e9d8 AM |
3999 | 2000-09-15 Alan Modra <alan@linuxcare.com.au> |
4000 | ||
4001 | * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$ | |
4002 | only as needed. | |
4003 | ||
9b14b192 NC |
4004 | 2000-09-13 Nick Clifton <nickc@redhat.com> |
4005 | ||
4006 | * ldmain.c (multiple_definition): Disable relaxation if | |
4007 | multiple symbol definitions are encountered - otherwise the | |
4008 | linker could abort with an assertion failure. | |
4009 | ||
891fa266 NC |
4010 | 2000-09-10 Nick Clifton <nickc@redhat.com> |
4011 | ||
4012 | * mri.c: Fix formatting. | |
4013 | ||
5d64ca4e L |
4014 | 2000-09-07 H.J. Lu <hjl@gnu.org> |
4015 | ||
4016 | * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM. | |
4017 | * configure: Rebuild. | |
4018 | ||
dd94604f L |
4019 | 2000-09-07 H.J. Lu <hjl@gnu.org> |
4020 | ||
4021 | * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h. | |
4022 | * Makefile.in: Rebuild. | |
4023 | ||
71bfc0ae AM |
4024 | 2000-09-07 Alan Modra <alan@linuxcare.com.au> |
4025 | ||
4026 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix | |
4027 | broken list handling. Create __start_SECNAME and __stop_SECNAME | |
4028 | when no place-holder. Add some comments. Test both SEC_CODE and | |
4029 | SEC_READONLY for hold_text to prevent .rodata orphan poisoning. | |
ed15ac6a | 4030 | Handle case where no output section statement created. |
71bfc0ae | 4031 | |
4a428502 AO |
4032 | 2000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com> |
4033 | ||
4034 | * configure.tgt (sh-*-linux*): Added. | |
4035 | * Makefile.am: Added eshelf_linux and eshlelf_linux. | |
4036 | * Makefile.in: Rebuilt. | |
4037 | * emulparams/shelf_linux.sh: New file. | |
4038 | * emulparams/shlelf_linux.sh: New file. | |
4039 | ||
f9989030 AM |
4040 | 2000-09-06 Alan Modra <alan@linuxcare.com.au> |
4041 | ||
4042 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't | |
4043 | try shuffling sections when the orphan happens to be the place | |
4044 | holder. Keep count of unique section names generated so we speed | |
4045 | the search for a new name. | |
4046 | ||
58cccadb AO |
4047 | 2000-09-06 Alexandre Oliva <aoliva@redhat.com> |
4048 | ||
4049 | * configure: Rebuilt with new libtool.m4. | |
4050 | ||
5b343f5a NC |
4051 | 2000-09-05 Nick Clifton <nickc@redhat.com> |
4052 | ||
4053 | * Makefile.in: Regenerate. | |
4054 | * aclocal.m4: Regenerate. | |
4055 | * configure: Regenerate. | |
4056 | * config.in: Regenerate. | |
4057 | * po/ld.pot: Regenerate. | |
4058 | ||
4059 | * ldint.texinfo: Remove CVS revision marker - it foils local | |
4060 | comparisons. | |
4061 | ||
4062 | * emultempl/ticoff.em: Remove extraneous comma. | |
50bbae35 | 4063 | |
a854a4a7 AM |
4064 | 2000-09-05 Alan Modra <alan@linuxcare.com.au> |
4065 | ||
3231d22e AM |
4066 | * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC |
4067 | to stub section flags. | |
4068 | (hppa_for_each_input_file_wrapper): New. | |
4069 | (hppa_lang_for_each_input_file): New. | |
4070 | (lang_for_each_input_file): Define to call above. | |
4071 | (multi_subspace): New. | |
4072 | (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs. | |
4073 | (PARSE_AND_LIST_PROLOGUE): Define. | |
4074 | (PARSE_AND_LIST_LONGOPTS): Define. | |
4075 | (PARSE_AND_LIST_OPTIONS): Define. | |
4076 | (PARSE_AND_LIST_ARGS_CASES): Define. | |
4077 | (hppaelf_finish): Call elf32_hppa_set_gp. | |
4078 | (hppaelf_set_output_arch): Remove. | |
4079 | (LDEMUL_SET_OUTPUT_ARCH): Remove. | |
4080 | ||
4081 | * emulparams/hppalinux.sh (ELFSIZE): Define. | |
4082 | (MACHINE): Define. | |
4083 | (OTHER_READONLY_SECTIONS): Define. | |
4084 | (DATA_PLT): Define. | |
4085 | (GENERATE_SHLIB_SCRIPT): Define. | |
4086 | ||
5f992e62 AM |
4087 | * ldlang.c: Add missing prototypes, and tidy others. Change CONST |
4088 | to const throughout. Change `void *' to `PTR' throughout. | |
4089 | (lang_memory_default): Function is local to file, add `static'. | |
4090 | ||
4091 | * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em. | |
4092 | (ehppalinux.c): Likewise. | |
4093 | (earmelf.c): Likewise. | |
4094 | (earmelf_linux.c): Likewise. | |
4095 | (earmelf_linux26.c): Likewise. | |
4096 | * Makefile.in: Regenerate. | |
4097 | ||
a854a4a7 AM |
4098 | * ld.h (ld_config_type): Add unique_orphan_sections. |
4099 | * lexsup.c (OPTION_UNIQUE): Define. | |
4100 | (ld_options): Add "--unique". | |
4101 | (parse_args): Handle it. | |
4102 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't | |
4103 | search for an existing output section if unique_orphan_sections is | |
4104 | set. Make use of bfd_get_unique_section_name rather than | |
4105 | duplicating code here. | |
4106 | * ld.texinfo: Describe --unique. | |
4107 | ||
4108 | * lexsup.c (ld_options): Make split-by-reloc arg optional. Add | |
4109 | optional arg to split-by-file. | |
4110 | (parse_args): Handle them. | |
4111 | * ld.texinfo: Update description of these options. | |
4112 | * ldwrite.c (clone_section): Pass in the section name. Replace | |
4113 | local code with bfd_get_unique_section_name. | |
4114 | (split_sections): Tidy code and comments. Use a list traversal | |
4115 | more appropriate to the list construction. Handle cooked section | |
4116 | sizes. Split when split_by_reloc reached rather than exceeded. | |
4117 | Track section size and split when split_by_file reached. Fix | |
4118 | link_order_tail (even though it's not used). | |
4119 | (ldwrite): Modify condition for calling split_sections to suit | |
4120 | changed split_by_reloc and split_by_file. | |
4121 | * ldmain.c (main): Init config.split_by_reloc and | |
4122 | config.split_by_file to -1. | |
4123 | * ld.h (ld_config_type): Change split_by_reloc to unsigned. | |
4124 | Change split_by_file to bfd_size_type. | |
4125 | ||
18e03609 NC |
4126 | 2000-09-02 Nick Clifton <nickc@redhat.com> |
4127 | ||
4128 | * configure.in: Increase version number to 2.10.91. | |
4129 | * NEWS: Mention new ability to support removal of duplicate DWARF2 | |
4130 | debug information. | |
4131 | * configure: Regenerate. | |
4132 | * aclocal.m4: Regenerate. | |
4133 | * config.in: Regenerate. | |
4134 | ||
3a9d486c NC |
4135 | 2000-09-02 Daniel Berlin <dberlin@redhat.com> |
4136 | ||
4137 | * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info | |
4138 | sections. | |
a2b64bed | 4139 | * scripttempl/elf32avr.sc: Ditto. |
3a9d486c NC |
4140 | * scripttempl/elfd10v.sc: Ditto. |
4141 | * scripttempl/elfd30v.sc: Ditto. | |
4142 | * scripttempl/elfi370.sc: Ditto. | |
4143 | * scripttempl/elfm68hc11.sc: Ditto. | |
4144 | * scripttempl/elfm68hc12.sc: Ditto. | |
4145 | * scripttempl/elfi386beos.sc: Ditto. | |
4146 | * scripttempl/v850.sc: Ditto. | |
50bbae35 | 4147 | |
ac48eca1 AO |
4148 | 2000-08-31 Alexandre Oliva <aoliva@redhat.com> |
4149 | ||
4150 | * acinclude.m4: Include libtool and gettext macros from the | |
4151 | top level. | |
4152 | * aclocal.m4, configure: Rebuilt. | |
4153 | ||
c13b1b77 NC |
4154 | 2000-08-25 Nick Clifton <nickc@redhat.com> |
4155 | ||
4156 | * ldlang.c (open_output): When choosing the target for a | |
4157 | particular endianness, do nothing if the target is not | |
4158 | supported. | |
4159 | ||
dcb0bd0e L |
4160 | 2000-08-25 H.J. Lu <hjl@gnu.org> |
4161 | ||
4162 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't | |
4163 | check -rpath nor LD_RUN_PATH for cross link. | |
4164 | * ld.texinfo: Document the change. | |
4165 | ||
5bcac8a4 HPN |
4166 | 2000-08-24 Hans-Peter Nilsson <hp@axis.com> |
4167 | ||
4168 | * NEWS: Mention support for CRIS. | |
4169 | ||
6dd8c765 L |
4170 | 2000-08-23 H.J. Lu <hjl@gnu.org> |
4171 | ||
4172 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get | |
4173 | the current runpath list from bfd_elf_get_runpath_list () | |
4174 | before search. | |
4175 | ||
ec4eb78a L |
4176 | 2000-08-22 H.J. Lu <hjl@gnu.org> |
4177 | ||
4178 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search | |
4179 | the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after | |
4180 | LD_LIBRARY_PATH for native linker. Display the needed DSO if | |
4181 | trace_file_tries is non-zero. | |
4182 | (gld${EMULATION_NAME}_try_needed): Report the needed DSO found | |
4183 | if trace_file_tries is non-zero. | |
4184 | ||
4185 | * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH. | |
a8175964 | 4186 | * NEWS: Mention it. |
ec4eb78a | 4187 | |
22b36938 JE |
4188 | 2000-08-14 Jason Eckhardt <jle@cygnus.com> |
4189 | ||
4190 | * NEWS: Mention i860 support. | |
4191 | ||
d73e9da0 AS |
4192 | 2000-08-14 Andreas Schwab <schwab@suse.de> |
4193 | ||
4194 | * scripttempl/elf.sc: Fix last change to use correct comment | |
50bbae35 | 4195 | syntax. |
d73e9da0 | 4196 | |
9ac4db9c GK |
4197 | 2000-08-10 Geoff Keating <geoffk@cygnus.com> |
4198 | ||
4199 | * scripttempl/elf.sc: Add a comment giving the correspondence | |
4200 | between sections, per-datum sections, and linkonce sections. Make | |
4201 | the comment true even for .bss, .sdata, .sdata2, .sbss, and | |
4202 | .sbss2. | |
4203 | ||
165589e4 JE |
4204 | 2000-08-10 Jason Eckhardt <jle@cygnus.com> |
4205 | ||
4206 | * emulparams/elf32_i860.sh: New file. | |
4207 | * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}. | |
4208 | * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o. | |
4209 | (eelf32_i860.c): New rule. | |
4210 | * Makefile.in: Regenerate. | |
4211 | ||
345a835d NC |
4212 | 2000-08-10 Nick Clifton <nickc@cygnus.com> |
4213 | ||
4214 | * emulparams/mipspe.sh (ENTRY): Add definition. | |
4215 | ||
e374f1d9 NC |
4216 | 2000-08-08 Peter Jeremy <peter.jeremy@alcatel.com.au> |
4217 | ||
4218 | * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath | |
4219 | in error message. | |
4220 | ||
236d5abf NC |
4221 | 2000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
4222 | ||
4223 | * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate | |
4224 | the final size of .bss section. | |
4225 | * scripttempl/elfm68hc12.sc: Likewise. | |
4226 | ||
4b209b22 AM |
4227 | 2000-08-04 Alan Modra <alan@linuxcare.com.au> |
4228 | ||
4229 | * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to | |
4230 | gld${EMULATION_NAME}_parse_args for consistency. Combine | |
4231 | lastoptind and prevoptind vars, and keep track of last optind. | |
4232 | (gld_${EMULATION_NAME}_list_options): Rename to | |
4233 | gld${EMULATION_NAME}_list_options. | |
4234 | ||
28423a68 AM |
4235 | 2000-08-03 Rodney Brown <RodneyBrown@pmsc.com> |
4236 | ||
4237 | * configure.tgt: Select targ_emul=elf_i386 for Unixware 7 | |
4238 | (i586-sco-sysv5uw7.1.0). | |
4239 | ||
b2009ff7 L |
4240 | 2000-07-27 H.J. Lu <hjl@gnu.org> |
4241 | ||
4242 | * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed. | |
4243 | (PARSE_AND_LIST_PROLOGUE): New. | |
4244 | (PARSE_AND_LIST_LONGOPTS): Likewise. | |
4245 | (PARSE_AND_LIST_OPTIONS): Likewise. | |
4246 | (PARSE_AND_LIST_ARGS_CASES): Likewise. | |
4247 | (PARSE_AND_LIST_EPILOGUE): Likewise. | |
4248 | ||
04925e1e AM |
4249 | 2000-07-28 Alan Modra <alan@linuxcare.com.au> |
4250 | ||
41392f03 AM |
4251 | * emultempl/armelf.em: Elide functions common to elf32.em, |
4252 | ie. most of the file. | |
4253 | (arm_elf_after_open): New. Do arm specific things then call | |
4254 | gld${EMULATION_NAME}_after_open. | |
4255 | (arm_elf_before_allocation): New. Call | |
4256 | gld${EMULATION_NAME}_before_allocation then do arm specifics. | |
4257 | (PARSE_AND_LIST_PROLOGUE): Define. | |
4258 | (PARSE_AND_LIST_SHORTOPTS): Define. | |
4259 | (PARSE_AND_LIST_LONGOPTS): Define. | |
4260 | (PARSE_AND_LIST_OPTIONS): Define. | |
4261 | (PARSE_AND_LIST_ARGS_CASES): Define. | |
4262 | (LDEMUL_AFTER_OPEN): Define. | |
4263 | (LDEMUL_BEFORE_ALLOCATION): Define. | |
4264 | (LDEMUL_BEFORE_PARSE): Define. | |
4265 | (LDEMUL_FINISH): Define. | |
4266 | ||
4267 | * emultempl/hppaelf.em: Similarly zap most of this file. | |
4268 | (hppaelf_add_stub_section): Prototype. | |
4269 | (hppaelf_layaout_sections_again): Prototype. | |
4270 | (hook_in_stub): Prototype. | |
4271 | (LDEMUL_SET_OUTPUT_ARCH): Define. | |
4272 | (LDEMUL_FINISH): Define. | |
4273 | (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define. | |
4274 | ||
4275 | * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32. | |
4276 | (EXTRA_EM_FILE): New. | |
4277 | * emulparams/armelf_linux.sh: Likewise. | |
4278 | * emulparams/armelf_linux26.sh: Likewise. | |
4279 | * emulparams/hppalinux.sh: Likewise. | |
4280 | * emulparams/hppaelf.sh: Likewise. | |
4281 | (NOP): Define. | |
4282 | ||
4283 | * emultempl/elf32.em: Fix formatting. | |
4284 | (EXTRA_EM_FILE): Source it. | |
4285 | (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL, | |
4286 | LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION, | |
4287 | LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET, | |
4288 | LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH, | |
4289 | LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS, | |
4290 | LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN, | |
4291 | LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE, | |
4292 | LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE, | |
4293 | LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to | |
4294 | allow functions in this file to be overridden. | |
4295 | (PARSE_AND_LIST_SHORTOPTS): Handle it. | |
4296 | ||
4297 | * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h. | |
4298 | ||
04925e1e AM |
4299 | * emultempl/elf32.em: Reorganize file. |
4300 | ||
88cdf297 NC |
4301 | 2000-07-27 Ivan Kokshaysky <ink@jurassic.park.msu.ru> |
4302 | ||
4303 | * emulparams/elf64alpha.sh: Implement "-taso" emulation | |
4304 | specific option to fit 64-bit executable in the lower | |
4305 | 31-bit address range. This is done by changing start | |
4306 | address of .interp (the very first section of executable) | |
4307 | and then setting EF_ALPHA_32BIT elf header flag. | |
4308 | ||
20bccb34 NC |
4309 | 2000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
4310 | ||
4311 | * emultempl/m68kcoff.em: New file. | |
4312 | * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template. | |
4313 | * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than | |
4314 | generic.em. | |
4315 | * Makefile.in: Regenerate. | |
4316 | ||
699845ef L |
4317 | 2000-07-20 H.J. Lu <hjl@gnu.org> |
4318 | ||
4319 | * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags" | |
4320 | and "disable-new-dtags" to stop getopt from treating -d/-e as | |
4321 | abbreviations for these options. | |
4322 | ||
6c1439be L |
4323 | 2000-07-20 H.J. Lu <hjl@gnu.org> |
4324 | ||
4325 | * ld.texinfo: Add documentation for --disable-new-dtags and | |
4326 | --enable-new-dtags. | |
4327 | ||
4328 | * ldmain.c (main): Initialize link_info.new_dtags to false. | |
4329 | ||
4330 | * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add | |
4331 | --disable-new-dtags and --enable-new-dtags. | |
4332 | (gld_${EMULATION_NAME}_list_options): Likewise. | |
4333 | ||
28c309a2 NC |
4334 | 2000-07-05 Kenneth Block <krblock@computer.org> |
4335 | ||
a2b64bed NC |
4336 | * lexsup.c: Add optional style to demangle switch |
4337 | * ld.texinfo: Document optional style to demangle switch. | |
50bbae35 | 4338 | |
9d06555c HPN |
4339 | 2000-07-20 Hans-Peter Nilsson <hp@axis.com> |
4340 | ||
4341 | * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o, | |
4342 | ecrislinux.o. | |
4343 | (ecrisaout.c, ecriself.c, ecrislinux.c): New rules. | |
4344 | Regenerate dependencies. | |
4345 | * Makefile.in: Rebuild. | |
4346 | * configure.tgt (cris-*-*): New target. | |
4347 | * emulparams/crisaout.sh, emulparams/criself.sh, | |
4348 | emulparams/crislinux.sh, scripttempl/crisaout.sc: New files. | |
4349 | * po/POTFILES.in, po/ld.pot: Regenerate. | |
4350 | ||
19e3be22 L |
4351 | 2000-07-20 H.J. Lu <hjl@gnu.org> |
4352 | ||
4353 | * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options): | |
4354 | Print out ignored -z options. | |
4355 | ||
e0ee487b L |
4356 | 2000-07-19 H.J. Lu <hjl@gnu.org> |
4357 | ||
19e3be22 L |
4358 | * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed. |
4359 | (PARSE_AND_LIST_PROLOGUE): New. | |
4360 | (PARSE_AND_LIST_LONGOPTS): Likewise. | |
4361 | (PARSE_AND_LIST_OPTIONS): Likewise. | |
4362 | (PARSE_AND_LIST_ARGS_CASES): Likewise. | |
4363 | ||
4364 | * ldmain.c (main): Clear link_info.flags and link_info.flags_1. | |
4365 | ||
4366 | * lexsup.c (ld_options): Comment out 'z'. | |
4367 | (parse_args): Likewise. | |
4368 | ||
4369 | * emultempl/elf32.em: Include "elf/common.h". | |
4370 | (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z | |
4371 | options. | |
4372 | (gld_${EMULATION_NAME}_list_options): Likewise. | |
4373 | ||
4374 | * ld.texinfo: Add documentation for the recognized -z options. | |
e0ee487b | 4375 | |
49e56c49 L |
4376 | 2000-07-19 H.J. Lu <hjl@gnu.org> |
4377 | ||
4378 | * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call | |
4379 | bfd_elf_set_dt_needed_soname (). | |
4380 | ||
9d68bc82 DD |
4381 | 2000-07-18 DJ Delorie <dj@cygnus.com> |
4382 | ||
4383 | * pe-dll.c (pe_dll_id_target): check object target name also | |
4384 | ||
53db15ed HPN |
4385 | 2000-07-18 Hans-Peter Nilsson <hp@axis.com> |
4386 | ||
4387 | * scripttempl/elf.sc (.init): Only do ${INIT_START} and | |
4388 | ${INIT_END} if relocating. | |
4389 | (.fini): Likewise ${FINI_START} and ${FINI_END}. | |
4390 | ||
0ad8cf4c DD |
4391 | 2000-07-16 Charles Wilson <cwilson@ece.gatech.edu> |
4392 | ||
a2b64bed | 4393 | * emultempl/pe.em (gld_*_open_dynamic_archive): New search |
0ad8cf4c DD |
4394 | order for dynamic library '-lfoo' on pei386: libfoo.dll.a, |
4395 | foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility | |
4396 | errors introduced by the old dynamic lib search order. | |
4397 | ||
874c8c99 DD |
4398 | 2000-07-17 DJ Delorie <dj@cygnus.com> |
4399 | ||
4400 | * pe-dll.c (process_def_file): auto-export data items also | |
4401 | (pe_process_import_defs): also see if _imp_ form needed | |
4402 | ||
5b4cf3f4 DD |
4403 | 2000-07-12 Charles Wilson <cwilson@ece.gatech.edu> |
4404 | ||
4405 | * pe-dll.c (make_one): fix a typo in the __imp_ name decoration | |
4406 | for dll import libraries | |
4407 | ||
062739d1 NC |
4408 | 2000-07-12 Mark Elbrecht <snowball3@bigfoot.com> |
4409 | ||
4410 | * scripttempl/i386go32.sc: Support the g++ attribute init_priority in | |
d952f17a | 4411 | gcc 2.95.2 and later. |
062739d1 | 4412 | |
1c64c4ed NC |
4413 | 2000-07-11 Kazu Hirata <kazu@hxi.com> |
4414 | ||
50bbae35 AM |
4415 | * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error |
4416 | message. | |
1c64c4ed | 4417 | |
b71e2778 AM |
4418 | 2000-07-10 Alan Modra <alan@linuxcare.com.au> |
4419 | ||
4420 | * ldemul.h (struct lang_input_statement_struct): Remove forward | |
4421 | declaration. | |
4422 | (struct search_dirs): Likewise. | |
4423 | * ldfile.h (struct lang_input_statement_struct): Likewise. | |
4424 | Protect file from multiple inclusion. | |
4425 | * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain | |
4426 | declaration from macro to file scope. | |
4427 | ||
4428 | * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order. | |
4429 | * ldgram.y: Likewise here. | |
4430 | * ldlang.c: And here. | |
4431 | * ldmain.c: And here. | |
4432 | * mpw-elfmips.c: And here. | |
4433 | * mpw-eppcmac.c: And here. | |
4434 | * emultempl/aix.em: And here. | |
4435 | * emultempl/armcoff.em: And here. | |
4436 | * emultempl/armelf.em: And here. | |
4437 | * emultempl/armelf_oabi.em: And here. | |
4438 | * emultempl/beos.em: And here. | |
4439 | * emultempl/elf32.em: And here. | |
4440 | * emultempl/hppaelf.em: And here. | |
4441 | * emultempl/linux.em: And here. | |
4442 | * emultempl/lnk960.em: And here. | |
4443 | * emultempl/pe.em: And here. | |
4444 | * emultempl/sunos.em: And here. | |
4445 | * mpw-esh.c: And here. Include ldexp.h and ldlang.h too. | |
4446 | * mpw-idtmips.c: Ditto. | |
4447 | * emultempl/generic.em: Ditto. | |
4448 | * emultempl/gld960.em: Ditto. | |
4449 | * emultempl/gld960c.em: Ditto. | |
4450 | * emultempl/mipsecoff.em: Ditto. | |
4451 | * emultempl/ticoff.em: Ditto. | |
4452 | * emultempl/vanilla.em: Ditto. | |
4453 | ||
4454 | * pe-dll.c: Include ldfile.h | |
4455 | * ldver.c: Include ldexp.h, ldlang.h, ldfile.h | |
4456 | ||
4457 | * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing | |
4458 | arguments to bfd_elf32_size_dynamic_sections call. | |
4459 | (gldelf32ebmip_place_orphan): Add missing arguments to | |
4460 | lang_leave_output_section_statement call. | |
4461 | ||
2ef53d66 L |
4462 | 2000-07-10 H.J. Lu <hjl@gnu.org> |
4463 | ||
4464 | * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with | |
4465 | DLL_SUPPORT. | |
4466 | (strhash): Likewise. | |
4467 | (compute_dll_image_base): Likewise. | |
4468 | (pe_undef_found_sym): Likewise. | |
4469 | (pe_undef_cdecl_match): Likewise. | |
4470 | (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the | |
4471 | argument "arch" with ATTRIBUTE_UNUSED. | |
4472 | ||
9a8cbb09 AM |
4473 | 2000-07-10 Alan Modra <alan@linuxcare.com.au> |
4474 | ||
4475 | * configure.tgt: Remove extraneous hppa*-*-linux-gnu*. | |
4476 | ||
4477 | From Ryan Bradetich <rbradetich@uswest.net> | |
4478 | * ldwrite.c (SSIZE): Remove to cure macro redefinition warning. | |
50bbae35 | 4479 | |
4900fc06 AM |
4480 | 2000-07-09 Alan Modra <alan@linuxcare.com.au> |
4481 | ||
4482 | Changes to create multiple linker stubs, positioned immediately | |
4483 | before the section where they are required. | |
4484 | * emultempl/hppaelf.em: Include elf32-hppa.h. | |
4485 | (stub_sec, file_chain): Delete. | |
4486 | (hppaelf_create_output_section_statements): Don't make a stub | |
4487 | section here. | |
4488 | (hook_stub_info): New struct. | |
4489 | (hook_in_stub): New function. | |
4490 | (hppaelf_add_stub_section): New function. | |
4491 | (hppaelf_finish): Do nothing for relocateable links. Modify the | |
4492 | call to elf32_hppa_size_stubs. Move code for updating section | |
4493 | layout from here... | |
4494 | (hppaelf_layaout_sections_again): ..to here, a new function. | |
4495 | ||
4496 | * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix | |
4497 | broken list handling. Pass in a pointer to the list. | |
4498 | (hppaelf_finish): Update call to hppaelf_delete_padding_statements | |
4499 | for above changes. | |
4500 | (hppaelf_before_parse): Prototype. | |
4501 | (hppaelf_set_output_arch): Prototype. | |
4502 | (hppaelf_create_output_section_statements): Prototype. | |
4503 | (hppaelf_delete_padding_statements): Prototype. | |
4504 | (hppaelf_finish): Prototype. | |
4505 | ||
4506 | Merge from elf32.em | |
4507 | * emultempl/hppaelf.em: Include ctype.h. | |
4508 | (struct orphan_save): New. | |
4509 | (gld${EMULATION_NAME}_place_orphan): New. | |
4510 | (output_rel_find): New. | |
4511 | (hppaelf_get_script): Update from elf32.em. | |
4512 | (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation. | |
4513 | Change emulation_name field to "${EMULATION_NAME}". Add | |
50bbae35 | 4514 | gld${EMULATION_NAME}_place_orphan. |
4900fc06 AM |
4515 | |
4516 | * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add | |
4517 | ehppalinux.o, sort it. Regenerate dependencies. | |
4518 | (ehppalinux.c): Depend on hppaelf.em | |
4519 | * Makefile.in: Regenerate. | |
4520 | ||
4521 | * configure.tgt: targ_emul=hppalinux for hppa*linux | |
4522 | ||
4523 | * emulparams/hppalinux.sh: New. | |
4524 | * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex. | |
4525 | ||
227aeb07 AM |
4526 | 2000-07-08 Alan Modra <alan@linuxcare.com.au> |
4527 | ||
4528 | * lexsup.c (parse_args): Copy section name. | |
4529 | ||
28609fd4 | 4530 | 2000-07-07 Charles Wilson <cwilson@ece.gatech.edu> |
602e90d3 | 4531 | |
2ef53d66 | 4532 | * emultempl/pe.em: institute the following search order for |
602e90d3 DD |
4533 | dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import |
4534 | libs), libfoo.dll, foo.dll (link direct to dll). Fall back to | |
4535 | static lib (libfoo.a) if none of the above are found. | |
4536 | ||
5f577f7d DD |
4537 | 2000-07-07 Mumit Khan <khan@xraylith.wisc.edu> |
4538 | ||
50bbae35 | 4539 | * emultempl/pe.em (pe_enable_auto_image_base): New variable. |
5f577f7d | 4540 | (longopts): New --{enable,disable}-auto-image-base options. |
50bbae35 | 4541 | (gld_${EMULATION_NAME}_list_options): Document. |
5f577f7d DD |
4542 | (gld_${EMULATION_NAME}_parse): Handle. |
4543 | (strhash): New static function. | |
50bbae35 | 4544 | (compute_dll_image_base): New static function. |
5f577f7d DD |
4545 | (gld_${EMULATION_NAME}_set_symbols): Use. |
4546 | ||
9a8cbb09 | 4547 | 2000-07-05 DJ Delorie <dj@redhat.com> |
302ab118 DD |
4548 | |
4549 | * MAINTAINERS: new | |
4550 | ||
3548145d | 4551 | 2000-07-01 Koundinya K <kk@ddeorg.soft.net> |
50bbae35 AM |
4552 | |
4553 | * configure.tgt: Add traditional mips (mips*-*-sysv4*) target. | |
4554 | * emulparams/elf32btsmip.sh: New file. | |
4555 | * Makefile.am: Add traditional mips target. | |
4556 | * Makefile.in: Rebuild. | |
4557 | ||
67798033 L |
4558 | 2000-07-01 H.J. Lu <hjl@gnu.org> |
4559 | ||
4560 | * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for | |
4561 | automake to use YLWRAP. | |
4562 | * Makefile.in: Rebuild. | |
4563 | ||
0bdaf48b AM |
4564 | 2000-07-01 Alan Modra <alan@linuxcare.com.au> |
4565 | ||
4566 | * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed | |
4567 | (CLEANFILES): Add DEPA. | |
4568 | * Makefile.in: Regenerate. | |
4569 | ||
c9e769c2 TW |
4570 | 2000-06-30 Timothy Wall <twall@ppc> |
4571 | ||
4572 | * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode | |
4573 | the page in the upper octet of the address. | |
4574 | ||
65aa24b6 NC |
4575 | 2000-06-26 Marek Michalkiewicz <marekm@linux.org.pl> |
4576 | ||
4577 | * emulparams/avrmega161.sh (ARCH): Change to avr:5. | |
4578 | ||
4667035e AM |
4579 | 2000-06-24 Alan Modra <alan@linuxcare.com.au> |
4580 | ||
4581 | * NEWS: arm-elf does --gc-sections too. | |
4582 | ||
1581f8c9 AM |
4583 | 2000-06-22 Alan Modra <alan@linuxcare.com.au> |
4584 | ||
4585 | * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we | |
4586 | find one. | |
4587 | * Makefile.in: Regenerate. | |
4588 | ||
01580992 L |
4589 | 2000-06-21 H.J. Lu <hjl@gnu.org> |
4590 | ||
4591 | * Makefile.am: Rebuild dependency. | |
4592 | * Makefile.in: Rebuild. | |
4593 | ||
bbeb2e03 L |
4594 | 2000-06-20 H.J. Lu <hjl@gnu.org> |
4595 | ||
4596 | * Makefile.am: Rebuild dependency. | |
4597 | * Makefile.in: Rebuild. | |
4598 | ||
74459f0e TW |
4599 | 2000-06-20 Timothy Wall <twall@cygnus.com> |
4600 | ||
4601 | * scripttempl/tic54xcoff.sc: New. | |
4602 | * ldlang.c (wild_doit): Propagate SEC_BLOCK flag. | |
4603 | * gen-doc.texi: Add flag for TI COFF. | |
4604 | * ld.texinfo: Add documentation for TI COFF handling switches. | |
4605 | * emultempl/ticoff.em: New. TI COFF handling. | |
4606 | * configure.tgt: Add tic54x target. | |
4607 | * Makefile.am: Add tic54x target. | |
4608 | * Makefile.in: Ditto. | |
4609 | ||
2ab47eed AM |
4610 | 2000-06-20 Alan Modra <alan@linuxcare.com.au> |
4611 | ||
4612 | * ldmain.c (set_scripts_dir): Correct pointer comparison when | |
4613 | checking for backslashes. | |
4614 | ||
919e4093 AM |
4615 | 2000-06-19 Alan Modra <alan@linuxcare.com.au> |
4616 | ||
4617 | * NEWS: Move entries not in 2.10 above "Changes in version 2.10". | |
4618 | ||
987fd5b4 AM |
4619 | 2000-06-18 Alan Modra <alan@linuxcare.com.au> |
4620 | ||
4621 | * NEWS: Update list of targets supporting --gc-sections. | |
4622 | ||
4623 | * scripttempl/elf.sc: KEEP .eh_frame contents. | |
4624 | * scripttempl/elfd30v.sc: Same here. | |
4625 | ||
60bcf0fa NC |
4626 | 2000-06-18 Stephane Carrez <stcarrez@worldnet.fr> |
4627 | ||
4628 | * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12 | |
4629 | and m68hc11 (elf). | |
4630 | * Makefile.in: Rebuild. | |
4631 | * configure.tgt: Recognize m68hc12 and m68hc11. | |
4632 | * scripttempl/elfm68hc12.sc: New file. | |
4633 | * emulparams/m68hc12elfb: New emulation. | |
4634 | * emulparams/m68hc12elf: New emulation. | |
4635 | * emulparams/m68hc11elfb.sh: New file. User configurable emulation | |
4636 | (includes a memory.x script to define the ROM and RAM banks). | |
4637 | * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh: | |
4638 | New configuration files for support of Motorola 68hc11 | |
4639 | ||
c7c54483 AM |
4640 | 2000-06-15 Alan Modra <alan@linuxcare.com.au> |
4641 | ||
4642 | * ldmain.c (main): Only change SEC_READONLY for final link. | |
4643 | ||
bcef29e6 L |
4644 | 2000-06-13 H.J. Lu <hjl@gnu.org> |
4645 | ||
4646 | * configure: Regenerate. | |
4647 | ||
946efd95 DB |
4648 | 2000-06-08 David O'Brien <obrien@FreeBSD.org> |
4649 | ||
4650 | * configure.in (VERSION): Update to show this is the CVS mainline. | |
4651 | ||
57a6fd07 DB |
4652 | 2000-06-07 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
4653 | ||
4654 | * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all | |
4655 | input objects to be ECOFF. | |
4656 | (check_sections): einfo takes %B, not %P, to print a BFD name. | |
4657 | ||
e06cae36 L |
4658 | 2000-06-05 Michael Matz <matz@ifh.de> |
4659 | ||
4660 | * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in | |
d952f17a | 4661 | version scripts. |
e06cae36 | 4662 | |
d952f17a | 4663 | * ldlex.l (V_IDENTIFIER): Accept `::' in symbols. |
e06cae36 | 4664 | |
2f0b56c0 DC |
4665 | 2000-05-23 Marek Michalkiewicz <marekm@linux.org.pl> |
4666 | ||
4667 | * emulparams/avr1200.sh (STACK): Define as 0. | |
4668 | * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address. | |
4669 | * emulparams/avr4433.sh (STACK): Likewise. | |
4670 | * emulparams/avr44x4.sh (STACK): Likewise. | |
4671 | * emulparams/avr85xx.sh (STACK): Likewise. | |
4672 | * emulparams/avrmega103.sh (STACK): Likewise. | |
4673 | * emulparams/avrmega161.sh (STACK): Likewise. | |
4674 | * emulparams/avrmega603.sh (STACK): Likewise. | |
4675 | * scripttempl/elf32avr.sc (__data_start): Define for gcrt1. | |
4676 | (__stack): Define from ${STACK} for main(). | |
4677 | ||
2114f57b AM |
4678 | 2000-05-26 Alan Modra <alan@linuxcare.com.au> |
4679 | ||
4680 | * Makefile.am: Update dependencies with "make dep-am" | |
4681 | * Makefile.in: Regenerate. | |
4682 | ||
5af11cab AM |
4683 | 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il> |
4684 | ||
4685 | * ldmain.c: Include filenames.h. | |
4686 | (set_scripts_dir): Support backslashes in program name. | |
4687 | ||
1f0df59a NC |
4688 | 2000-05-22 Igor Shevlyakov <igor@windriver.com> |
4689 | ||
4690 | * ldmain.c (main): When deciding if ".text" section should be | |
50bbae35 AM |
4691 | read-only, don't forget to reset SEC_READONLY because it |
4692 | could be already set. | |
1f0df59a | 4693 | |
176355da NC |
4694 | 2000-05-22 Thomas de Lellis <tdel@windriver.com> |
4695 | ||
50bbae35 AM |
4696 | * ld.1: Add documentation for new command line option: |
4697 | --section-start <sectionname>=<sectionorg> | |
4698 | This is a generic version of -Ttext etc. which accepts | |
4699 | any section name as a parameter instead of just text/data/ | |
4700 | bss. | |
4701 | * ld.texinfo: More docs. | |
4702 | * NEWS: More docs. | |
4703 | * lexsup.c: (parse_args): Recognize new command line option. | |
176355da | 4704 | (ld_options): Add new option. |
50bbae35 | 4705 | |
8c5ff972 L |
4706 | 2000-05-18 H.J. Lu <hjl@gnu.org> |
4707 | ||
4708 | * lexsup.c (parse_args): `i' == `r', not `q'. | |
4709 | ||
3b16e843 | 4710 | 2000-05-18 Jeffrey A Law (law@cygnus.com) |
0b76fe77 JL |
4711 | |
4712 | * configure.tgt (hppa*64*-*-*): Enable PA64 target. | |
4713 | ||
a712da20 NC |
4714 | 2000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com> |
4715 | Rick Gorton <gorton@scrugs.lkg.dec.com> | |
50bbae35 | 4716 | |
a712da20 NC |
4717 | Add support for '-q' == '--emit-relocs' switch. |
4718 | * ldmain.c (main): Default to false. | |
4719 | * lexsup.c (parse_args): Turn on emitrelocations flag if set. | |
4720 | * NEWS: Describe the emitrelocations switch. | |
4721 | * ld.texinfo: Describe the emitrelocations switch. | |
4722 | ||
690a460e NC |
4723 | 2000-05-16 Charles Wilson <cwilson@ece.gatech.edu> |
4724 | ||
a2b64bed | 4725 | * emultempl/pe.em (_open_dynamic_archive): New function: Search |
690a460e NC |
4726 | the library path for "foo.dll" and "libfoo.dll" dynamic libraries |
4727 | before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo' | |
4728 | link options. | |
50bbae35 | 4729 | |
c2f1343c AM |
4730 | 2000-05-15 David O'Brien <obrien@FreeBSD.org> |
4731 | ||
4732 | * lexsup.c (parse_args): Update the year in the copyright notice. | |
4733 | ||
897083bd AM |
4734 | 2000-05-13 Alan Modra <alan@linuxcare.com.au> |
4735 | ||
4736 | * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain): | |
4737 | Replace defines with those from intl/libgettext.h to quieten gcc | |
4738 | warnings. | |
4739 | ||
cd4c806a L |
4740 | 2000-05-10 H.J. Lu <hjl@gnu.org> |
4741 | ||
4742 | * ldlang.c (open_input_bfds): Don't load the same file within | |
4743 | a group again if the whole archive has been loaded already. | |
4744 | ||
93697284 AM |
4745 | 2000-05-03 Alan Modra <alan@linuxcare.com.au> |
4746 | ||
4747 | From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de> | |
4748 | * lexsup.c (set_section_start): Use bfd_scan_vma rather than | |
4749 | strtoul. | |
4750 | ||
3b16e843 | 4751 | 2000-05-01 Jim Wilson <wilson@cygnus.com> |
ebd6fc29 | 4752 | |
99a4150f | 4753 | * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}. |
50bbae35 | 4754 | |
ebd6fc29 JW |
4755 | * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for |
4756 | host "ia64-*-linux-gnu*". | |
4757 | ||
a1934524 AM |
4758 | 2000-04-29 Andreas Jaeger <aj@suse.de> |
4759 | ||
4760 | * ld.h: Correctly check GCC version. | |
4761 | ||
3b16e843 | 4762 | 2000-04-25 Jeffrey A Law (law@cygnus.com) |
730a39a0 JL |
4763 | |
4764 | * Makefile.am: Add PA64 support. Add missing dependencies for | |
4765 | PA32 elf support. | |
4766 | * Makefile.in: Rebuilt. | |
4767 | * configure.tgt: Add PA64 support (currently disabled). | |
4768 | ||
aea4bd9d AM |
4769 | 2000-04-25 Alan Modra <alan@linuxcare.com.au> |
4770 | ||
4771 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete. | |
4772 | (output_rel_find): New function. | |
4773 | (hold_section, hold_use): Delete. | |
4774 | (hold_text, hold_rodata, hold_data, hold_bss, hold_rel, | |
4775 | hold_interp): Make local to place_orphan. | |
4776 | (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find | |
4777 | rather than place_section to find possible previous use of orphan. | |
4778 | Similarly find the place-holder output sections. Use returned | |
4779 | value from lang_enter_output_section_statement rather than calling | |
4780 | lang_output_section_statement_lookup. | |
4781 | * emultempl/armelf.em: Same here. | |
4782 | * emultempl/pe.em: Similar to above, but no need for output_rel_find. | |
4783 | ||
4784 | * ldlang.c (lang_enter_output_section_statement): Return output | |
4785 | section statement. | |
4786 | * ldlang.h (lang_enter_output_section_statement): Change | |
4787 | declaration too. | |
4788 | ||
4789 | * ldlang.h (lang_output_section_statement): Export it. | |
4790 | * ldlang.c (lang_output_section_statement): Ditto. | |
4791 | ||
2b5fc1f5 NC |
4792 | 2000-04-24 Nick Clifton <nickc@cygnus.com> |
4793 | ||
4794 | * ld.texinfo (Output Section Data): Add note that section data | |
4795 | commands cannot appear outside of section directives. | |
4796 | ||
d8475ff6 JL |
4797 | 2000-04-2 Matthew Green <mrg@cygnus.com> |
4798 | ||
4799 | * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support. | |
4800 | ||
3b16e843 NC |
4801 | 2000-04-21 Richard Henderson <rth@cygnus.com> |
4802 | David Mosberger <davidm@hpl.hp.com> | |
800eeca4 JW |
4803 | |
4804 | * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o. | |
4805 | (eelf64_ia64.c): New rule. | |
4806 | * Makefile.in: Rebuild. | |
4807 | * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets. | |
4808 | * emulparams/elf64_ia64.sh: New file. | |
50bbae35 | 4809 | |
c9637625 RH |
4810 | 2000-04-21 Richard Henderson <rth@cygnus.com> |
4811 | ||
4812 | * scripttempl/elfd30v.sc: Place .gcc_except_table. | |
4813 | ||
28ea9521 AM |
4814 | 2000-04-19 Alan Modra <alan@linuxcare.com.au> |
4815 | ||
4816 | * dep-in.sed: Match space at start of file name, not at end. | |
4817 | ||
20d04697 L |
4818 | 2000-04-18 H.J. Lu <hjl@gnu.org> |
4819 | ||
4820 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call | |
4821 | lang_leave_output_section_statement () after calling | |
4822 | lang_enter_output_section_statement (). | |
4823 | * emultempl/armelf.em: Likewise. | |
4824 | ||
5ba47421 AM |
4825 | 2000-04-18 Alan Modra <alan@linuxcare.com.au> |
4826 | ||
4827 | * emultempl/elf32.em (struct orphan_save): Add section field. | |
4828 | (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in | |
4829 | better order, and place first orphan section as we did before the | |
4830 | 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place. | |
4831 | Don't call make_bfd_section here, let wild_doit do the job for us. | |
4832 | Don't build a statement list when we'll only throw it away. | |
4833 | * emultempl/armelf.em: Ditto. | |
4834 | * emultempl/pe.em: Similarly. | |
4835 | ||
bdbe5705 GK |
4836 | 2000-04-14 Geoff Keating <geoffk@cygnus.com> |
4837 | ||
4838 | * scripttempl/elfppc.sc: Remove. | |
4839 | * emulparams/elf32ppc.sh: Use elf.sc. | |
4840 | * emulparams/elf32lppc.sh: Use elf.sc. | |
4841 | * emulparams/elf32ppclinux.sh: Use elf.sc. | |
4842 | * emulparams/elf32ppcsim.sh: New file. | |
4843 | * emulparams/elf32lppcsim.sh: New file. | |
4844 | * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim. | |
4845 | (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim. | |
4846 | * Makefile.in: Regenerate. | |
4847 | * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim. | |
4848 | ||
01cc8ff8 AM |
4849 | 2000-04-14 Alan Modra <alan@linuxcare.com.au> |
4850 | ||
5ba47421 | 4851 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process |
01cc8ff8 | 4852 | ~SEC_ALLOC sections too. Init start address of debug sections. |
5ba47421 AM |
4853 | * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto. |
4854 | * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto. | |
01cc8ff8 AM |
4855 | Also set all relocateable section start addresses. |
4856 | ||
6c86c541 GK |
4857 | 2000-04-13 Geoff Keating <geoffk@cygnus.com> |
4858 | ||
4859 | * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections. | |
4860 | Add new BSS_PLT variable for when .plt need not be contained in | |
4861 | the file. Move _etext so that it is also after .fini, and provide | |
4862 | both etext and _etext with a leading underscore. Mark the start | |
4863 | and end of .sbss. | |
4864 | ||
6a345e87 AM |
4865 | 2000-04-12 Alan Modra <alan@linuxcare.com.au> |
4866 | ||
4867 | * emultempl/elf32.em (struct orphan_save): New. | |
4868 | (hold_text, hold_rodata, hold_data, hold_bss, hold_rel, | |
4869 | hold_interp): Make them struct orphan_save. | |
4870 | (gld${EMULATION_NAME}_place_section): Modify for new hold_*. | |
4871 | (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to | |
4872 | the end of the relevant section list. Also add associated section | |
4873 | statements to the end of any previous orphan statements. | |
4874 | * emultempl/armelf.em: Similarly. | |
4875 | * emultempl/pe.em: Similarly. | |
4876 | ||
8be86746 AM |
4877 | 2000-04-11 Alan Modra <alan@linuxcare.com.au> |
4878 | ||
4879 | * ld.texinfo (Simple Example): Remove extraneous paragraph. | |
4880 | ||
3b16e843 | 4881 | 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com> |
50bbae35 | 4882 | |
a2d91340 | 4883 | * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add |
50bbae35 | 4884 | --enable-build-warnings option. |
a2d91340 AC |
4885 | * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions. |
4886 | * Makefile.in, configure: Re-generate. | |
4887 | ||
41b49281 AM |
4888 | 2000-04-04 Alan Modra <alan@linuxcare.com.au> |
4889 | ||
8ad3436c AM |
4890 | * po/ld.pot: Regenerate. |
4891 | ||
4892 | * lexsup.c (help): Restore translated part of bug string. | |
4893 | ||
41b49281 AM |
4894 | * Makefile.am (MKDEP): Use gcc -MM rather than mkdep. |
4895 | (DEP): Quote when passing vars to sub-make. Add warning message | |
4896 | to end. | |
4897 | (DEP1): Rewrite for "gcc -MM". | |
4898 | (CLEANFILES): Add DEP2. | |
4899 | Update dependencies. | |
4900 | * Makefile.in: Regenerate. | |
4901 | ||
c20f4f8c AM |
4902 | 2000-04-03 Alan Modra <alan@linuxcare.com.au> |
4903 | ||
4904 | * ld.h: #include "bin-bugs.h" | |
4905 | * lexsup.c (help): Use REPORT_BUGS_TO. | |
4906 | ||
adde6300 AM |
4907 | 2000-03-27 Denis Chertykov <denisc@overta.ru> |
4908 | ||
4909 | * configure.tgt (avr-*-*): New target support. | |
4910 | * Makefile.am: Likewise. | |
4911 | * scripttempl/elf32avr.sc: New script file. | |
4912 | * emulparams/avr1200.sh: New file. | |
4913 | * emulparams/avr23xx.sh: New file. | |
4914 | * emulparams/avr4433.sh New file. | |
4915 | * emulparams/avr44x4.sh New file. | |
4916 | * emulparams/avr85xx.sh New file. | |
4917 | * emulparams/avrmega103.sh New file. | |
4918 | * emulparams/avrmega161.sh New file. | |
4919 | * emulparams/avrmega603.sh New file. | |
4920 | * Makefile.in: Regenerate. | |
4921 | ||
9282ff41 L |
4922 | 2000-03-09 Andreas Jaeger <aj@suse.de> |
4923 | ||
4924 | * Makefile.am (check-DEJAGNU): Also unset LANG. | |
4925 | * Makefile.in: Rebuild. | |
4926 | ||
a9998805 ILT |
4927 | 2000-03-06 Ian Lance Taylor <ian@zembu.com> |
4928 | ||
4929 | * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty | |
4930 | archive. | |
4931 | ||
f9bc20e7 NC |
4932 | 2000-03-02 H.J. Lu <hjl@gnu.org> |
4933 | ||
4934 | * emulparams/elf32mcore.sh: Include "getopt.h". | |
4935 | ||
4e277b38 ILT |
4936 | 2000-03-01 Ian Lance Taylor <ian@zembu.com> |
4937 | ||
4938 | * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware. | |
4939 | ||
f0c87f88 NC |
4940 | 2000-03-01 H.J. Lu <hjl@gnu.org> |
4941 | ||
4942 | * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR. | |
4943 | * emulparams/shpe.sh: Likewise. | |
4944 | ||
4945 | 2000-03-01 Nick Clifton <nickc@cygnus.com> | |
4946 | ||
4947 | * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED | |
4948 | to unused parameters. | |
4949 | ||
4950 | * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static | |
4951 | functions only used by DLL code. | |
4952 | (_place_orphan): Initialise 'dollar'. | |
4953 | ||
b6f29aaa L |
4954 | 2000-03-01 H.J. Lu <hjl@gnu.org> |
4955 | ||
4956 | * ldmain.c (undefined_symbol): Take one more arg, fatal, to | |
4957 | indicate if the undefined symbol is a fatal error or not. | |
4958 | Don't delete the output file if "fatal" is false. | |
4959 | ||
af28fce3 L |
4960 | 2000-02-29 H.J. Lu <hjl@gnu.org> |
4961 | ||
50bbae35 | 4962 | * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)". |
af28fce3 L |
4963 | Set LC_COLLATE and LC_ALL to null and export them. It is for |
4964 | sort which expects the C locale. | |
4965 | Add $(LIBS) to all $(HOSTING_LIBS). | |
4966 | * Makefile.in: Rebuild. | |
4967 | ||
40d109bf AM |
4968 | 2000-02-29 Alan Modra <alan@spri.levels.unisa.edu.au> |
4969 | ||
4970 | * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em, | |
4971 | beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em, | |
4972 | linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em} | |
4973 | (ld_emulation_xfer_struct): Add missing NULL initialiser for | |
4974 | find_potential_libraries. | |
4975 | ||
db5be682 JB |
4976 | 2000-02-28 Jim Blandy <jimb@redhat.com> |
4977 | ||
4978 | * ldgram.y (exclude_name_list): Don't require a comma to separate | |
50bbae35 | 4979 | list entries; the lexer considers commas to be valid part of a |
db5be682 JB |
4980 | filename, so in something like `foo, bar' the comma is considered |
4981 | part of the first filename, `foo,'. | |
4982 | * ld.texinfo: Update section on EXCLUDE_FILE lists. | |
4983 | ||
3558ff4c ILT |
4984 | 2000-02-27 Loren J. Rittle <ljrittle@acm.org> |
4985 | ||
4986 | * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for | |
4987 | host "i[3456]86-*-freebsdelf*". | |
4988 | ||
4eee2681 ILT |
4989 | 2000-02-27 Mark Elbrecht <snowball3@bigfoot.com> |
4990 | ||
4991 | * scripttempl/i386go32.sc: Move misplaced semicolons. | |
4992 | ||
8d75d12d ILT |
4993 | 2000-02-25 Ian Lance Taylor <ian@zembu.com> |
4994 | ||
4995 | * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o. | |
4996 | (ALL_64_EMULATIONS): Remove eelf64hppa.o. | |
4997 | (eelf64hppa.c, ehppaelf.c): Remove targets. | |
4998 | * Makefile.in: Rebuild. | |
4999 | ||
a1836d49 AO |
5000 | 2000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br> |
5001 | ||
ad51fb57 AO |
5002 | * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on |
5003 | GNU/Linux/sparc, but keep the default as 32. | |
5004 | ||
a1836d49 AO |
5005 | * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make |
5006 | it default if sparcv9 or sparc64. | |
5007 | ||
344a211f NC |
5008 | 2000-02-24 Nick Clifton <nickc@cygnus.com> |
5009 | ||
5010 | * Makefile.am: Add rules to build emipspe.o and earmpe.o. | |
5011 | * Makefile.in: Regenerate. | |
5012 | * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe. | |
5013 | ||
5014 | * ldemul.h (ld_emulation_xfer_struct): Add new field: | |
5015 | find_potential_libraries. | |
5016 | * ldemul.c (ldemul_find_potential_libraries): New function. | |
5017 | ||
5018 | * ldfile.c (ldfile_open_file_search): Allow function to be | |
50bbae35 | 5019 | exported. |
344a211f NC |
5020 | (ldfile_open_file): Call ldemul_find_potential_libraries. |
5021 | * ldfile.h: Add prototype for ldfile_open_file_search. | |
5022 | ||
5023 | * pe-dll.c: Add support for ARM, MIPS and SH targets. | |
5024 | ||
5025 | * emulparams/mipspe.sh: New file. Parameters for mips-pe target. | |
5026 | * emulparams/shpe.sh: New file. Parameters for sh-pe target. | |
5027 | ||
5028 | * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs. | |
5029 | (gld_X_find_potential_libraries): New function. Search for | |
5030 | libraries called "*.lib". | |
5031 | ||
a2b64bed | 5032 | * scripttempl/pe.sc: Add .pdata section. |
344a211f | 5033 | |
eaba1dd3 RH |
5034 | 2000-02-23 Richard Henderson <rth@cygnus.com> |
5035 | ||
5036 | * scripttempl/elfd10v.sc: Remove dynamic linking hooks. | |
5037 | Add and use memory regions. | |
5038 | ||
5b93d8bb AM |
5039 | 2000-02-23 Linas Vepstas (linas@linas.org) |
5040 | ||
5041 | * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New. | |
5042 | ||
5043 | * Makefile.am: Add support for Linux/IBM 370. | |
5044 | * configure.tgt: Likewise. | |
5045 | ||
5046 | * Makefile.in: Regenerate. | |
5047 | ||
f6af82bd AM |
5048 | 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au> |
5049 | ||
5050 | * ldlang.c (print_input_section, print_data_statement, | |
5051 | print_reloc_statement, print_padding_statement, insert_pad, | |
5052 | size_input_section, lang_check_section_addresses, | |
5053 | lang_size_sections, lang_do_assignments, lang_set_startof, | |
50bbae35 | 5054 | lang_one_common): Change `opb' to unsigned. |
f6af82bd AM |
5055 | (lang_do_assignments): Also change `size' to unsigned. |
5056 | ||
9e673ad1 RH |
5057 | 2000-02-16 Richard Henderson <rth@cygnus.com> |
5058 | ||
5059 | * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION. | |
5060 | ||
562d3460 TW |
5061 | 2000-02-16 Timothy Wall <twall@cygnus.com> |
5062 | ||
5063 | * mri.c (mri_draw_tree): Add default LMA region argument to call | |
5064 | to lang_leave_output_section_statement. | |
5065 | * ldlang.h: Update prototypes with LMA region arguments. | |
5066 | * ldlang.c (lang_size_sections): Encapsulate region bounds | |
5067 | checking in os_check_region call. | |
5068 | (os_check_region): New function. | |
5069 | (lang_output_section_statement_lookup): Initialize lma_region. | |
5070 | (lang_leave_output_section_statement): Add LMA region argument. | |
5071 | (lang_leave_overlay): Ditto. | |
5072 | * ldgram.y: Handle LMA region syntax. | |
5073 | * ld.texinfo (Output Section Description): Describe LMA region usage. | |
5074 | * emultempl/armelf.em (gld$place_orphan): Add default value for | |
01cc8ff8 | 5075 | lma region in call to lang_leave_output_section_statement. |
562d3460 | 5076 | * emultempl/elf32.em (gld$place_orphan): Add default value for |
01cc8ff8 | 5077 | lma region in call to lang_leave_output_section_statement. |
562d3460 | 5078 | * emultempl/pe.em (gld$place_orphan): Add default value for |
01cc8ff8 | 5079 | lma region in call to lang_leave_output_section_statement. |
50bbae35 AM |
5080 | |
5081 | ||
9e4ed18c TW |
5082 | 2000-02-04 Timothy Wall <twall@redhat.com> |
5083 | ||
5084 | * ldlang.c (lang_check_section_addresses): Use bytes instead of | |
5085 | octets when calculating section end addresses. | |
5086 | ||
32edc927 TW |
5087 | 2000-02-04 Timothy Wall <twall@redhat.com> |
5088 | ||
5089 | * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation. | |
5090 | ||
4cbfc3ac TW |
5091 | 2000-02-03 Timothy Wall <twall@redhat.com> |
5092 | ||
a2b64bed | 5093 | * ldexp.c (fold_name): Make SIZEOF operator return byte count, not |
4cbfc3ac | 5094 | octet count. |
a2b64bed | 5095 | * ldlang.c (print_input_section, print_data_statement, |
4cbfc3ac TW |
5096 | print_reloc_statement, print_padding_statement): Print target |
5097 | address values and section sizes as bytes, not octets. | |
5098 | (insert_pad) Calculate padding size in octets, and adjust "dot" | |
5099 | by bytes. | |
5100 | (size_input_section) Always adjust "dot" by bytes, not octets. | |
5101 | (lang_check_section_addresses, lang_do_assignments) Adjust | |
5102 | "dot" by bytes, not octets. Use the larger of the directive size | |
5103 | or octets_per_byte for the number of octets actually allocated in | |
5104 | the output section. | |
5105 | (lang_set_startof) Make sure STARTOF returns a target address. | |
5106 | (lang_one_common) Record size changes in octets. | |
5107 | (lang_abs_symbol_at_end_of) Section end symbol's value is | |
5108 | recorded in target bytes. | |
68b2fc7a | 5109 | * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc. |
4cbfc3ac | 5110 | to be clear about behavior when an octet is smaller than one byte. |
50bbae35 | 5111 | |
305c7206 AM |
5112 | 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au> |
5113 | ||
5114 | * ldcref.c (output_cref): Don't pass message strings to printf | |
5115 | as format arg. | |
5116 | Update copyright. | |
5117 | ||
5118 | * ldmisc.c (vfinfo): Same here. | |
5119 | Update copyright. | |
5120 | ||
e1c47aa4 AM |
5121 | 2000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au> |
5122 | ||
5123 | * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em, | |
5124 | generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em, | |
5125 | mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct): | |
5126 | Add missing NULL initialisers, and comments. | |
5127 | ||
13392b77 NC |
5128 | 2000-01-21 Nick Clifton <nickc@cygnus.com> |
5129 | ||
5130 | * ldlang.c (lang_size_sections): Fix typo in comment. | |
5131 | ||
cce4c4c5 NC |
5132 | 2000-01-18 H.J. Lu <hjl@gnu.org> |
5133 | ||
5134 | * ldlang.c (lang_size_sections): Also update the current | |
5135 | address of a region if the SEC_NEVER_LOAD bit is not set. | |
5136 | ||
0decc840 NC |
5137 | 2000-01-10 Philip Blundell <pb@futuretv.com> |
5138 | ||
5139 | * configure.tgt (arm*-*-conix*): New target. | |
5140 | ||
4e53152f NC |
5141 | 2000-01-07 Nick Clifton <nickc@cygnus.com> |
5142 | ||
5143 | * ld.texinfo (Options): Remind users to preceed linker command | |
fa19fce0 NC |
5144 | line switches with -Wl, (or whatever is appropriate) if it is |
5145 | being invoked by a comnpiler driver program. | |
50bbae35 | 5146 | Fix description of the behaviour of the -n command line switch. |
4e53152f | 5147 | |
3b16e843 | 5148 | 2000-01-05 Catherine Moore <clm@cygnus.com> |
18625d54 CM |
5149 | |
5150 | * ld.h (wildcard_spec): Change exclude_name to exclude_name_list. | |
5151 | (name_list): New. | |
5152 | * ld.texinfo (EXCLUDE_FILE): Update documentation. | |
5153 | * ldgram.y (wildcard_spec): Support a list of excluded_files. | |
5154 | (exclude_name_list): New. | |
5155 | ldlang.c (walk_wild_section): Support list of excluded files. | |
5156 | (print_wild_statement): Likewise. | |
5157 | (lang_add_wild): Likewise. | |
5158 | * ldlang.h (lang_wild_statement_type): Likewise. | |
5159 | * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support. | |
6ddeca85 | 5160 | |
5aaace27 NC |
5161 | 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu> |
5162 | ||
870df5dc NC |
5163 | * pe-dll.c (pe_dll_warn_dup_exports): New variable. |
5164 | (process_def_file): Use. | |
5165 | (pe_dll_compat_implib): New variable. | |
5166 | (make_one): Use. | |
50bbae35 | 5167 | |
870df5dc NC |
5168 | * pe-dll.h: Add exports of pe_dll_warn_dup_exports and |
5169 | pe_dll_compat_implib. | |
50bbae35 AM |
5170 | |
5171 | * emultempl/pe.em (longopts): Add warn-duplicate-exports and | |
870df5dc NC |
5172 | compat-implib options. |
5173 | (gld_${EMULATION_NAME}_list_options): List new options. | |
5174 | (gld_${EMULATION_NAME}_parse_args): Handle. | |
5175 | ||
50bbae35 | 5176 | * pe-dll.c (pe_dll_generate_implib): Use the correct name for output |
5aaace27 | 5177 | dll. |
50bbae35 AM |
5178 | |
5179 | * deffilep.y (opt_name): Allow "." in name. | |
5aaace27 | 5180 | |
2f6d2f85 | 5181 | For older changes see ChangeLog-9899 |
252b5132 RH |
5182 | \f |
5183 | Local Variables: | |
5184 | mode: change-log | |
5185 | left-margin: 8 | |
5186 | fill-column: 74 | |
5187 | version-control: never | |
5188 | End: |