* bfd/bfd-in.h (bfd_elf32_arm_set_target_relocs): Update prototype.
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2005-04-15 Julian Brown <julian@codesourcery.com>
2
3 * ld.texinfo: Document --use-blx.
4 * emultempl/armelf.em (use_blx): New variable.
5 (arm_elf_create_output_section_statements): Communicate value of
6 use_blx to bfd.
7 (PARSE_AND_LIST_PROLOGUE): Add OPTION_USE_BLX.
8 (PARSE_AND_LIST_OPTIONS): Add --use-blx option.
9 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_USE_BLX case.
10
11 2005-04-14 Alan Modra <amodra@bigpond.net.au>
12
13 * Makefile.am (NO_WERROR): Define. Use instead of -Wno-error.
14 * configure.in: Include ../bfd/warning.m4 contents.
15 * Makefile.in: Regenerate.
16 * configure: Regenerate.
17
18 2005-04-12 Alan Modra <amodra@bigpond.net.au>
19
20 * Makefile.am: Run "make dep-am".
21 (ldgram.o, ldlex.o, deffilep.o): Add -Wno-error to command.
22 * Makefile.in: Regenerate.
23 * config.in: Regenerate.
24
25 2005-04-11 Alan Modra <amodra@bigpond.net.au>
26
27 * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed): Ignore
28 as_needed libs that were not needed.
29 (gld${EMULATION_NAME}_check_needed): Likewise.
30
31 2005-04-07 Nick Clifton <nickc@redhat.com>
32
33 * emultempl/m68kcoff.em: Include ldexp.h and ldlang.h so that
34 ldfile.h can use the lang_input_statement type.
35
36 2005-04-06 Jakub Jelinek <jakub@redhat.com>
37
38 * ldlang.c: Formatting.
39 (walk_wild_consider_section): Remember return value from wildcardp.
40 (is_simple_wild): Use strcspn instead of 2 strpbrk calls and strlen.
41 (wild_spec_can_overlap): Use strcspn instead of strpbrk and strlen.
42
43 2005-04-06 Robert O'Callahan <rocallahan@novell.com>
44
45 * ld.h (lean_section_userdata_type): Remove.
46 (fat_section_userdata_type): Remove file field.
47 (SECTION_USERDATA_SIZE): Remove.
48 * ldlang.c (init_os): Eliminate initialization of unused
49 lean_section_userdata_type.
50
51 * ldlang.h (callback_t, walk_wild_section_handler_t): New
52 typedefs.
53 (struct lang_wild_statement_struct): Add walk_wild_section_handler
54 and handler_data fields.
55 * ldlang.c (callback_t): Removed.
56 (walk_wild_consider_section, walk_wild_section_general,
57 section_iterator_callback, find_section, is_simple_wild,
58 match_simple_wild, walk_wild_section_specs1_wild0,
59 walk_wild_section_specs1_wild1, walk_wild_section_specs2_wild1,
60 walk_wild_section_specs3_wild2, walk_wild_section_specs4_wild2,
61 wild_spec_can_overlap, analyze_walk_wild_section_handler): New
62 functions.
63 (lang_add_wild): Call analyze_walk_wild_section_handler.
64 (walk_wild_section): Renamed to walk_wild_section_general and
65 created a wrapper function.
66 (section_iterator_callback_data): New typedef.
67
68 2005-04-04 Nick Clifton <nickc@redhat.com>
69
70 * configure.in: Add a check for <unistd.h> providing a prototype
71 for getopt() which is compatible with the one in
72 include/getopt.h. If so then define HAVE_DECL_GETOPT.
73 * configure: Regenerate.
74 * config.in (HAVE_DECL_GETOPT): Add.
75 * ldemul.c: Include config.h
76 * lexsup.c: Likewise.
77 * emultempl/elf32.sc: Likewise.
78
79 2005-03-29 Alan Modra <amodra@bigpond.net.au>
80
81 * emultempl/elf32.em (gld${EMULATION_NAME}_layout_sections_again):
82 New function, extracted from static void gld${EMULATION_NAME}_finish.
83 (gld${EMULATION_NAME}_strip_empty_sections): Likewise.
84 (gld${EMULATION_NAME}_provide_init_fini_syms): Likewise.
85 * emultempl/ppc64elf.em: Revert last change.
86 (ppc_layout_sections_again): Use
87 gld${EMULATION_NAME}_layout_sections_again.
88 (ppc_finish): Don't call gld${EMULATION_NAME}_finish. Instead call
89 gld${EMULATION_NAME}_strip_empty_sections and
90 gld${EMULATION_NAME}_provide_init_fini_syms.
91 * emultempl/hppaelf.em: Similarly.
92
93 2005-03-29 Alan Modra <amodra@bigpond.net.au>
94
95 * emultempl/ppc64elf.em (need_laying_out): Delete. Remove all refs.
96 (ppc_finish): Don't call bfd_elf_discard_info.
97 * emultempl/hppaelf.em: Similarly.
98
99 2005-03-24 Nick Clifton <nickc@redhat.com>
100
101 * po/fr.po: Updated French translation.
102
103 2005-03-23 Mike Frysinger <vapier@gentoo.org>
104 Nick Clifton <nickc@redhat.com>
105
106 * configure.host: Accept any C library to accompany a GNU Linux
107 implementation, not just the GNU C library.
108 * configure.tgt: Likewise.
109 * emultempl/elf32.em: Likewise.
110
111 2005-03-22 H.J. Lu <hongjiu.lu@intel.com>
112
113 * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): New
114 (gld${EMULATION_NAME}_finish): Call
115 gld${EMULATION_NAME}_provide_bound_symbols to provide
116 __preinit_array_start, __preinit_array_end, __init_array_start,
117 __init_array_end, __fini_array_start and __fini_array_end.
118
119 * scripttempl/elf.sc: Don't provide __preinit_array_start,
120 __preinit_array_end, __init_array_start, __init_array_end,
121 __fini_array_start nor __fini_array_end.
122
123 2005-03-23 Alan Modra <amodra@bigpond.net.au>
124
125 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Set
126 SEC_EXCLUDE on .gnu.warning sections.
127
128 2005-03-22 Alan Modra <amodra@bigpond.net.au>
129
130 * scripttempl/elf.sc (SBSS): Don't provide sbss start and end syms.
131
132 2005-03-21 Alan Modra <amodra@bigpond.net.au>
133
134 * emultempl/ppc32elf.em (gld${EMULATION_NAME}_after_allocation): New
135 function.
136 (LDEMUL_AFTER_ALLOCATION): Define.
137
138 2005-03-21 Alan Modra <amodra@bigpond.net.au>
139
140 * emultempl/ppc64elf.em (ppc_finish): Rename from
141 gld${EMULATION_NAME}_finish. Call gld${EMULATION_NAME}_finish.
142 (LDEMUL_FINISH): Update.
143 * emultempl/hppaelf.em (hppaelf_finish, LDEMUL_FINISH): Likewise.
144 * emultempl/m68hc1xelf.em (m68hc11elf_finish, LDEMUL_FINISH): Likewise.
145
146 2005-03-18 Julian Brown <julian@codesourcery.com>
147
148 * scripttempl/armbpapi.sc (.rel.dyn): Add .rel.init_array,
149 .rel.fini_array.
150 (.rela.dyn): Add .rela.init_array, .rela.fini_array.
151 (SECTIONS): Add .rel.other, .rela.other, .reli.other after PLT relocs.
152
153 2005-03-18 H.J. Lu <hongjiu.lu@intel.com>
154
155 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Don't set
156 bfd_section when removing unused empty output sections for
157 non-relocatable link.
158
159 2005-03-19 Alan Modra <amodra@bigpond.net.au>
160
161 * ldlang.c (lang_insert_orphan): Use old section_tail rather than
162 traversing the bfd section list to find pointer to new section.
163
164 2005-03-18 Alan Modra <amodra@bigpond.net.au>
165
166 * scripttempl/elf.sc: When CREATE_SHLIB, put .sdata2 and .sbss2
167 input sections into .sdata and .sbss output respectively.
168
169 2005-03-16 David Heine <dlheine@tensilica.com>
170 Bob Wilson <bob.wilson@acm.org>
171
172 * ldlang.c (IGNORE_SECTION): Remove check for zero size.
173 (lang_check_section_addresses): Ignore zero size sections here.
174
175 2005-03-16 H.J. Lu <hongjiu.lu@intel.com>
176
177 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Remove
178 unused empty output sections for non-relocatable link.
179
180 * ld.h (args_type): Remove gc_sections.
181
182 * ldlang.c (lang_mark_used_section): New.
183 (lang_gc_sections): Use link_info.gc_sections instead of
184 command_line.gc_sections.
185 * ldmain.c (main): Likewise.
186 * lexsup.c (parse_args): Likewise.
187 * ldlang.c (lang_process): Call lang_mark_used_section.
188
189 * ldmain.c (main): Initialize link_info.gc_sections to FALSE.
190
191 2005-03-16 Nick Clifton <nickc@redhat.com>
192 Ben Elliston <bje@au.ibm.com>
193
194 * configure.in (werror): New switch: Add -Werror to the
195 compiler command line. Enabled by default. Disable via
196 --disable-werror.
197 * configure: Regenerate.
198
199 2005-03-16 Alan Modra <amodra@bigpond.net.au>
200
201 * emulparams/elf32ppclinux.sh (OTHER_READWRITE_SECTION): Delete.
202 (OTHER_RELRO_SECTIONS): Set this instead.
203
204 2005-03-15 Nick Clifton <nickc@redhat.com>
205
206 * NEWS: Add cutoff for changes in 2.16 release.
207
208 2005-03-15 Mikkel Krautz <krautz@gmail.com>
209
210 * configure.tgt (x86_64-elf): Add target.
211
212 2005-03-15 Alan Modra <amodra@bigpond.net.au>
213
214 * po/es.po: Commit new Spanish translation.
215
216 2005-03-14 Alan Modra <amodra@bigpond.net.au>
217
218 * ldexp.c (exp_fold_tree): Ensure return value is initialized.
219 Tidy etree_assert case.
220
221 2005-03-14 Alan Modra <amodra@bigpond.net.au>
222
223 * po/tr.po: Commit new Turkish translation.
224
225 2005-03-11 Daniel Jacobowitz <dan@codesourcery.com>
226
227 * Makefile.am: Remove references to em68klynx.o and esparclynx.o.
228 * Makefile.in: Regenerated.
229 * emulparams/m68klynx.sh, emulparams/sparclynx.sh: Remove.
230
231 2005-03-07 Nick Clifton <nickc@redhat.com>
232
233 * po/fr.po: Updated translation.
234
235 2005-03-05 Alan Modra <amodra@bigpond.net.au>
236
237 * po/ld.pot: Regenerate.
238
239 2005-03-02 Jan Beulich <jbeulich@novell.com>
240
241 * ldmain.c (remove_output): Use unlink_if_ordinary instead of unlink.
242 * pe-dll.c (pe_dll_generate_implib): Likewise.
243
244 2005-02-24 Ben Elliston <bje@au.ibm.com>
245
246 * ldfile.c: Remove GNU960 conditional code.
247 * emultempl/gld960.em: Likewise.
248 * emultempl/gld960c.em: Likewise.
249 * emultempl/lnk960.em: Likewise.
250
251 2005-02-24 Nick Clifton <nickc@redhat.com>
252
253 * emultempl/lnk960.em (lnk960_before_parse): Remove redundant
254 empty string from calls to concat.
255
256 2005-02-23 Nick Clifton <nickc@redhat.com>
257
258 * emultempl/lnk960.em (lnk960_before_parse): Terminate list of
259 arguments passed to concat() with a NULL.
260
261 * emultempl/m68kcoff.em: Include ldexp.h and ldlang.h because they
262 define types needed by ldfile.h
263
264 2005-02-23 Alan Modra <amodra@bigpond.net.au>
265
266 * pe-dll.c: Warning fixes.
267 * emultempl/sunos.em: Likewise.
268
269 2005-02-22 Daniel Jacobowitz <dan@codesourcery.com>
270
271 * ldlang.c (section_already_linked): Don't call
272 bfd_section_already_linked for dynamic objects.
273
274 2005-02-22 Alan Modra <amodra@bigpond.net.au>
275
276 * ldexp.c: Warning fixes.
277 * ldwrite.c: Likewise.
278 * emultempl/elf32.em: Likewise.
279
280 2005-02-21 H.J. Lu <hongjiu.lu@intel.com>
281
282 * ldlang.c (lang_add_section): Check SEC_TIC54X_BLOCK for TI
283 tic54x input only.
284 (lang_size_sections_1): Check SEC_COFF_SHARED_LIBRARY for COFF
285 and ECOFF output only.
286
287 2005-02-21 Alan Modra <amodra@bigpond.net.au>
288
289 * config.in: Regenerate.
290 * configure: Regenerate.
291
292 2005-02-17 Zack Weinberg <zack@codesourcery.com>
293
294 * ldexp.c (assigning_to_dot): New global flag.
295 (fold_name): If assigning_to_dot is true, object immediately to
296 an undefined symbol.
297 (exp_fold_tree): Set and clear assigning_to_dot around the
298 recursive call to exp_fold_tree to process the right-hand side
299 of an assignment to the location counter.
300
301 2005-02-17 Paul Brook <paul@codesourcery.com>
302
303 * scripttempl/armbpabi.sc: Add dummy name to version block.
304
305 2005-02-17 Alan Modra <amodra@bigpond.net.au>
306
307 * ldexp.c (new_abs): Init new.str.
308
309 2005-02-15 Mark Mitchell <mark@codesourcery.com>
310
311 * configure.in (AC_CHECK_FUNCS): Add glob.
312 * configure: Regenerated.
313 * emultempl/elf32.em (<glob.h>): Do not include if HAVE_GLOB is
314 not defined.
315 (gld${EMULATION_NAME}_parse_ld_so_conf_include): Do not use glob
316 if HAVE_GLOB is not defined.
317
318 2005-02-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
319
320 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Define
321 lib_path if NATIVE is yes.
322
323 2005-02-16 Alan Modra <amodra@bigpond.net.au>
324
325 * emultempl/ppc64elf.em (ppc_create_output_section_statements): Make
326 an error creating fake bfd fatal.
327 (ppc_before_allocation): Continue on after errors.
328 (gld${EMULATION_NAME}_finish): Likewise.
329
330 2005-02-15 Nick Clifton <nickc@redhat.com>
331
332 * ldlex.l (YY_NO_UNPUT): Define so that the yy_unput function is
333 not declared. It is not used and its presence causes a compile
334 time warning.
335
336 2005-02-11 Zack Weinberg <zack@codesourcery.com>
337
338 * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed):
339 If st.st_ino is zero, do not treat the library as a duplicate.
340
341 2005-02-10 Jakub Jelinek <jakub@redhat.com>
342
343 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
344 Set BFD_LINKER_CREATED on the stubs bfd.
345 * emultempl/ppc64elf.em (ppc_create_output_section_statements):
346 Likewise.
347
348 2005-02-08 Mark Mitchell <mark@codesourcery.com>
349
350 * scripttempl/armbpabi.sc (VERSION): Make special section symbols
351 local.
352 (Image$$ER_RO$$Base): Define whenever RELOCATING.
353 (Image$$ER_RO$$Limit): Likewise.
354 (SHT$$INIT_ARRAY$$Base): Likewise.
355 (SHT$$INIT_ARRAY$$Limit): Likeise.
356
357 2005-02-10 Ben Elliston <bje@au.ibm.com>
358
359 * emultempl/beos.em: Remove #if 0 and #if 1 blocks.
360
361 2005-02-08 Richard Sandiford <rsandifo@redhat.com>
362
363 * configure.tgt (mips64*el-*-linux-gnu*): Define targ_extra_libpath
364 to include o32 and n64 emulations.
365 (mips64*-*-linux-gnu*): Likewise.
366
367 2005-02-08 Hans-Peter Nilsson <hp@axis.com>
368
369 * ldmain.c (warning_callback, warning_find_reloc): Prepend
370 "warning: " to warning messages.
371
372 2005-02-04 Alan Modra <amodra@bigpond.net.au>
373
374 * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): Don't
375 look up symbol for etree_provide here.
376
377 2005-02-02 Daniel Jacobowitz <dan@codesourcery.com>
378
379 * emulparams/elf32bmip.sh (TEXT_DYNAMIC): Always set.
380
381 2005-02-01 Edward Welbourne <eddy@opera.com>
382 Nick Clifton <nickc@redhat.com>
383
384 * ld.texinfo (Source Code Reference): New node describing how to
385 access linker script defined variables from source code.
386
387 2005-02-01 Alan Modra <amodra@bigpond.net.au>
388
389 * ld.texinfo: Clarify --as-needed operation.
390
391 2005-01-31 Andrew Cagney <cagney@gnu.org>
392
393 * configure: Regenerate to track ../gettext.m4.
394
395 2005-01-31 Nick Clifton <nickc@redhat.com>
396
397 * ldver.c (ldversion): Bump reported copyright date to 2005.
398
399 2005-01-31 Nick Clifton <nickc@redhat.com>
400
401 * configure.tgt: Remove obsolete targets m68k-lynxos and
402 sparc-lynxos.
403
404 2005-01-28 Julian Brown <julian@codesourcery.com>
405
406 * emultempl/armelf.em (fix_v4bx): New variable.
407 (arm_elf_create_output_section_statements): Communicate fix_v4bx flag
408 value to bfd.
409 (PARSE_AND_LIST_PROLOGUE): Add option token OPTION_FIX_V4BX.
410 (PARSE_AND_LIST_LONGOPTS): Add option --fix-v4bx.
411 (PARSE_AND_LIST_OPTIONS): Add option --fix-v4bx.
412 (PARSE_AND_LIST_ARGS_CASES): Add option OPTION_FIX_V4BX.
413 * NEWS: Mention --fix-v4bx.
414 * ld.texinfo: Document --fix-v4bx.
415
416 2005-01-25 Mark Mitchell <mark@codesourcery.com>
417
418 * emulparams/armsymbian.sh (OTHER_READONLY_SECTIONS): Define, so
419 as to include .ARM.exidx$${Base,Limit}.
420 * ld/scripttempl/armbpabi.sc: Move .plt to end of text segment.
421 Define IMAGE$$ER_RO$${Base,Limit} and SHT$$INIT_ARRAY$${Base,Limit}.
422 Put .init_array, .fini_array, etc. into the read-only data
423 segment.
424
425 2005-01-25 Alan Modra <amodra@bigpond.net.au>
426
427 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Formatting.
428 (gld${EMULATION_NAME}_after_open): Ignore needed libs if they were
429 only needed by an as-needed lib that didn't get linked.
430
431 2005-01-23 Alan Modra <amodra@bigpond.net.au>
432
433 * ld.texinfo (Output Section Keywords <CONSTRUCTORS>): Correct
434 __DTOR_LIST__ description.
435
436 2005-01-23 Alan Modra <amodra@bigpond.net.au>
437
438 * ld.texinfo (Location Counter <dot outside sections>): Document
439 effects of orphan section placement, and ". = ." workaround.
440 * Makefile.in: Regenerate.
441
442 2005-01-22 Richard Sandiford <rsandifo@redhat.com>
443
444 * emulparams/elf32bmip.sh (OTHER_GOT_SECTIONS): Add ". = .;".
445 * emulparams/elf32bmipn32-defs.sh (OTHER_GOT_SECTIONS): Likewise.
446
447 2005-01-21 Jakub Jelinek <jakub@redhat.com>
448
449 * ldgram.y (AS_NEEDED): New token.
450 (input_list): Handle AS_NEEDED ( input_list ).
451 * ldlex.l (AS_NEEDED): Add.
452 * ld.texinfo: Document AS_NEEDED ().
453 * NEWS: Mention AS_NEEDED ().
454
455 2005-01-21 Ben Elliston <bje@au.ibm.com>
456
457 * ldlang.c (lang_reasonable_defaults): Remove.
458 (lang_process): Don't call lang_reasonable_defaults.
459
460 * ldexp.c (exp_assop): Remove #if 0'd code.
461 (exp_print_tree): Likewise.
462 * ldlang.c (lang_memory_region_lookup): Likewise.
463 (open_output): Likewise.
464 (lang_do_assignments_1): Likewise.
465 (lang_place_orphans): Likewise.
466 (lang_enter_output_section_statement): Likewise.
467 (lang_reasonable_defaults): Likewise.
468 * ldlang.h (struct lang_input_statement_struct): Likewise.
469 * mri.c (mri_draw_tree): Likewise.
470 (mri_load): Likewise.
471 * pe-dll.c (generate_reloc): Likewise.
472 (make_import_fixup_entry): Likewise.
473 (pe_as16): Likewise.
474 * emultempl/beos.em (set_pe_subsystem): Likewise.
475 * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
476 * emultempl/pe.em: Likewise.
477 * emultempl/xtensaelf.em (xtensa_colocate_literals): Likewise.
478
479 2005-01-20 Daniel Jacobowitz <dan@codesourcery.com>
480
481 * Makefile.am (ALL_EMULATIONS): Add earmelfb_linux_eabi.o.
482 (earmelfb_linux_eabi.c): New target.
483 * Makefile.in: Regenerated.
484 * configure.tgt (arm*b-*-linux-gnueabi): New target.
485 * emulparams/armelfb_linux_eabi.sh: New file.
486
487 2005-01-20 Nick Hudson <skrll@netbsd.org>
488
489 PR ld/676
490 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
491 Handle bfd_elf32_hppa_nbsd_vec.
492
493 2005-01-19 Richard Sandiford <rsandifo@redhat.com>
494
495 * ldmain.h (ld_sysroot): Change type to a constant string.
496 * ldmain.c (ld_sysroot): Likewise.
497 (get_relative_sysroot, get_sysroot): New functions, adding command-line
498 support for changing the sysroot.
499 (main): Call the new functions.
500 * lexsup.c (OPTION_SYSROOT): New.
501 (ld_options): Add --sysroot.
502 (parse_args): Add a dummy handler for it.
503 * ld.texinfo (--sysroot): Document.
504 * NEWS: Mention the new --sysroot option.
505
506 2005-01-18 Alan Modra <amodra@bigpond.net.au>
507
508 * ldlang.c (section_already_linked): Adjust bfd_link_just_syms call.
509 (lang_place_orphans): Don't abort on just_syms_flag, instead call
510 bfd_link_just_syms.
511
512 2005-01-16 Danny Smith <dannysmith@users.sourceforge.net>
513
514 * defilep.y (def_name, def_library): Combine into...
515 (def_image_name): New function. Strip name to basename,
516 with warning.
517
518 2005-01-12 Mark Kettenis <kettenis@gnu.org>
519
520 * configure.in: Be sure to invoke config.sub using the shell.
521 * configure: Regenerate.
522
523 2005-01-11 Alan Modra <amodra@bigpond.net.au>
524
525 * configure.host: Correct sed patterns for last change.
526
527 2005-01-10 Nick Clifton <nickc@redhat.com>
528
529 PR binutils/609
530 * ldmisc.c (vfinfo): Add an extra argument: is_warning. Use this
531 to determine whether config.make_executable should be set to FALSE in
532 conjunction with config.fatal_warnings.
533 (info_msg, minfo, lfinof): Pass FALSE as the extra argument.
534 (einfo): Pass TRUE as the extra argument.
535
536 2005-01-10 Greg Schaffer <gschafer@zip.com.au>
537
538 * configure.host (linux targets): Use "${CC} -dumpspecs" instead
539 of "${CC} --print-file-name=specs" to appease GCC versions >= 4.0.
540 (ia64-*-aix): Delete - this target is obsolete, and would be
541 broken by this patch.
542
543 2005-01-06 Eric Botcazou <ebotcazou@libertysurf.fr>
544
545 * configure.host (sparc*-*-solaris2*): Rename into sparc-*-solaris2*.
546 (sparc64-sun-solaris2*): New host.
547
548 2005-01-06 Paul Brook <paul@codesourcery.com>
549
550 * Makefie.am: Add earmelf_vxworks.
551 * Makefile.in: Regenerate.
552 * configure.tgt: Make arm-*-vxworks a separate case.
553 * emulparams/armelf_vxworks.sh: New function.
554
555 2005-01-06 Alan Modra <amodra@bigpond.net.au>
556
557 * emultempl/ppc64elf.em (no_multi_toc): New var.
558 (gld${EMULATION_NAME}_finish): Pass to ppc64_elf_setup_section_lists.
559 (OPTION_NO_MULTI_TOC): Define.
560 (PARSE_AND_LIST_LONGOPTS): Add --no-multi-toc support.
561 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
562
563 2005-01-05 Nick Clifton <nickc@redhat.com>
564
565 PR binutils/614
566 * ldmisc.c (vfinfo): Alter output to conform to the GNU Coding
567 Standard's specification for parsable error messages.
568
569 2005-01-04 Paul Brook <paul@codesourcery.com>
570
571 * Makefile.am: Correct dependency for earmsymbian.c.
572 * Makefile.in: Regenerate.
573
574 2004-12-28 Danny Smith <dannysmith@users.sourceforge.net>
575
576 * emultempl/pe.em (set_pe_subsystem): Change second arg to
577 lang_add_entry to FALSE.
578
579 2004-12-23 Nick Clifton <nickc@redhat.com>
580
581 PR 600
582 * emulparams/shelf.sh (.stack): Increase stack start address to
583 0x300000.
584
585 2004-12-20 Nick Clifton <nickc@redhat.com>
586
587 * ldmain.c (main): Issue an error message if -static and -shared
588 are used together.
589
590 2004-12-17 Jakub Jelinek <jakub@redhat.com>
591
592 * ldexp.h (exp_data_seg): Add min_base and maxpagesize fields.
593 * ldexp.c (fold_binary) <case DATA_SEGMENT_ALIGN>: Initialize them.
594 * ldlang.c (lang_size_sections): Use them to avoid wasting virtual
595 address space at DATA_SEGMENT_ALIGN. Fix computation of expected
596 PT_GNU_RELRO segment end.
597
598 2004-12-14 P.J. Darcy <darcypj@us.ibm.com>
599
600 * configure.tgt: Add s390x-ibm-tpf support.
601
602 2004-12-16 Martin Kögler <mkoegler@auto.tuwien.ac.at>
603
604 * ldmisc.c (vfinfo): Handle the case where %B is passed a NULL
605 BFD.
606
607 2004-12-07 Ben Elliston <bje@gnu.org>
608
609 * ldemul.h: Forward declare struct option.
610
611 2004-12-01 Danny Smith <dannysmith@users.sourceforge.net>
612
613 * scripttempl/pe.sc (.data): Add .jcr subsection.
614
615 2004-11-30 Paul Brook <paul@codesourcery.com>
616
617 * emultempl/armelf.em: Ignore -p and -no-pipeline-knowledge.
618
619 2004-11-30 Tero Niemela <tero_niemela@yahoo.com>
620
621 * Makefile.am: Change LOCALEDIR to $(datadir)/share.
622 * Makefile.in: Regenerate.
623
624 2004-11-26 Melissa Mears <asterisk@graces.dricas.com>
625
626 * emultempl/pe.em: Add --subsystem:xbox as well as
627 --subsystem:%d.
628 * ld.texinfo: (ld_options): Document acceptance of subsystem xbox
629 and numeric subsystems.
630
631 2004-11-24 Alan Modra <amodra@bigpond.net.au>
632
633 * ldexp.c (fold_name): Correct PR 338 fix.
634
635 2004-11-19 Mark Mitchell <mark@codesourcery.com>
636
637 * Makefile.am (ALL_EMULATIONS): Add earmelf_linux_eabi.o.
638 (earmelf_linux_eabi.c): New target.
639 * configure.tgt (arm*-*-linux-gnueabi): Handle it.
640 * emulparams/armelf_linux_eabi.sh: New file.
641 * Makefile.in: Regenerated.
642
643 2004-11-19 Nick Clifton <nickc@redhat.com>
644
645 PR 518
646 * ld.texinfo (MEMORY): Update the descriptions of the ORIGIN and
647 LENGTH fields in the MEMORY command, to explicitly state that
648 symbols cannot be used in their expressions.
649
650 2004-11-19 Jon Beniston <jon@beniston.com>
651
652 * ld/ldlex.l: Allow ORIGIN and LENGTH in EXPRESSION.
653 * ld/ldgram.y: Add ORIGIN and LENGTH expressions.
654 * ld/ldexp.c (fold_name): Implement LENGTH() and ORIGIN() functions
655 which return the length and origin of a memory.
656 * ld/ld.texinfo: Document LENGTH() and ORIGIN() functions.
657 * NEWS: Mention support for ORIGIN and LENGTH operators.
658
659 2004-11-17 Daniel Jacobowitz <dan@codesourcery.com>
660
661 * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Don't use
662 a dynamic object for stubs.
663
664 2004-11-04 Paul Brook <paul@codesourcery.com>
665
666 * ld.texinfo: Document --default-imported-symver.
667 * ldmain.c (main): Set link_info.default_imported_symver.
668 * lexsup.c (option_values): Add OPTION_DEFAULT_IMPORTED_SYMVER.
669 (ld_options): Add --default-imported-symver.
670 (parse_args): Handle OPTION_DEFAULT_IMPORTED_SYMVER.
671
672 2004-11-08 Inderpreet Singh <inderpreetb@nioda.hcltech.com>
673 Vineet Sharma <vineets@noida.hcltech.com>
674
675 * Makefile.am: Add entries for new maxq-coff target.
676 * Makefile.in: Regenerate.
677 * configure.tgt: Add support for maxq.
678 * emulparams/maxqcoff.sh: New File.
679 * scripttempl/maxqcoff.sc: New linker script for target maxq.
680 * NEWS: Mention the new target.
681
682 2004-11-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
683
684 * testsuite/ld-scripts/weak.exp: Enable test on PE,
685 XFAIL non-i386 PE.
686 * testsuite/ld-undefined/weak-undef.exp: Enable test on PE,
687 XFAIL non-i386 PE.
688 * testsuite/lib/ld-lib.exp (is_pecoff_format): New.
689
690 2004-11-04 Daniel Jacobowitz <dan@debian.org>
691
692 * Makefile.am (ALL_EMULATIONS): Remove earmelf_oabi.o.
693 (earmelf_oabi.c): Remove rule.
694 * configure.tgt: Remove arm-*-oabi and thumb-*-oabi.
695 * emulparams/armelf_oabi.sh, emultempl/armelf_oabi.em: Delete files.
696 * Makefile.in: Regenerated.
697
698 2004-11-04 Hans-Peter Nilsson <hp@axis.com>
699
700 * configure.tgt (crisv32-*-*): Handle like cris-*-* for non-aout.
701 * emulparams/criself.sh (INIT_START): Remove emitted "push srp".
702 (FINI_START): Ditto.
703 (INIT_END): Remove emitted "jump [sp+]".
704 (FINI_END): Ditto.
705
706 2004-11-04 Alan Modra <amodra@bigpond.net.au>
707
708 * emultempl/ppc64elf.em (no_tls_opt): Rename from notlsopt.
709 (no_opd_opt, no_toc_opt): New static vars.
710 (ppc_before_allocation): Don't edit opt if no_opd_opt. Call
711 ppc64_elf_edit_toc.
712 (OPTION_NO_OPD_OPT, OPTION_NO_TOC_OPT): Define.
713 (PARSE_AND_LIST_LONGOPTS): Add no-opd-optimize and no-toc-optimize.
714 (PARSE_AND_LIST_OPTIONS): Describe new options.
715 (PARSE_AND_LIST_ARGS_CASES): Handle them.
716
717 2004-10-27 Nick Clifton <nickc@redhat.com>
718
719 * emultempl/alphaelf.em (alpha_after_parse): Add extra, NULL,
720 parameter to invocation of lang_section_start.
721 * emultempl/aix.em (_handle_option): Likewise.
722
723 * Makefile.am (eelf64alpha.c, eelf64alpha_fbsd.c,
724 eelf64alpha_nbsd.c): Add dependency upon emultempl/alphaelf.em.
725 * Makefile.in: Regenerate.
726
727 2004-10-26 Mark Mitchell <mark@codesourcery.com>
728
729 * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Do not emit
730 __exidx_{start,end} when not relocating.
731
732 2004-10-25 Mark Mitchell <mark@codesourcery.com>
733
734 * Makefile.in (earmsymbian.c): Depend on armbpabi.sc, not elf.sc.
735 * ldexp.h (segment_type): New type.
736 (segments): New variable.
737 * ldexp.c (segments): New variable.
738 (exp_print_token): Handle SEGMENT_START.
739 (fold_binary): Likewise.
740 * ldgram.y (SEGMENT_START): Declare it as a token.
741 (exp): Handle SEGMENT_START.
742 * ldlang.h (lang_address_statement_type): Add segment field.
743 (lang_section_start): Change prototype.
744 * ldlang.c (map_input_to_output_sections): Do not process section
745 assignments if a corresponding SEGMENT_START has already been
746 seen.
747 (lang_section_start): Add segment parameter.
748 * ldlex.l (SEGMENT_START): Add it.
749 * lexsup.c (seg_segment_start): New function.
750 (parse_args): Use it for -Tbss, -Tdata, and -Ttext.
751 * ld.texinfo (SEGMENT_START): Document it.
752 * emulparams/armsymbian.sh (EMBEDDED): Set it.
753 * scripttempl/armbpabi.sc: Use SEGMENT_START to control segment
754 base addresses. Do not map relocations.
755 * NEWS: Mention SEGMENT_START.
756
757 2004-10-26 Paul Brook <paul@codesourcery.com>
758
759 * ld.texinfo: Document --default-symver.
760 * ldmain.c (main): Set link_info.create_default_symver.
761 * lexsup.c (enum option_values): Add OPTION_DEFAULT_SYMVER.
762 (ld_options): Add default-symver.
763 (parse_args): Handle OPTION_DEFAULT_SYMVER.
764
765 2004-10-24 Danny Smith <dannysmith@users.sourceforge.net>
766
767 * pe-dll.c (process_def_file): Don't export all symbols by default if
768 building a position-independent executable.
769
770 2004-10-21 H.J. Lu <hongjiu.lu@intel.com>
771
772 PR 463
773 * ldmain.c (reloc_overflow): Accept a pointer to struct
774 bfd_link_hash_entry. Report symbol location for relocation
775 overflow.
776
777 2004-10-21 H.J. Lu <hongjiu.lu@intel.com>
778
779 * genscripts.sh (libpath.exp): Really generate for first
780 emulation only.
781
782 2004-10-19 Danny Smith <dannysmith@users.sourceforge.net>
783
784 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Simplify
785 comparison and replacement of filenames.
786
787 2004-10-19 H.J. Lu <hongjiu.lu@intel.com>
788
789 PR 459
790 * ldlang.c (load_symbols): Use the same -Bdynamic/-Bstatic
791 option on linker script as the one for linker script.
792
793 2004-10-16 Daniel Jacobowitz <dan@debian.org>
794
795 * ldlang.c (struct excluded_lib, excluded_libs, add_excluded_libs)
796 (check_excluded_libs): New.
797 (load_symbols): Call check_excluded_libs.
798 * ldlang.h (add_excluded_libs): New prototype.
799 * emultempl/elf32.em (OPTION_EXCLUDED_LIBS): Define.
800 (gld${EMULATION_NAME}_add_options): Add --exclude-libs.
801 (gld${EMULATION_NAME}_handle_option): Handle --exclude-libs.
802 * ld.texinfo (Command Line Variables): Document --exclude-libs.
803 (Options Specific to i386 PE Targets): Remove --exclude-libs.
804
805 2004-10-15 Alan Modra <amodra@bigpond.net.au>
806
807 * ldexp.c (exp_fold_tree): Don't immediately exit ld on a
808 failing link script assert.
809
810 * ldctor.c (ldctor_add_set_entry): Fix comment typo.
811
812 2004-10-14 H.J. Lu <hongjiu.lu@intel.com>
813
814 PR 445
815 * emulparams/elf64_ia64.sh (SMALL_DATA_CTOR): Set.
816 (SMALL_DATA_DTOR): Set.
817 * emulparams/elf64_ia64_fbsd.sh (SMALL_DATA_CTOR): Unset.
818 (SMALL_DATA_DTOR): Unset.
819 * scripttempl/elf.sc: If SMALL_DATA_CTOR is set, move .ctors
820 after .data. If SMALL_DATA_DTOR is set, move .dtors after
821 .data.
822
823 2004-10-14 Alan Modra <amodra@bigpond.net.au>
824
825 PR 63
826 * ldlang.h (lang_output_section_statement_type): Make "next" a
827 struct lang_output_section_statement_struct *.
828 (struct orphan_save): Move from elf32.em. Add "name" and "flags".
829 (lang_output_section_find_by_flags, lang_insert_orphan): Declare.
830 * ldlang.c (lang_output_section_find_1): Adjust for changed
831 output_section_statement "next".
832 (strip_excluded_output_sections): Likewise.
833 (lang_record_phdrs): Likewise.
834 (lang_output_section_find_by_flags): New function.
835 (output_prev_sec_find): Move from pe.em. Adjust iterator.
836 (lang_insert_orphan): New function. Tail end of elf32.em's
837 place_orphan merged with that from pe.em. Allow bfd_section to
838 be placed first. New heuristic for placing new output section
839 statement in existing script, and accompanying split of __start
840 symbol alignment into a separate assignment to dot.
841 (lang_add_section): Consistently use output->bfd_section rather than
842 an alias, section->output_section.
843 (map_input_to_output_sections): Rename overly long arg. Move
844 initialization of data_statement output section to here..
845 (lang_check_section_addresses): ..from here.
846 (print_assignment): Correct printing of etree_assert.
847 (print_all_symbols): Don't bomb if userdata is NULL.
848 (IGNORE_SECTION): Rearrange.
849 * emultempl/elf32.em (output_rel_find): Adjust interator.
850 (output_prev_sec_find): Delete.
851 (struct orphan_save): Delete.
852 (gld${EMULATION_NAME}_place_orphan): Cater for zero bfd_section
853 flags without creating a duplicate output section statement.
854 Revise code holding history of various orphan section placements.
855 Allow orphan sections to place before script specified output
856 sections. Call lang_output_section_find_by_flags when placement
857 by name fails. Use lang_insert_orphan.
858 * emultempl/mmo.em (output_prev_sec_find): Delete.
859 (struct orphan_save): Delete.
860 (mmo_place_orphan): Revise code holding history of orphan placement.
861 Allow orphans to place before existing output sections. Use
862 lang_insert_orphan.
863 * emultempl/pe.em (output_prev_sec_find): Delete.
864 (struct orphan_save): Delete.
865 (gld_${EMULATION_NAME}_place_orphan): Revise to suit use of
866 lang_insert_orphan.
867
868 2004-10-13 Mark Mitchell <mark@codesourcery.com>
869
870 * scripttempl/armbpabi.sc: Do not put .gnu.version.* into a
871 loadable segment.
872
873 2004-10-13 Alan Modra <amodra@bigpond.net.au>
874
875 PR 44
876 * ldcref.c (check_section_sym_xref): Delete.
877 (check_local_sym_xref): New function.
878 (check_nocrossrefs): Adjust call.
879 * emultempl/pe.em (struct orphan_save): Add os_tail.
880 (place_orphan): Backport assorted fixes from elf32.em.
881
882 2004-10-12 Bob Wilson <bob.wilson@acm.org>
883
884 * emultempl/xtensaelf.em: Use ISO C90 formatting.
885
886 2004-10-11 Jakub Jelinek <jakub@redhat.com>
887
888 * emultempl/elf32.em (gld${EMULATION_NAME}_parse_ld_so_conf): Avoid
889 getline for portability.
890
891 * emultempl/elf32.em (gld${EMULATION_NAME}_ld_so_conf): New structure.
892 (gld${EMULATION_NAME}_parse_ld_so_conf,
893 gld${EMULATION_NAME}_parse_ld_so_conf_include): New functions.
894 (gld${EMULATION_NAME}_check_ld_so_conf): Use them.
895
896 2004-10-11 Alan Modra <amodra@bigpond.net.au>
897
898 PR 423
899 * ldfile.c (ldfile_try_open_bfd): Ensure dynamic objects are
900 rejected when linking statically.
901
902 2004-10-08 Daniel Jacobowitz <dan@debian.org>
903
904 * configure.tgt: Include elf_x86_64 for i[3-7]86-*-solaris2*.
905
906 2004-10-07 Bob Wilson <bob.wilson@acm.org>
907
908 * ld.texinfo (Xtensa): Describe new linker relaxation to optimize
909 assembler-generated longcall sequences. Describe new --size-opt
910 option.
911 * emulparams/elf32xtensa.sh (OTHER_SECTIONS): Add .xt.prop section.
912 * emultempl/xtensaelf.em (remove_section,
913 replace_insn_sec_with_prop_sec, replace_instruction_table_sections,
914 elf_xtensa_after_open): New.
915 (OPTION_OPT_SIZEOPT, OPTION_LITERAL_MOVEMENT,
916 OPTION_NO_LITERAL_MOVEMENT): Define.
917 (elf32xtensa_size_opt, elf32xtensa_no_literal_movement): New globals.
918 (PARSE_AND_LIST_LONGOPTS): Add size-opt and [no-]literal-movement.
919 (PARSE_AND_LIST_OPTIONS): Add --size-opt.
920 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_OPT_SIZEOPT,
921 OPTION_LITERAL_MOVEMENT, and OPTION_NO_LITERAL_MOVEMENT.
922 (LDEMUL_AFTER_OPEN): Set to elf_xtensa_after_open.
923 * scripttempl/elfxtensa.sc: Update with changes from elf.sc.
924 * Makefile.am (eelf32xtensa.c): Update dependencies.
925 * Makefile.in: Regenerate.
926
927 2004-10-07 Jeff Baker <jbaker@qnx.com>
928
929 * lexsup.c: Handle --warn-shared-textrel option.
930 (ld_options): Restore alpha sorting of options.
931 * ldmain.c (main): Initialise warn_shared_info field to FALSE.
932 * ld.texinfo: Add documentation for --warn-shared-textrel.
933 * NEWS: Added mention of --warn-shared-textrel option.
934
935 2004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
936
937 * emultempl/crxelf.em (disable_relaxation): Add.
938 (crxelf_before_allocation): Enable --relax option by default.
939 (PARSE_AND_LIST_PROLOGUE): Add OPTION_NO_RELAX.
940 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --no-relax.
941 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NO_RELAX.
942
943 2004-10-04 H.J. Lu <hongjiu.lu@intel.com>
944
945 * NEWS: Mention SORT_BY_NAME, SORT_BY_ALIGNMENT and
946 --sort-section name|alignment.
947
948 * ld.texinfo: Document SORT_BY_NAME, SORT_BY_ALIGNMENT and
949 --sort-section name|alignment.
950
951 * ld.h (sort_type): New enum.
952 (wildcard_spec): Change the type of `sorted' to sort_type.
953
954 * ldgram.y (SORT): Removed.
955 (SORT_BY_NAME): Added.
956 (SORT_BY_ALIGNMENT): Added.
957 (wildcard_spec): Updated `sorted'. Handle SORT_BY_NAME and
958 SORT_BY_ALIGNMENT.
959 (input_section_spec_no_keep): Updated `sorted'.
960 (statement): Replace SORT with SORT_BY_NAME.
961
962 * ldlang.c (compare_section): New function to compare 2
963 sections with different sorting schemes.
964 (wild_sort): Updated. Use compare_section.
965 (update_wild_statements): New function.
966 (lang_process): Call update_wild_statements before
967 map_input_to_output_sections.
968
969 * ldlex.l (SORT_BY_NAME): New.
970 (SORT_BY_ALIGNMENT): New.
971 (SORT): Return SORT_BY_NAME.
972
973 * ldmain.c (sort_section): New. Defined.
974 (main): Initialize it to none.
975
976 * lexsup.c (option_values): Add OPTION_SORT_SECTION.
977 (ld_options): Add an entry for OPTION_SORT_SECTION.
978 (parse_args): Handle OPTION_SORT_SECTION.
979
980 * mri.c (mri_draw_tree): Updated `sorted'.
981
982 2004-10-04 Jakub Jelinek <jakub@redhat.com>
983
984 * ldgram.y (DATA_SEGMENT_RELRO_END): Add one argument.
985 * scripttempl/elf.sc (DATA_SEGMENT_RELRO_END): Add 0 as first
986 argument.
987 (DATA_SEGMENT_RELRO_GOTPLT_END): Pass $SEPARATE_GOTPLT as first
988 and . as second argument.
989 (GOTPLT): Move $DATA_SEGMENT_RELRO_GOTPLT_END before the section.
990 * ldexp.c (fold_unary): Remove DATA_SEGMENT_RELRO_END handling here.
991 (fold_binary): Add it here. Insert padding to make relro_end
992 COMMONPAGESIZE bytes aligned. For DATA_SEGMENT_ALIGN in
993 exp_dataseg_relro_adjust phase just use previously computed
994 exp_data_seg.base.
995 * ldlang.c (lang_size_sections): Set exp_data_seg.base for
996 relro_adjust here. Call lang_size_sections_1 once more if there
997 was too big padding at DATA_SEGMENT_RELRO_END.
998 * ld.texinfo (DATA_SEGMENT_RELRO_END): Add documentation.
999
1000 2004-10-01 Paul Brook <paul@codesourcery.com>
1001
1002 * emulparams/armelf.sh: Add unwinding table sections.
1003
1004 2004-09-30 Filip Navara <navaraf@reactos.com>
1005
1006 * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Generate
1007 correct base address for position independant executables.
1008 * pe-dll.c (pe_dll_fill_sections): Don't mark position independant
1009 executables as DLLs.
1010
1011 2004-09-30 Paul Brook <paul@codesourcery.com>
1012
1013 * ld.texinfo: Document --target2=abs.
1014 * emulparms/armsymbian.sh (TARGET2_TYPE): Set.
1015
1016 2004-09-29 Nick Clifton <nickc@redhat.com>
1017
1018 * scripttempl/xstormy16.sc: Only perform the assignments to the
1019 ROM region when not performing a relocatable link. The ROM region
1020 does not start at address 0, but the sections will.
1021 * Makefile.am: Fix linker script dependency for the generation of
1022 eelf32xstormy16.c.
1023 * Makefile.in: Regenerate.
1024
1025 2004-09-18 Filip Navara <navaraf@reactos.com>
1026
1027 * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh,
1028 emulparams/i386pe_posix.sh, emulparams/mcorepe.sh,
1029 emulparams/mipspe.sh, emulparams/ppcpe.sh, scripttempl/pe.sc: Define
1030 TARGET_PAGE_SIZE.
1031 * scripttempl/pe.sc: Make the virtual address and file offset synced if
1032 the alignment is lower than the target page size.
1033
1034 2004-09-27 Filip Navara <navaraf@reactos.com>
1035
1036 * emultempl/pe.em (gld_${EMULATION_NAME}_unrecognized_file): Allow
1037 def_file_parse to handle pe_def_file if NULL and prevent crash with
1038 invalid .def files.
1039
1040 2004-09-27 Alan Modra <amodra@bigpond.net.au>
1041
1042 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Enable
1043 --emit-stub-syms automatically when --emit-relocs.
1044
1045 2004-09-24 Paul Brook <paul@codeosurcery.com>
1046
1047 * scripttempl/elf.sc: Keep .preinit_array, .init_array and
1048 .fini_array sections.
1049
1050 2004-09-19 Andreas Schwab <schwab@suse.de>
1051
1052 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Adjust data segment
1053 base so that relro end is suitably aligned.
1054
1055 2004-09-17 Paul Brook <paul@codesourcery.com>
1056
1057 * ld.texinfo: Rename arm-specific section. Document --target*
1058 * emulparams/armelf_fbsd.sh: Set TARGET2_TYPE.
1059 * emulparams/armelf_linux.sh: Ditto.
1060 * emulparams/armelf_nbsd.sh: Ditto.
1061 * emultempl/armelf.em: Set default for TARGET2_TYPE.
1062 (target2_type): New variable.
1063 (arm_elf_before_allocation): Don't pass target1_type.
1064 (arm_elf_create_output_section_statements): New function.
1065 (PARSE_AND_LIST_PROLOGUE): Add OPTION_TARGET2.
1066 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --target=.
1067 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_TARGET2.
1068 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Set.
1069 * emultempl/armelf_oabi.em (_before_allocation): Remove extra
1070 argument to bfd_elf32_arm_process_before_allocation.
1071
1072 2004-09-17 Alan Modra <amodra@bigpond.net.au>
1073
1074 * ldexp.c (fold_name): Update u.undef.next refs.
1075 * emultempl/pe.em: Likewise.
1076 * emultempl/sunos.em: Likewise.
1077
1078 2004-09-17 Alan Modra <amodra@bigpond.net.au>
1079
1080 * Makefile.am: Run "make dep-am".
1081 * Makefile.in: Regenerate.
1082 * config.in: Regenerate.
1083 * configure: Regenerate.
1084 * aclocal.m4: Regenerate.
1085 * po/ld.pot: Regenerate.
1086
1087 2004-09-16 Tomer Levi <Tomer.Levi@nsc.com>
1088
1089 * scripttempl/elf32crx.sc (.init): Add KEEP for section's *personality*.
1090 (.fini): Likewise.
1091 (.jcr): Likewise.
1092
1093 2004-09-16 Alan Modra <amodra@bigpond.net.au>
1094
1095 * emultempl/armelf_oabi.em (before_allocation): Add extra zero param
1096 to bfd_elf32_arm_process_before_allocation call.
1097
1098 2004-09-13 Paul Brook <paul@codesourcery.com>
1099
1100 * emulparams/armsymbian.sh: Set TARGET1_IS_REL.
1101 * emultempl/armelf.em: Use TARGET1_IS_REL. Add --target1-{rel,abs}.
1102
1103 2004-09-07 H.J. Lu <hongjiu.lu@intel.com>
1104
1105 * configure: Regenerated with autconfig 2.13.
1106
1107 2004-09-07 Andreas Schwab <schwab@suse.de>
1108
1109 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Apply data segment
1110 alignment before adjusting DATA_SEGMENT_RELRO_END.
1111
1112 2004-09-06 Mark Mitchell <mark@codesourcery.com>
1113
1114 * emulparams/armsymbian.sh: Use armbpabi script.
1115 * scripttempl/armbpabi.sc: New script.
1116
1117 2004-09-02 Mark Mitchell <mark@codesourcery.com>
1118
1119 * Makefile.am (ALL_EMULATIONS): Add earmsymbian.o.
1120 (earmsymbian.c): New target.
1121 * configure.tgt: Use armsymbian emulation for arm*-*-symbianelf*.
1122 * Makefile.in: Regenerated.
1123 * aclocal.m4: Likewise.
1124 * configure: Likewise.
1125 * emulparams/armsymbian.sh: New file.
1126
1127 2004-09-03 Tomer Levi <Tomer.Levi@nsc.com>
1128
1129 * scripttempl/elf32crx.sc: Edit file with comments.
1130 (.init): Add new section.
1131 (.fini): Likewise.
1132 (.ctor): Control the linkage order.
1133 (.dtor): Likewise.
1134
1135 2004-08-27 Nick Clifton <nickc@redhat.com>
1136
1137 * emultempl/pe.em (after_open): Do not assume that either bfd is
1138 an archive.
1139
1140 2004-08-26 Alan Modra <amodra@bigpond.net.au>
1141
1142 * ldlang.c (lang_init): Don't compare with TRUE.
1143
1144 2004-08-25 Dmitry Diky <diwil@spec.ru>
1145
1146 * emulparams/msp430all.sh: Fix RAM sizes for all targets.
1147 * scripttempl/elf32msp430.sc: Add .profiler section definition.
1148
1149 2004-08-24 H.J. Lu <hongjiu.lu@intel.com>
1150
1151 * ldlang.c (wildcardp): Defined as a macro with strpbrk.
1152
1153 2004-08-19 Mark Mitchell <mark@codesourcery.com>
1154
1155 * configure.tgt (arm*-*-symbianelf*): New target.
1156 (arm*-*-eabi*): Likewise.
1157
1158 2004-08-19 Jakub Jelinek <jakub@redhat.com>
1159
1160 * emultempl/ppc64elf.em (non_overlapping_opd): New variable.
1161 (ppc_before_allocation): Pass it to ppc64_elf_edit_opd).
1162 (OPTION_NON_OVERLAPPING_OPD): Define.
1163 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Add
1164 --non-overlapping-opd option.
1165
1166 2004-08-18 Alan Modra <amodra@bigpond.net.au>
1167
1168 PR 338
1169 * ldexp.c (fold_name): Don't call bfd_link_add_undef if the symbol
1170 was already on the undefs list.
1171
1172 2004-08-17 Alan Modra <amodra@bigpond.net.au>
1173
1174 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Dot
1175 prefix the symbol field too.
1176
1177 2004-08-13 Alan Modra <amodra@bigpond.net.au>
1178
1179 * ldmain.c (link_callbacks): Remove "error_handler".
1180 * ldmisc.c: Include elf-bfd.h.
1181 (vfinfo): Sort comment. Handle %A. Use %A instead of
1182 bfd_get_section_indent.
1183 (error_handler): Delete.
1184 * ldmisc.h (error_handler): Delete declaration.
1185
1186 2004-08-10 Alan Modra <amodra@bigpond.net.au>
1187
1188 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Call
1189 ppc64_elf_restore_symbols.
1190
1191 2004-08-09 Alan Modra <amodra@bigpond.net.au>
1192
1193 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Error if
1194 .toc is too large on relocatable linking.
1195
1196 2004-08-09 Alan Modra <amodra@bigpond.net.au>
1197
1198 * emultempl/ppc64elf.em (ppc_after_open): Delete.
1199 (LDEMUL_AFTER_OPEN): Don't define.
1200
1201 2004-08-02 Stephane Carrez <stcarrez@nerim.fr>
1202
1203 * ld.texinfo (Top): Document specific options of 68HC11 and 68HC12.
1204
1205 2004-08-01 Stephane Carrez <stcarrez@nerim.fr>
1206
1207 * scripttempl/elfm68hc12.sc: Align text, rodata and data section
1208 on power of 2.
1209
1210 2004-07-27 Jason Thorpe <thorpej@wasabisystems.com>
1211
1212 * emulparams/hppanbsd.sh (OUTPUT_FORMAT): Set to "elf32-hppa-netbsd".
1213
1214 2004-07-26 Dmitry Diky <diwil@spec.ru>
1215
1216 * Makefile.am: Add new subtargets: msp430x1610, msp430x1611,
1217 msp430x1612, msp430x415, msp430x417, msp430xG437, msp430xG438,
1218 msp430xG439.
1219 * configure.tgt: Likewise.
1220 * emulparams/msp430all.sh: Likewise.
1221 * Makefile.in: Regenerate.
1222
1223 2004-07-23 Nick Clifton <nickc@redhat.com>
1224
1225 * emultempl/elf32.em (_place_orphan): Use an already existing
1226 section name if that section does not have any flags set.
1227
1228 2004-07-21 H.J. Lu <hongjiu.lu@intel.com>
1229
1230 * ldlang.c (already_linked_hash_entry): Removed.
1231 (already_linked): Likewise.
1232 (already_linked_table): Likewise.
1233 (section_already_linked): Call bfd_section_already_linked.
1234 (lang_process): Replace already_linked_table_init with
1235 bfd_section_already_linked_table_init and check return. Replace
1236 already_linked_table_free with bfd_section_already_linked_table_free.
1237
1238 2004-07-21 Nick Clifton <nickc@redhat.com>
1239
1240 * ldlang.c (init_os): Make sure that the newly allocated userdata
1241 structure is zeroed out.
1242
1243 2004-07-19 H.J. Lu <hongjiu.lu@intel.com>
1244
1245 * NEWS: Mention the new --add-needed/--no-add-needed and
1246 --as-needed/--no-as-needed options.
1247
1248 2004-07-19 H.J. Lu <hongjiu.lu@intel.com>
1249
1250 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Also
1251 check the add_needed field.
1252 (dt_needed): New struct.
1253 (gld${EMULATION_NAME}_try_needed): Change the first argument
1254 to a pointer to struct dt_needed. Check the DYN_NO_ADD_NEEDED
1255 bit in the file where the DT_NEEDED entry comes from.
1256 (gld${EMULATION_NAME}_search_needed): Change the second
1257 argument to a pointer to struct dt_needed.
1258 (gld${EMULATION_NAME}_check_ld_so_conf): Updated.
1259 (gld${EMULATION_NAME}_after_open): Likewise.
1260
1261 * ld.texinfo: Add --add-needed document.
1262 * ldlang.c (new_afile): Set p->add_needed.
1263 * ldlang.h (lang_input_statement_type): Add add_needed field.
1264 * ldmain.h (add_needed): Declare.
1265 * ldmain.c (add_needed): New global var.
1266 * lexsup.c (option_values): Add OPTION_ADD_NEEDED and
1267 OPTION_NO_ADD_NEEDED.
1268 (ld_options): Likewise.
1269 (parse_args): Handle them.
1270
1271 2004-07-13 Christof Petig <christof@petig-baender.de>
1272
1273 * emultempl/pe.em (make_import_fixup): Use bfd_get_32 to correct
1274 for endian-ness of extracted addend.
1275
1276 2004-07-13 Danny Smith <dannysmith@usesr.sourceforge.net>
1277
1278 * pe-dll.c (auto_export): Filter on just the import prefix,
1279 "_imp_", not "_imp__".
1280
1281 2004-07-09 Nick Clifton <nickc@redhat.com>
1282
1283 * configure.tgt: Change sh-sybmian-elf to sh-*-symbianelf.
1284
1285 2004-07-06 Tomer Levi <Tomer.Levi@nsc.com>
1286
1287 * Makefile.am (ALL_EMULATIONS): Add eelf32crx.o.
1288 (eelf32crx.c): New target.
1289 * Makefile.in: Regenerate.
1290 * configure.tgt: Handle crx-*-elf*.
1291 * emulparams/elf32crx.sh: New file.
1292 * emultempl/crxelf.em: New file.
1293 * scripttempl/elf32crx.sc: New file.
1294 * NEWS: Mention new target.
1295
1296 2004-07-06 Nick Clifton <nickc@redhat.com>
1297
1298 * Makefile.am: Add eshlsymbian.c.
1299 * Makefile.in: Regenerate.
1300 * configure.tgt: Add sh*-symbian-elf target.
1301 * emulparams/shlsymbian.sh: New file. Configure the
1302 sh-symbian-elf linker scripts.
1303 * scripttemp/elf32sh-symbian.sc: New file. Linker script
1304 template for the sh-symbian-elf target.
1305
1306 2004-07-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1307
1308 * emulparams/hppa64linux.sh: Define PLT_BEFORE_GOT.
1309 * emulparams/hppalinux.sh: Likewise.
1310 * scripttempl/elf.sc: Place .plt just before .got when .plt is in
1311 data segment and PLT_BEFORE_GOT is defined.
1312
1313 2004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
1314
1315 * ld.texinfo (WIN32): Document PE weak symbols.
1316
1317 2004-07-02 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1318
1319 * emulparams/shlelf32_linux.sh (COMMONPAGESIZE): Set to 4KB.
1320
1321 2004-07-01 H.J. Lu <hongjiu.lu@intel.com>
1322
1323 * ldmisc.c (vfinfo): Call bfd_get_section_ident to identify
1324 the section.
1325
1326 2004-06-29 Alan Modra <amodra@bigpond.net.au>
1327
1328 * ldlang.c (lang_reset_memory_regions): Save last relax pass section
1329 size in rawsize.
1330
1331 2004-06-24 Alan Modra <amodra@bigpond.net.au>
1332
1333 * ldlang.c (print_output_section_statement): Don't print size before
1334 relaxation.
1335 (IGNORE_SECTION): Remove bfd arg. Update all callers.
1336
1337 * ldexp.c (fold_name): .. See below.
1338 * ldlang.c (section_already_linked, print_output_section_statement,
1339 print_input_section, insert_pad, size_input_section,
1340 lang_check_section_addresses, lang_size_sections_1,
1341 lang_size_sections, lang_do_assignments_1, lang_set_startof,
1342 lang_one_common, lang_reset_memory_regions, lang_process,
1343 lang_abs_symbol_at_end_of, lang_do_version_exports_section): ..
1344 * ldwrite.c (build_link_order, clone_section, ds, split_sections): ..
1345 * pe-dll.c (process_def_file, generate_reloc): ..
1346 * emultempl/elf32.em (gld${EMULATION_NAME}_find_statement_assignment,
1347 gld${EMULATION_NAME}_before_allocation): ..
1348 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): ..
1349 * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation,
1350 sh64_elf_${EMULATION_NAME}_after_allocation): ..
1351 * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): ..
1352 * emultempl/xtensaelf.em (ld_assign_relative_paged_dot,
1353 ld_local_file_relocations_fit, ld_xtensa_insert_page_offsets): Use
1354 "size" instead of "_raw_size" and "_cooked_size". Expand
1355 bfd_section_size macro invocations.
1356
1357 2004-06-22 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
1358
1359 * ld/scripttemp/pe.sc (.CRT): Define ___crt_xc_start__,
1360 ___crt_xc_end__, ___crt_xi_start__, ___crt_xi_end__, ___crt_xl_start__,
1361 ___crt_xp_start__, ___crt_xp_end__, ___crt_xt_start__ and
1362 ___crt_xt_end__.
1363 (.tls): Define ___tls_start__ and ___tls_end__.
1364
1365 2004-06-21 Alexandre Oliva <aoliva@redhat.com>
1366
1367 * emulparams/elf32frvfd.sh (GENERATE_PIE_SCRIPT): Set to yes.
1368
1369 2004-06-18 Adam Nemet <anemet@lnxw.com>
1370
1371 * configure.in: Set EXTRA_SHLIB_EXTENSION to .a for LynxOS.
1372 * configure: Regenerate.
1373
1374 2004-06-15 Jakub Jelinek <jakub@redhat.com>
1375
1376 * scripttempl/elf.sc: Readd KEEP and .gcc_except_table.* to
1377 .gcc_except_table output sections lost accidentally with
1378 -z relro patch.
1379
1380 2004-06-15 Alan Modra <amodra@bigpond.net.au>
1381
1382 * ldwrite.c (build_link_order): Use bfd_get_section_size
1383 instead of bfd_get_section_size_before_reloc or _raw_size.
1384 * pe-dll.c (process_def_file): Likewise.
1385
1386 2004-06-14 Alan Modra <amodra@bigpond.net.au>
1387
1388 From Richard Wirth <r.wirth@wirthware.de>
1389 * ldlang.c (lang_finish): Don't free lang_definedness_table.
1390
1391 2004-05-29 Alan Modra <amodra@bigpond.net.au>
1392
1393 * ldlang.c (gc_section_callback): Move SEC_EXCLUDE twiddles..
1394 (lang_gc_sections): .. to a LANG_FOR_EACH_INPUT_STATEMENT loop here.
1395
1396 2004-05-28 Andrew Stubbs <andrew.stubbs@superh.com>
1397
1398 * testsuite/ld-sh/arch/arch.exp: New test script.
1399 * testsuite/ld-sh/arch/arch_expected.txt: New file.
1400 * testsuite/ld-sh/arch/sh.s: New file.
1401 * testsuite/ld-sh/arch/sh2.s: New file.
1402 * testsuite/ld-sh/arch/sh-dsp.s: New file.
1403 * testsuite/ld-sh/arch/sh2e.s: New file.
1404 * testsuite/ld-sh/arch/sh3-nommu.s: New file.
1405 * testsuite/ld-sh/arch/sh3.s: New file.
1406 * testsuite/ld-sh/arch/sh3-dsp.s: New file.
1407 * testsuite/ld-sh/arch/sh3e.s: New file.
1408 * testsuite/ld-sh/arch/sh4-nommu-nofpu.s: New file.
1409 * testsuite/ld-sh/arch/sh4-nofpu.s: New file.
1410 * testsuite/ld-sh/arch/sh4.s: New file.
1411 * testsuite/ld-sh/arch/sh4a-nofpu.s: New file.
1412 * testsuite/ld-sh/arch/sh4al-dsp.s: New file.
1413 * testsuite/ld-sh/arch/sh4a.s: New file.
1414
1415 2004-05-28 Alan Modra <amodra@bigpond.net.au>
1416
1417 * ldlang.c: Formatting. Wrap long lines, expand bfd_get_section_flags
1418 throughout file.
1419 * lexsup.c: Formatting. Wrap long lines.
1420 * ldwrite.c: Update copyright date.
1421
1422 * ldlang.c (lang_add_section): Don't twidlle SEC_EXCLUDE here.
1423 (output_section_callback): Nor SEC_KEEP here.
1424 (gc_section_callback): Twiddle SEC_EXCLUDE here.
1425 (lang_gc_wild): Delete. Fold into..
1426 (lang_gc_sections_1): ..here. Only call bfd_gc_sections when garbage
1427 collecting.
1428 (lang_process): Always call lang_gc_sections.
1429 (lang_place_orphans): Handle SEC_EXCLUDE sections.
1430 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove
1431 SEC_EXCLUDE code.
1432
1433 2004-05-26 H.J. Lu <hongjiu.lu@intel.com>
1434
1435 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Clear
1436 SEC_EXCLUDE on non-SEC_DEBUGGING sections for relocatable link.
1437 * ldlang.c (lang_add_section): Likewise.
1438
1439 2004-05-26 Alan Modra <amodra@bigpond.net.au>
1440
1441 * ldlang.c (lang_add_section): Set SEC_EXCLUDE for SEC_GROUP
1442 sections when doing a final link. Clear SEC_EXCLUDE when doing
1443 a relocable link, except for SEC_DEBUGGING sections.
1444 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Use the
1445 same condition here to drop SEC_EXCLUDE orphan sections.
1446
1447 2004-05-25 Alan Modra <amodra@bigpond.net.au>
1448
1449 * ldlang.c (lang_process): Call bfd_merge_sections later, and
1450 only when not a relocatable link.
1451 (print_input_section): Handle SEC_EXCLUDE sections.
1452 (size_input_section): Don't update dot on SEC_EXCLUDE sections.
1453 (lang_do_assignments_1): Likewise.
1454 * ldwrite.c (build_link_order): Ignore SEC_EXCLUDE input sections.
1455 * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise.
1456 * emultempl/hppaelf.em (build_section_lists): Likewise.
1457 * emultempl/ppc64elf.em (build_toc_list): Likewise.
1458 (build_section_lists): Likewise.
1459
1460 2004-05-23 Andreas Schwab <schwab@suse.de>
1461
1462 * ld.texinfo (Options): Fix typo in last change.
1463
1464 2004-05-21 Andy Chittenden <achittenden@bluearc.com>
1465
1466 * ld.h (ld_config_type): Add new field: hash_table_size.
1467 * ldmain.c: Initialise the new field to zero. If it is non-zero
1468 after parsing the linker's command line call
1469 bfd_hash_set_default_size.
1470 * lexsup.c (option_values): Add OPTION_HASH_SIZE.
1471 (ld_options): Add hash-size.
1472 (parse_args): Parse --hash-size option. Allow
1473 --reduce-memory-overheads to set the default hash table size as
1474 well.
1475 * ld.texinfo: Document the new switch. Also mention that
1476 --reduce-memory-overheads can affect the hash table size.
1477 * NEWS: Mention the new feature.
1478
1479 2004-05-19 J"orn Rennecke <joern.rennecke@superh.com>
1480
1481 * NEWS: Mention new linker map file generation and the
1482 --reduce-memory-overheads option.
1483 * ld.texinfo: Document --reduce-memory-overheads option.
1484 * ld.h (map_symbol_def): New struct.
1485 (struct user_section_struct, section_userdata_type): Rename to:
1486 (struct lean_user_section_struct, lean_section_userdata_type).
1487 (struct fat_user_section_struct, fat_section_userdata_type): New.
1488 (SECTION_USERDATA_SIZE): Define.
1489 (args_type): New member reduce_memory_overheads.
1490 * ldlang.c (map_obstack): New static variable.
1491 (init_map_userdata, print_all_symbols, sort_def_symbol): New functions.
1492 (lang_map): Unless command_line.reduce_memory_overheads is set,
1493 initialize lists of defined symbols for each section.
1494 (print_input_section): Unless command_line.reduce_memory_overheads
1495 is set, use print_all_symbols.
1496 (init_os): Use lean_section_userdata_type / SECTION_USERDATA_SIZE.
1497 * ldmain.c (main): Initialize command_line.reduce_memory_overheads.
1498 * lexsup.c (enum option_values): Add OPTION_REDUCE_MEMORY_OVERHEADS.
1499 (ld_options): Add entry for --reduce-memory-overheads.
1500 (parse_args): Handle OPTION_REDUCE_MEMORY_OVERHEADS.
1501
1502 2004-05-19 Jakub Jelinek <jakub@redhat.com>
1503
1504 * ldgram.y (sect_constraint): New.
1505 (ONLY_IF_RO, ONLY_IF_RW): New tokens.
1506 (section): Add sect_constraint. Pass additional argument
1507 to lang_enter_output_section_statement.
1508 * mri.c (mri_draw_tree): Pass additional argument to
1509 lang_enter_output_section_statement.
1510 * emultempl/pe.em (place_orphan): Likewise.
1511 (output_prev_sec_find): Disregard output section statements with
1512 constraint == -1.
1513 * emultempl/mmo.em (output_prev_sec_find): Likewise.
1514 (mmo_place_orphan): Pass additional argument to
1515 lang_enter_output_section_statement.
1516 * emultempl/elf32.em (output_prev_sec_find): Disregard output section
1517 statements with constraint == -1.
1518 (place_orphan): Pass additional argument to
1519 lang_enter_output_section_statement.
1520 * ldlang.c (lang_enter_overlay_section): Likewise.
1521 (lang_output_section_find_1): New.
1522 (lang_output_section_find): Use it.
1523 (lang_output_section_statement_lookup_1): New.
1524 (lang_output_section_statement_lookup): Use it.
1525 (check_section_callback, check_input_sections): New.
1526 (map_input_to_output_sections): Check if all input sections
1527 are readonly if ONLY_IF_RO or ONLY_IF_RW was seen.
1528 (strip_excluded_output_sections): Disregard output section statements
1529 with constraint == -1.
1530 (lang_record_phdrs): Likewise.
1531 (lang_enter_output_section_statement): Add constraint argument.
1532 Use lang_output_section_statement_lookup_1.
1533 * ldlang.h (lang_output_section_statement_type): Add constraint
1534 and all_input_readonly fields.
1535 (lang_enter_output_section_statement): Adjust prototype.
1536 * ldlex.l (ONLY_IF_RO, ONLY_IF_RW): New tokens.
1537 * scripttempl/elf.sc (.eh_frame, .gcc_except_table): Move into text
1538 segment if all input sections are readonly.
1539
1540 2004-05-19 Adam Nemet <anemet@lnxw.com>
1541
1542 * scripttempl/i386lynx.sc: Remove file.
1543
1544 2004-05-17 Bob Wilson <bob.wilson@acm.org>
1545
1546 * ld.texinfo (Output Section Address): Correct subsection name.
1547
1548 2004-05-17 Adam Nemet <anemet@lnxw.com>
1549
1550 * configure.tgt (powerpc-*-lynxos* case): New case.
1551 * configure.host (i[3-7]86-*-lynxos* case): Remove case.
1552 * emulparams/ppclynx.sh: New file.
1553 * emulparams/i386lynx.sh (SCRIPT_NAME): Update to LynxOS 4.0.
1554 * Makefile.am (ALL_EMULATIONS): Add eppclynx.o
1555 (ei386lynx.c): Update rule to LynxOS 4.0 ELF.
1556 (eppclynx.c): New rule.
1557 * Makefile.in: Regenerate.
1558
1559 2004-05-13 Joel Sherrill <joel@oarcorp.com>
1560
1561 * configure.tgt (or32-*-rtems*): Switch to elf and
1562 support versioned targets.
1563
1564 2004-05-13 Nick Clifton <nickc@redhat.com>
1565
1566 * po/fr.po: Updated French translation.
1567
1568 2004-05-11 Jakub Jelinek <jakub@redhat.com>
1569
1570 * genscripts.sh: Generate -z combreloc -z now -z relro scripts
1571 for binaries, -shared and -pie.
1572 * emulparams/elf_i386.sh (SEPARATE_GOTPLT): Set.
1573 * emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Set.
1574 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Rename to...
1575 (OTHER_RELRO_SECTIONS): ... this.
1576 * ldlex.l (DATA_SEGMENT_RELRO_END): Add.
1577 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
1578 -z relro and -z norelro.
1579 (gld${EMULATION_NAME}_list_options): Add it to usage.
1580 (gld${EMULATION_NAME}_get_script): Return -z combreloc -z now
1581 -z relro scripts when appropriate.
1582 * scripttempl/elf.sc: Unset SEPARATE_GOTPLT if RELRO_NOW is set.
1583 Create separate .got.plt section if SEPARATE_GOTPLT.
1584 Move sections which are only written during relocation handling
1585 to the beginning of RW segment. If NO_SMALL_DATA, move .got
1586 before .data. Add DATA_SEGMENT_RELRO_END directive.
1587 Include OTHER_RELRO_SECTIONS.
1588 * ldgram.y (DATA_SEGMENT_RELRO_END): Add.
1589 * ldexp.c (exp_print_token): Handle DATA_SEGMENT_RELRO_END.
1590 (fold_unary): Likewise.
1591 (fold_binary): Handle -z relro.
1592 * ldexp.h (struct exp_data_seg): Add exp_dataseg_relro_seen and
1593 exp_dataseg_relro_adjust phases. Add relro_end field.
1594 * ldmain.c (main): Initialize link_info.relro to FALSE.
1595 * ldlang.c (lang_size_sections): Handle -z relro.
1596
1597 2004-05-08 Marek Michalkiewicz <marekm@amelek.gda.pl>
1598
1599 * scripttempl/avr.sc: Do not set LMA for "eeprom" section.
1600
1601 2004-05-07 J"orn Rennecke <joern.rennecke@superh.com>
1602
1603 * ldlang.c (print_padding_statement): Cast size_t to bfd_vma
1604 before printing it with %W.
1605
1606 2004-05-07 Brian Ford <ford@vss.fsi.com>
1607 DJ Delorie <dj@redhat.com>
1608
1609 * emultempl/pe.em (real_flags): New static.
1610 (OPTION_LARGE_ADDRESS_AWARE): New define.
1611 (gld${EMULATION_NAME}_add_options): Add --large-address-aware option.
1612 (gld_${EMULATION_NAME}_list_options): Likewise.
1613 (gld${EMULATION_NAME}_handle_option): Likewise.
1614 (gld_${EMULATION_NAME}_after_open): Pass real_flags to PE private data.
1615 * ld.texinfo: Document it.
1616 * NEWS: Mention it.
1617
1618 2004-05-07 Brian Ford <ford@vss.fsi.com>
1619
1620 * NEWS: Mention DWARF 2 support for i386pe.
1621
1622 2004-05-05 Alexandre Oliva <aoliva@redhat.com>
1623
1624 * emulparams/elf32frvfd.sh (OUTPUT_FORMAT): Switch to new
1625 elf32-frvfdpic.
1626
1627 2004-04-30 Alan Modra <amodra@bigpond.net.au>
1628
1629 * ldlang.c (unique_section_p): Pass section parm, return true on
1630 group sections.
1631 (output_section_callback): Adjust.
1632 * ldlang.h (unique_section_p): Update prototype.
1633 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust.
1634
1635 2004-04-30 Eric Botcazou <ebotcazou@act-europe.fr>
1636
1637 * ld.texinfo (--gc-sections): Remove restriction for
1638 dynamic linking.
1639
1640 2004-04-29 Brian Ford <ford@vss.fsi.com>
1641
1642 * scripttempl/pe.sc: Handle .debug* and .gnu.linkonce.wi.* sections
1643 for DWARF 2/3. Update stab section's syntax.
1644
1645 2004-04-29 Alan Modra <amodra@bigpond.net.au>
1646
1647 * pe-dll.c: Revert changes accidentally committed 2004-03-08.
1648 (fill_edata): Correct pointer arithmetic.
1649
1650 2004-04-21 Chris Demetriou <cgd@broadcom.com>
1651
1652 * ld.texinfo: Remove MIPS --embedded-relocs documentation.
1653 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Remove definition.
1654 * emulparams/mipsidt.sh (TEMPLATE_NAME): Use generic.em.
1655 (EXTRA_EM_FILE): Use mipsecoff.em
1656 * emulparams/mipsidtl.sh (TEMPLATE_NAME): Use generic.em.
1657 (EXTRA_EM_FILE): Use mipsecoff.em
1658 * emultempl/mipsecoff.em: Restructure to be included as an
1659 extra emulation file.
1660 (check_sections, gld${EMULATION_NAME}_after_open)
1661 (gld${EMULATION_NAME}_after_allocation)
1662 (gld${EMULATION_NAME}_get_script)
1663 (ld_${EMULATION_NAME}_emulation): Remove
1664 (gld${EMULATION_NAME}_before_parse): Rename to...
1665 (mipsecoff_before_parse): This.
1666 (LDEMUL_BEFORE_PARSE): Define.
1667 * emultempl/mipself.em: Remove file.
1668 * scripttempl/mips.sc (.rel.sdata): Do not include in output.
1669 (__runtime_reloc_start, __runtime_reloc_stop): Stop providing
1670 these symbols.
1671 * Makefile.am: Remove dependencies on emultempl/mipself.em.
1672 * Makefile.in: Regenerate.
1673
1674 2004-04-21 Anil Paranjpe <anilp1@kpitcummins.com>
1675
1676 * ld.texinfo (synthesizing on H8/300): Information about linker
1677 relaxation support for bit manipulation instructions and system
1678 control instructions is added.
1679
1680 2004-04-21 Hans-Peter Nilsson <hp@axis.com>
1681
1682 * NEWS: Mention change in DEFINED semantics.
1683
1684 2004-04-21 Eric Botcazou <ebotcazou@act-europe.fr>
1685
1686 * scripttempl/elf.sc (.text): Add KEEP for .text.*personality*.
1687 (.data): Add KEEP for .gnu.linkonce.d.*personality*.
1688 (.gcc_except_table): Add KEEP for self and accept .gcc_except_table.*.
1689
1690 2004-04-21 Ben Elliston <bje@au.ibm.com>
1691
1692 * ld.texinfo (Simple Example): Add missing punctuation.
1693
1694 2004-04-20 Chris Demetriou <cgd@broadcom.com>
1695
1696 * NEWS: Note that MIPS --embedded-relocs option is deprecated.
1697
1698 2004-04-19 Jakub Jelinek <jakub@redhat.com>
1699
1700 * ldlang.c (lang_do_assignments_1): Handle .tbss output section
1701 specially.
1702
1703 2004-04-18 Danny Smith <dannysmith@users.sourceforge.net>
1704
1705 * scriptempl/pe.sc: Put numbered .ctors.* after .ctors
1706 with default priority. Likewise for dtors.
1707
1708 2004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1709
1710 * configure.host: Remove mips*-dec-bsd* target.
1711 * configure.tgt: Likewise.
1712
1713 2004-04-08 Richard Sandiford <rsandifo@redhat.com>
1714
1715 * emulparams/elf32bsmip.sh (EXTRA_EM_FILE): Define to irix.
1716 * emulparams/elf64bmip.sh (EXTRA_EM_FILE): Likewise.
1717 * emulparams/elf32bmipn32.sh (EXTRA_EM_FILE): Likewise.
1718 * emultempl/irix.em: New file.
1719 * Makefile.am (eelf32bsmip.c, eelf32bmipn32.c, eelf64bmip.c): Update
1720 dependencies.
1721 * Makefile.in: Regenerate.
1722
1723 2004-04-01 Paul Brook <paul@codesourcery.com>
1724
1725 * emultempl/armelf.em (byteswap_code): Add.
1726 (arm_elf_before_allocation): Pass extra parameter.
1727 (PARSE_AND_LIST_PROLOGUE): Add OPTION_BE8.
1728 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add be8.
1729 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_BE8.
1730 * emultempl/armelf_oabi.em: Pass extra parameter.
1731 * ld.texinfo: Document --be8.
1732
1733 2004-03-30 Stan Shebs <shebs@apple.com>
1734
1735 Remove long-obsolete MPW support.
1736 * mpw-config.in, mpw-make.sed, mac-ld.r: Remove files.
1737 * Makefile.am (mpw): Remove file-presynthesizing actions.
1738 * Makefile.in: Likewise.
1739 * ldfile.c (slash): Remove MPW case.
1740 * ldlex.l [MPW]: Remove unused definition.
1741
1742 2004-03-30 Galit Heller <Galit.Heller@nsc.com>
1743
1744 * Makefile.am (ALL_EMULATIONS): Add eelf32cr16c.o.
1745 (eelf32cr16c.c): New target.
1746 * Makefile.in: Regenerate.
1747 * configure.tgt: Handle cr16c-*-elf*.
1748 * emulparams/elf32cr16c.sh: New file.
1749 * scripttempl/elfcr16c.sc: Likewise
1750 * NEWS: Mention support for new target.
1751
1752 2004-03-30 Nick Clifton <nickc@redhat.com>
1753
1754 * po/sv.po: Updated Swedish translation.
1755
1756 2004-03-27 Alan Modra <amodra@bigpond.net.au>
1757
1758 * emultempl/elf32.em: Update new bfd_elf_discard_info name.
1759 * emultempl/hppaelf.em: Likewise.
1760 * emultempl/ppc64elf.em: Likewise.
1761 * emultempl/sh64elf.em: Likewise.
1762
1763 2004-03-25 Alan Modra <amodra@bigpond.net.au>
1764
1765 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update
1766 size_dynamic_sections call.
1767
1768 2004-03-23 Alan Modra <amodra@bigpond.net.au>
1769
1770 PR 51.
1771 * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set
1772 link_info.wrap_char.
1773
1774 2004-03-20 H.J. Lu <hongjiu.lu@intel.com>
1775
1776 * lexsup.c (parse_args): Don't set unresolved_syms_in_objects
1777 or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic.
1778
1779 2004-03-20 Alexandre Oliva <aoliva@redhat.com>
1780
1781 * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb.
1782
1783 2004-03-19 Alan Modra <amodra@bigpond.net.au>
1784
1785 * config.in: Regenerate.
1786 * po/ld.pot: Regenerate.
1787
1788 2004-03-18 Alan Modra <amodra@bigpond.net.au>
1789
1790 * ld.texinfo: Add --as-needed doco.
1791 * ldmain.c (as_needed): New global var.
1792 * ldmain.h (as_needed): Declare.
1793 * lexsup.c (option_values): Add OPTION_AS_NEEDED and
1794 OPTION_NO_AS_NEEDED.
1795 (ld_options): Likewise.
1796 (parse_args): Handle them.
1797 * ldlang.h (lang_input_statement_type): Add as_needed field.
1798 * ldlang.c (new_afile): Set p->as_needed.
1799 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function.
1800 (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class.
1801 (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry.
1802
1803 * ldlang.c (open_input_bfds): Remove useless cast.
1804 (lang_do_assignments_1): Likewise.
1805 (lang_for_each_input_section): Delete.
1806
1807 2004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1808
1809 * configure.tgt: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
1810
1811 2004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
1812
1813 * pe-dll.c (pe_dll_generate_implib): Skip sections marked as
1814 private when building implib.
1815
1816 2004-03-05 Nathan Sidwell <nathan@codesourcery.com>
1817
1818 * ldlang.c (lang_add_section): Don't force SEC_LOAD on
1819 SEC_THREAD_LOCAL.
1820 (IGNORE_SECTION): Ignore .tbss sections too.
1821 (lang_size_sections_1): .tbss sections do not advance dot.
1822
1823 2004-03-01 Andreas Schwab <schwab@suse.de>
1824
1825 * ld.texinfo (Options): Fix example for --wrap.
1826
1827 2004-02-25 Danny Smith <dannysmith@users.sourceforge.net>
1828
1829 * pe-dll.c (fill_edata): Check that exported_symbol_sections is
1830 not NULL.
1831
1832 2004-02-23 Ian Lance Taylor <ian@wasabisystems.com>
1833
1834 * ldlang.c (lang_check): Use %P, not %E, in error message.
1835
1836 2004-02-23 Nathan Sidwell <nathan@codesourcery.com>
1837
1838 * ldlang.h (struct lang_output_section_state): Change processed
1839 field's type.
1840 * ldexp.c (check, invalid): Remove.
1841 (fold_name): Move valid_p assignments. Create undefined symbol
1842 when needed. Directly exampine section's processd flag.
1843 * ldlang.c (lang_output_section_statement_lookup): Adjust
1844 processed field init.
1845 (lang_size_sections_1): Allow LOADADDR when determining section's
1846 VMA. Adjust error message. Fold data statement's expr.
1847 (lang_size_sections): Correctly increment lang_statement_iteration.
1848
1849 2004-02-23 Alan Modra <amodra@bigpond.net.au>
1850
1851 * ldexp.c (fold_tree): Follow indirect symbols.
1852
1853 2004-02-20 Nathan Sidwell <nathan@codesourcery.com>
1854
1855 * ldgram.y (exp): Add two operand ALIGN.
1856 * ldexp.c (fold_binary): Add ALIGN_K case.
1857 * ld.texinfo (ALIGN): Document two operand version.
1858
1859 2004-02-19 Nathan Sidwell <nathan@codesourcery.com>
1860
1861 * ldlang.c (map_input_to_output_sections): Initialize sections
1862 mentioned in a data statement expression.
1863 (lang_do_assignments_1): Add data statement's expression's
1864 section's vma.
1865
1866 2004-02-18 Nathan Sidwell <nathan@codesourcery.com>
1867
1868 * ldgram.y (statement_anywhere): Add assert rule.
1869 * ldlang.c (exp_init_os): Add assert case.
1870
1871 2004-02-14 Andrew Cagney <cagney@redhat.com>
1872
1873 * ldmain.c (remove_output): Call bfd_cache_close.
1874
1875 2004-02-14 Richard Sandiford <rsandifo@redhat.com>
1876
1877 * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard
1878 .MIPS.content* and .MIPS.events* sections.
1879
1880 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
1881
1882 * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move
1883 .note.gnu.arm.ident to after allocated sections. Mark its
1884 address as 0.
1885
1886 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
1887
1888 * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB.
1889 * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise.
1890 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise.
1891 * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise.
1892 * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise.
1893
1894 2004-02-05 Nick Clifton <nickc@redhat.com>
1895
1896 * emultempl/pe.em (_after_open): Fix typo in previous delta.
1897
1898 2004-02-04 Danny Smith <dannysmith@users.sourceforge.net>
1899
1900 * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch.
1901
1902 2004-01-28 Alan Modra <amodra@bigpond.net.au>
1903
1904 * genscripts.sh: Fix typo.
1905
1906 * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.
1907
1908 2004-01-24 Jakub Jelinek <jakub@redhat.com>
1909
1910 * emulparams/elf64_ia64.sh: Put .rela.opd into
1911 OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS.
1912
1913 2004-01-20 Danny Smith <dannysmith@users.sourceforge.net>
1914
1915 * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.
1916 * ld.texinfo (--omagic): Note that writable text section
1917 does not conform to published PE-COFF specs.
1918 (--enable-auto-import): Likewise.
1919
1920 2004-01-15 Alan Modra <amodra@bigpond.net.au>
1921
1922 * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define.
1923
1924 2004-01-13 Nick Clifton <nickc@redhat.com>
1925
1926 * ldlang.c (lang_get_regions): Add extra parameter 'have_vma'
1927 which if true will prevent the LMA region being used as a
1928 replacement for a default VMA region.
1929 (lang_leave_output_section_statement): Pass extra parameter.
1930 (lang_leave_overlay): Likewise.
1931 * ld.texinfo (Output Section LMA): Document that the LMA
1932 region can be set to the VMA region if no VMA has been set.
1933 * ldlang.h (struct lang_output_section_phdr_list): Create a
1934 typedef for this type. Minor formatting fixes.
1935
1936 2004-01-13 Nick Clifton <nickc@redhat.com>
1937
1938 * ldlang.c (lang_size_sections_1): If dot is advanced, then
1939 assume that the section should be allocated.
1940
1941 2004-01-13 Alan Modra <amodra@bigpond.net.au>
1942
1943 * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD
1944 sections. Do ignore SEC_NEVER_LOAD sections.
1945 (lang_size_sections_1): Remove test made redundant with the above.
1946
1947 2004-01-09 Alan Modra <amodra@bigpond.net.au>
1948
1949 * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached
1950 program_header_size.
1951
1952 2004-01-06 Alexandre Oliva <aoliva@redhat.com>
1953
1954 2003-11-28 Alexandre Oliva <aoliva@redhat.com>
1955 * emulparams/elf32frvfd.sh (EMBEDDED): Clear.
1956 2003-11-05 Alexandre Oliva <aoliva@redhat.com>
1957 * emulparams/elf32frvfd.sh (STACK_ADDR): Unset.
1958 (MAXPAGESIZE): Set to 64Kb.
1959 (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and
1960 __ROFIXUP_END__. Don't map .rofixup.got any more.
1961 * emulparams/elf32frv.sh (NOP): Set.
1962 2003-10-31 Alexandre Oliva <aoliva@redhat.com>
1963 * configure.tgt: Add frv-*-*linux*.
1964 2003-09-30 Alexandre Oliva <aoliva@redhat.com>
1965 * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o.
1966 (eelf32frvfd.c): New.
1967 * configure.tgt <frv-*-*>: Added it to targ_extra_emuls.
1968 * emulparams/elf32frv.sh: Reverted previous two patches.
1969 * emulparams/elf32frvfd.sh: New.
1970 * Makefile.in: Rebuilt.
1971 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
1972 * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added
1973 .rofixup.got to .rofixup.
1974 2003-09-15 Alexandre Oliva <aoliva@redhat.com>
1975 * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B.
1976 (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set.
1977
1978 2004-01-05 Jakub Jelinek <jakub@redhat.com>
1979
1980 * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes.
1981 * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes.
1982
1983 2004-01-03 Alan Modra <amodra@bigpond.net.au>
1984
1985 * ldexp.c (align_n): Make static.
1986 * ldexp.h (align_n): Delete declaration.
1987 * ldlang.h (lang_enter_output_section_statement): Remove
1988 block_value param.
1989 * ldlang.c (lang_enter_output_section_statement): Likewise.
1990 (TO_ADDR, TO_SIZE): Define.
1991 (opb_shift): New var.
1992 (init_opb): New function.
1993 (print_input_section): Call init_opb and use TO_ADDR.
1994 (print_data_statement, print_reloc_statement): Likewise.
1995 (print_padding_statement): Likewise.
1996 (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift.
1997 (lang_check_section_addresses): Likewise.
1998 (lang_size_sections_1): Likewise.
1999 (lang_do_assignments_1): Likewise.
2000 (lang_set_startof): Likewise.
2001 (lang_one_common): Likewise. Combine power_of_two and opb_shift align.
2002 (lang_process): Call init_opb.
2003 (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift.
2004 (lang_enter_overlay_section): Adjust
2005 lang_enter_output_section_statement call.
2006 * ldgram.y: Likewise.
2007 * mri.c (mri_draw_tree): Likewise.
2008 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise.
2009 * emultempl/mmo.em (mmo_place_orphan): Likewise.
2010 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise.
2011
2012 * ldfile.c (ldfile_set_output_arch): Add defarch param.
2013 * ldfile.h (ldfile_set_output_arch): Ditto.
2014 * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use
2015 ldfile_set_output_arch.
2016 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto.
2017 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto.
2018 * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto.
2019 * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
2020 * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto.
2021 * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto.
2022 * ldgram.y: Adjust ldfile_set_output_arch call.
2023 * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
2024 * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto.
2025 * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto.
2026 * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto.
2027 * emultempl/gld960c.em (gld960_set_output_arch): Ditto.
2028 * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
2029 * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
2030
2031 2004-01-02 Bernardo Innocenti <bernie@develer.com>
2032
2033 * configure.tgt: Add m68k-uClinux target.
2034
2035 For older changes see ChangeLog-0203
2036 \f
2037 Local Variables:
2038 mode: change-log
2039 left-margin: 8
2040 fill-column: 74
2041 version-control: never
2042 End:
This page took 0.069577 seconds and 5 git commands to generate.