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