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