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