Commit | Line | Data |
---|---|---|
506eee22 NC |
1 | 2001-05-22 Alexandre Oliva <aoliva@redhat.com> |
2 | ||
3 | * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh. | |
4 | (ELF_INTERPRETER_NAME): Define it. | |
5 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use | |
6 | it. | |
7 | * configure.tgt (targ_emul, targ_extra_emuls) | |
8 | [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso | |
9 | as primary, elf_i386 as extra. | |
10 | * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o. | |
11 | (eelf_i386_ldso.c): New rule. | |
12 | * Makefile.in: Rebuilt. | |
13 | ||
14 | 2001-05-22 Nick Clifton <nickc@redhat.com> | |
15 | ||
16 | * lexsup.c (ld_options): Allow -I to be an alias for | |
17 | --dynamic-linker. This is for Solaris compatability. | |
18 | * ld.texinfo: Document that -I can be used. | |
19 | * ld.1: Regenerate. | |
20 | ||
d1778b88 AM |
21 | 2001-05-16 Alan Modra <amodra@one.net.au> |
22 | ||
23 | * ldlang.c (wild_doit): Use linker_has_input to reliably determine | |
24 | whether an input section is the first one assigned to an output | |
25 | section. | |
26 | Assorted formatting fixes. | |
27 | ||
02649152 DD |
28 | 2001-05-14 DJ Delorie <dj@delorie.com> |
29 | ||
30 | * Makefile.am (ld.dvi): Search bfd/doc for texinfo files. | |
31 | * Makefile.in: Ditto. | |
32 | ||
579f31ac JJ |
33 | 2001-05-11 Jakub Jelinek <jakub@redhat.com> |
34 | ||
35 | * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put | |
36 | .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind* | |
37 | output sections. | |
38 | * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise. | |
39 | ||
8550eb6e JJ |
40 | 2001-05-11 Jakub Jelinek <jakub@redhat.com> |
41 | ||
42 | * ldlang.c (lang_process): Call bfd_merge_sections. | |
43 | ||
8e5a525c AM |
44 | 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
45 | ||
46 | * ldgram.y: Fix typo. | |
47 | ||
1c9acd94 L |
48 | 2001-05-03 H.J. Lu <hjl@gnu.org> |
49 | ||
50 | * emultempl/elf32.em: Include "libiberty.h". | |
51 | (gld${EMULATION_NAME}_vercheck): Call basename () to get the | |
52 | basename of the bfd filename. | |
53 | (gld${EMULATION_NAME}_stat_needed): Likewise. | |
54 | (gld${EMULATION_NAME}_try_needed): Likewise. | |
55 | (gld${EMULATION_NAME}_open_dynamic_archive): Likewise. | |
56 | ||
14fe918e L |
57 | 2001-05-02 H.J. Lu <hjl@gnu.org> |
58 | ||
59 | * emultempl/pe.em: Include <ctype.h>. | |
60 | ||
c7e40348 NC |
61 | 2001-05-02 Johan Rydberg <jrydberg@opencores.org> |
62 | ||
63 | * emulparams/elf32openrisc.sh: New file. | |
64 | ||
65 | * Makefile.am: Add OpenRISC target. | |
66 | * Makefile.in: Regenerated. | |
67 | ||
68 | * configure.tgt: Add openrisc-*-* mapping. | |
69 | ||
70 | 2001-05-02 Nick Clifton <nickc@redhat.com> | |
71 | ||
72 | * emultempl/aix.em: Replace buystring with xstrdup. | |
73 | * emultempl/beos.em: Replace buystring with xstrdup. | |
74 | ||
d1b2b2dc L |
75 | 2001-05-02 H.J. Lu <hjl@gnu.org> |
76 | ||
77 | * ldfile.c: Include "libiberty.h". | |
78 | * ldlex.l: Likewise. | |
79 | ||
80 | * ldmisc.c (buystring): Removed. | |
81 | * ldmisc.h: Likewise. | |
82 | ||
83 | * ldfile.c: Replace buystring with xstrdup. | |
84 | * ldlang.c: Likewise. | |
85 | * ldlex.l: Likewise. | |
86 | * ldmain.c: Likewise. | |
87 | * ldmisc.c: Likewise. | |
88 | * lexsup.c: Likewise. | |
89 | * mpw-eppcmac.c: Likewise. | |
90 | ||
35714f2a AJ |
91 | 2001-04-30 Andreas Jaeger <aj@suse.de> |
92 | ||
93 | * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value. | |
94 | ||
884fb58e NC |
95 | 2001-04-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com> |
96 | ||
97 | * ldlang.c (load_symbols): Give emulation a chance | |
98 | to process unrecognized file before fatal error is | |
99 | reported, not after. | |
100 | ||
87748b32 NC |
101 | 2001-04-27 Sean McNeil <sean@mcneil.com> |
102 | ||
103 | * configure.tgt: Add arm-vxworks target. | |
104 | * scripttempl/armcoff.sc: Support .text or .data as a section name | |
105 | prefix. | |
106 | Define _etext. | |
35714f2a | 107 | |
7ce691ae C |
108 | 2001-04-13 J.T. Conklin <jtc@redback.com> |
109 | ||
110 | * ld.texinfo: Document --fatal-warnings. | |
111 | * ld.1: Regenerate. | |
112 | ||
113 | * ldmisc.c (vfinfo): Set flag to inhibit making executable if | |
35714f2a | 114 | warnings have been turned into errors. |
7ce691ae C |
115 | * lexsup.c (OPTION_WARN_FATAL): Define. |
116 | (ld_options): Entry for --fatal-warnings. | |
117 | (parse_args): Handle OPTION_WARN_FATAL. | |
118 | * ld.h (ld_config_type): Add fatal_warnings field. | |
119 | ||
f5fa8ca2 JJ |
120 | 2001-04-13 Jakub Jelinek <jakub@redhat.com> |
121 | ||
122 | * ldmain.c (main): Default to discard_sec_merge. | |
123 | * lexsup.c (OPTION_DISCARD_NONE): Define. | |
124 | (ld_options): Add --discard-none. | |
125 | (parse_args): Handle OPTION_DISCARD_NONE. | |
126 | * ldlang.c (wild_doit): SEC_MERGE should be set in the output | |
127 | section only if SEC_MERGE and SEC_STRINGS flags and entsize of | |
128 | all its input sections match. | |
129 | ||
fdec3cfc L |
130 | 2001-04-05 Steven J. Hill <sjhill@cotw.com> |
131 | ||
132 | * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o. | |
133 | (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o. | |
134 | (eelf32ltsmip.c): New target. | |
135 | (eelf64btsmip.c): Likewise. | |
136 | (eelf64ltsmip.c): Likewise. | |
137 | * Makefile.in: Regenerated. | |
138 | ||
139 | * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS | |
140 | target. | |
141 | (mips*-*-linux-gnu*): Likewise. | |
142 | ||
143 | * emulparams/elf32ltsmip.sh: New. Traditional little endian | |
144 | MIPS taget. | |
35714f2a | 145 | * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian |
fdec3cfc L |
146 | target. |
147 | * emulparams/elf64ltsmip.sh: New. Traditional 64bit little | |
148 | endian target. | |
149 | ||
589bad82 HPN |
150 | 2001-04-05 Hans-Peter Nilsson <hp@axis.com> |
151 | ||
152 | * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide | |
153 | correct value of __Stext here. | |
154 | (TEXT_START_SYMBOLS): Define; always define __Stext, to start of | |
155 | .startup section. | |
156 | ||
157 | * emulparams/crislinux.sh: Remove FIXME. | |
158 | ||
94202e16 AM |
159 | 2001-04-02 Alan Modra <alan@linuxcare.com.au> |
160 | ||
161 | * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k. | |
162 | (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise. | |
163 | ||
1268a053 HPN |
164 | 2001-03-27 Hans-Peter Nilsson <hp@axis.com> |
165 | ||
166 | * configure.tgt (cris-*-*): Change default emulation to criself. | |
167 | (cris-*-*aout*): New rule. | |
168 | ||
d85e9ff7 AM |
169 | 2001-03-27 Matthew Wilcox <willy@ldl.fc.hp.com> |
170 | ||
171 | * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000. | |
172 | (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto. | |
173 | ||
0879a67a AJ |
174 | 2001-03-26 Andreas Jaeger <aj@suse.de> |
175 | ||
176 | * ld.texinfo (Overview): Fix syntax in texi code. | |
177 | ||
0285c67d NC |
178 | 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
179 | ||
180 | * ld.texinfo: Put @c man indications to generate the ld man page. | |
181 | When generating man, define all the variables. Define SEEALSO | |
182 | and SYNOPSIS. Re-organize some lines to avoid the cross references. | |
183 | * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables. | |
184 | (ld.1): Generate from ld.texinfo. | |
185 | * Makefile.in: Regenerate. | |
186 | ||
c20ec07b NC |
187 | 2001-03-23 Mark Elbrecht <snowball3@bigfoot.com> |
188 | ||
189 | * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections' | |
190 | and '-fdata-sections'. Set the VMA of STABS sections to zero. | |
191 | ||
cc5ce052 UD |
192 | 2001-03-17 Ulrich Drepper <drepper@redhat.com> |
193 | ||
194 | * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME | |
195 | is an absolute path look only for this file and not along the path. | |
196 | ||
a1ab1d2a UD |
197 | 2001-03-17 Ulrich Drepper <drepper@redhat.com> |
198 | ||
199 | * emultempl/elf32.em (OPTION_GROUP): New macro. | |
200 | Add new option Bgroup to longopts. | |
201 | (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs. | |
202 | (gld*_list_options): Add -Bgroup and -z defs. | |
203 | * ld.1: Document -Bgroup and -z defs. | |
204 | * ld.texinfo: Likewise. | |
205 | ||
788fca5a MM |
206 | 2001-03-07 Michael Meissner <meissner@redhat.com> |
207 | ||
208 | * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal | |
209 | with sections created by -fdata-sections. | |
210 | (.dynbss,.bss): Ditto. | |
211 | ||
1c7566d1 AM |
212 | 2001-03-05 Alan Modra <alan@linuxcare.com.au> |
213 | ||
214 | * emultempl/m68kelf.em (m68k_elf_after_allocation): Call | |
215 | after_allocation_default, not gld..._before_allocation. | |
216 | ||
1688b748 MH |
217 | 2001-02-28 Matt Hiller <hiller@redhat.com> |
218 | ||
219 | * testsuite/ld-scripts/crossref.exp: Initialize flags to | |
220 | [big_or_little_endian]. | |
221 | * testsuite/ld-undefined/undefined.exp: Ditto, and include $flags | |
222 | in ld invocations. | |
223 | * testsuite/lib/ld-lib.exp (big_or_little_endian): Recognize -EB, | |
c19bd1c6 | 224 | -eb, -EL and -el. |
1688b748 MH |
225 | (is_endian_output_format): New function. |
226 | (default_ld_link): Set flags to [big_or_little_endian] only if ld | |
227 | is being invoked such that the output format being used is of | |
228 | known endianness. | |
229 | (default_ld_simple_link): Ditto. | |
230 | ||
27b7e12d AM |
231 | 2001-02-27 Alan Modra <alan@linuxcare.com.au> |
232 | ||
233 | * configure.in (BFD_VERSION): New. | |
234 | (AM_INIT_AUTOMAKE): Use $BFD_VERSION. | |
235 | * configure: Regenerate. | |
236 | * Makefile.am: Run "make dep-am" | |
237 | * Makefile.in: Regenerate. | |
238 | ||
2bc551c7 TW |
239 | 2001-02-26 Timothy Wall <twall@cygnus.com> |
240 | ||
241 | * emulparams/elf64_aix.sh: Add additional read-only sections; | |
242 | uncomment lines which are now required. | |
243 | ||
1276aefa NC |
244 | 2001-02-26 H.J. Lu <hjl@gnu.org> |
245 | ||
246 | * ldlang.c (open_input_bfds): Set the bfd error handler so | |
247 | that problems can be caught whilst loading symbols. | |
248 | (record_bfd_errors): New function: Report BFD errors and mark | |
249 | the executable output as being invalid. | |
250 | ||
41c49998 TW |
251 | 2001-02-22 Timothy Wall <twall@cygnus.com> |
252 | ||
253 | * configure.host: Add configuration for ia64-*-aix*. | |
254 | * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*. | |
255 | Add dependencies for eelf64_aix.c. | |
256 | * Makefile.in: Regenerate. | |
257 | * configure.tgt: Add ia64-*-aix* mapping. | |
258 | * emulparams/elf64_aix.sh: Add settings for elf64 on aix5. | |
a2b64bed | 259 | * testsuite/ld-bootstrap/bootstrap.exp: Exclude ia64 flavor from |
0879a67a AJ |
260 | AIX-specific test. |
261 | ||
78f85fd7 L |
262 | 2001-02-20 H.J. Lu <hjl@gnu.org> |
263 | ||
264 | * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to | |
265 | false if we found the file. | |
266 | ||
1ac7e077 | 267 | 2001-02-18 David O'Brien <obrien@FreeBSD.org> |
fb33b906 DB |
268 | |
269 | * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64, | |
270 | FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries. | |
271 | ||
e135f41b NC |
272 | 2001-02-18 lars brinkhoff <lars@nocrew.org> |
273 | ||
274 | * Makefile.am: Add PDP-11 target. | |
275 | * configure.tgt: Likewise. | |
276 | * emulparams/pdp11.sh: New file. | |
277 | ||
a842aceb DB |
278 | 2001-02-17 David O'Brien <obrien@FreeBSD.org> |
279 | ||
280 | * configure.host: Add a generic FreeBSD configuration entry such that | |
281 | all [modern] FreeBSD systems on all platforms will look the same. | |
282 | ||
24174db0 L |
283 | 2001-02-14 H.J. Lu <hjl@gnu.org> |
284 | ||
285 | * configure.tgt: Remove mention of earmelf_linux26. | |
286 | ||
30c3c13a RH |
287 | 2001-02-13 Richard Henderson <rth@redhat.com> |
288 | ||
289 | * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove. | |
290 | ||
b46a87b1 L |
291 | 2001-02-13 H.J. Lu <hjl@gnu.org> |
292 | ||
293 | * ldexp.h (node_type): Add etree_provided. | |
294 | * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node | |
295 | type to etree_provided if defined by PROVIDE. Allow updating | |
0879a67a | 296 | for etree_provided. |
b46a87b1 L |
297 | (exp_print_tree): Handle etree_provided. |
298 | * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle | |
299 | etree_provided. | |
300 | ||
f3988fd9 RH |
301 | 2001-02-09 David Mosberger <davidm@hpl.hp.com> |
302 | ||
303 | * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add | |
304 | .IA_64.unwind.* pattern to unwind table section and | |
305 | .IA_64.unwind_info* pattern to unwind info section. | |
306 | ||
a85d7ed0 NC |
307 | 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com> |
308 | ||
309 | * Makefile.am: Add linux target for S/390. | |
310 | * Makefile.in: Likewise. | |
311 | * configure.host: Likewise. | |
312 | * configure.tgt: Likewise. | |
313 | * emulparams/elf64_s390.sh: New file. | |
314 | * emulparams/elf_s390.sh: New file. | |
315 | ||
780248c4 JJ |
316 | 2001-02-09 Jakub Jelinek <jakub@redhat.com> |
317 | ||
318 | * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into | |
319 | targ_extra_libpath. | |
320 | (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath. | |
321 | ||
0e2534bd PB |
322 | 2001-02-06 Philip Blundell <philb@gnu.org> |
323 | ||
324 | * Makefile.am: Remove mention of earmelf_linux26. | |
325 | * Makefile.in: Regenerate. | |
326 | ||
46c1ea57 PB |
327 | 2001-02-04 Philip Blundell <philb@gnu.org> |
328 | ||
329 | * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000. | |
330 | * emulparams/armelf_linux26.sh: Delete. | |
331 | * configure.tgt: Remove mention of armelf_linux26 emulation. | |
332 | ||
0088edd2 NC |
333 | 2001-02-01 Nick Clifton <nickc@redhat.com> |
334 | ||
335 | * ld.1: Replace occurances of -oformat with --oformat. | |
336 | ||
02aa14fb AM |
337 | 2001-01-25 Jim Driftmyer <jdrift@stny.rr.com> |
338 | ||
339 | * ldlang.c (lang_leave_overlay): Don't set lma_region when | |
340 | load_base is specified. | |
341 | ||
f813923c HPN |
342 | 2001-01-24 Hans-Peter Nilsson <hp@axis.com> |
343 | ||
344 | * emultempl/elf32.em: Correct spelling in comments and listed | |
345 | options. | |
346 | ||
c1eb1488 AM |
347 | 2001-01-23 Alan Modra <alan@linuxcare.com.au> |
348 | ||
349 | * ldlang.c (lang_leave_overlay): Only set lma_region from the | |
350 | default for the first section of a group of overlay sections. | |
351 | ||
d9fc3714 AM |
352 | 2001-01-22 Alan Modra <alan@linuxcare.com.au> |
353 | ||
354 | * Makefile.am (GENSCRIPTS): Pass exec_prefix. | |
355 | * Makefile.in: Regenerate. | |
356 | * genscripts.sh: Use exec_prefix parameter to specify tool lib. | |
357 | Check for null tool_dir. | |
358 | ||
6be0ca94 JW |
359 | 2001-01-16 Jim Wilson <wilson@redhat.com> |
360 | ||
361 | * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind | |
362 | and IA_64.unwind.info. | |
363 | ||
b9247304 L |
364 | 2001-01-16 H.J. Lu <hjl@gnu.org> |
365 | ||
366 | * ldlang.c (lang_check): Merge the private data only if the | |
367 | input file has contents. | |
368 | ||
577a0623 AM |
369 | 2001-01-14 Alan Modra <alan@linuxcare.com.au> |
370 | ||
d952f17a AM |
371 | * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux. |
372 | ||
ffd6e9de AM |
373 | * emultempl/hppaelf.em (hppaelf_after_parse): New function, |
374 | enabling search for libmilli. On a relocatable link, make .text | |
375 | sections unique. | |
376 | (LDEMUL_AFTER_PARSE): Define. | |
377 | (hppaelf_finish): Correct spelling of relocatable in comments. | |
378 | ||
577a0623 AM |
379 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't |
380 | rummage through the script for sections on the unique list. | |
381 | Correct length of strncmp for ".note". | |
382 | (gld${EMULATION_NAME}_check_needed): Rearrange function. | |
383 | ||
384 | * ldlang.c (unique_section_list): New var. | |
385 | (unique_section_p): New function. | |
386 | (walk_wild_section): Don't match sections on unique_section_list. | |
387 | (lang_add_unique): New function. | |
ffd6e9de | 388 | Correct spelling of relocatable in comments. |
577a0623 AM |
389 | |
390 | * ldlang.h (struct unique_sections): Declare. | |
391 | (unique_section_list): Declare. | |
392 | (unique_section_p): Declare. | |
393 | (lang_add_unique): Declare. | |
394 | ||
395 | * lexsup.c (ld_options): Allow --unique to take an optional arg. | |
396 | (parse_args [OPTION_UNIQUE]): Call lang_add_unique. | |
397 | ||
398 | * ld.texinfo (--unique): Update. | |
399 | ||
b7ed8fad NC |
400 | 2001-01-13 Nick Clifton <nickc@redhat.com> |
401 | ||
402 | * lexsup.c (parse_args): Remove spurious white space. | |
403 | ||
d0398d6a NC |
404 | 2001-01-12 Nick Clifton <nickc@redhat.com> |
405 | ||
406 | * lexsup.c (parse_args): Update copyright date. | |
407 | ||
350fdb00 PB |
408 | 2001-01-12 Philip Blundell <pb@futuretv.com> |
409 | ||
410 | * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin. | |
411 | ||
60c6797e KH |
412 | 2001-01-10 Kazu Hirata <kazu@hxi.com> |
413 | ||
414 | * scripttempl/h8300.sc: Fix formatting. Fix a comment typo. | |
415 | * scripttempl/h8300h.sc: Fix formatting. | |
416 | * scripttempl/h8300s.sc: Likewise. | |
69f06969 KH |
417 | * scripttempl/h8500.sc: Likewise. |
418 | * scripttempl/h8500b.sc: Likewise. | |
419 | * scripttempl/h8500c.sc: Likewise. | |
420 | * scripttempl/h8500m.sc: Likewise. | |
421 | * scripttempl/h8500s.sc: Likewise. | |
60c6797e | 422 | |
482e8b32 DB |
423 | 2000-01-07 David O'Brien <obrien@BSDi.com> |
424 | ||
425 | * emultempl/elf32.em: Only perform Linux ld hints processing when | |
426 | targeting Linux. | |
427 | ||
d7ed7ca6 PB |
428 | 2001-01-07 Philip Blundell <philb@gnu.org> |
429 | ||
430 | * ld.texinfo (Bug Reporting): Update email address for reports. | |
431 | ||
0fc3347a NC |
432 | 2000-12-31 Nick Clifton <nickc@redhat.com> |
433 | ||
434 | * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long | |
435 | options by checking for a return value of '?' not -1. | |
436 | ||
e4897a32 NC |
437 | 2000-12-28 Nick Clifton <nickc@redhat.com> |
438 | ||
439 | * lexsup.c (struct ld_option): Add new enum value: | |
440 | EXACTLY_TWO_DASHES. | |
441 | (ld_options[]): Change -omagic, -output and -oformat options | |
442 | to be EXACTLY_TWO_DASHES. | |
443 | (OUTPUT_COUNT): Use ARRAY_SIZE. | |
444 | (parse_args): Change parameter 'argc' to unsigned. | |
445 | Place EXACTLY_TWO_DASHES options into new really_longopts | |
446 | array. | |
447 | If getopt_long_only fails, try calling getopt_long using the | |
448 | really_longopts array. | |
449 | (help): Print a double dash for both EXACTLY_TWO_DASHES and | |
450 | TWO_DASHES options. | |
451 | ||
452 | * ldlex.h: Fix prototype of parse_args. | |
453 | ||
454 | * ld.texinfo: Document that long options starting with 'o' | |
455 | must be preceeded by two dashes. Change example of a single | |
456 | dashed long option from -oformat to -trace-symbol. | |
457 | ||
1122a5fc NC |
458 | 2000-12-26 Danny Smith <danny_r_smith_2001@yahoo.co.nz> |
459 | ||
460 | * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define. | |
461 | (longopts[]): New --no-default-excludes option. | |
462 | (gld_${EMULATION_NAME}_list_options): Document. | |
463 | (gld_${EMULATION_NAME}_parse_args): Handle. | |
464 | ||
037849a9 NC |
465 | 2000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
466 | ||
467 | * ldlang.c (new_stat): Revert the last beautification with "innocent" | |
468 | whitespace, it breaks the K&R C preprocessor. | |
469 | ||
7ec229ce DD |
470 | 2000-12-11 DJ Delorie <dj@redhat.com> |
471 | ||
472 | * ld.texinfo: Add notes about --whole-archive and gcc. | |
473 | ||
b79e8c78 NC |
474 | 2000-11-18 Fred Fish <fnf@be.com> |
475 | ||
476 | * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define. | |
477 | (ld_options): Entry for --allow-shlib-undefined. | |
478 | (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED. | |
479 | * ldmain.c (main): Initialize link_info.allow_shlib_undefined | |
480 | to false. | |
481 | * ld.texinfo: Document new command line switch. | |
d952f17a | 482 | |
9a8e2505 GK |
483 | 2000-12-12 Geoffrey Keating <geoffk@redhat.com> |
484 | ||
485 | * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): | |
486 | .fixup is actually read/write. | |
487 | * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise. | |
488 | * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise. | |
489 | * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise. | |
490 | ||
b8355149 JH |
491 | Mon Dec 11 14:50:33 MET 2000 Jan Hubicka <jh@suse.cz> |
492 | ||
493 | * NEWS: Add note about x86_64 architecture. | |
494 | ||
93b63cd3 DD |
495 | 2000-12-06 Mark Elbrecht <snowball3@bigfoot.com> |
496 | ||
497 | * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end. | |
498 | Set DWARF2 sections to a VMA of zero. | |
499 | ||
24f6971a NC |
500 | 2000-12-01 Joel Sherrill <joel@OARcorp.com> |
501 | ||
d952f17a | 502 | * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*): |
24f6971a NC |
503 | New targets. |
504 | (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets. | |
505 | (sparc*-*-rtems*): Switched from a.out to ELF. | |
506 | ||
2be3aa03 NC |
507 | 2000-11-30 Jan Hubicka <jh@suse.cz> |
508 | ||
509 | * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o | |
510 | (eelf_x86_64.c): New. | |
511 | * Makefile.in: Regenerate. | |
512 | * configure.tgt: Add support for x86_64-*-linux-gnu*. | |
513 | * emulparams/elf_x86_64.sh: New. | |
514 | ||
8c899858 HPN |
515 | 2000-11-30 Hans-Peter Nilsson <hp@axis.com> |
516 | ||
517 | * emulparams/crislinux.sh (ENTRY): Change back to _start. | |
518 | (TEXT_START_SYMBOLS): Remove conditional setting of __start. | |
519 | ||
520 | * scripttempl/crisaout.sc: Change all RELOCATING not related to | |
521 | merging non-a.out sections into CONSTRUCTING. | |
522 | ||
e47b9e39 NC |
523 | 2000-11-28 Nick Clifton <nickc@redhat.com> |
524 | ||
525 | * ld.1 (COPYING): Mention that the GNU Free Documentation | |
526 | License is present in the sources, but not the output, and | |
527 | also available from the GNU website. | |
528 | (GNU Free Documentation License): Comment out this section. | |
529 | ||
ad95f82a DB |
530 | 2000-11-28 David O'Brien <obrien@dragon.nuxi.com> |
531 | ||
532 | * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF | |
533 | does not use them. | |
534 | ||
fd89e65f DB |
535 | 2000-11-25 David O'Brien <obrien@FreeBSD.org> |
536 | ||
537 | * ld.1: Remove old date so it does not give the impression the manpage | |
538 | is way out of date. | |
539 | ||
077b8428 NC |
540 | 2000-11-24 Nick Clifton <nickc@redhat.com> |
541 | ||
542 | * configure.tgt (xscale-coff): Add target. | |
543 | (xscale-elf): Add target. | |
544 | ||
49425d28 NC |
545 | 2000-11-24 Fred Fish <fnf@be.com> |
546 | ||
d952f17a AM |
547 | * ldmain.c (main): Remove redundant init of config.make_executable |
548 | to true. | |
49425d28 | 549 | |
d3480244 RH |
550 | 2000-11-15 Richard Henderson <rth@redhat.com> |
551 | ||
552 | * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M. | |
553 | ||
1ce7de8b KH |
554 | 2000-11-14 Kazu Hirata <kazu@hxi.com> |
555 | ||
556 | * scripttempl/h8300.sc: Fix formatting. | |
557 | * scripttempl/h8300h.sc: Likewise. | |
558 | * scripttempl/h8300s.sc: Likewise. | |
559 | ||
208d5cd0 DC |
560 | Tue Nov 14 00:59:19 2000 Denis Chertykov <denisc@overta.ru> |
561 | ||
562 | * scripttempl/elf32avr.sc: Fix bug in .eeprom segment. | |
563 | ||
2e418547 PB |
564 | 2000-11-09 Philip Blundell <pb@futuretv.com> |
565 | ||
566 | * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME | |
567 | around orphan sections whose names can be represented in C. | |
568 | ||
c940e6fc JW |
569 | 2000-11-07 Jim Wilson <wilson@redhat.com> |
570 | ||
571 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local | |
572 | hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata. | |
573 | ||
704c465c NC |
574 | 2000-11-06 Nick Clifton <nickc@redhat.com> |
575 | ||
576 | * ld.texinfo: Add GNU Free Documentation License. | |
577 | * ldint.texinfo: Add GNU Free Documentation License. | |
cf055d54 | 578 | * ld.1: Add GNU Free Documentation License. |
704c465c | 579 | |
dca7760f AM |
580 | 2000-11-05 Alan Modra <alan@linuxcare.com.au> |
581 | ||
582 | * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer, | |
583 | yy_is_interactive, yy_at_bol, and yy_fill_buffer. | |
584 | ||
585 | * Makefile.am (DISTCLEANFILES): Add stringify.sed. | |
586 | Move 2000-11-02 Makefile.in changes to this file. | |
587 | * Makefile.in: Regenerate. | |
588 | ||
40a633d5 NC |
589 | 2000-11-03 Nick Clifton <nickc@redhat.com> |
590 | ||
591 | * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose | |
592 | constructors and destructors. | |
593 | * scripttempl/h8300h.sc: Ditto. | |
594 | * scripttempl/h8300s.sc: Ditto. | |
595 | * scripttempl/h8500.sc: Ditto. | |
596 | * scripttempl/h8500b.sc: Ditto. | |
597 | * scripttempl/h8500c.sc: Ditto. | |
598 | * scripttempl/h8500m.sc: Ditto. | |
599 | * scripttempl/h8500s.sc: Ditto. | |
600 | * scripttempl/v850.sc: Ditto. | |
601 | * scripttempl/w65.sc: Ditto. | |
602 | * scripttempl/z8000.sc: Ditto. | |
603 | ||
59ff2774 NC |
604 | 2000-11-02 Per Lundberg <plundis@chaosdev.org> |
605 | ||
606 | * Makefile.in (e_i386_chaos.c): New rule. | |
607 | (ALL_EMULATIONS): Added e_i386_chaos.o. | |
608 | * emulparams/elf_i386_chaos.sh: New file. | |
609 | * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos. | |
610 | ||
645571e1 JJ |
611 | 2000-10-20 Jakub Jelinek <jakub@redhat.com> |
612 | ||
613 | * emulparams/elf64_sparc.sh (TEXT_START_ADDR, | |
614 | NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets. | |
615 | Fix sed invocation, so that it coped with '/' in Solaris 64bit | |
616 | library path suffix. | |
617 | Based on patch by Andrew Macleod <amacleod@cygnus.com>. | |
618 | ||
c5975a45 HPN |
619 | 2000-10-18 Hans-Peter Nilsson <hp@axis.com> |
620 | ||
621 | * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32), | |
622 | for consecutive sections. | |
623 | ||
ea20a7da CC |
624 | 2000-10-17 Chandrakala Chavva <cchavva@redhat.com> |
625 | ||
d952f17a AM |
626 | * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific |
627 | options. | |
628 | * ld.texinfo: Added notes about this new option. | |
ea20a7da | 629 | |
6e45556a NC |
630 | 2000-10-16 Nick Clifton <nickc@redhat.com> |
631 | ||
632 | * emultempl/pe.em (_after_open): Add tests of return values from | |
633 | bfd functions. Emit appropriate error messages if necessary. | |
634 | ||
b9a69188 NC |
635 | 2000-10-13 Nick Clifton <nickc@redhat.com> |
636 | ||
637 | * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms' | |
102c86f8 NC |
638 | local variables - they are not used, but leave in the call to |
639 | bfd_canonicalize_symtab. | |
b9a69188 NC |
640 | (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of |
641 | pe_dll_search_prefix. | |
642 | ||
627427de | 643 | 2000-10-12 Charles Wilson <cwilson@ece.gatech.edu> |
d952f17a | 644 | |
627427de DD |
645 | * emultempl/pe.em (pe_dll_search_prefix): New variable, |
646 | (longopts): New --dll-search-prefix option. | |
647 | (gld_${EMULATION_NAME}_list_options): Document. | |
648 | (gld_${EMULATION_NAME}_parse_args): Handle. | |
649 | (gld_${EMULATION_NAME}_open_dynamic_archive): When linking | |
650 | dynamically, search for a dll named '<prefix><basename>.dll' | |
651 | in preference to 'lib<basename>.dll' if --dll-search-prefix | |
652 | is specified. | |
653 | ||
24376d1b AM |
654 | 2000-10-12 Alan Modra <alan@linuxcare.com.au> |
655 | ||
656 | * ldlang.c (section_already_linked): Set kept_section instead of | |
657 | sec->comdat->sec. | |
658 | ||
e47d05ad KH |
659 | 2000-10-10 Kazu Hirata <kazu@hxi.com> |
660 | ||
661 | * deffile.h: Fix formatting. | |
662 | * lexsup.c: Likewise. | |
663 | * mri.c: Likewise. | |
664 | ||
23a87948 DD |
665 | 2000-10-09 Paul Sokolovsky <Paul.Sokolovsky@technologist.com> |
666 | ||
667 | * pe-dll.c (make_one): Do not generate code thunk for DATA | |
668 | exports. | |
669 | (process_def_file): deduce DATA flag for auto-export sumbols. | |
670 | ||
86b1cc60 KH |
671 | 2000-10-09 Kazu Hirata <kazu@hxi.com> |
672 | ||
89cdebba KH |
673 | * ld.h: Fix formatting. |
674 | * ldcref.c: Likewise. | |
675 | * ldctor.h: Likewise. | |
676 | * ldemul.c: Likewise. | |
677 | * ldemul.h: Likewise. | |
678 | * ldexp.c: Likewise. | |
679 | * ldexp.h: Likewise. | |
680 | * ldfile.c: Likewise. | |
681 | * ldfile.h: Likewise. | |
682 | * ldlang.c: Likewise. | |
683 | * ldlang.h: Likewise. | |
684 | * ldmain.c: Likewise. | |
7bfd51a3 KH |
685 | * pe-dll.c: Likewise. |
686 | ||
687 | * pe-dll.c: Revert some formatting fixes. | |
86b1cc60 | 688 | |
d643799d KH |
689 | 2000-10-08 Kazu Hirata <kazu@hxi.com> |
690 | ||
691 | * pe-dll.c: Fix formatting. | |
692 | ||
08da4cac KH |
693 | 2000-10-05 Kazu Hirata <kazu@hxi.com> |
694 | ||
695 | * ldlang.c: Fix formatting. | |
696 | ||
c2a94a7a DD |
697 | 2000-10-03 DJ Delorie <dj@redhat.com> |
698 | ||
699 | * pe-dll.c (fill_edata): initialize entire block | |
700 | (make_one): fill in correct section. | |
701 | ||
8c95a62e KH |
702 | 2000-10-03 Kazu Hirata <kazu@hxi.com> |
703 | ||
704 | * ldexp.c: Fix formatting. | |
705 | ||
486e80e2 DD |
706 | 2000-10-02 DJ Delorie <dj@redhat.com> |
707 | ||
708 | * emultempl/pe.em (gld_*_after_open): detect case where there two | |
709 | import libraries for same dll; rename one to ensure proper link | |
710 | order. | |
711 | ||
712 | * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix | |
713 | typo | |
714 | (generate_edata): fix typo | |
715 | ||
24dd9f75 HPN |
716 | 2000-09-29 Hans-Peter Nilsson <hp@axis.com> |
717 | ||
718 | * scripttempl/crisaout.sc (ENTRY): Now __start. | |
719 | (.text): Add default setting for __start. | |
720 | Remove CONSTRUCTORS handling. | |
721 | (/DISCARD/): Add .gnu.warning.*. | |
722 | * emulparams/crislinux.sh (ENTRY): Now __start. | |
723 | (TEXT_START_SYMBOLS): New; provide __Stext and __start default. | |
724 | * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris. | |
725 | (ENTRY): Now __start. | |
726 | (INITIAL_READONLY_SECTIONS): Add KEEP for .startup. | |
727 | (EXECUTABLE_SYMBOLS): Add default setting for __start. | |
728 | ||
4de2d33d KH |
729 | 2000-09-29 Kazu Hirata <kazu@hxi.com> |
730 | ||
5cc18311 KH |
731 | * deffile.h: Fix formatting. |
732 | * ld.h: Likewise. | |
733 | * ldcref.c: Likewise. | |
4de2d33d | 734 | * ldctor.c: Likewise. |
5cc18311 | 735 | * ldctor.h: Likewise. |
4de2d33d | 736 | * ldemul.c: Likewise. |
5cc18311 | 737 | * ldemul.h: Likewise. |
4de2d33d | 738 | * ldexp.c: Likewise. |
5cc18311 | 739 | * ldexp.h: Likewise. |
4de2d33d | 740 | * ldfile.c: Likewise. |
5cc18311 | 741 | * ldfile.h: Likewise. |
4de2d33d | 742 | * ldlang.c: Likewise. |
5cc18311 KH |
743 | * ldlang.h: Likewise. |
744 | * lexsup.c: Likewise. | |
745 | * mri.c: Likewise. | |
746 | * pe-dll.c: Likewise. | |
4de2d33d | 747 | |
45b1f63c DD |
748 | 2000-09-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com> |
749 | ||
750 | * pe-dll.c (process_def_file): Uninitialized data wasn't | |
751 | exported with --export-all-symbols switch. | |
d952f17a | 752 | |
45b1f63c DD |
753 | 2000-09-28 DJ Delorie <dj@redhat.com> |
754 | ||
755 | * pe-dll.c (fill_edata): rearrange the data so that ordinals and | |
756 | noname work properly. | |
757 | ||
47d89dba AM |
758 | 2000-09-28 Alan Modra <alan@linuxcare.com.au> |
759 | ||
760 | * ld.texinfo (HPPA ELF32): New section. | |
761 | ||
762 | * emultempl/hppaelf.em (group_size): New. | |
763 | (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs. | |
764 | (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE. | |
765 | (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate | |
766 | options to prevent abbreviations matching. | |
767 | (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat. | |
768 | (PARSE_AND_LIST_ARGS_CASES): Handle it. | |
769 | ||
36bdbeec NC |
770 | 2000-09-21 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
771 | ||
772 | * emultempl/m68kelf.em: Conditionalise the embedded relocs feature | |
773 | on the m68*-*-elf target. Make it support COFF input objects. | |
774 | ||
6d5e62f8 KH |
775 | 2000-09-21 Kazu Hirata <kazu@hxi.com> |
776 | ||
777 | * ldmain.c: Fix formatting. | |
778 | * ldmisc.c: Likewise. | |
779 | * ldver.c: Likewise. | |
780 | * ldwrite.c: Likewise. | |
781 | ||
e2eb67d9 AM |
782 | 2000-09-21 Alan Modra <alan@linuxcare.com.au> |
783 | ||
784 | * ldwrite.c (clone_section): Silence gcc warnings. | |
785 | ||
b3ea3584 AM |
786 | 2000-09-20 Alan Modra <alan@linuxcare.com.au> |
787 | ||
788 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle | |
789 | out of memory failure. | |
790 | ||
791 | * ldwrite.c (ldwrite): Remove unnecessary einfo arg. | |
792 | (clone_section): Handle out of memory failures. Rename var to | |
793 | avoid c++ reserved word. | |
794 | ||
25f72752 AM |
795 | 2000-09-18 Alan Modra <alan@linuxcare.com.au> |
796 | ||
797 | * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename | |
798 | stub_name param to stub_sec_name. | |
799 | (hppaelf_finish): Modify call to elf32_hppa_size_stubs. | |
800 | ||
0752970e NC |
801 | 2000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
802 | ||
803 | * emultempl/m68kelf.em: New file. | |
804 | * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it. | |
805 | * Makefile.am (em68kelf.c): Add dependency on m68kelf.em. | |
806 | * Makefile.in: Regenerate. | |
807 | ||
92b7e9d8 AM |
808 | 2000-09-15 Alan Modra <alan@linuxcare.com.au> |
809 | ||
810 | * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$ | |
811 | only as needed. | |
812 | ||
9b14b192 NC |
813 | 2000-09-13 Nick Clifton <nickc@redhat.com> |
814 | ||
815 | * ldmain.c (multiple_definition): Disable relaxation if | |
816 | multiple symbol definitions are encountered - otherwise the | |
817 | linker could abort with an assertion failure. | |
818 | ||
891fa266 NC |
819 | 2000-09-10 Nick Clifton <nickc@redhat.com> |
820 | ||
821 | * mri.c: Fix formatting. | |
822 | ||
5d64ca4e L |
823 | 2000-09-07 H.J. Lu <hjl@gnu.org> |
824 | ||
825 | * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM. | |
826 | * configure: Rebuild. | |
827 | ||
dd94604f L |
828 | 2000-09-07 H.J. Lu <hjl@gnu.org> |
829 | ||
830 | * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h. | |
831 | * Makefile.in: Rebuild. | |
832 | ||
71bfc0ae AM |
833 | 2000-09-07 Alan Modra <alan@linuxcare.com.au> |
834 | ||
835 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix | |
836 | broken list handling. Create __start_SECNAME and __stop_SECNAME | |
837 | when no place-holder. Add some comments. Test both SEC_CODE and | |
838 | SEC_READONLY for hold_text to prevent .rodata orphan poisoning. | |
ed15ac6a | 839 | Handle case where no output section statement created. |
71bfc0ae | 840 | |
4a428502 AO |
841 | 2000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com> |
842 | ||
843 | * configure.tgt (sh-*-linux*): Added. | |
844 | * Makefile.am: Added eshelf_linux and eshlelf_linux. | |
845 | * Makefile.in: Rebuilt. | |
846 | * emulparams/shelf_linux.sh: New file. | |
847 | * emulparams/shlelf_linux.sh: New file. | |
848 | ||
f9989030 AM |
849 | 2000-09-06 Alan Modra <alan@linuxcare.com.au> |
850 | ||
851 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't | |
852 | try shuffling sections when the orphan happens to be the place | |
853 | holder. Keep count of unique section names generated so we speed | |
854 | the search for a new name. | |
855 | ||
58cccadb AO |
856 | 2000-09-06 Alexandre Oliva <aoliva@redhat.com> |
857 | ||
858 | * configure: Rebuilt with new libtool.m4. | |
859 | ||
5b343f5a NC |
860 | 2000-09-05 Nick Clifton <nickc@redhat.com> |
861 | ||
862 | * Makefile.in: Regenerate. | |
863 | * aclocal.m4: Regenerate. | |
864 | * configure: Regenerate. | |
865 | * config.in: Regenerate. | |
866 | * po/ld.pot: Regenerate. | |
867 | ||
868 | * ldint.texinfo: Remove CVS revision marker - it foils local | |
869 | comparisons. | |
870 | ||
871 | * emultempl/ticoff.em: Remove extraneous comma. | |
50bbae35 | 872 | |
a854a4a7 AM |
873 | 2000-09-05 Alan Modra <alan@linuxcare.com.au> |
874 | ||
3231d22e AM |
875 | * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC |
876 | to stub section flags. | |
877 | (hppa_for_each_input_file_wrapper): New. | |
878 | (hppa_lang_for_each_input_file): New. | |
879 | (lang_for_each_input_file): Define to call above. | |
880 | (multi_subspace): New. | |
881 | (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs. | |
882 | (PARSE_AND_LIST_PROLOGUE): Define. | |
883 | (PARSE_AND_LIST_LONGOPTS): Define. | |
884 | (PARSE_AND_LIST_OPTIONS): Define. | |
885 | (PARSE_AND_LIST_ARGS_CASES): Define. | |
886 | (hppaelf_finish): Call elf32_hppa_set_gp. | |
887 | (hppaelf_set_output_arch): Remove. | |
888 | (LDEMUL_SET_OUTPUT_ARCH): Remove. | |
889 | ||
890 | * emulparams/hppalinux.sh (ELFSIZE): Define. | |
891 | (MACHINE): Define. | |
892 | (OTHER_READONLY_SECTIONS): Define. | |
893 | (DATA_PLT): Define. | |
894 | (GENERATE_SHLIB_SCRIPT): Define. | |
895 | ||
5f992e62 AM |
896 | * ldlang.c: Add missing prototypes, and tidy others. Change CONST |
897 | to const throughout. Change `void *' to `PTR' throughout. | |
898 | (lang_memory_default): Function is local to file, add `static'. | |
899 | ||
900 | * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em. | |
901 | (ehppalinux.c): Likewise. | |
902 | (earmelf.c): Likewise. | |
903 | (earmelf_linux.c): Likewise. | |
904 | (earmelf_linux26.c): Likewise. | |
905 | * Makefile.in: Regenerate. | |
906 | ||
a854a4a7 AM |
907 | * ld.h (ld_config_type): Add unique_orphan_sections. |
908 | * lexsup.c (OPTION_UNIQUE): Define. | |
909 | (ld_options): Add "--unique". | |
910 | (parse_args): Handle it. | |
911 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't | |
912 | search for an existing output section if unique_orphan_sections is | |
913 | set. Make use of bfd_get_unique_section_name rather than | |
914 | duplicating code here. | |
915 | * ld.texinfo: Describe --unique. | |
916 | ||
917 | * lexsup.c (ld_options): Make split-by-reloc arg optional. Add | |
918 | optional arg to split-by-file. | |
919 | (parse_args): Handle them. | |
920 | * ld.texinfo: Update description of these options. | |
921 | * ldwrite.c (clone_section): Pass in the section name. Replace | |
922 | local code with bfd_get_unique_section_name. | |
923 | (split_sections): Tidy code and comments. Use a list traversal | |
924 | more appropriate to the list construction. Handle cooked section | |
925 | sizes. Split when split_by_reloc reached rather than exceeded. | |
926 | Track section size and split when split_by_file reached. Fix | |
927 | link_order_tail (even though it's not used). | |
928 | (ldwrite): Modify condition for calling split_sections to suit | |
929 | changed split_by_reloc and split_by_file. | |
930 | * ldmain.c (main): Init config.split_by_reloc and | |
931 | config.split_by_file to -1. | |
932 | * ld.h (ld_config_type): Change split_by_reloc to unsigned. | |
933 | Change split_by_file to bfd_size_type. | |
934 | ||
18e03609 NC |
935 | 2000-09-02 Nick Clifton <nickc@redhat.com> |
936 | ||
937 | * configure.in: Increase version number to 2.10.91. | |
938 | * NEWS: Mention new ability to support removal of duplicate DWARF2 | |
939 | debug information. | |
940 | * configure: Regenerate. | |
941 | * aclocal.m4: Regenerate. | |
942 | * config.in: Regenerate. | |
943 | ||
3a9d486c NC |
944 | 2000-09-02 Daniel Berlin <dberlin@redhat.com> |
945 | ||
946 | * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info | |
947 | sections. | |
a2b64bed | 948 | * scripttempl/elf32avr.sc: Ditto. |
3a9d486c NC |
949 | * scripttempl/elfd10v.sc: Ditto. |
950 | * scripttempl/elfd30v.sc: Ditto. | |
951 | * scripttempl/elfi370.sc: Ditto. | |
952 | * scripttempl/elfm68hc11.sc: Ditto. | |
953 | * scripttempl/elfm68hc12.sc: Ditto. | |
954 | * scripttempl/elfi386beos.sc: Ditto. | |
955 | * scripttempl/v850.sc: Ditto. | |
50bbae35 | 956 | |
ac48eca1 AO |
957 | 2000-08-31 Alexandre Oliva <aoliva@redhat.com> |
958 | ||
959 | * acinclude.m4: Include libtool and gettext macros from the | |
960 | top level. | |
961 | * aclocal.m4, configure: Rebuilt. | |
962 | ||
c13b1b77 NC |
963 | 2000-08-25 Nick Clifton <nickc@redhat.com> |
964 | ||
965 | * ldlang.c (open_output): When choosing the target for a | |
966 | particular endianness, do nothing if the target is not | |
967 | supported. | |
968 | ||
dcb0bd0e L |
969 | 2000-08-25 H.J. Lu <hjl@gnu.org> |
970 | ||
971 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't | |
972 | check -rpath nor LD_RUN_PATH for cross link. | |
973 | * ld.texinfo: Document the change. | |
974 | ||
5bcac8a4 HPN |
975 | 2000-08-24 Hans-Peter Nilsson <hp@axis.com> |
976 | ||
977 | * NEWS: Mention support for CRIS. | |
978 | ||
6dd8c765 L |
979 | 2000-08-23 H.J. Lu <hjl@gnu.org> |
980 | ||
981 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get | |
982 | the current runpath list from bfd_elf_get_runpath_list () | |
983 | before search. | |
984 | ||
ec4eb78a L |
985 | 2000-08-22 H.J. Lu <hjl@gnu.org> |
986 | ||
987 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search | |
988 | the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after | |
989 | LD_LIBRARY_PATH for native linker. Display the needed DSO if | |
990 | trace_file_tries is non-zero. | |
991 | (gld${EMULATION_NAME}_try_needed): Report the needed DSO found | |
992 | if trace_file_tries is non-zero. | |
993 | ||
994 | * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH. | |
a8175964 | 995 | * NEWS: Mention it. |
ec4eb78a | 996 | |
22b36938 JE |
997 | 2000-08-14 Jason Eckhardt <jle@cygnus.com> |
998 | ||
999 | * NEWS: Mention i860 support. | |
1000 | ||
d73e9da0 AS |
1001 | 2000-08-14 Andreas Schwab <schwab@suse.de> |
1002 | ||
1003 | * scripttempl/elf.sc: Fix last change to use correct comment | |
50bbae35 | 1004 | syntax. |
d73e9da0 | 1005 | |
9ac4db9c GK |
1006 | 2000-08-10 Geoff Keating <geoffk@cygnus.com> |
1007 | ||
1008 | * scripttempl/elf.sc: Add a comment giving the correspondence | |
1009 | between sections, per-datum sections, and linkonce sections. Make | |
1010 | the comment true even for .bss, .sdata, .sdata2, .sbss, and | |
1011 | .sbss2. | |
1012 | ||
165589e4 JE |
1013 | 2000-08-10 Jason Eckhardt <jle@cygnus.com> |
1014 | ||
1015 | * emulparams/elf32_i860.sh: New file. | |
1016 | * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}. | |
1017 | * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o. | |
1018 | (eelf32_i860.c): New rule. | |
1019 | * Makefile.in: Regenerate. | |
1020 | ||
345a835d NC |
1021 | 2000-08-10 Nick Clifton <nickc@cygnus.com> |
1022 | ||
1023 | * emulparams/mipspe.sh (ENTRY): Add definition. | |
1024 | ||
e374f1d9 NC |
1025 | 2000-08-08 Peter Jeremy <peter.jeremy@alcatel.com.au> |
1026 | ||
1027 | * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath | |
1028 | in error message. | |
1029 | ||
236d5abf NC |
1030 | 2000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
1031 | ||
1032 | * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate | |
1033 | the final size of .bss section. | |
1034 | * scripttempl/elfm68hc12.sc: Likewise. | |
1035 | ||
4b209b22 AM |
1036 | 2000-08-04 Alan Modra <alan@linuxcare.com.au> |
1037 | ||
1038 | * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to | |
1039 | gld${EMULATION_NAME}_parse_args for consistency. Combine | |
1040 | lastoptind and prevoptind vars, and keep track of last optind. | |
1041 | (gld_${EMULATION_NAME}_list_options): Rename to | |
1042 | gld${EMULATION_NAME}_list_options. | |
1043 | ||
28423a68 AM |
1044 | 2000-08-03 Rodney Brown <RodneyBrown@pmsc.com> |
1045 | ||
1046 | * configure.tgt: Select targ_emul=elf_i386 for Unixware 7 | |
1047 | (i586-sco-sysv5uw7.1.0). | |
1048 | ||
b2009ff7 L |
1049 | 2000-07-27 H.J. Lu <hjl@gnu.org> |
1050 | ||
1051 | * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed. | |
1052 | (PARSE_AND_LIST_PROLOGUE): New. | |
1053 | (PARSE_AND_LIST_LONGOPTS): Likewise. | |
1054 | (PARSE_AND_LIST_OPTIONS): Likewise. | |
1055 | (PARSE_AND_LIST_ARGS_CASES): Likewise. | |
1056 | (PARSE_AND_LIST_EPILOGUE): Likewise. | |
1057 | ||
04925e1e AM |
1058 | 2000-07-28 Alan Modra <alan@linuxcare.com.au> |
1059 | ||
41392f03 AM |
1060 | * emultempl/armelf.em: Elide functions common to elf32.em, |
1061 | ie. most of the file. | |
1062 | (arm_elf_after_open): New. Do arm specific things then call | |
1063 | gld${EMULATION_NAME}_after_open. | |
1064 | (arm_elf_before_allocation): New. Call | |
1065 | gld${EMULATION_NAME}_before_allocation then do arm specifics. | |
1066 | (PARSE_AND_LIST_PROLOGUE): Define. | |
1067 | (PARSE_AND_LIST_SHORTOPTS): Define. | |
1068 | (PARSE_AND_LIST_LONGOPTS): Define. | |
1069 | (PARSE_AND_LIST_OPTIONS): Define. | |
1070 | (PARSE_AND_LIST_ARGS_CASES): Define. | |
1071 | (LDEMUL_AFTER_OPEN): Define. | |
1072 | (LDEMUL_BEFORE_ALLOCATION): Define. | |
1073 | (LDEMUL_BEFORE_PARSE): Define. | |
1074 | (LDEMUL_FINISH): Define. | |
1075 | ||
1076 | * emultempl/hppaelf.em: Similarly zap most of this file. | |
1077 | (hppaelf_add_stub_section): Prototype. | |
1078 | (hppaelf_layaout_sections_again): Prototype. | |
1079 | (hook_in_stub): Prototype. | |
1080 | (LDEMUL_SET_OUTPUT_ARCH): Define. | |
1081 | (LDEMUL_FINISH): Define. | |
1082 | (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define. | |
1083 | ||
1084 | * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32. | |
1085 | (EXTRA_EM_FILE): New. | |
1086 | * emulparams/armelf_linux.sh: Likewise. | |
1087 | * emulparams/armelf_linux26.sh: Likewise. | |
1088 | * emulparams/hppalinux.sh: Likewise. | |
1089 | * emulparams/hppaelf.sh: Likewise. | |
1090 | (NOP): Define. | |
1091 | ||
1092 | * emultempl/elf32.em: Fix formatting. | |
1093 | (EXTRA_EM_FILE): Source it. | |
1094 | (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL, | |
1095 | LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION, | |
1096 | LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET, | |
1097 | LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH, | |
1098 | LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS, | |
1099 | LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN, | |
1100 | LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE, | |
1101 | LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE, | |
1102 | LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to | |
1103 | allow functions in this file to be overridden. | |
1104 | (PARSE_AND_LIST_SHORTOPTS): Handle it. | |
1105 | ||
1106 | * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h. | |
1107 | ||
04925e1e AM |
1108 | * emultempl/elf32.em: Reorganize file. |
1109 | ||
88cdf297 NC |
1110 | 2000-07-27 Ivan Kokshaysky <ink@jurassic.park.msu.ru> |
1111 | ||
1112 | * emulparams/elf64alpha.sh: Implement "-taso" emulation | |
1113 | specific option to fit 64-bit executable in the lower | |
1114 | 31-bit address range. This is done by changing start | |
1115 | address of .interp (the very first section of executable) | |
1116 | and then setting EF_ALPHA_32BIT elf header flag. | |
1117 | ||
20bccb34 NC |
1118 | 2000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
1119 | ||
1120 | * emultempl/m68kcoff.em: New file. | |
1121 | * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template. | |
1122 | * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than | |
1123 | generic.em. | |
1124 | * Makefile.in: Regenerate. | |
1125 | ||
699845ef L |
1126 | 2000-07-20 H.J. Lu <hjl@gnu.org> |
1127 | ||
1128 | * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags" | |
1129 | and "disable-new-dtags" to stop getopt from treating -d/-e as | |
1130 | abbreviations for these options. | |
1131 | ||
6c1439be L |
1132 | 2000-07-20 H.J. Lu <hjl@gnu.org> |
1133 | ||
1134 | * ld.texinfo: Add documentation for --disable-new-dtags and | |
1135 | --enable-new-dtags. | |
1136 | ||
1137 | * ldmain.c (main): Initialize link_info.new_dtags to false. | |
1138 | ||
1139 | * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add | |
1140 | --disable-new-dtags and --enable-new-dtags. | |
1141 | (gld_${EMULATION_NAME}_list_options): Likewise. | |
1142 | ||
28c309a2 NC |
1143 | 2000-07-05 Kenneth Block <krblock@computer.org> |
1144 | ||
a2b64bed NC |
1145 | * lexsup.c: Add optional style to demangle switch |
1146 | * ld.texinfo: Document optional style to demangle switch. | |
50bbae35 | 1147 | |
9d06555c HPN |
1148 | 2000-07-20 Hans-Peter Nilsson <hp@axis.com> |
1149 | ||
1150 | * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o, | |
1151 | ecrislinux.o. | |
1152 | (ecrisaout.c, ecriself.c, ecrislinux.c): New rules. | |
1153 | Regenerate dependencies. | |
1154 | * Makefile.in: Rebuild. | |
1155 | * configure.tgt (cris-*-*): New target. | |
1156 | * emulparams/crisaout.sh, emulparams/criself.sh, | |
1157 | emulparams/crislinux.sh, scripttempl/crisaout.sc: New files. | |
1158 | * po/POTFILES.in, po/ld.pot: Regenerate. | |
1159 | ||
19e3be22 L |
1160 | 2000-07-20 H.J. Lu <hjl@gnu.org> |
1161 | ||
1162 | * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options): | |
1163 | Print out ignored -z options. | |
1164 | ||
e0ee487b L |
1165 | 2000-07-19 H.J. Lu <hjl@gnu.org> |
1166 | ||
19e3be22 L |
1167 | * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed. |
1168 | (PARSE_AND_LIST_PROLOGUE): New. | |
1169 | (PARSE_AND_LIST_LONGOPTS): Likewise. | |
1170 | (PARSE_AND_LIST_OPTIONS): Likewise. | |
1171 | (PARSE_AND_LIST_ARGS_CASES): Likewise. | |
1172 | ||
1173 | * ldmain.c (main): Clear link_info.flags and link_info.flags_1. | |
1174 | ||
1175 | * lexsup.c (ld_options): Comment out 'z'. | |
1176 | (parse_args): Likewise. | |
1177 | ||
1178 | * emultempl/elf32.em: Include "elf/common.h". | |
1179 | (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z | |
1180 | options. | |
1181 | (gld_${EMULATION_NAME}_list_options): Likewise. | |
1182 | ||
1183 | * ld.texinfo: Add documentation for the recognized -z options. | |
e0ee487b | 1184 | |
49e56c49 L |
1185 | 2000-07-19 H.J. Lu <hjl@gnu.org> |
1186 | ||
1187 | * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call | |
1188 | bfd_elf_set_dt_needed_soname (). | |
1189 | ||
9d68bc82 DD |
1190 | 2000-07-18 DJ Delorie <dj@cygnus.com> |
1191 | ||
1192 | * pe-dll.c (pe_dll_id_target): check object target name also | |
1193 | ||
53db15ed HPN |
1194 | 2000-07-18 Hans-Peter Nilsson <hp@axis.com> |
1195 | ||
1196 | * scripttempl/elf.sc (.init): Only do ${INIT_START} and | |
1197 | ${INIT_END} if relocating. | |
1198 | (.fini): Likewise ${FINI_START} and ${FINI_END}. | |
1199 | ||
0ad8cf4c DD |
1200 | 2000-07-16 Charles Wilson <cwilson@ece.gatech.edu> |
1201 | ||
a2b64bed | 1202 | * emultempl/pe.em (gld_*_open_dynamic_archive): New search |
0ad8cf4c DD |
1203 | order for dynamic library '-lfoo' on pei386: libfoo.dll.a, |
1204 | foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility | |
1205 | errors introduced by the old dynamic lib search order. | |
1206 | ||
874c8c99 DD |
1207 | 2000-07-17 DJ Delorie <dj@cygnus.com> |
1208 | ||
1209 | * pe-dll.c (process_def_file): auto-export data items also | |
1210 | (pe_process_import_defs): also see if _imp_ form needed | |
1211 | ||
5b4cf3f4 DD |
1212 | 2000-07-12 Charles Wilson <cwilson@ece.gatech.edu> |
1213 | ||
1214 | * pe-dll.c (make_one): fix a typo in the __imp_ name decoration | |
1215 | for dll import libraries | |
1216 | ||
062739d1 NC |
1217 | 2000-07-12 Mark Elbrecht <snowball3@bigfoot.com> |
1218 | ||
1219 | * scripttempl/i386go32.sc: Support the g++ attribute init_priority in | |
d952f17a | 1220 | gcc 2.95.2 and later. |
062739d1 | 1221 | |
1c64c4ed NC |
1222 | 2000-07-11 Kazu Hirata <kazu@hxi.com> |
1223 | ||
50bbae35 AM |
1224 | * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error |
1225 | message. | |
1c64c4ed | 1226 | |
b71e2778 AM |
1227 | 2000-07-10 Alan Modra <alan@linuxcare.com.au> |
1228 | ||
1229 | * ldemul.h (struct lang_input_statement_struct): Remove forward | |
1230 | declaration. | |
1231 | (struct search_dirs): Likewise. | |
1232 | * ldfile.h (struct lang_input_statement_struct): Likewise. | |
1233 | Protect file from multiple inclusion. | |
1234 | * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain | |
1235 | declaration from macro to file scope. | |
1236 | ||
1237 | * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order. | |
1238 | * ldgram.y: Likewise here. | |
1239 | * ldlang.c: And here. | |
1240 | * ldmain.c: And here. | |
1241 | * mpw-elfmips.c: And here. | |
1242 | * mpw-eppcmac.c: And here. | |
1243 | * emultempl/aix.em: And here. | |
1244 | * emultempl/armcoff.em: And here. | |
1245 | * emultempl/armelf.em: And here. | |
1246 | * emultempl/armelf_oabi.em: And here. | |
1247 | * emultempl/beos.em: And here. | |
1248 | * emultempl/elf32.em: And here. | |
1249 | * emultempl/hppaelf.em: And here. | |
1250 | * emultempl/linux.em: And here. | |
1251 | * emultempl/lnk960.em: And here. | |
1252 | * emultempl/pe.em: And here. | |
1253 | * emultempl/sunos.em: And here. | |
1254 | * mpw-esh.c: And here. Include ldexp.h and ldlang.h too. | |
1255 | * mpw-idtmips.c: Ditto. | |
1256 | * emultempl/generic.em: Ditto. | |
1257 | * emultempl/gld960.em: Ditto. | |
1258 | * emultempl/gld960c.em: Ditto. | |
1259 | * emultempl/mipsecoff.em: Ditto. | |
1260 | * emultempl/ticoff.em: Ditto. | |
1261 | * emultempl/vanilla.em: Ditto. | |
1262 | ||
1263 | * pe-dll.c: Include ldfile.h | |
1264 | * ldver.c: Include ldexp.h, ldlang.h, ldfile.h | |
1265 | ||
1266 | * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing | |
1267 | arguments to bfd_elf32_size_dynamic_sections call. | |
1268 | (gldelf32ebmip_place_orphan): Add missing arguments to | |
1269 | lang_leave_output_section_statement call. | |
1270 | ||
2ef53d66 L |
1271 | 2000-07-10 H.J. Lu <hjl@gnu.org> |
1272 | ||
1273 | * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with | |
1274 | DLL_SUPPORT. | |
1275 | (strhash): Likewise. | |
1276 | (compute_dll_image_base): Likewise. | |
1277 | (pe_undef_found_sym): Likewise. | |
1278 | (pe_undef_cdecl_match): Likewise. | |
1279 | (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the | |
1280 | argument "arch" with ATTRIBUTE_UNUSED. | |
1281 | ||
9a8cbb09 AM |
1282 | 2000-07-10 Alan Modra <alan@linuxcare.com.au> |
1283 | ||
1284 | * configure.tgt: Remove extraneous hppa*-*-linux-gnu*. | |
1285 | ||
1286 | From Ryan Bradetich <rbradetich@uswest.net> | |
1287 | * ldwrite.c (SSIZE): Remove to cure macro redefinition warning. | |
50bbae35 | 1288 | |
4900fc06 AM |
1289 | 2000-07-09 Alan Modra <alan@linuxcare.com.au> |
1290 | ||
1291 | Changes to create multiple linker stubs, positioned immediately | |
1292 | before the section where they are required. | |
1293 | * emultempl/hppaelf.em: Include elf32-hppa.h. | |
1294 | (stub_sec, file_chain): Delete. | |
1295 | (hppaelf_create_output_section_statements): Don't make a stub | |
1296 | section here. | |
1297 | (hook_stub_info): New struct. | |
1298 | (hook_in_stub): New function. | |
1299 | (hppaelf_add_stub_section): New function. | |
1300 | (hppaelf_finish): Do nothing for relocateable links. Modify the | |
1301 | call to elf32_hppa_size_stubs. Move code for updating section | |
1302 | layout from here... | |
1303 | (hppaelf_layaout_sections_again): ..to here, a new function. | |
1304 | ||
1305 | * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix | |
1306 | broken list handling. Pass in a pointer to the list. | |
1307 | (hppaelf_finish): Update call to hppaelf_delete_padding_statements | |
1308 | for above changes. | |
1309 | (hppaelf_before_parse): Prototype. | |
1310 | (hppaelf_set_output_arch): Prototype. | |
1311 | (hppaelf_create_output_section_statements): Prototype. | |
1312 | (hppaelf_delete_padding_statements): Prototype. | |
1313 | (hppaelf_finish): Prototype. | |
1314 | ||
1315 | Merge from elf32.em | |
1316 | * emultempl/hppaelf.em: Include ctype.h. | |
1317 | (struct orphan_save): New. | |
1318 | (gld${EMULATION_NAME}_place_orphan): New. | |
1319 | (output_rel_find): New. | |
1320 | (hppaelf_get_script): Update from elf32.em. | |
1321 | (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation. | |
1322 | Change emulation_name field to "${EMULATION_NAME}". Add | |
50bbae35 | 1323 | gld${EMULATION_NAME}_place_orphan. |
4900fc06 AM |
1324 | |
1325 | * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add | |
1326 | ehppalinux.o, sort it. Regenerate dependencies. | |
1327 | (ehppalinux.c): Depend on hppaelf.em | |
1328 | * Makefile.in: Regenerate. | |
1329 | ||
1330 | * configure.tgt: targ_emul=hppalinux for hppa*linux | |
1331 | ||
1332 | * emulparams/hppalinux.sh: New. | |
1333 | * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex. | |
1334 | ||
227aeb07 AM |
1335 | 2000-07-08 Alan Modra <alan@linuxcare.com.au> |
1336 | ||
1337 | * lexsup.c (parse_args): Copy section name. | |
1338 | ||
28609fd4 | 1339 | 2000-07-07 Charles Wilson <cwilson@ece.gatech.edu> |
602e90d3 | 1340 | |
2ef53d66 | 1341 | * emultempl/pe.em: institute the following search order for |
602e90d3 DD |
1342 | dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import |
1343 | libs), libfoo.dll, foo.dll (link direct to dll). Fall back to | |
1344 | static lib (libfoo.a) if none of the above are found. | |
1345 | ||
5f577f7d DD |
1346 | 2000-07-07 Mumit Khan <khan@xraylith.wisc.edu> |
1347 | ||
50bbae35 | 1348 | * emultempl/pe.em (pe_enable_auto_image_base): New variable. |
5f577f7d | 1349 | (longopts): New --{enable,disable}-auto-image-base options. |
50bbae35 | 1350 | (gld_${EMULATION_NAME}_list_options): Document. |
5f577f7d DD |
1351 | (gld_${EMULATION_NAME}_parse): Handle. |
1352 | (strhash): New static function. | |
50bbae35 | 1353 | (compute_dll_image_base): New static function. |
5f577f7d DD |
1354 | (gld_${EMULATION_NAME}_set_symbols): Use. |
1355 | ||
9a8cbb09 | 1356 | 2000-07-05 DJ Delorie <dj@redhat.com> |
302ab118 DD |
1357 | |
1358 | * MAINTAINERS: new | |
1359 | ||
3548145d | 1360 | 2000-07-01 Koundinya K <kk@ddeorg.soft.net> |
50bbae35 AM |
1361 | |
1362 | * configure.tgt: Add traditional mips (mips*-*-sysv4*) target. | |
1363 | * emulparams/elf32btsmip.sh: New file. | |
1364 | * Makefile.am: Add traditional mips target. | |
1365 | * Makefile.in: Rebuild. | |
1366 | ||
67798033 L |
1367 | 2000-07-01 H.J. Lu <hjl@gnu.org> |
1368 | ||
1369 | * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for | |
1370 | automake to use YLWRAP. | |
1371 | * Makefile.in: Rebuild. | |
1372 | ||
0bdaf48b AM |
1373 | 2000-07-01 Alan Modra <alan@linuxcare.com.au> |
1374 | ||
1375 | * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed | |
1376 | (CLEANFILES): Add DEPA. | |
1377 | * Makefile.in: Regenerate. | |
1378 | ||
c9e769c2 TW |
1379 | 2000-06-30 Timothy Wall <twall@ppc> |
1380 | ||
1381 | * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode | |
1382 | the page in the upper octet of the address. | |
1383 | ||
65aa24b6 NC |
1384 | 2000-06-26 Marek Michalkiewicz <marekm@linux.org.pl> |
1385 | ||
1386 | * emulparams/avrmega161.sh (ARCH): Change to avr:5. | |
1387 | ||
4667035e AM |
1388 | 2000-06-24 Alan Modra <alan@linuxcare.com.au> |
1389 | ||
1390 | * NEWS: arm-elf does --gc-sections too. | |
1391 | ||
1581f8c9 AM |
1392 | 2000-06-22 Alan Modra <alan@linuxcare.com.au> |
1393 | ||
1394 | * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we | |
1395 | find one. | |
1396 | * Makefile.in: Regenerate. | |
1397 | ||
01580992 L |
1398 | 2000-06-21 H.J. Lu <hjl@gnu.org> |
1399 | ||
1400 | * Makefile.am: Rebuild dependency. | |
1401 | * Makefile.in: Rebuild. | |
1402 | ||
bbeb2e03 L |
1403 | 2000-06-20 H.J. Lu <hjl@gnu.org> |
1404 | ||
1405 | * Makefile.am: Rebuild dependency. | |
1406 | * Makefile.in: Rebuild. | |
1407 | ||
74459f0e TW |
1408 | 2000-06-20 Timothy Wall <twall@cygnus.com> |
1409 | ||
1410 | * scripttempl/tic54xcoff.sc: New. | |
1411 | * ldlang.c (wild_doit): Propagate SEC_BLOCK flag. | |
1412 | * gen-doc.texi: Add flag for TI COFF. | |
1413 | * ld.texinfo: Add documentation for TI COFF handling switches. | |
1414 | * emultempl/ticoff.em: New. TI COFF handling. | |
1415 | * configure.tgt: Add tic54x target. | |
1416 | * Makefile.am: Add tic54x target. | |
1417 | * Makefile.in: Ditto. | |
1418 | ||
2ab47eed AM |
1419 | 2000-06-20 Alan Modra <alan@linuxcare.com.au> |
1420 | ||
1421 | * ldmain.c (set_scripts_dir): Correct pointer comparison when | |
1422 | checking for backslashes. | |
1423 | ||
919e4093 AM |
1424 | 2000-06-19 Alan Modra <alan@linuxcare.com.au> |
1425 | ||
1426 | * NEWS: Move entries not in 2.10 above "Changes in version 2.10". | |
1427 | ||
987fd5b4 AM |
1428 | 2000-06-18 Alan Modra <alan@linuxcare.com.au> |
1429 | ||
1430 | * NEWS: Update list of targets supporting --gc-sections. | |
1431 | ||
1432 | * scripttempl/elf.sc: KEEP .eh_frame contents. | |
1433 | * scripttempl/elfd30v.sc: Same here. | |
1434 | ||
60bcf0fa NC |
1435 | 2000-06-18 Stephane Carrez <stcarrez@worldnet.fr> |
1436 | ||
1437 | * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12 | |
1438 | and m68hc11 (elf). | |
1439 | * Makefile.in: Rebuild. | |
1440 | * configure.tgt: Recognize m68hc12 and m68hc11. | |
1441 | * scripttempl/elfm68hc12.sc: New file. | |
1442 | * emulparams/m68hc12elfb: New emulation. | |
1443 | * emulparams/m68hc12elf: New emulation. | |
1444 | * emulparams/m68hc11elfb.sh: New file. User configurable emulation | |
1445 | (includes a memory.x script to define the ROM and RAM banks). | |
1446 | * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh: | |
1447 | New configuration files for support of Motorola 68hc11 | |
1448 | ||
c7c54483 AM |
1449 | 2000-06-15 Alan Modra <alan@linuxcare.com.au> |
1450 | ||
1451 | * ldmain.c (main): Only change SEC_READONLY for final link. | |
1452 | ||
bcef29e6 L |
1453 | 2000-06-13 H.J. Lu <hjl@gnu.org> |
1454 | ||
1455 | * configure: Regenerate. | |
1456 | ||
946efd95 DB |
1457 | 2000-06-08 David O'Brien <obrien@FreeBSD.org> |
1458 | ||
1459 | * configure.in (VERSION): Update to show this is the CVS mainline. | |
1460 | ||
57a6fd07 DB |
1461 | 2000-06-07 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
1462 | ||
1463 | * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all | |
1464 | input objects to be ECOFF. | |
1465 | (check_sections): einfo takes %B, not %P, to print a BFD name. | |
1466 | ||
e06cae36 L |
1467 | 2000-06-05 Michael Matz <matz@ifh.de> |
1468 | ||
1469 | * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in | |
d952f17a | 1470 | version scripts. |
e06cae36 | 1471 | |
d952f17a | 1472 | * ldlex.l (V_IDENTIFIER): Accept `::' in symbols. |
e06cae36 | 1473 | |
2f0b56c0 DC |
1474 | 2000-05-23 Marek Michalkiewicz <marekm@linux.org.pl> |
1475 | ||
1476 | * emulparams/avr1200.sh (STACK): Define as 0. | |
1477 | * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address. | |
1478 | * emulparams/avr4433.sh (STACK): Likewise. | |
1479 | * emulparams/avr44x4.sh (STACK): Likewise. | |
1480 | * emulparams/avr85xx.sh (STACK): Likewise. | |
1481 | * emulparams/avrmega103.sh (STACK): Likewise. | |
1482 | * emulparams/avrmega161.sh (STACK): Likewise. | |
1483 | * emulparams/avrmega603.sh (STACK): Likewise. | |
1484 | * scripttempl/elf32avr.sc (__data_start): Define for gcrt1. | |
1485 | (__stack): Define from ${STACK} for main(). | |
1486 | ||
2114f57b AM |
1487 | 2000-05-26 Alan Modra <alan@linuxcare.com.au> |
1488 | ||
1489 | * Makefile.am: Update dependencies with "make dep-am" | |
1490 | * Makefile.in: Regenerate. | |
1491 | ||
5af11cab AM |
1492 | 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il> |
1493 | ||
1494 | * ldmain.c: Include filenames.h. | |
1495 | (set_scripts_dir): Support backslashes in program name. | |
1496 | ||
1f0df59a NC |
1497 | 2000-05-22 Igor Shevlyakov <igor@windriver.com> |
1498 | ||
1499 | * ldmain.c (main): When deciding if ".text" section should be | |
50bbae35 AM |
1500 | read-only, don't forget to reset SEC_READONLY because it |
1501 | could be already set. | |
1f0df59a | 1502 | |
176355da NC |
1503 | 2000-05-22 Thomas de Lellis <tdel@windriver.com> |
1504 | ||
50bbae35 AM |
1505 | * ld.1: Add documentation for new command line option: |
1506 | --section-start <sectionname>=<sectionorg> | |
1507 | This is a generic version of -Ttext etc. which accepts | |
1508 | any section name as a parameter instead of just text/data/ | |
1509 | bss. | |
1510 | * ld.texinfo: More docs. | |
1511 | * NEWS: More docs. | |
1512 | * lexsup.c: (parse_args): Recognize new command line option. | |
176355da | 1513 | (ld_options): Add new option. |
50bbae35 | 1514 | |
8c5ff972 L |
1515 | 2000-05-18 H.J. Lu <hjl@gnu.org> |
1516 | ||
1517 | * lexsup.c (parse_args): `i' == `r', not `q'. | |
1518 | ||
0b76fe77 JL |
1519 | Thu May 18 10:47:57 2000 Jeffrey A Law (law@cygnus.com) |
1520 | ||
1521 | * configure.tgt (hppa*64*-*-*): Enable PA64 target. | |
1522 | ||
a712da20 NC |
1523 | 2000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com> |
1524 | Rick Gorton <gorton@scrugs.lkg.dec.com> | |
50bbae35 | 1525 | |
a712da20 NC |
1526 | Add support for '-q' == '--emit-relocs' switch. |
1527 | * ldmain.c (main): Default to false. | |
1528 | * lexsup.c (parse_args): Turn on emitrelocations flag if set. | |
1529 | * NEWS: Describe the emitrelocations switch. | |
1530 | * ld.texinfo: Describe the emitrelocations switch. | |
1531 | ||
690a460e NC |
1532 | 2000-05-16 Charles Wilson <cwilson@ece.gatech.edu> |
1533 | ||
a2b64bed | 1534 | * emultempl/pe.em (_open_dynamic_archive): New function: Search |
690a460e NC |
1535 | the library path for "foo.dll" and "libfoo.dll" dynamic libraries |
1536 | before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo' | |
1537 | link options. | |
50bbae35 | 1538 | |
c2f1343c AM |
1539 | 2000-05-15 David O'Brien <obrien@FreeBSD.org> |
1540 | ||
1541 | * lexsup.c (parse_args): Update the year in the copyright notice. | |
1542 | ||
897083bd AM |
1543 | 2000-05-13 Alan Modra <alan@linuxcare.com.au> |
1544 | ||
1545 | * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain): | |
1546 | Replace defines with those from intl/libgettext.h to quieten gcc | |
1547 | warnings. | |
1548 | ||
cd4c806a L |
1549 | 2000-05-10 H.J. Lu <hjl@gnu.org> |
1550 | ||
1551 | * ldlang.c (open_input_bfds): Don't load the same file within | |
1552 | a group again if the whole archive has been loaded already. | |
1553 | ||
93697284 AM |
1554 | 2000-05-03 Alan Modra <alan@linuxcare.com.au> |
1555 | ||
1556 | From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de> | |
1557 | * lexsup.c (set_section_start): Use bfd_scan_vma rather than | |
1558 | strtoul. | |
1559 | ||
ebd6fc29 JW |
1560 | Mon May 1 17:34:34 2000 Jim Wilson <wilson@cygnus.com> |
1561 | ||
99a4150f | 1562 | * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}. |
50bbae35 | 1563 | |
ebd6fc29 JW |
1564 | * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for |
1565 | host "ia64-*-linux-gnu*". | |
1566 | ||
a1934524 AM |
1567 | 2000-04-29 Andreas Jaeger <aj@suse.de> |
1568 | ||
1569 | * ld.h: Correctly check GCC version. | |
1570 | ||
730a39a0 JL |
1571 | Tue Apr 25 11:20:43 2000 Jeffrey A Law (law@cygnus.com) |
1572 | ||
1573 | * Makefile.am: Add PA64 support. Add missing dependencies for | |
1574 | PA32 elf support. | |
1575 | * Makefile.in: Rebuilt. | |
1576 | * configure.tgt: Add PA64 support (currently disabled). | |
1577 | ||
aea4bd9d AM |
1578 | 2000-04-25 Alan Modra <alan@linuxcare.com.au> |
1579 | ||
1580 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete. | |
1581 | (output_rel_find): New function. | |
1582 | (hold_section, hold_use): Delete. | |
1583 | (hold_text, hold_rodata, hold_data, hold_bss, hold_rel, | |
1584 | hold_interp): Make local to place_orphan. | |
1585 | (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find | |
1586 | rather than place_section to find possible previous use of orphan. | |
1587 | Similarly find the place-holder output sections. Use returned | |
1588 | value from lang_enter_output_section_statement rather than calling | |
1589 | lang_output_section_statement_lookup. | |
1590 | * emultempl/armelf.em: Same here. | |
1591 | * emultempl/pe.em: Similar to above, but no need for output_rel_find. | |
1592 | ||
1593 | * ldlang.c (lang_enter_output_section_statement): Return output | |
1594 | section statement. | |
1595 | * ldlang.h (lang_enter_output_section_statement): Change | |
1596 | declaration too. | |
1597 | ||
1598 | * ldlang.h (lang_output_section_statement): Export it. | |
1599 | * ldlang.c (lang_output_section_statement): Ditto. | |
1600 | ||
2b5fc1f5 NC |
1601 | 2000-04-24 Nick Clifton <nickc@cygnus.com> |
1602 | ||
1603 | * ld.texinfo (Output Section Data): Add note that section data | |
1604 | commands cannot appear outside of section directives. | |
1605 | ||
d8475ff6 JL |
1606 | 2000-04-2 Matthew Green <mrg@cygnus.com> |
1607 | ||
1608 | * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support. | |
1609 | ||
800eeca4 JW |
1610 | Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com> |
1611 | David Mosberger <davidm@hpl.hp.com> | |
1612 | ||
1613 | * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o. | |
1614 | (eelf64_ia64.c): New rule. | |
1615 | * Makefile.in: Rebuild. | |
1616 | * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets. | |
1617 | * emulparams/elf64_ia64.sh: New file. | |
50bbae35 | 1618 | |
c9637625 RH |
1619 | 2000-04-21 Richard Henderson <rth@cygnus.com> |
1620 | ||
1621 | * scripttempl/elfd30v.sc: Place .gcc_except_table. | |
1622 | ||
28ea9521 AM |
1623 | 2000-04-19 Alan Modra <alan@linuxcare.com.au> |
1624 | ||
1625 | * dep-in.sed: Match space at start of file name, not at end. | |
1626 | ||
20d04697 L |
1627 | 2000-04-18 H.J. Lu <hjl@gnu.org> |
1628 | ||
1629 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call | |
1630 | lang_leave_output_section_statement () after calling | |
1631 | lang_enter_output_section_statement (). | |
1632 | * emultempl/armelf.em: Likewise. | |
1633 | ||
5ba47421 AM |
1634 | 2000-04-18 Alan Modra <alan@linuxcare.com.au> |
1635 | ||
1636 | * emultempl/elf32.em (struct orphan_save): Add section field. | |
1637 | (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in | |
1638 | better order, and place first orphan section as we did before the | |
1639 | 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place. | |
1640 | Don't call make_bfd_section here, let wild_doit do the job for us. | |
1641 | Don't build a statement list when we'll only throw it away. | |
1642 | * emultempl/armelf.em: Ditto. | |
1643 | * emultempl/pe.em: Similarly. | |
1644 | ||
bdbe5705 GK |
1645 | 2000-04-14 Geoff Keating <geoffk@cygnus.com> |
1646 | ||
1647 | * scripttempl/elfppc.sc: Remove. | |
1648 | * emulparams/elf32ppc.sh: Use elf.sc. | |
1649 | * emulparams/elf32lppc.sh: Use elf.sc. | |
1650 | * emulparams/elf32ppclinux.sh: Use elf.sc. | |
1651 | * emulparams/elf32ppcsim.sh: New file. | |
1652 | * emulparams/elf32lppcsim.sh: New file. | |
1653 | * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim. | |
1654 | (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim. | |
1655 | * Makefile.in: Regenerate. | |
1656 | * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim. | |
1657 | ||
01cc8ff8 AM |
1658 | 2000-04-14 Alan Modra <alan@linuxcare.com.au> |
1659 | ||
5ba47421 | 1660 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process |
01cc8ff8 | 1661 | ~SEC_ALLOC sections too. Init start address of debug sections. |
5ba47421 AM |
1662 | * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto. |
1663 | * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto. | |
01cc8ff8 AM |
1664 | Also set all relocateable section start addresses. |
1665 | ||
6c86c541 GK |
1666 | 2000-04-13 Geoff Keating <geoffk@cygnus.com> |
1667 | ||
1668 | * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections. | |
1669 | Add new BSS_PLT variable for when .plt need not be contained in | |
1670 | the file. Move _etext so that it is also after .fini, and provide | |
1671 | both etext and _etext with a leading underscore. Mark the start | |
1672 | and end of .sbss. | |
1673 | ||
6a345e87 AM |
1674 | 2000-04-12 Alan Modra <alan@linuxcare.com.au> |
1675 | ||
1676 | * emultempl/elf32.em (struct orphan_save): New. | |
1677 | (hold_text, hold_rodata, hold_data, hold_bss, hold_rel, | |
1678 | hold_interp): Make them struct orphan_save. | |
1679 | (gld${EMULATION_NAME}_place_section): Modify for new hold_*. | |
1680 | (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to | |
1681 | the end of the relevant section list. Also add associated section | |
1682 | statements to the end of any previous orphan statements. | |
1683 | * emultempl/armelf.em: Similarly. | |
1684 | * emultempl/pe.em: Similarly. | |
1685 | ||
8be86746 AM |
1686 | 2000-04-11 Alan Modra <alan@linuxcare.com.au> |
1687 | ||
1688 | * ld.texinfo (Simple Example): Remove extraneous paragraph. | |
1689 | ||
a2d91340 | 1690 | Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com> |
50bbae35 | 1691 | |
a2d91340 | 1692 | * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add |
50bbae35 | 1693 | --enable-build-warnings option. |
a2d91340 AC |
1694 | * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions. |
1695 | * Makefile.in, configure: Re-generate. | |
1696 | ||
41b49281 AM |
1697 | 2000-04-04 Alan Modra <alan@linuxcare.com.au> |
1698 | ||
8ad3436c AM |
1699 | * po/ld.pot: Regenerate. |
1700 | ||
1701 | * lexsup.c (help): Restore translated part of bug string. | |
1702 | ||
41b49281 AM |
1703 | * Makefile.am (MKDEP): Use gcc -MM rather than mkdep. |
1704 | (DEP): Quote when passing vars to sub-make. Add warning message | |
1705 | to end. | |
1706 | (DEP1): Rewrite for "gcc -MM". | |
1707 | (CLEANFILES): Add DEP2. | |
1708 | Update dependencies. | |
1709 | * Makefile.in: Regenerate. | |
1710 | ||
c20f4f8c AM |
1711 | 2000-04-03 Alan Modra <alan@linuxcare.com.au> |
1712 | ||
1713 | * ld.h: #include "bin-bugs.h" | |
1714 | * lexsup.c (help): Use REPORT_BUGS_TO. | |
1715 | ||
adde6300 AM |
1716 | 2000-03-27 Denis Chertykov <denisc@overta.ru> |
1717 | ||
1718 | * configure.tgt (avr-*-*): New target support. | |
1719 | * Makefile.am: Likewise. | |
1720 | * scripttempl/elf32avr.sc: New script file. | |
1721 | * emulparams/avr1200.sh: New file. | |
1722 | * emulparams/avr23xx.sh: New file. | |
1723 | * emulparams/avr4433.sh New file. | |
1724 | * emulparams/avr44x4.sh New file. | |
1725 | * emulparams/avr85xx.sh New file. | |
1726 | * emulparams/avrmega103.sh New file. | |
1727 | * emulparams/avrmega161.sh New file. | |
1728 | * emulparams/avrmega603.sh New file. | |
1729 | * Makefile.in: Regenerate. | |
1730 | ||
9282ff41 L |
1731 | 2000-03-09 Andreas Jaeger <aj@suse.de> |
1732 | ||
1733 | * Makefile.am (check-DEJAGNU): Also unset LANG. | |
1734 | * Makefile.in: Rebuild. | |
1735 | ||
a9998805 ILT |
1736 | 2000-03-06 Ian Lance Taylor <ian@zembu.com> |
1737 | ||
1738 | * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty | |
1739 | archive. | |
1740 | ||
f9bc20e7 NC |
1741 | 2000-03-02 H.J. Lu <hjl@gnu.org> |
1742 | ||
1743 | * emulparams/elf32mcore.sh: Include "getopt.h". | |
1744 | ||
4e277b38 ILT |
1745 | 2000-03-01 Ian Lance Taylor <ian@zembu.com> |
1746 | ||
1747 | * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware. | |
1748 | ||
f0c87f88 NC |
1749 | 2000-03-01 H.J. Lu <hjl@gnu.org> |
1750 | ||
1751 | * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR. | |
1752 | * emulparams/shpe.sh: Likewise. | |
1753 | ||
1754 | 2000-03-01 Nick Clifton <nickc@cygnus.com> | |
1755 | ||
1756 | * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED | |
1757 | to unused parameters. | |
1758 | ||
1759 | * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static | |
1760 | functions only used by DLL code. | |
1761 | (_place_orphan): Initialise 'dollar'. | |
1762 | ||
b6f29aaa L |
1763 | 2000-03-01 H.J. Lu <hjl@gnu.org> |
1764 | ||
1765 | * ldmain.c (undefined_symbol): Take one more arg, fatal, to | |
1766 | indicate if the undefined symbol is a fatal error or not. | |
1767 | Don't delete the output file if "fatal" is false. | |
1768 | ||
af28fce3 L |
1769 | 2000-02-29 H.J. Lu <hjl@gnu.org> |
1770 | ||
50bbae35 | 1771 | * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)". |
af28fce3 L |
1772 | Set LC_COLLATE and LC_ALL to null and export them. It is for |
1773 | sort which expects the C locale. | |
1774 | Add $(LIBS) to all $(HOSTING_LIBS). | |
1775 | * Makefile.in: Rebuild. | |
1776 | ||
40d109bf AM |
1777 | 2000-02-29 Alan Modra <alan@spri.levels.unisa.edu.au> |
1778 | ||
1779 | * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em, | |
1780 | beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em, | |
1781 | linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em} | |
1782 | (ld_emulation_xfer_struct): Add missing NULL initialiser for | |
1783 | find_potential_libraries. | |
1784 | ||
db5be682 JB |
1785 | 2000-02-28 Jim Blandy <jimb@redhat.com> |
1786 | ||
1787 | * ldgram.y (exclude_name_list): Don't require a comma to separate | |
50bbae35 | 1788 | list entries; the lexer considers commas to be valid part of a |
db5be682 JB |
1789 | filename, so in something like `foo, bar' the comma is considered |
1790 | part of the first filename, `foo,'. | |
1791 | * ld.texinfo: Update section on EXCLUDE_FILE lists. | |
1792 | ||
3558ff4c ILT |
1793 | 2000-02-27 Loren J. Rittle <ljrittle@acm.org> |
1794 | ||
1795 | * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for | |
1796 | host "i[3456]86-*-freebsdelf*". | |
1797 | ||
4eee2681 ILT |
1798 | 2000-02-27 Mark Elbrecht <snowball3@bigfoot.com> |
1799 | ||
1800 | * scripttempl/i386go32.sc: Move misplaced semicolons. | |
1801 | ||
8d75d12d ILT |
1802 | 2000-02-25 Ian Lance Taylor <ian@zembu.com> |
1803 | ||
1804 | * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o. | |
1805 | (ALL_64_EMULATIONS): Remove eelf64hppa.o. | |
1806 | (eelf64hppa.c, ehppaelf.c): Remove targets. | |
1807 | * Makefile.in: Rebuild. | |
1808 | ||
a1836d49 AO |
1809 | 2000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br> |
1810 | ||
ad51fb57 AO |
1811 | * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on |
1812 | GNU/Linux/sparc, but keep the default as 32. | |
1813 | ||
a1836d49 AO |
1814 | * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make |
1815 | it default if sparcv9 or sparc64. | |
1816 | ||
344a211f NC |
1817 | 2000-02-24 Nick Clifton <nickc@cygnus.com> |
1818 | ||
1819 | * Makefile.am: Add rules to build emipspe.o and earmpe.o. | |
1820 | * Makefile.in: Regenerate. | |
1821 | * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe. | |
1822 | ||
1823 | * ldemul.h (ld_emulation_xfer_struct): Add new field: | |
1824 | find_potential_libraries. | |
1825 | * ldemul.c (ldemul_find_potential_libraries): New function. | |
1826 | ||
1827 | * ldfile.c (ldfile_open_file_search): Allow function to be | |
50bbae35 | 1828 | exported. |
344a211f NC |
1829 | (ldfile_open_file): Call ldemul_find_potential_libraries. |
1830 | * ldfile.h: Add prototype for ldfile_open_file_search. | |
1831 | ||
1832 | * pe-dll.c: Add support for ARM, MIPS and SH targets. | |
1833 | ||
1834 | * emulparams/mipspe.sh: New file. Parameters for mips-pe target. | |
1835 | * emulparams/shpe.sh: New file. Parameters for sh-pe target. | |
1836 | ||
1837 | * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs. | |
1838 | (gld_X_find_potential_libraries): New function. Search for | |
1839 | libraries called "*.lib". | |
1840 | ||
a2b64bed | 1841 | * scripttempl/pe.sc: Add .pdata section. |
344a211f | 1842 | |
eaba1dd3 RH |
1843 | 2000-02-23 Richard Henderson <rth@cygnus.com> |
1844 | ||
1845 | * scripttempl/elfd10v.sc: Remove dynamic linking hooks. | |
1846 | Add and use memory regions. | |
1847 | ||
5b93d8bb AM |
1848 | 2000-02-23 Linas Vepstas (linas@linas.org) |
1849 | ||
1850 | * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New. | |
1851 | ||
1852 | * Makefile.am: Add support for Linux/IBM 370. | |
1853 | * configure.tgt: Likewise. | |
1854 | ||
1855 | * Makefile.in: Regenerate. | |
1856 | ||
f6af82bd AM |
1857 | 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au> |
1858 | ||
1859 | * ldlang.c (print_input_section, print_data_statement, | |
1860 | print_reloc_statement, print_padding_statement, insert_pad, | |
1861 | size_input_section, lang_check_section_addresses, | |
1862 | lang_size_sections, lang_do_assignments, lang_set_startof, | |
50bbae35 | 1863 | lang_one_common): Change `opb' to unsigned. |
f6af82bd AM |
1864 | (lang_do_assignments): Also change `size' to unsigned. |
1865 | ||
9e673ad1 RH |
1866 | 2000-02-16 Richard Henderson <rth@cygnus.com> |
1867 | ||
1868 | * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION. | |
1869 | ||
562d3460 TW |
1870 | 2000-02-16 Timothy Wall <twall@cygnus.com> |
1871 | ||
1872 | * mri.c (mri_draw_tree): Add default LMA region argument to call | |
1873 | to lang_leave_output_section_statement. | |
1874 | * ldlang.h: Update prototypes with LMA region arguments. | |
1875 | * ldlang.c (lang_size_sections): Encapsulate region bounds | |
1876 | checking in os_check_region call. | |
1877 | (os_check_region): New function. | |
1878 | (lang_output_section_statement_lookup): Initialize lma_region. | |
1879 | (lang_leave_output_section_statement): Add LMA region argument. | |
1880 | (lang_leave_overlay): Ditto. | |
1881 | * ldgram.y: Handle LMA region syntax. | |
1882 | * ld.texinfo (Output Section Description): Describe LMA region usage. | |
1883 | * emultempl/armelf.em (gld$place_orphan): Add default value for | |
01cc8ff8 | 1884 | lma region in call to lang_leave_output_section_statement. |
562d3460 | 1885 | * emultempl/elf32.em (gld$place_orphan): Add default value for |
01cc8ff8 | 1886 | lma region in call to lang_leave_output_section_statement. |
562d3460 | 1887 | * emultempl/pe.em (gld$place_orphan): Add default value for |
01cc8ff8 | 1888 | lma region in call to lang_leave_output_section_statement. |
50bbae35 AM |
1889 | |
1890 | ||
9e4ed18c TW |
1891 | 2000-02-04 Timothy Wall <twall@redhat.com> |
1892 | ||
1893 | * ldlang.c (lang_check_section_addresses): Use bytes instead of | |
1894 | octets when calculating section end addresses. | |
1895 | ||
32edc927 TW |
1896 | 2000-02-04 Timothy Wall <twall@redhat.com> |
1897 | ||
1898 | * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation. | |
1899 | ||
4cbfc3ac TW |
1900 | 2000-02-03 Timothy Wall <twall@redhat.com> |
1901 | ||
a2b64bed | 1902 | * ldexp.c (fold_name): Make SIZEOF operator return byte count, not |
4cbfc3ac | 1903 | octet count. |
a2b64bed | 1904 | * ldlang.c (print_input_section, print_data_statement, |
4cbfc3ac TW |
1905 | print_reloc_statement, print_padding_statement): Print target |
1906 | address values and section sizes as bytes, not octets. | |
1907 | (insert_pad) Calculate padding size in octets, and adjust "dot" | |
1908 | by bytes. | |
1909 | (size_input_section) Always adjust "dot" by bytes, not octets. | |
1910 | (lang_check_section_addresses, lang_do_assignments) Adjust | |
1911 | "dot" by bytes, not octets. Use the larger of the directive size | |
1912 | or octets_per_byte for the number of octets actually allocated in | |
1913 | the output section. | |
1914 | (lang_set_startof) Make sure STARTOF returns a target address. | |
1915 | (lang_one_common) Record size changes in octets. | |
1916 | (lang_abs_symbol_at_end_of) Section end symbol's value is | |
1917 | recorded in target bytes. | |
1918 | * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc. | |
1919 | to be clear about behavior when an octet is smaller than one byte. | |
50bbae35 | 1920 | |
305c7206 AM |
1921 | 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au> |
1922 | ||
1923 | * ldcref.c (output_cref): Don't pass message strings to printf | |
1924 | as format arg. | |
1925 | Update copyright. | |
1926 | ||
1927 | * ldmisc.c (vfinfo): Same here. | |
1928 | Update copyright. | |
1929 | ||
e1c47aa4 AM |
1930 | 2000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au> |
1931 | ||
1932 | * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em, | |
1933 | generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em, | |
1934 | mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct): | |
1935 | Add missing NULL initialisers, and comments. | |
1936 | ||
1937 | * testsuite/ld-srec/sr3.cc (__rethrow): New. | |
1938 | ||
13392b77 NC |
1939 | 2000-01-21 Nick Clifton <nickc@cygnus.com> |
1940 | ||
1941 | * ldlang.c (lang_size_sections): Fix typo in comment. | |
1942 | ||
cce4c4c5 NC |
1943 | 2000-01-18 H.J. Lu <hjl@gnu.org> |
1944 | ||
1945 | * ldlang.c (lang_size_sections): Also update the current | |
1946 | address of a region if the SEC_NEVER_LOAD bit is not set. | |
1947 | ||
0decc840 NC |
1948 | 2000-01-10 Philip Blundell <pb@futuretv.com> |
1949 | ||
1950 | * configure.tgt (arm*-*-conix*): New target. | |
1951 | ||
4e53152f NC |
1952 | 2000-01-07 Nick Clifton <nickc@cygnus.com> |
1953 | ||
1954 | * ld.texinfo (Options): Remind users to preceed linker command | |
fa19fce0 NC |
1955 | line switches with -Wl, (or whatever is appropriate) if it is |
1956 | being invoked by a comnpiler driver program. | |
50bbae35 | 1957 | Fix description of the behaviour of the -n command line switch. |
4e53152f | 1958 | |
18625d54 CM |
1959 | Wed Jan 5 08:02:12 2000 Catherine Moore <clm@cygnus.com> |
1960 | ||
1961 | * ld.h (wildcard_spec): Change exclude_name to exclude_name_list. | |
1962 | (name_list): New. | |
1963 | * ld.texinfo (EXCLUDE_FILE): Update documentation. | |
1964 | * ldgram.y (wildcard_spec): Support a list of excluded_files. | |
1965 | (exclude_name_list): New. | |
1966 | ldlang.c (walk_wild_section): Support list of excluded files. | |
1967 | (print_wild_statement): Likewise. | |
1968 | (lang_add_wild): Likewise. | |
1969 | * ldlang.h (lang_wild_statement_type): Likewise. | |
1970 | * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support. | |
6ddeca85 | 1971 | |
5aaace27 NC |
1972 | 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu> |
1973 | ||
870df5dc NC |
1974 | * pe-dll.c (pe_dll_warn_dup_exports): New variable. |
1975 | (process_def_file): Use. | |
1976 | (pe_dll_compat_implib): New variable. | |
1977 | (make_one): Use. | |
50bbae35 | 1978 | |
870df5dc NC |
1979 | * pe-dll.h: Add exports of pe_dll_warn_dup_exports and |
1980 | pe_dll_compat_implib. | |
50bbae35 AM |
1981 | |
1982 | * emultempl/pe.em (longopts): Add warn-duplicate-exports and | |
870df5dc NC |
1983 | compat-implib options. |
1984 | (gld_${EMULATION_NAME}_list_options): List new options. | |
1985 | (gld_${EMULATION_NAME}_parse_args): Handle. | |
1986 | ||
50bbae35 | 1987 | * pe-dll.c (pe_dll_generate_implib): Use the correct name for output |
5aaace27 | 1988 | dll. |
50bbae35 AM |
1989 | |
1990 | * deffilep.y (opt_name): Allow "." in name. | |
5aaace27 | 1991 | |
2f6d2f85 | 1992 | For older changes see ChangeLog-9899 |
252b5132 RH |
1993 | \f |
1994 | Local Variables: | |
1995 | mode: change-log | |
1996 | left-margin: 8 | |
1997 | fill-column: 74 | |
1998 | version-control: never | |
1999 | End: |