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