Commit | Line | Data |
---|---|---|
a747ee4d NC |
1 | 2003-10-21 Nick Clifton <nickc@redhat.com> |
2 | ||
3 | * ldlang.c (lang_memory_region_lookup): Add second parameter - | |
4 | create - which is true if the region is being created. Issue | |
5 | appropriate warning messages for finding and not finding | |
6 | already created regions. | |
7 | (lang_memory_default): Use DEFAULT_MEMORY_REGION. | |
8 | (lang_leave_overlay_section): Likewise. | |
9 | (lang_size_sections_1): Likewise. | |
10 | Pass second parameter to lang_memory_region_lookup. | |
11 | (lang_get_regions): Likewise. | |
12 | * ldlang.h (DEFAULT_MEMORY_REGION): Define. | |
13 | Update prototype for lang_memory_region_lookup. | |
14 | * ldgram.y: Pass second parameter to lang_memory_region_lookup. | |
15 | Use DEFAULT_MEMORY_REGION instead of "*default". | |
16 | ||
198beae2 AC |
17 | 2003-10-20 Andrew Cagney <cagney@redhat.com> |
18 | ||
19 | * pe-dll.c: Replace "struct sec" with "struct bfd_section". | |
20 | ||
75ca919a MM |
21 | 2003-10-19 Marek Michalkiewicz <marekm@amelek.gda.pl> |
22 | ||
23 | * Makefile.am: Remove old (before GCC 3.3) emulations for AVR | |
24 | target: avr1200, avr23xx, avr4433, avr44x4, avr85xx, avrmega103, | |
25 | avrmega161, avrmega603. Default to avr2. | |
26 | * Makefile.in: Regenerate. | |
27 | * configure.tgt: Likewise. | |
28 | * emulparams/avr1200.sh: Remove. | |
29 | * emulparams/avr23xx.sh: Remove. | |
30 | * emulparams/avr4433.sh: Remove. | |
31 | * emulparams/avr44x4.sh: Remove. | |
32 | * emulparams/avr85xx.sh: Remove. | |
33 | * emulparams/avrmega103.sh: Remove. | |
34 | * emulparams/avrmega161.sh: Remove. | |
35 | * emulparams/avrmega603.sh: Remove. | |
36 | * scripttempl/elf32avr.sc: Remove. | |
37 | ||
655f76a2 AS |
38 | 2003-10-19 Andreas Schwab <schwab@suse.de> |
39 | ||
c2411cd2 AS |
40 | * emultempl/ticoff.em (gld_${EMULATION_NAME}_list_options): Add |
41 | newline to message. | |
42 | ||
655f76a2 AS |
43 | * deffilep.y: Remove commas from %token lines. |
44 | ||
86d3c9a8 HPN |
45 | 2003-10-18 Hans-Peter Nilsson <hp@bitrange.com> |
46 | ||
06335781 HPN |
47 | * emultempl/mmix-elfnmmo.em (mmix_before_allocation): Force linker |
48 | relaxation always; don't exclude relocatable linking. Adjust for | |
49 | _bfd_mmix_prepare_linker_allocated_gregs renamed to | |
50 | _bfd_mmix_before_linker_allocation. | |
51 | (mmix_after_allocation): Adjust for | |
52 | _bfd_mmix_finalize_linker_allocated_gregs renamed to | |
53 | _bfd_mmix_after_linker_allocation. | |
54 | * scripttempl/mmo.sc: Use ADDR (.text), not . - SIZEOF (.text). | |
55 | ||
86d3c9a8 HPN |
56 | * ldlang.c (lang_size_sections): Last, set _cooked_size for output |
57 | sections. | |
58 | ||
8fbdf3ab AM |
59 | 2003-10-16 Alan Modra <amodra@bigpond.net.au> |
60 | ||
61 | * Makefile.am (GENSCRIPTS_EXTRA, GEN_EXTRA_DEPENDS): Remove. Use | |
62 | GENSCRIPTS and GEN_DEPENDS in place of these. | |
63 | * Makefile.in: Regenerate. | |
64 | * genscripts_extra.sh: Delete. Merge extra functionality to.. | |
65 | * genscripts.sh: ..here. | |
66 | ||
67 | * emulparams/gld960.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Define. | |
68 | * emulparams/gld960coff.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto. | |
69 | * emulparams/lnk960.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto. | |
70 | * emulparams/m88kbcs.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto. | |
71 | * emulparams/vanilla.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto. | |
72 | ||
9c4f8b73 AM |
73 | 2003-10-16 Alan Modra <amodra@bigpond.net.au> |
74 | ||
75 | * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Don't | |
76 | use $EMULATION_NAME to call bfd function. | |
77 | ||
661a32f7 DS |
78 | 2003-10-14 Danny Smith <dannysmith@users.sourceforge.net> |
79 | ||
80 | * pe-dll.c (pe_implied_import_dll): Also scan .rdata sections | |
81 | to identify data symbols. | |
82 | ||
786dbcc3 RS |
83 | 2003-10-13 Richard Sandiford <rsandifo@redhat.com> |
84 | ||
85 | * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Move | |
86 | definition from elf64btsmip.sh. | |
87 | (TEXT_DYNAMIC): Likewise elf32btsmipn32.sh. | |
88 | * emulparams/elf32btsmipn32.sh (TEXT_DYNAMIC): Remove. | |
89 | * emulparams/elf64btsmip.sh (INITIAL_READONLY_SECTIONS): Remove. | |
90 | * emulparams/elf64bmip.sh (SHLIB_TEXT_START_ADDR): Define. | |
91 | (EXECUTABLE_SYMBOLS): Set __elf_header correctly for shared objects. | |
92 | Define __program_header_table in terms of __elf_header. | |
93 | ||
3f7deb8a L |
94 | 2003-10-10 H.J. Lu <hongjiu.lu@intel.com> |
95 | ||
96 | * Makefile.am (eelf64_ia64.c): Also depend on | |
97 | $(srcdir)/emultempl/ia64elf.em. | |
98 | * Makefile.in: Regenerated. | |
99 | ||
100 | * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Set to ia64elf. | |
101 | ||
102 | * emultempl/ia64elf.em: New. | |
103 | ||
f19ae42f KK |
104 | 2003-10-12 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
105 | ||
106 | * emulparams/shelf32_nbsd.sh (OTHER_SECTIONS): Redefine. | |
107 | ||
420e579c HPN |
108 | 2003-10-11 Hans-Peter Nilsson <hp@bitrange.com> |
109 | ||
110 | * ld.texinfo (Builtin Functions) <DEFINED>: Say that only symbols | |
111 | defined before the statement using DEFINED yield 1. | |
112 | * ldexp.c (fold_name) <case DEFINED>: In lang_first_phase_enum, | |
113 | call lang_track_definedness on symbol. In subsequent phases, use | |
114 | lang_symbol_definition_iteration and lang_statement_iteration to | |
115 | check whether the symbol was defined before the current statement. | |
116 | (exp_fold_tree) <case etree_assign et al>: Call | |
117 | lang_update_definedness before updating symbol type when setting | |
118 | symbol. | |
119 | * ldlang.c (lang_definedness_table): New variable. | |
120 | (lang_definedness_newfunc, lang_track_definedness) | |
121 | (lang_symbol_definition_iteration, lang_update_definedness): New | |
122 | functions. | |
123 | (lang_init): Initialize lang_definedness_table and | |
124 | lang_statement_iteration. | |
125 | (lang_finish): Destroy bfd_hash_table_free. | |
126 | (lang_size_sections): Increment lang_statement_iteration. | |
127 | (lang_do_assignments_1): New function with former | |
128 | lang_do_assignments contents. Change recursive calls to call this | |
129 | function. | |
130 | (lang_do_assignments): Evacuate contents. Increment | |
131 | lang_statement_iteration, then just call lang_do_assignments_1. | |
132 | * ldlang.h (struct lang_definedness_hash_entry) | |
133 | (lang_statement_iteration, lang_track_definedness) | |
134 | (lang_symbol_definition_iteration, lang_update_definedness): | |
135 | Declare. | |
136 | ||
c6d3b05f L |
137 | 2003-10-09 H.J. Lu <hongjiu.lu@intel.com> |
138 | ||
139 | * scripttempl/elf.sc (__executable_start): Provide. | |
140 | ||
2f857bd0 DJ |
141 | 2003-10-09 Daniel Jacobowitz <drow@mvista.com> |
142 | ||
143 | * emulparams/armelf.sh: Define NO_SMALL_DATA. | |
144 | * emulparams/armelf_linux.sh, emulparams/armelf_oabi.sh, | |
145 | emulparams/armnto.sh: Likewise. | |
146 | ||
a7f18fb3 AO |
147 | 2003-10-08 Alexandre Oliva <aoliva@redhat.com> |
148 | ||
149 | * ldlang.c (lang_size_sections_1): Use IGNORE_SECTION to tell | |
150 | whether to skip test for no memory region. | |
151 | ||
e62eb3ee NC |
152 | 2003-10-08 Nick Clifton <nickc@redhat.com> |
153 | ||
154 | * lexsup.c (parse_args: OPTION_CALL_SHARED): Revise comment | |
155 | describing defaults. Change default to report unresolved symbols | |
156 | in object files as well. | |
157 | ||
6a33aff4 HPN |
158 | 2003-10-08 Hans-Peter Nilsson <hp@bitrange.com> |
159 | ||
160 | * ldexp.c (fold_name) <case DEFINED>: Set section of result to | |
161 | abs_output_section. | |
162 | ||
398b8515 BW |
163 | 2003-10-07 Bob Wilson <bob.wilson@acm.org> |
164 | ||
165 | * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS, | |
166 | OTHER_READWRITE_SECTIONS, OTHER_SECTIONS): Set section addresses to | |
167 | zero for relocatable links. | |
168 | ||
c0d48c0b DA |
169 | 2003-10-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
170 | ||
171 | * configure.host (HOSTING_LIBS): Define for hppa*-*-linux*. | |
172 | ||
29ca8dc5 NS |
173 | 2003-10-07 Nathan Sidwell <nathan@codesourcery.com> |
174 | ||
175 | * ldwrite.c (unsplittable_name): New. | |
176 | (clone_section): Strip existing numeric suffix. Only truncate names | |
177 | for coff targets. | |
178 | (split_sections): Use unsplittable_name. | |
179 | ||
85477099 NC |
180 | 2003-10-06 Nick Clifton <nickc@redhat.com> |
181 | ||
182 | * lexsup.c (parse_args): Report unresolved symbols in shared | |
183 | libraries when creating a dynamic executable. This is a | |
184 | restoration of the default behaviour for previous versions of | |
185 | the linker. | |
186 | ||
187 | 2003-10-06 Matt Thomas <matt@3am-software.com> | |
85cf2a8a NC |
188 | |
189 | * emulparams/hppanbsd.sh: Remove OUTPUT_FORMAT. | |
190 | * emulparams/hppaobsd.sh: Add OUTPUT_FORMAT="elf32-hppa". | |
191 | ||
4615568e NC |
192 | 2003-10-06 Robert Millan <robertmh@gnu.org> |
193 | ||
194 | * configure.tgt: Match GNU/KNetBSD with new knetbsd*-gnu triplet. | |
195 | ||
4b7f0676 NC |
196 | 2003-10-02 Ivan Warren <ivan@vmfacility.fr> |
197 | ||
198 | * pe-dll.c (make_one): Correct sym def order & pick right sym for | |
199 | .idata$7 reloc. | |
200 | ||
43c58ae6 CD |
201 | 2003-09-30 Chris Demetriou <cgd@broadcom.com> |
202 | ||
203 | * NEWS: Add an indication of the cutoff for 2.14. | |
204 | ||
5f74bc13 CD |
205 | 2003-09-30 Chris Demetriou <cgd@broadcom.com> |
206 | ||
207 | * ldmain.c (get_emulation): Ignore "-mips64r2". | |
208 | ||
13dfd2d0 NC |
209 | 2003-09-03 Robert Millan <robertmh@gnu.org> |
210 | ||
211 | * configure.host: Match GNU/KFreeBSD with new kfreebsd*-gnu | |
212 | triplet. | |
213 | * configure.tgt: Likewise. | |
214 | ||
71df864f AM |
215 | 2003-08-29 Jafa <jafa@silicondust.com> |
216 | ||
217 | * emulparams/elf32ip2k.sh (TEMPLATE_NAME): Define. | |
218 | ||
3673a93e NC |
219 | 2003-08-21 Nick Clifton <nickc@redhat.com> |
220 | ||
221 | * po/tr.po: Updated Turkish translation. | |
222 | ||
560e09e9 NC |
223 | 2003-08-20 Nick Clifton <nickc@redhat.com> |
224 | ||
225 | * ldmain.c: Initialise the new fields in bfd_link_info to | |
226 | NOT_YET_SET. | |
227 | * lexsup.c (enum option_values): New enum. Use this to | |
228 | replace the handed coded values for the long switch options. | |
229 | (ld_options): Add 'unresolved-symbols', | |
230 | 'warn-unresolved-symbols' and 'error-unresolved-symbols'. | |
231 | (parse_args): Handle the new switches. Set the values of | |
232 | unresolved_symbols_in_objects and | |
233 | unresolved_symbols_in_shared_libs appropriately. If they were | |
234 | not initialised by the command line, install default values. | |
235 | * emultempl/elf32.em (handle_option): Update OPTION_GROUP and | |
236 | -z defs to use the new fields in bfd_link_info. | |
237 | * ld.texinfo: Document the new switches. | |
238 | * NEWS: Mention this feature. | |
239 | ||
aafdb207 NC |
240 | 2003-08-15 Dmitry Diky <diwil@mail.ru> |
241 | ||
242 | * Makefile.am (GENSCRIPTS_EXTRA): New script definition which | |
243 | calls genscripts_extra.sh. | |
244 | Rearrange all msp430 depends using this script. | |
245 | * Makefile.in: Regenerate. | |
246 | * genscripts_extra.sh: New file: Similar to genscripts.sh, except | |
247 | that the script to be run to generate the emulations can be passed | |
248 | as an optional parameter instead of being computed from the | |
249 | emulation name. | |
250 | * emulparams/msp430all.sh: New file: Combine all msp430 subdevice | |
251 | definitions into one file. | |
252 | * emulparams/msp430x*.sh: Removed. | |
253 | ||
cd6d6c15 NC |
254 | 2003-08-15 Nick Clifton <nickc@redhat.com> |
255 | ||
256 | * ld.texinfo (Options): Put keywords for the -z option into a | |
257 | table. Add more text describing what the -z now option does. | |
258 | ||
68cdbb4a AM |
259 | 2003-08-14 Alan Modra <amodra@bigpond.net.au> |
260 | ||
261 | * dep-in.sed: Remove libintl.h. | |
262 | * Makefile.am (POTFILES.in): Unset LC_COLLATE. | |
263 | * Makefile.in: Regenerate. | |
264 | ||
f22f5fcd AM |
265 | 2003-08-13 Alan Modra <amodra@bigpond.net.au> |
266 | ||
267 | * genscripts.sh (libpath.exp): Only generate for first emulation. | |
268 | (LIB_PATH): Correct order of paths. Don't add $tool_lib when | |
269 | already present or when LIB_PATH is set to ":". | |
270 | ||
0b28295d ILT |
271 | 2003-08-12 Ian Lance Taylor <ian@airs.com> |
272 | ||
273 | * ldmain.c (undefined_symbol): Change parameter name from `fatal' | |
274 | to `error'. If only a warning, put warning in the reported | |
275 | string. Consistently set failure flag when not a warning. | |
276 | ||
3b260895 NC |
277 | 2003-08-08 Dmitry Diky <diwil@mail.ru> |
278 | ||
279 | * Makefile.am: Add xW42 and xE42 parts. Sort MPU list according to | |
280 | gcc order. | |
281 | * Makefile.in: Regenerate. | |
282 | * configure.tgt: Add extra emulations. | |
283 | * emulparams/msp430xE423.sh: New file. | |
284 | * emulparams/msp430xE427.sh: New file. | |
285 | * emulparams/msp430xW425.sh: New file. | |
286 | * emulparams/msp430xE425.sh: New file. | |
287 | * emulparams/msp430xW423.sh: New file. | |
288 | * emulparams/msp430xW427.sh: New file. | |
289 | ||
1fa1d2cd DS |
290 | 2003-08-07 Danny Smith <dannysmith@users.sourceforge.net> |
291 | ||
292 | * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): | |
293 | Change second (cmdline) arg to lang_add_entry to FALSE. | |
294 | (set_pe_subsystem): Change second arg to lang_add_entry to TRUE. | |
295 | ||
9d7e2ba5 JE |
296 | 2003-08-05 Christian Groessler <chris@groessler.org> |
297 | Jason Eckhardt <jle@rice.edu> | |
298 | ||
299 | * configure.tgt: Recognize new target i860-*-coff. | |
300 | * Makefile.am (ALL_EMULATIONS): Add ecoff_i860.o. | |
301 | (ecoff_i860.c): New rule. | |
302 | * emulparams/coff_i860.sh: New file. | |
303 | * scripttempl/i860coff.sc: New file. | |
304 | * Makefile.in: Regenerate. | |
305 | ||
8c675694 NC |
306 | 2003-08-04 Nick Clifton <nickc@redhat.com> |
307 | ||
308 | * emultempl/elf32.em (before_allocation): Prepend "warning: " | |
309 | to messages produced for .gnu.warning.SYMBOL sections. | |
310 | ||
2a36a117 AM |
311 | 2003-08-04 Alan Modra <amodra@bigpond.net.au> |
312 | ||
313 | * emultempl/elf32.em (output_rel_find): Add "isdyn" param. Put | |
314 | .rel.dyn before other reloc sections. Don't stop looking for reloc | |
315 | sections on finding one that isn't allocated. Match .rel even when | |
316 | placing .rela and vice versa, when setting last_rel and | |
317 | last_rel_alloc for the first time. If no reloc sections in script, | |
318 | prefer allocated section over non-alloc. | |
319 | (gld${EMULATION_NAME}_place_orphan): Handle orphan .rel.dyn. | |
320 | ||
8a1cb159 KK |
321 | 2003-07-29 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
322 | ||
323 | * emulparams/shelf.sh (OTHER_SECTIONS): Don't include .stack | |
324 | section for shared library. | |
325 | * emulparams/shelf32.sh (OTHER_SECTIONS): Likewise. | |
326 | * emulparams/shelf64.sh (OTHER_SECTIONS): Likewise. | |
327 | ||
83a27a96 SC |
328 | 2003-07-29 Stephane Carrez <stcarrez@nerim.fr> |
329 | ||
330 | * scripttempl/elfm68hc12.sc: Add gcc_except_table. | |
331 | * scripttempl/elfm68hc11.sc: Likewise. | |
332 | ||
c86b6a7b AM |
333 | 2003-07-28 Alan Modra <amodra@bigpond.net.au> |
334 | ||
f37f3db7 AM |
335 | * emulparams/elf64ppc.sh (GOT): Fix for shell brace matching. |
336 | ||
c86b6a7b AM |
337 | * emulparams/elf64ppc.sh (GOT): Don't merge .toc into .got for ld -r. |
338 | ||
7e7d5768 AM |
339 | 2003-07-27 Alan Modra <amodra@bigpond.net.au> |
340 | ||
341 | * ld.texinfo: Typo fixes. Document SUBALIGN. | |
342 | * ldgram.y (opt_subalign): Add. | |
343 | * ldlex.l (SUBALIGN): Recognize. | |
344 | * ldlang.c (overlay_subalign): New var. | |
345 | (lang_enter_overlay): Add subalign param. | |
346 | (lang_enter_overlay_section): Pass overlay_subalign to | |
347 | lang_enter_output_section_statement. | |
348 | * ldlang.h (lang_enter_overlay): Update. | |
349 | ||
834d807b NC |
350 | 2003-07-24 Nick Clifton <nickc@redhat.com> |
351 | ||
352 | * po/fr.po: Updated French translation. | |
353 | ||
494fee87 SC |
354 | 2003-07-23 Stephane Carrez <stcarrez@nerim.fr> |
355 | ||
356 | * scripttempl/elfm68hc11.sc: Keep ctor/dtor sections; Take into | |
357 | account .tramp sections; | |
358 | * scripttempl/elfm68hc12.sc: Likewise. | |
359 | ||
602d6c6f NC |
360 | 2003-07-17 Charles Wilson <cwilson@ece.gatech.edu> |
361 | ||
362 | * ld/pe-dll.c: Add libcygwin to autofilter_liblist[] | |
363 | ||
6c37ac4d NC |
364 | 2003-07-17 Nick Clifton <nickc@redhat.com> |
365 | ||
366 | * po/es.po: New Spanish translation. | |
367 | ||
fce00800 AM |
368 | 2003-07-11 Alan Modra <amodra@bigpond.net.au> |
369 | ||
370 | * po/ld.pot: Regenerate. | |
371 | ||
e901de89 BW |
372 | 2003-07-10 Bob Wilson <bob.wilson@acm.org> |
373 | ||
374 | * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Replace .xt.lit | |
375 | with new .got.loc section. | |
376 | (OTHER_READWRITE_SECTIONS): Do not combine linkonce sections for | |
377 | non-relocating links. | |
378 | (OTHER_SECTIONS): Add .xt.lit here. Change it to keep linkonce | |
379 | sections separate for non-relocating links; likewise for .xt.insn. | |
380 | ||
4a096548 AO |
381 | 2003-07-10 Alexandre Oliva <aoliva@redhat.com> |
382 | ||
383 | 2001-08-22 Alexandre Oliva <aoliva@redhat.com> | |
384 | * emulparams/elf32am33lin.sh: Adjust to match kernel parameters. | |
385 | 2001-05-09 Alexandre Oliva <aoliva@redhat.com> | |
386 | * configure.host (am33_2.0-*-linux*): Added. | |
387 | * configure.tgt (am33_2.0-*-linux*): Likewise. | |
388 | * emulparams/elf32am33lin.sh: New. | |
389 | * Makefile.am (eelf32am33lin.c): New rule. | |
390 | * Makefile.in: Rebuilt. | |
391 | ||
892bb326 AO |
392 | 2003-07-09 Alexandre Oliva <aoliva@redhat.com> |
393 | ||
394 | 2001-04-17 Alexandre Oliva <aoliva@redhat.com> | |
395 | * emulparams/mn10300.sh (TEMPLATE_NAME): Define. | |
396 | (GENERATE_SHLIB_SCRIPT): Likewise. | |
397 | ||
68f8ff14 AM |
398 | 2003-07-10 Alan Modra <amodra@bigpond.net.au> |
399 | ||
400 | * emulparams/elf64ppc.sh (OTHER_GOT_SECTIONS): Don't define. | |
401 | (GOT): Define. | |
402 | * emultempl/ppc64elf.em (stub_added): New static var. | |
403 | (ppc_create_output_section_statements): Call ppc64_elf_init_stub_bfd. | |
404 | (ppc_add_stub_section): Set stub_added. | |
405 | (gld${EMULATION_NAME}_finish): Look for .got rather than .toc. Adjust | |
406 | ppc64_elf_size_stubs call and test for stubs. | |
407 | * scripttempl/elf.sc (GOT): Define and use. | |
408 | ||
fb319d8d JR |
409 | 2003-07-08 J"orn Rennecke <joern.rennecke@superh.com> |
410 | ||
411 | * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation): | |
412 | Allow second call from ldemul_finish. | |
413 | ||
3a51fda6 JR |
414 | 2003-07-04 J"orn Rennecke <joern.rennecke@superh.com> |
415 | ||
416 | * emulparams/shelf32.sh (STACK_ADDR): Don't define. | |
417 | (OTHER_SECTIONS): Include .stack. | |
418 | * emulparams/shelf64.sh (OTHER_SECTIONS): Likewise. | |
419 | ||
9203ba99 JJ |
420 | 2003-07-02 Jakub Jelinek <jakub@redhat.com> |
421 | ||
422 | * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't include | |
423 | .opd if -pie. | |
424 | (OTHER_READWRITE_SECTIONS): Include .opd if -pie. | |
425 | * scripttempl/elf.sc: Use SHLIB_DATA_ADDR instead of DATA_ADDR | |
426 | if -pie. | |
427 | ||
1579bae1 AM |
428 | 2003-06-28 Alan Modra <amodra@bigpond.net.au> |
429 | ||
430 | * ld.h: Convert to C90, remove unnecessary prototypes and casts. | |
431 | Replace PTR with void *. Formatting. | |
432 | * ldcref.c: Likewise. | |
433 | * ldctor.c: Likewise. | |
434 | * ldctor.h: Likewise. | |
435 | * ldemul.h: Likewise. | |
436 | * ldexp.c: Likewise. | |
437 | * ldexp.h: Likewise. | |
438 | * ldfile.c: Likewise. | |
439 | * ldfile.h: Likewise. | |
440 | * ldlang.c: Likewise. | |
441 | * ldlang.h: Likewise. | |
442 | * ldlex.h: Likewise. | |
443 | * ldlex.l: Likewise. | |
444 | * ldmain.c: Likewise. | |
445 | * ldmain.h: Likewise. | |
446 | * ldmisc.c: Likewise. | |
447 | * ldmisc.h: Likewise. | |
448 | * ldver.h: Likewise. | |
449 | * ldwrite.c: Likewise. | |
450 | * ldwrite.h: Likewise. | |
451 | * lexsup.c: Likewise. | |
452 | * mri.c: Likewise. | |
453 | * mri.h: Likewise. | |
454 | * pe-dll.c: Likewise. | |
455 | * pe-dll.h: Likewise. | |
456 | * deffilep.y: Likewise. | |
457 | * deffile.h: Likewise. Don't include ansidecl.h. | |
458 | * emulparams/elf32mcore.sh: Remove unnecessary cast. | |
459 | * emultempl/m68kcoff.em: Likewise. | |
460 | * emultempl/m68kelf.em: Likewise. | |
461 | * emultempl/ticoff.em: Remove lang_add_output_format declaration. | |
462 | * sysdep.h: Don't include ansidecl.h. | |
463 | * Makefile.am: Run "make dep-am". | |
464 | * Makefile.in: Regenerate. | |
465 | ||
dc17f155 NC |
466 | 2003-06-27 Nick Clifton <nickc@redhat.com> |
467 | ||
468 | * deffilep.y (def_file_add_directive): Cope with NUL seperated | |
469 | directives. Fix reporting of unparseable directives. | |
470 | (def_error): Check for a NULL def_filename. | |
471 | ||
0c7a8e5a AM |
472 | 2003-06-27 Alan Modra <amodra@bigpond.net.au> |
473 | ||
474 | * emultempl/aix.em: Convert to C90, remove unnecessary prototypes | |
475 | and casts. Replace PTR with void *. Formatting. | |
1579bae1 AM |
476 | * emultempl/alphaelf.em: Likewise. |
477 | * emultempl/armcoff.em: Likewise. | |
478 | * emultempl/armelf.em: Likewise. | |
479 | * emultempl/armelf_oabi.em: Likewise. | |
480 | * emultempl/beos.em: Likewise. | |
481 | * emultempl/elf32.em: Likewise. | |
482 | * emultempl/generic.em: Likewise. | |
483 | * emultempl/gld960.em: Likewise. | |
484 | * emultempl/gld960c.em: Likewise. | |
485 | * emultempl/hppaelf.em: Likewise. | |
486 | * emultempl/linux.em: Likewise. | |
487 | * emultempl/lnk960.em: Likewise. | |
488 | * emultempl/m68hc1xelf.em: Likewise. | |
489 | * emultempl/m68kcoff.em: Likewise. | |
490 | * emultempl/m68kelf.em: Likewise. | |
491 | * emultempl/mipsecoff.em: Likewise. | |
492 | * emultempl/mipself.em: Likewise. | |
493 | * emultempl/mmix-elfnmmo.em: Likewise. | |
494 | * emultempl/mmixelf.em: Likewise. | |
495 | * emultempl/mmo.em: Likewise. | |
496 | * emultempl/needrelax.em: Likewise. | |
497 | * emultempl/netbsd.em: Likewise. | |
498 | * emultempl/pe.em: Likewise. | |
499 | * emultempl/sh64elf.em: Likewise. | |
500 | * emultempl/sunos.em: Likewise. | |
501 | * emultempl/ticoff.em: Likewise. | |
502 | * emultempl/vanilla.em: Likewise. | |
503 | * emultempl/xtensaelf.em: Likewise. | |
0c7a8e5a AM |
504 | * Makefile.am: Correct dependencies. |
505 | * Makefile.in: Regenerate. | |
506 | ||
1049f94e AM |
507 | 2003-06-25 Alan Modra <amodra@bigpond.net.au> |
508 | ||
509 | * ld.texinfo: Correct spelling of "relocatable". | |
1579bae1 AM |
510 | * ldctor.c: Likewise. |
511 | * ldexp.c: Likewise. | |
512 | * ldfile.c: Likewise. | |
513 | * ldint.texinfo: Likewise. | |
514 | * ldlang.c: Likewise. | |
515 | * ldmain.c: Likewise. | |
516 | * ldwrite.c: Likewise. | |
517 | * lexsup.c: Likewise. | |
518 | * emultempl/aix.em: Likewise. | |
519 | * emultempl/alphaelf.em: Likewise. | |
520 | * emultempl/armcoff.em: Likewise. | |
521 | * emultempl/armelf_oabi.em: Likewise. | |
522 | * emultempl/beos.em: Likewise. | |
523 | * emultempl/elf32.em: Likewise. | |
524 | * emultempl/generic.em: Likewise. | |
525 | * emultempl/gld960.em: Likewise. | |
526 | * emultempl/gld960c.em: Likewise. | |
527 | * emultempl/hppaelf.em: Likewise. | |
528 | * emultempl/linux.em: Likewise. | |
529 | * emultempl/lnk960.em: Likewise. | |
530 | * emultempl/m68hc1xelf.em: Likewise. | |
531 | * emultempl/m68kcoff.em: Likewise. | |
532 | * emultempl/m68kelf.em: Likewise. | |
533 | * emultempl/mipsecoff.em: Likewise. | |
534 | * emultempl/mipself.em: Likewise. | |
535 | * emultempl/mmix-elfnmmo.em: Likewise. | |
536 | * emultempl/mmo.em: Likewise. | |
537 | * emultempl/needrelax.em: Likewise. | |
538 | * emultempl/pe.em: Likewise. | |
539 | * emultempl/ppc64elf.em: Likewise. | |
540 | * emultempl/sh64elf.em: Likewise. | |
541 | * emultempl/sunos.em: Likewise. | |
542 | * emultempl/ticoff.em: Likewise. | |
543 | * emultempl/xtensaelf.em: Likewise. | |
1049f94e | 544 | |
7e5d8d48 AM |
545 | 2003-06-24 Alan Modra <amodra@bigpond.net.au> |
546 | ||
547 | * emultempl/ppc32elf.em: Convert to C90. | |
548 | ||
7d8a3a28 AM |
549 | 2003-06-20 Alan Modra <amodra@bigpond.net.au> |
550 | ||
551 | * emultempl/ppc64elf.em: Convert to C90 function definitions, remove | |
552 | unnecessary prototypes and casts. | |
553 | ||
bda6c678 AM |
554 | 2003-06-19 Alan Modra <amodra@bigpond.net.au> |
555 | ||
556 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Dump out | |
557 | statistics from ppc64_elf_build_stubs. | |
558 | ||
6bc8652b AM |
559 | 2003-06-19 Alan Modra <amodra@bigpond.net.au> |
560 | ||
561 | * emultempl/ppc64elf.em (build_section_lists): Check return status | |
562 | from ppc64_elf_next_input_section. | |
563 | ||
f97b9cb8 L |
564 | 2003-06-17 H.J. Lu <hongjiu.lu@intel.com> |
565 | ||
566 | * ldlang.c (section_already_linked): Put back assignment of | |
567 | kept_section. | |
568 | ||
fea39bcb NC |
569 | 2003-06-17 Rainer Keuchel <rkeuchel@allgeier.com> |
570 | ||
571 | * pe-dll.c (generate_reloc): Catch and ignore an ARM_26D | |
6bc8652b | 572 | reloc. |
fea39bcb | 573 | |
40bdaaa8 NC |
574 | 2003-06-17 Loren James Rittle <rittle@latour.rsch.comm.mot.com> |
575 | ||
576 | * configure.host (*-*-freebsd*): Add known path for ld-elf.so.1 | |
577 | if not produced by gcc. | |
578 | ||
b826ae22 HPN |
579 | 2003-06-16 Hans-Peter Nilsson <hp@axis.com> |
580 | ||
581 | * configure.tgt: Add specific case for cris-*-linux-gnu* | |
582 | with crislinux emulation only. | |
583 | ||
a06a29f2 NC |
584 | 2003-06-13 Robert Millan <zeratul2@wanadoo.es> |
585 | ||
586 | * configure.tgt: Add i386-netbsd-gnu target. | |
587 | ||
728fa2f6 RS |
588 | 2003-06-12 Richard Sandiford <rsandifo@redhat.com> |
589 | ||
590 | * configure.tgt (mips*-sgi-irix6*): Add the o32 and n64 emulations | |
591 | to $targ_extra_libpath. | |
592 | ||
3b443373 L |
593 | 2003-06-11 H.J. Lu <hongjiu.lu@intel.com> |
594 | ||
595 | * po/Make-in (DESTDIR): New. | |
596 | (install-data-yes): Support $(DESTDIR). | |
597 | (uninstall): Likewise. | |
598 | ||
cfa1ac0c DE |
599 | 2003-06-10 Doug Evans <dje@sebabeach.org> |
600 | ||
601 | * Makefile.am (ALL_EMULATIONS): Add em32relf.o. | |
602 | * Makefile.in: Regenerate. | |
603 | ||
f4984206 RS |
604 | 2003-06-10 Richard Sandiford <rsandifo@redhat.com> |
605 | ||
606 | * configure.tgt (h8300*): Add h8300sxn emulations. | |
607 | * Makefile.am (ALL_EMULATIONS): Add eh8300sxn.o and eh8300sxnelf.o. | |
608 | (eh8300sxn.c, eh8300sxnelf.c): New rules. | |
609 | * Makefile.in: Regenerate. | |
610 | * emulparams/h8300sxnelf.sh, emulparams/h8300sxn.sh: New files. | |
d1b2d571 | 611 | * scripttempl/h8300sxn.sc: New file. |
f4984206 | 612 | |
285272bd AM |
613 | 2003-06-10 Alan Modra <amodra@bigpond.net.au> |
614 | ||
615 | * emulparams/elf64ppc.sh (EXECUTABLE_SYMBOLS, OTHER_BSS_END_SYMBOLS, | |
616 | CTOR_START, CTOR_END, DTOR_START, DTOR_END): Don't define. | |
617 | ||
0b9a4d73 AM |
618 | 2003-06-08 Alan Modra <amodra@bigpond.net.au> |
619 | ||
620 | * emultempl/ppc64elf.em (emit_stub_syms, toc_section): New vars. | |
621 | (build_toc_list): New function. | |
622 | (gld${EMULATION_NAME}_finish): Call build_toc_list and | |
623 | ppc64_elf_reinit_toc. Adjust ppc64_elf_build_stubs call. | |
624 | (OPTION_STUBSYMS): Define. | |
625 | (PARSE_AND_LIST_LONGOPTS): Add emit-stub-syms. | |
626 | (PARSE_AND_LIST_OPTIONS): Document. | |
627 | (PARSE_AND_LIST_ARGS_CASES): Handle. | |
628 | ||
c16d554d RM |
629 | 2003-06-05 Roland McGrath <roland@redhat.com> |
630 | ||
631 | * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Remove | |
632 | extra \t in -z noexecstack line. | |
633 | ||
9ee5e499 JJ |
634 | 2003-05-23 Jakub Jelinek <jakub@redhat.com> |
635 | ||
636 | * ldgram.y (phdr_type): Grok PT_GNU_STACK. | |
637 | * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add | |
638 | -z execstack and -z noexecstack. | |
639 | (gld${EMULATION_NAME}_list_options): Likewise. | |
640 | * scripttempl/elf.sc: If not -r, discard .note.GNU-stack section. | |
641 | ||
65982ba6 | 642 | 2003-06-03 Michael Snyder <msnyder@redhat.com> |
6bc8652b | 643 | and Bernd Schmidt <bernds@redhat.com> |
65982ba6 | 644 | and Alexandre Oliva <aoliva@redhat.com> |
9ee5e499 | 645 | |
65982ba6 MS |
646 | * Makefile.am: Add new emulations for h8300sx. |
647 | * Makefile.in: Regenerate. | |
648 | * configure.tgt: Add new emulations. | |
649 | * emulparams/h8300sx.sh: New emulation. | |
650 | * emulparams/h8300sxelf.sh: Ditto. | |
651 | * scripttempl/h8300sx.sc: Ditto. | |
652 | ||
6f6f27f8 L |
653 | 2003-06-03 H.J. Lu <hongjiu.lu@intel.com> |
654 | ||
655 | * ldmisc.c: Include "bfdlink.h". | |
656 | (error_handler): Handle LD_DEFINITION_IN_DISCARDED_SECTION | |
657 | and -LD_DEFINITION_IN_DISCARDED_SECTION. | |
658 | ||
659 | * Makefile.am: Rebuild dependency. | |
660 | * Makefile.in: Regenerated. | |
661 | ||
308f753f KK |
662 | 2003-06-03 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
663 | ||
664 | * emulparams/shlelf_linux.sh (GENERATE_PIE_SCRIPT): Set to yes. | |
665 | * emulparams/shlelf32_linux.sh (GENERATE_PIE_SCRIPT): Likewize. | |
666 | ||
03a1c9a7 NC |
667 | 2003-06-02 Fabrizio Gennari <fabrizio.ge@tiscalinet.it> |
668 | ||
669 | * pe-dll.c (fill_edata): Scan table pe_dll->exports, which is | |
670 | sorted alphabetically, instead of exported_symbols, which is | |
671 | sorted by ordinal. | |
672 | ||
36af4a4e JJ |
673 | 2003-05-30 Ulrich Drepper <drepper@redhat.com> |
674 | Jakub Jelinek <jakub@redhat.com> | |
675 | ||
676 | * lexsup.c (OPTION_PIE): Define. | |
677 | (ld_options): Add -pie and --pic-executable options. | |
678 | (parse_args): Handle OPTION_PIE. | |
679 | * ldmain.c (main): Initialize link_info.pie and | |
680 | link_info.executable. | |
681 | * genscripts.sh: Generate PIE scripts. | |
682 | * ld.texinfo: Document -pie and --pic-executable options. | |
683 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): | |
684 | (gld${EMULATION_NAME}_place_orphan): Likewise. | |
685 | (gld${EMULATION_NAME}_get_script): Include PIE scripts. | |
686 | * scripttempl/elf.sc: In PIE scripts set . the same way as in | |
687 | shared scripts. | |
688 | * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Set to yes. | |
689 | * emulparams/elf64_ia64.sh (GENERATE_PIE_SCRIPT): Likewise. | |
690 | * emulparams/elf32ppc.sh (GENERATE_PIE_SCRIPT): Likewise. | |
691 | * emulparams/elf64ppc.sh (GENERATE_PIE_SCRIPT): Likewise. | |
692 | * emulparams/elf_x86_64.sh (GENERATE_PIE_SCRIPT): Likewise. | |
693 | * emulparams/elf_s390.sh (GENERATE_PIE_SCRIPT): Likewise. | |
694 | * emulparams/elf32_sparc.sh (GENERATE_PIE_SCRIPT): Likewise. | |
695 | * emulparams/elf64_sparc.sh (GENERATE_PIE_SCRIPT): Likewise. | |
696 | * emulparams/elf64alpha.sh (GENERATE_PIE_SCRIPT): Likewise. | |
697 | * emulparams/elf64_s390.sh (GENERATE_PIE_SCRIPT): Likewise. | |
698 | * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Likewise. | |
699 | ||
cdaeef2e L |
700 | 2003-05-30 H.J. Lu <hongjiu.lu@intel.com> |
701 | ||
702 | * genscripts.sh: Create tmpdir/libpath.exp. | |
703 | ||
06aa7234 NC |
704 | 2003-05-30 Nick Clifton <nickc@redhat.com> |
705 | ||
706 | * emultempl/armelf.em (arm_elf_before_allocation): Replace ASSERT | |
707 | with a test for a NULL bfd_for_interworking. | |
708 | ||
561c27b2 JT |
709 | 2003-05-29 Jason Thorpe <thorpej@wasabisystems.com> |
710 | ||
711 | * configure.host (*-*-netbsd*): Set HOSTING_CRT0 and HOSTING_LIBS | |
712 | correctly for more recent versions of NetBSD. | |
713 | (alpha*-*-netbsd*): Remove. | |
714 | (i[3-7]86-*-netbsd*): Remove. | |
715 | ||
29e1a6e4 NC |
716 | 2003-05-29 Nick Clifton <nickc@redhat.com> |
717 | ||
718 | * emultempl/pe.em: Include "safe-ctype.h" instead of <ctype.h>. | |
719 | ||
90be1c5c MR |
720 | 2003-05-26 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
721 | ||
722 | * emulparams/elf64btsmip.sh: Set TEXT_START_ADDR to 0x120000000 to | |
723 | trap on pointer crops. | |
724 | ||
cea3d58d NC |
725 | 2003-05-21 Marcus Comstedt <marcus@mc.pp.se> |
726 | ||
727 | * configure.tgt: Check for a target triplet of shl-...-netbsdelf | |
728 | as well as shle-...-netbsdelf. | |
729 | ||
80c7c40a NC |
730 | 2003-05-16 Kelley Cook <kelleycook@wideopenwest.com> |
731 | ||
732 | * configure.host: Accept i[3-7]86 variants. | |
733 | * configure.tgt: Likewise. | |
734 | ||
a6c0916f L |
735 | 2003-05-15 H.J. Lu <hongjiu.lu@intel.com> |
736 | ||
737 | * emulparams/elf64_ia64.sh: Don't set COMMONPAGESIZE for now. | |
738 | ||
d2012d17 DJ |
739 | 2003-05-09 Daniel Jacobowitz <drow@mvista.com> |
740 | ||
741 | * Makefile.am (ALL_EMULATIONS): Add earmelfb.o and earmelfb_linux.o. | |
742 | (earmelfb.c, earmelfb_linux.c): New rules. | |
743 | * Makefile.in: Regenerated. | |
744 | * emulparams/armelfb.sh, emulparams/armelfb_linux.sh: New files. | |
df9a14a1 | 745 | * configure.tgt: Add armeb-elf and arm*b-*-linux-gnu. |
d2012d17 | 746 | |
3cd9fdd5 | 747 | 2003-05-09 Nick Clifton <nickc@redhat.com> |
c16d554d | 748 | |
66184979 NC |
749 | * ldlang.c (lang_size_sections_1): Default to generating a |
750 | fatal error message if a loadable section is not allocated | |
751 | to a memory region when regions are defined. | |
752 | ||
efdffbe2 AM |
753 | 2003-05-09 Alan Modra <amodra@bigpond.net.au> |
754 | ||
755 | * Makefile.am (em68hc11elf.c): Correct dependencies. | |
756 | (em68hc11elfb.c, em68hc12elf.c, em68hc12elfb.c): Likewise. | |
757 | * Makefile.in: Regenerate. | |
758 | * emultempl/elf32.em (find_exp_assignment): Adjust for changed | |
759 | bfd_elf_record_link_assignment name. | |
760 | ||
8aae64e6 AO |
761 | 2003-05-07 Alexandre Oliva <aoliva@redhat.com> |
762 | ||
763 | * ldmain.h (overflow_cutoff_limit): Declare. | |
764 | * ldmain.c (overflow_cutoff_limit): Define, initialized to 10. | |
765 | (reloc_overflow): Limit error messages based on it. | |
766 | * lexsup.c (parse_args) <OPTION_VERBOSE>: Set cutoff to | |
767 | unlimited. | |
768 | ||
5c7966bf AM |
769 | 2003-05-05 Alan Modra <amodra@bigpond.net.au> |
770 | ||
771 | * ldlex.l: Accept C style comments in version scripts. | |
772 | ||
c7996ad6 L |
773 | 2003-04-28 H.J. Lu <hjl@gnu.org> |
774 | ||
775 | * ldlang.c (lang_process): Add the relax finalize pass. | |
776 | ||
777 | * ldmain.c (main): Initialize link_info.relax_finalizing to | |
778 | FALSE. | |
779 | ||
d145330d RM |
780 | 2003-04-24 Roland McGrath <roland@redhat.com> |
781 | ||
782 | * ldgram.y (phdr_type): Grok PT_TLS and PT_GNU_EH_FRAME names. | |
783 | If a name string is unknown, give an error rather than crashing later. | |
784 | ||
785 | 2003-04-23 Dhananjay Deshpande <dhananjayd@kpitcummins.com> | |
786 | ||
787 | * Makefile.am (ALL_EMULATIONS): Add eh8300hn.o, eh8300sn.o, | |
8d9cd6b1 NC |
788 | eh8300hnelf.o, eh8300snelf.o and respective rules. |
789 | * Makefile.in: Regenerate. | |
790 | * configure.tgt: Add h8300hn, h8300sn, h8300hnelf, h8300snelf | |
791 | * emulparams/h8300hn.sh: New | |
792 | * emulparams/h8300sn.sh: New | |
d145330d | 793 | * emulparams/h8300hnelf.sh: New |
8d9cd6b1 NC |
794 | * emulparams/h8300snelf.sh: New |
795 | * scripttempl/h8300hn.sc: new | |
796 | * scripttempl/h8300sn.sc: new | |
797 | ||
0f0569c4 L |
798 | 2003-04-23 H.J. Lu <hjl@gnu.org> |
799 | ||
800 | * ldmain.c (link_callbacks): Initialize error_handler. | |
801 | ||
802 | * ldmisc.c (error_handler): New function. | |
803 | ||
804 | * ldmisc.h (error_handler): New prototype. | |
805 | ||
e2cebd4b SC |
806 | 2003-04-21 Stephane Carrez <stcarrez@nerim.fr> |
807 | ||
808 | * emulparams/m68hc11elf.sh: Use m68hc1xelf.em extra. | |
809 | * emulparams/m68hc11elfb.sh: Likewise. | |
810 | * emulparams/m68hc12elf.sh: Likewise. | |
811 | * emulparams/m68hc12elfb.sh: Likewise. | |
812 | ||
67bb9940 SC |
813 | 2003-04-19 Stephane Carrez <stcarrez@nerim.fr> |
814 | ||
815 | * emultempl/m68hc1xelf.em: New file to generate far trampolines on | |
816 | 68HC11 and 68HC12. | |
817 | (LDEMUL_BEFORE_ALLOCATION): Override to gather the trampolines to | |
818 | generate. | |
819 | (LDEMUL_FINISH): Override to generate the trampolines after gc and | |
820 | linker relaxation. | |
821 | (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Override to create the | |
822 | stub file for trampolines. | |
823 | (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_LONGOPTS): New options | |
824 | --no-trampoline and --bank-window to control the memory bank window. | |
825 | ||
97b51f20 L |
826 | 2003-04-18 H.J. Lu <hjl@gnu.org> |
827 | ||
828 | * ldfile.c (ldfile_add_library_path): Remove the unused | |
829 | variable. | |
830 | ||
517ed485 NC |
831 | 2003-04-18 Andrew Haley <aph@cambridge.redhat.com> |
832 | ||
833 | * scripttempl/xstormy16.sc (__data, __rdata): New. | |
834 | ||
39f1ebed NC |
835 | 2003-04-16 Nick Clifton <nickc@redhat.com> |
836 | ||
837 | * scripttempl/xstormy16.sc: Add .jcr section mapping. | |
838 | ||
731e28d8 L |
839 | 2003-04-15 H.J. Lu <hjl@gnu.org> |
840 | ||
841 | From Debian by Jack Howarth <howarth@nitro.med.uc.edu>: | |
842 | ||
843 | * ldlex.l: Use YY_CURRENT_BUFFER instead of yy_current_buffer. | |
844 | ||
c2dcd04e NC |
845 | 2003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com> |
846 | ||
847 | * h8-doc.texi: Replace occurrances of 'Hitachi' with 'Renesas'. | |
848 | * ld.texinfo: Likewise. | |
849 | ||
877d60f7 AM |
850 | 2003-04-14 Alan Modra <amodra@bigpond.net.au> |
851 | ||
852 | From Prashanth Tamraparni <prashanth_t@in.ibm.com> | |
853 | * scripttempl/elf.sc (CTOR): Handle crtbeginS.o, crtendS.o and | |
854 | other variants of crtbegin.o, crtend.o. | |
855 | (DTOR): Likewise. | |
856 | * scripttempl/crisaout.sc (ctors, dtors): Likewise. | |
857 | * scripttempl/elf_chaos.sc (CTOR, DTOR): Likewise. | |
858 | * scripttempl/elfd10v.sc (CTOR, DTOR): Likewise. | |
859 | * scripttempl/elfd30v.sc (CTOR, DTOR): Likewise. | |
860 | * scripttempl/elfxtensa.sc (CTOR, DTOR): Likewise. | |
861 | * scripttempl/iq2000.sc (CTOR, DTOR): Likewise. | |
862 | * scripttempl/mmo.sc (ctors, dtors): Likewise. | |
863 | * scripttempl/xstormy16.sc (CTOR, DTOR): Likewise. | |
864 | ||
d4b6ee67 NC |
865 | 2003-04-09 Dmitry Diky <diwil@mail.ru> |
866 | ||
867 | * scripttempl/elf32msp430.sc: Add initX, finiX, ctors, dtors | |
868 | sections to respect C++ constructor/destructor. Add ctors/dtors | |
869 | start/stop definitions. | |
870 | * scripttempl/elf32msp430_3.sc: Likewise. | |
871 | ||
bb10df36 NC |
872 | 2003-04-06 Nick Clifton <nickc@redhat.com> |
873 | ||
874 | * ld.texinfo (Options): Add a reminder of the target specific | |
875 | nature to the description of the i386 PE specific options, for | |
876 | readers who have not read all the way through the manual. | |
877 | ||
be33c5dd SS |
878 | 2003-04-04 Svein E. Seldal <Svein.Seldal@solidas.com> |
879 | ||
9f863369 | 880 | * configure.tgt: Fixed bug in list of targ_extra_emuls. |
be33c5dd SS |
881 | * emulparams/tic3xcoff.sh (SCRIPT_NAME): Namespace |
882 | cleanup. Replace s/c4x/tic4x and s/c3x/tic3x/ | |
883 | * emulparams/tic3xcoff_onchip.sh: Ditto | |
884 | * emulparams/tic4xcoff.sh: Ditto | |
885 | * scripttempl/tic4xcoff.sc: Ditto | |
886 | ||
e8fd7476 NC |
887 | 2003-04-03 Nick Clifton <nickc@redhat.com> |
888 | ||
889 | * NEWS: Mention support for Xtensa architecture. | |
890 | ||
2b817be1 NC |
891 | 2003-04-02 Nick Clifton <nickc@redhat.com> |
892 | ||
893 | * pe-dll.c (pe_detail_list): arm-pe targets use underscores. | |
894 | ||
895 | 2003-04-01 Danny Smith <dannysmith@users.sourceforge.net> | |
896 | ||
897 | * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): | |
898 | Don't call pe_dll_build_section() if link_info.relocateable. | |
899 | (gld_${EMULATION_NAME}_finish): Don't call pe_dll_fill_sections() | |
900 | if link_info.relocateable. | |
901 | ||
902 | 2003-04-01 Fabrizio Gennari <fabrizio.ge@tiscalinet.it> | |
903 | ||
904 | * pe-dll.c (process_def_file): Don't create an export | |
905 | section if there are no exports and we're building an exe | |
906 | (pe_dll_build_sections): Ditto | |
907 | (pe_dll_fill_sections): Conditionalize setting | |
908 | abfd->dll true on info->shared | |
909 | * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): | |
910 | If i386pe or armpe, call pe_dll_build_section() | |
911 | for both exe's and dll's, not just dll's. | |
912 | (gld_${EMULATION_NAME}_finish): For all targets except | |
913 | shpe and mipspe, call pe_dll_fill_sections() for both | |
914 | exe's and dll's, not just dll's. | |
915 | ||
f6c8b716 BW |
916 | 2003-04-02 Bob Wilson <bob.wilson@acm.org> |
917 | ||
918 | * emulparams/xtensa-config.sh: Remove comment indicating that this is | |
919 | a generated file. | |
920 | ||
e0001a05 NC |
921 | 2003-04-01 Bob Wilson <bob.wilson@acm.org> |
922 | ||
877d60f7 AM |
923 | * Makefile.am (ALL_EMULATIONS): Add eelf32xtensa.o. |
924 | (eelf32xtensa.c): New target. | |
925 | * Makefile.in: Regenerate. | |
926 | * configure.tgt: Handle xtensa-*-*. | |
927 | * gen-doc.texi: Set XTENSA variable. | |
928 | * ld.texinfo: Set XTENSA variable. Add new Xtensa node. | |
929 | * emulparams/elf32xtensa.sh: New file. | |
930 | * emulparams/xtensa-config.sh: Likewise. | |
931 | * emultempl/xtensaelf.em: Likewise. | |
932 | * scripttempl/elfxtensa.sc: Likewise. | |
e0001a05 | 933 | |
276e5094 JJ |
934 | 2003-04-01 Jakub Jelinek <jakub@redhat.com> |
935 | ||
936 | * configure.tgt (powerpc*-*-linux*): Add elf32ppc to ppc64 | |
937 | targ_extra_libpath. Add elf64ppc to ppc targ_extra_libpath | |
938 | if --enable-64-bit-bfd. | |
939 | ||
5a6c6817 NC |
940 | 2003-04-01 Nick Clifton <nickc@redhat.com> |
941 | ||
394ce546 | 942 | * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Change name of |
5a6c6817 | 943 | note section. |
394ce546 | 944 | * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Change |
5a6c6817 NC |
945 | name of note section. |
946 | ||
a6e02871 AO |
947 | 2003-03-31 Alexandre Oliva <aoliva@redhat.com> |
948 | ||
949 | * ld.texinfo (-Tbss, -Tdata, -Ttext): Document in terms of | |
950 | --section-start. | |
951 | ||
5ed6aba4 NC |
952 | 2003-03-31 David Heine <dlheine@suif.stanford.edu> |
953 | ||
954 | * ldfile.c (ldfile_add_library_path): Always allocate space for | |
955 | the filename. | |
956 | * ldlang.c (lang_register_vers_node): Free the node if it cannot | |
957 | be used. | |
958 | * ldmain.c (set_scripts_dir): Always free the constructed | |
959 | directory name. | |
960 | (add_keepsyms_file): Fix memory leak. | |
961 | * ldmisc.c (vfinfo): Likewise. | |
877d60f7 | 962 | * lexsup.c (parse_args): Likewise. |
5ed6aba4 | 963 | |
e16bb312 NC |
964 | 2003-03-25 Stan Cox <scox@redhat.com> |
965 | Nick Clifton <nickc@redhat.com> | |
877d60f7 | 966 | |
6bc8652b | 967 | Contribute support for Intel's iWMMXt chip - an ARM variant: |
e16bb312 NC |
968 | |
969 | * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Define. | |
970 | * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Define. | |
971 | * scripttempl/armcoff.sc (.data): Ensure 8 byte alignment. | |
972 | (.bss): Likewise. | |
973 | ||
3fe38064 NC |
974 | 2003-03-25 Alexandre Oliva <aoliva@redhat.com> |
975 | ||
976 | * ldmain.h (ld_canon_sysroot, ld_canon_sysroot_len): Declare. | |
977 | * ldmain.c (ld_canon_sysroot, ld_canon_sysroot_len): Define. | |
978 | (main): Initialize them. | |
979 | * ldfile.c: Include pathnames.h. | |
980 | (is_sysrooted_pathname): New. | |
981 | (ldfile_add_library_path): Use it. | |
982 | (ldfile_open_file_search): Likewise. Use IS_ABSOLUTE_PATH. Don't | |
983 | search_dirs if given an absolute pathname. | |
984 | (ldfile_open_file): Issue error message for sysrooted | |
985 | absolute pathnames. | |
986 | * Makefile.am: Updated dependencies. | |
987 | * Makefile.in: Rebuild. | |
988 |