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