* elf.c (elfcore_grok_nto_status): Print tid as long.
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
8b4e5e28
AM
12005-03-29 Alan Modra <amodra@bigpond.net.au>
2
3 * emultempl/ppc64elf.em (need_laying_out): Delete. Remove all refs.
4 (ppc_finish): Don't call bfd_elf_discard_info.
5 * emultempl/hppaelf.em: Similarly.
6
510a939b
NC
72005-03-24 Nick Clifton <nickc@redhat.com>
8
9 * po/fr.po: Updated French translation.
10
ed84e695
NC
112005-03-23 Mike Frysinger <vapier@gentoo.org>
12 Nick Clifton <nickc@redhat.com>
13
14 * configure.host: Accept any C library to accompany a GNU Linux
15 implementation, not just the GNU C library.
16 * configure.tgt: Likewise.
17 * emultempl/elf32.em: Likewise.
18
81e1b023
L
192005-03-22 H.J. Lu <hongjiu.lu@intel.com>
20
21 * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): New
22 (gld${EMULATION_NAME}_finish): Call
23 gld${EMULATION_NAME}_provide_bound_symbols to provide
24 __preinit_array_start, __preinit_array_end, __init_array_start,
25 __init_array_end, __fini_array_start and __fini_array_end.
26
27 * scripttempl/elf.sc: Don't provide __preinit_array_start,
28 __preinit_array_end, __init_array_start, __init_array_end,
29 __fini_array_start nor __fini_array_end.
30
11d2f718
AM
312005-03-23 Alan Modra <amodra@bigpond.net.au>
32
33 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Set
34 SEC_EXCLUDE on .gnu.warning sections.
35
644285ef
AM
362005-03-22 Alan Modra <amodra@bigpond.net.au>
37
38 * scripttempl/elf.sc (SBSS): Don't provide sbss start and end syms.
39
c9a2f333
AM
402005-03-21 Alan Modra <amodra@bigpond.net.au>
41
42 * emultempl/ppc32elf.em (gld${EMULATION_NAME}_after_allocation): New
43 function.
44 (LDEMUL_AFTER_ALLOCATION): Define.
45
b1ab9777
AM
462005-03-21 Alan Modra <amodra@bigpond.net.au>
47
48 * emultempl/ppc64elf.em (ppc_finish): Rename from
49 gld${EMULATION_NAME}_finish. Call gld${EMULATION_NAME}_finish.
50 (LDEMUL_FINISH): Update.
51 * emultempl/hppaelf.em (hppaelf_finish, LDEMUL_FINISH): Likewise.
52 * emultempl/m68hc1xelf.em (m68hc11elf_finish, LDEMUL_FINISH): Likewise.
53
2a2a7c94
JB
542005-03-18 Julian Brown <julian@codesourcery.com>
55
56 * scripttempl/armbpapi.sc (.rel.dyn): Add .rel.init_array,
57 .rel.fini_array.
58 (.rela.dyn): Add .rela.init_array, .rela.fini_array.
59 (SECTIONS): Add .rel.other, .rela.other, .reli.other after PLT relocs.
60
98720c64
L
612005-03-18 H.J. Lu <hongjiu.lu@intel.com>
62
63 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Don't set
64 bfd_section when removing unused empty output sections for
65 non-relocatable link.
66
41c7ba7c
AM
672005-03-19 Alan Modra <amodra@bigpond.net.au>
68
69 * ldlang.c (lang_insert_orphan): Use old section_tail rather than
70 traversing the bfd section list to find pointer to new section.
71
0fb53118
AM
722005-03-18 Alan Modra <amodra@bigpond.net.au>
73
74 * scripttempl/elf.sc: When CREATE_SHLIB, put .sdata2 and .sbss2
75 input sections into .sdata and .sbss output respectively.
76
de7f8cc8
BW
772005-03-16 David Heine <dlheine@tensilica.com>
78 Bob Wilson <bob.wilson@acm.org>
79
80 * ldlang.c (IGNORE_SECTION): Remove check for zero size.
81 (lang_check_section_addresses): Ignore zero size sections here.
82
57316bff
L
832005-03-16 H.J. Lu <hongjiu.lu@intel.com>
84
85 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Remove
86 unused empty output sections for non-relocatable link.
87
88 * ld.h (args_type): Remove gc_sections.
89
90 * ldlang.c (lang_mark_used_section): New.
91 (lang_gc_sections): Use link_info.gc_sections instead of
92 command_line.gc_sections.
93 * ldmain.c (main): Likewise.
94 * lexsup.c (parse_args): Likewise.
95 * ldlang.c (lang_process): Call lang_mark_used_section.
96
97 * ldmain.c (main): Initialize link_info.gc_sections to FALSE.
98
1ad12f97
NC
992005-03-16 Nick Clifton <nickc@redhat.com>
100 Ben Elliston <bje@au.ibm.com>
101
569acd2c 102 * configure.in (werror): New switch: Add -Werror to the
1ad12f97 103 compiler command line. Enabled by default. Disable via
569acd2c 104 --disable-werror.
1ad12f97
NC
105 * configure: Regenerate.
106
cb2d1ef2
AM
1072005-03-16 Alan Modra <amodra@bigpond.net.au>
108
109 * emulparams/elf32ppclinux.sh (OTHER_READWRITE_SECTION): Delete.
110 (OTHER_RELRO_SECTIONS): Set this instead.
111
957d91c1
NC
1122005-03-15 Nick Clifton <nickc@redhat.com>
113
114 * NEWS: Add cutoff for changes in 2.16 release.
115
34723071
NC
1162005-03-15 Mikkel Krautz <krautz@gmail.com>
117
118 * configure.tgt (x86_64-elf): Add target.
119
729ae8d2
AM
1202005-03-15 Alan Modra <amodra@bigpond.net.au>
121
122 * po/es.po: Commit new Spanish translation.
123
8b3d8fa8
AM
1242005-03-14 Alan Modra <amodra@bigpond.net.au>
125
126 * ldexp.c (exp_fold_tree): Ensure return value is initialized.
127 Tidy etree_assert case.
128
882cb63e
AM
1292005-03-14 Alan Modra <amodra@bigpond.net.au>
130
131 * po/tr.po: Commit new Turkish translation.
132
61c84b48
DJ
1332005-03-11 Daniel Jacobowitz <dan@codesourcery.com>
134
135 * Makefile.am: Remove references to em68klynx.o and esparclynx.o.
136 * Makefile.in: Regenerated.
137 * emulparams/m68klynx.sh, emulparams/sparclynx.sh: Remove.
138
41c9e29d
NC
1392005-03-07 Nick Clifton <nickc@redhat.com>
140
141 * po/fr.po: Updated translation.
142
06647dfd
AM
1432005-03-05 Alan Modra <amodra@bigpond.net.au>
144
145 * po/ld.pot: Regenerate.
146
bb14f524
JB
1472005-03-02 Jan Beulich <jbeulich@novell.com>
148
149 * ldmain.c (remove_output): Use unlink_if_ordinary instead of unlink.
150 * pe-dll.c (pe_dll_generate_implib): Likewise.
151
0ef622cb
BE
1522005-02-24 Ben Elliston <bje@au.ibm.com>
153
154 * ldfile.c: Remove GNU960 conditional code.
155 * emultempl/gld960.em: Likewise.
156 * emultempl/gld960c.em: Likewise.
157 * emultempl/lnk960.em: Likewise.
158
f3f4bcca
NC
1592005-02-24 Nick Clifton <nickc@redhat.com>
160
161 * emultempl/lnk960.em (lnk960_before_parse): Remove redundant
162 empty string from calls to concat.
163
1642005-02-23 Nick Clifton <nickc@redhat.com>
165
166 * emultempl/lnk960.em (lnk960_before_parse): Terminate list of
167 arguments passed to concat() with a NULL.
168
169 * emultempl/m68kcoff.em: Include ldexp.h and ldlang.h because they
170 define types needed by ldfile.h
171
47639182
AM
1722005-02-23 Alan Modra <amodra@bigpond.net.au>
173
174 * pe-dll.c: Warning fixes.
175 * emultempl/sunos.em: Likewise.
176
ace66bb2
DJ
1772005-02-22 Daniel Jacobowitz <dan@codesourcery.com>
178
179 * ldlang.c (section_already_linked): Don't call
180 bfd_section_already_linked for dynamic objects.
181
5718918d
AM
1822005-02-22 Alan Modra <amodra@bigpond.net.au>
183
184 * ldexp.c: Warning fixes.
185 * ldwrite.c: Likewise.
186 * emultempl/elf32.em: Likewise.
187
ebe372c1
L
1882005-02-21 H.J. Lu <hongjiu.lu@intel.com>
189
190 * ldlang.c (lang_add_section): Check SEC_TIC54X_BLOCK for TI
191 tic54x input only.
192 (lang_size_sections_1): Check SEC_COFF_SHARED_LIBRARY for COFF
193 and ECOFF output only.
194
0ca2f5d5
AM
1952005-02-21 Alan Modra <amodra@bigpond.net.au>
196
197 * config.in: Regenerate.
198 * configure: Regenerate.
199
fbbb9ac5
ZW
2002005-02-17 Zack Weinberg <zack@codesourcery.com>
201
202 * ldexp.c (assigning_to_dot): New global flag.
203 (fold_name): If assigning_to_dot is true, object immediately to
204 an undefined symbol.
205 (exp_fold_tree): Set and clear assigning_to_dot around the
206 recursive call to exp_fold_tree to process the right-hand side
207 of an assignment to the location counter.
208
c68dac40
PB
2092005-02-17 Paul Brook <paul@codesourcery.com>
210
211 * scripttempl/armbpabi.sc: Add dummy name to version block.
212
20c2cbe3
AM
2132005-02-17 Alan Modra <amodra@bigpond.net.au>
214
215 * ldexp.c (new_abs): Init new.str.
216
0b48acfe
MM
2172005-02-15 Mark Mitchell <mark@codesourcery.com>
218
219 * configure.in (AC_CHECK_FUNCS): Add glob.
220 * configure: Regenerated.
221 * emultempl/elf32.em (<glob.h>): Do not include if HAVE_GLOB is
222 not defined.
223 (gld${EMULATION_NAME}_parse_ld_so_conf_include): Do not use glob
224 if HAVE_GLOB is not defined.
fbbb9ac5 225
ff925e69
KK
2262005-02-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
227
228 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Define
229 lib_path if NATIVE is yes.
230
92b7a70f
AM
2312005-02-16 Alan Modra <amodra@bigpond.net.au>
232
233 * emultempl/ppc64elf.em (ppc_create_output_section_statements): Make
234 an error creating fake bfd fatal.
235 (ppc_before_allocation): Continue on after errors.
236 (gld${EMULATION_NAME}_finish): Likewise.
237
297ba367
NC
2382005-02-15 Nick Clifton <nickc@redhat.com>
239
240 * ldlex.l (YY_NO_UNPUT): Define so that the yy_unput function is
241 not declared. It is not used and its presence causes a compile
242 time warning.
fbbb9ac5 243
9eabd475
ZW
2442005-02-11 Zack Weinberg <zack@codesourcery.com>
245
246 * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed):
247 If st.st_ino is zero, do not treat the library as a duplicate.
248
d457dcf6
JJ
2492005-02-10 Jakub Jelinek <jakub@redhat.com>
250
251 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
252 Set BFD_LINKER_CREATED on the stubs bfd.
253 * emultempl/ppc64elf.em (ppc_create_output_section_statements):
254 Likewise.
255
4e5db43b
MM
2562005-02-08 Mark Mitchell <mark@codesourcery.com>
257
258 * scripttempl/armbpabi.sc (VERSION): Make special section symbols
9eabd475 259 local.
4e5db43b
MM
260 (Image$$ER_RO$$Base): Define whenever RELOCATING.
261 (Image$$ER_RO$$Limit): Likewise.
262 (SHT$$INIT_ARRAY$$Base): Likewise.
263 (SHT$$INIT_ARRAY$$Limit): Likeise.
264
4297f9f1
BE
2652005-02-10 Ben Elliston <bje@au.ibm.com>
266
267 * emultempl/beos.em: Remove #if 0 and #if 1 blocks.
268
1c7c5e5b
RS
2692005-02-08 Richard Sandiford <rsandifo@redhat.com>
270
271 * configure.tgt (mips64*el-*-linux-gnu*): Define targ_extra_libpath
272 to include o32 and n64 emulations.
273 (mips64*-*-linux-gnu*): Likewise.
274
300475fe
HPN
2752005-02-08 Hans-Peter Nilsson <hp@axis.com>
276
277 * ldmain.c (warning_callback, warning_find_reloc): Prepend
278 "warning: " to warning messages.
279
4ea42fb7
AM
2802005-02-04 Alan Modra <amodra@bigpond.net.au>
281
282 * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): Don't
283 look up symbol for etree_provide here.
284
161f49a3
DJ
2852005-02-02 Daniel Jacobowitz <dan@codesourcery.com>
286
287 * emulparams/elf32bmip.sh (TEXT_DYNAMIC): Always set.
288
73ae6183
NC
2892005-02-01 Edward Welbourne <eddy@opera.com>
290 Nick Clifton <nickc@redhat.com>
291
292 * ld.texinfo (Source Code Reference): New node describing how to
293 access linker script defined variables from source code.
294
77cfaee6
AM
2952005-02-01 Alan Modra <amodra@bigpond.net.au>
296
297 * ld.texinfo: Clarify --as-needed operation.
298
c46f8c51
AC
2992005-01-31 Andrew Cagney <cagney@gnu.org>
300
301 * configure: Regenerate to track ../gettext.m4.
302
d342277e
NC
3032005-01-31 Nick Clifton <nickc@redhat.com>
304
305 * ldver.c (ldversion): Bump reported copyright date to 2005.
306
d6486796
NC
3072005-01-31 Nick Clifton <nickc@redhat.com>
308
309 * configure.tgt: Remove obsolete targets m68k-lynxos and
310 sparc-lynxos.
311
319850b4
JB
3122005-01-28 Julian Brown <julian@codesourcery.com>
313
314 * emultempl/armelf.em (fix_v4bx): New variable.
315 (arm_elf_create_output_section_statements): Communicate fix_v4bx flag
316 value to bfd.
317 (PARSE_AND_LIST_PROLOGUE): Add option token OPTION_FIX_V4BX.
318 (PARSE_AND_LIST_LONGOPTS): Add option --fix-v4bx.
319 (PARSE_AND_LIST_OPTIONS): Add option --fix-v4bx.
9eabd475 320 (PARSE_AND_LIST_ARGS_CASES): Add option OPTION_FIX_V4BX.
319850b4
JB
321 * NEWS: Mention --fix-v4bx.
322 * ld.texinfo: Document --fix-v4bx.
323
dc4c9c19
MM
3242005-01-25 Mark Mitchell <mark@codesourcery.com>
325
326 * emulparams/armsymbian.sh (OTHER_READONLY_SECTIONS): Define, so
327 as to include .ARM.exidx$${Base,Limit}.
328 * ld/scripttempl/armbpabi.sc: Move .plt to end of text segment.
329 Define IMAGE$$ER_RO$${Base,Limit} and SHT$$INIT_ARRAY$${Base,Limit}.
330 Put .init_array, .fini_array, etc. into the read-only data
9eabd475
ZW
331 segment.
332
7e9f0867
AM
3332005-01-25 Alan Modra <amodra@bigpond.net.au>
334
335 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Formatting.
336 (gld${EMULATION_NAME}_after_open): Ignore needed libs if they were
337 only needed by an as-needed lib that didn't get linked.
338
7e69709c
AM
3392005-01-23 Alan Modra <amodra@bigpond.net.au>
340
341 * ld.texinfo (Output Section Keywords <CONSTRUCTORS>): Correct
342 __DTOR_LIST__ description.
343
b5666f2f
AM
3442005-01-23 Alan Modra <amodra@bigpond.net.au>
345
346 * ld.texinfo (Location Counter <dot outside sections>): Document
347 effects of orphan section placement, and ". = ." workaround.
348 * Makefile.in: Regenerate.
349
4e25343c
RS
3502005-01-22 Richard Sandiford <rsandifo@redhat.com>
351
352 * emulparams/elf32bmip.sh (OTHER_GOT_SECTIONS): Add ". = .;".
353 * emulparams/elf32bmipn32-defs.sh (OTHER_GOT_SECTIONS): Likewise.
354
b717d30e
JJ
3552005-01-21 Jakub Jelinek <jakub@redhat.com>
356
357 * ldgram.y (AS_NEEDED): New token.
358 (input_list): Handle AS_NEEDED ( input_list ).
359 * ldlex.l (AS_NEEDED): Add.
360 * ld.texinfo: Document AS_NEEDED ().
361 * NEWS: Mention AS_NEEDED ().
362
7a64f7b8
BE
3632005-01-21 Ben Elliston <bje@au.ibm.com>
364
365 * ldlang.c (lang_reasonable_defaults): Remove.
366 (lang_process): Don't call lang_reasonable_defaults.
367
368 * ldexp.c (exp_assop): Remove #if 0'd code.
369 (exp_print_tree): Likewise.
370 * ldlang.c (lang_memory_region_lookup): Likewise.
371 (open_output): Likewise.
372 (lang_do_assignments_1): Likewise.
373 (lang_place_orphans): Likewise.
374 (lang_enter_output_section_statement): Likewise.
375 (lang_reasonable_defaults): Likewise.
376 * ldlang.h (struct lang_input_statement_struct): Likewise.
377 * mri.c (mri_draw_tree): Likewise.
378 (mri_load): Likewise.
379 * pe-dll.c (generate_reloc): Likewise.
380 (make_import_fixup_entry): Likewise.
381 (pe_as16): Likewise.
382 * emultempl/beos.em (set_pe_subsystem): Likewise.
383 * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
384 * emultempl/pe.em: Likewise.
385 * emultempl/xtensaelf.em (xtensa_colocate_literals): Likewise.
386
a154a8ad
MM
3872005-01-20 Daniel Jacobowitz <dan@codesourcery.com>
388
389 * Makefile.am (ALL_EMULATIONS): Add earmelfb_linux_eabi.o.
390 (earmelfb_linux_eabi.c): New target.
391 * Makefile.in: Regenerated.
392 * configure.tgt (arm*b-*-linux-gnueabi): New target.
393 * emulparams/armelfb_linux_eabi.sh: New file.
394
9c183183
AM
3952005-01-20 Nick Hudson <skrll@netbsd.org>
396
397 PR ld/676
398 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
399 Handle bfd_elf32_hppa_nbsd_vec.
400
e2243057
RS
4012005-01-19 Richard Sandiford <rsandifo@redhat.com>
402
403 * ldmain.h (ld_sysroot): Change type to a constant string.
404 * ldmain.c (ld_sysroot): Likewise.
405 (get_relative_sysroot, get_sysroot): New functions, adding command-line
406 support for changing the sysroot.
407 (main): Call the new functions.
408 * lexsup.c (OPTION_SYSROOT): New.
409 (ld_options): Add --sysroot.
410 (parse_args): Add a dummy handler for it.
411 * ld.texinfo (--sysroot): Document.
412 * NEWS: Mention the new --sysroot option.
413
1449d79b
AM
4142005-01-18 Alan Modra <amodra@bigpond.net.au>
415
416 * ldlang.c (section_already_linked): Adjust bfd_link_just_syms call.
417 (lang_place_orphans): Don't abort on just_syms_flag, instead call
418 bfd_link_just_syms.
419
a880c748
DS
4202005-01-16 Danny Smith <dannysmith@users.sourceforge.net>
421
422 * defilep.y (def_name, def_library): Combine into...
423 (def_image_name): New function. Strip name to basename,
424 with warning.
425
07baa8ee
MK
4262005-01-12 Mark Kettenis <kettenis@gnu.org>
427
428 * configure.in: Be sure to invoke config.sub using the shell.
429 * configure: Regenerate.
430
e9b181b8
AM
4312005-01-11 Alan Modra <amodra@bigpond.net.au>
432
433 * configure.host: Correct sed patterns for last change.
434
59ef2528
NC
4352005-01-10 Nick Clifton <nickc@redhat.com>
436
437 PR binutils/609
438 * ldmisc.c (vfinfo): Add an extra argument: is_warning. Use this
439 to determine whether config.make_executable should be set to FALSE in
440 conjunction with config.fatal_warnings.
441 (info_msg, minfo, lfinof): Pass FALSE as the extra argument.
442 (einfo): Pass TRUE as the extra argument.
443
71a2d53a
NC
4442005-01-10 Greg Schaffer <gschafer@zip.com.au>
445
446 * configure.host (linux targets): Use "${CC} -dumpspecs" instead
447 of "${CC} --print-file-name=specs" to appease GCC versions >= 4.0.
448 (ia64-*-aix): Delete - this target is obsolete, and would be
449 broken by this patch.
450
d6d0b336
EB
4512005-01-06 Eric Botcazou <ebotcazou@libertysurf.fr>
452
453 * configure.host (sparc*-*-solaris2*): Rename into sparc-*-solaris2*.
454 (sparc64-sun-solaris2*): New host.
455
4e7fd91e
PB
4562005-01-06 Paul Brook <paul@codesourcery.com>
457
458 * Makefie.am: Add earmelf_vxworks.
459 * Makefile.in: Regenerate.
460 * configure.tgt: Make arm-*-vxworks a separate case.
461 * emulparams/armelf_vxworks.sh: New function.
462
4c52953f
AM
4632005-01-06 Alan Modra <amodra@bigpond.net.au>
464
465 * emultempl/ppc64elf.em (no_multi_toc): New var.
466 (gld${EMULATION_NAME}_finish): Pass to ppc64_elf_setup_section_lists.
467 (OPTION_NO_MULTI_TOC): Define.
468 (PARSE_AND_LIST_LONGOPTS): Add --no-multi-toc support.
469 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
470
98d87ee7
NC
4712005-01-05 Nick Clifton <nickc@redhat.com>
472
473 PR binutils/614
474 * ldmisc.c (vfinfo): Alter output to conform to the GNU Coding
4c52953f 475 Standard's specification for parsable error messages.
98d87ee7 476
5f81b918
PB
4772005-01-04 Paul Brook <paul@codesourcery.com>
478
479 * Makefile.am: Correct dependency for earmsymbian.c.
480 * Makefile.in: Regenerate.
481
2af59bab
DS
4822004-12-28 Danny Smith <dannysmith@users.sourceforge.net>
483
484 * emultempl/pe.em (set_pe_subsystem): Change second arg to
485 lang_add_entry to FALSE.
486
c38f024c
NC
4872004-12-23 Nick Clifton <nickc@redhat.com>
488
489 PR 600
490 * emulparams/shelf.sh (.stack): Increase stack start address to
491 0x300000.
492
550bdea6
NC
4932004-12-20 Nick Clifton <nickc@redhat.com>
494
495 * ldmain.c (main): Issue an error message if -static and -shared
496 are used together.
497
e3070fef
JJ
4982004-12-17 Jakub Jelinek <jakub@redhat.com>
499
500 * ldexp.h (exp_data_seg): Add min_base and maxpagesize fields.
501 * ldexp.c (fold_binary) <case DATA_SEGMENT_ALIGN>: Initialize them.
502 * ldlang.c (lang_size_sections): Use them to avoid wasting virtual
503 address space at DATA_SEGMENT_ALIGN. Fix computation of expected
504 PT_GNU_RELRO segment end.
505
2fbd2a87
NC
5062004-12-14 P.J. Darcy <darcypj@us.ibm.com>
507
508 * configure.tgt: Add s390x-ibm-tpf support.
509
f2763b01
NC
5102004-12-16 Martin Kögler <mkoegler@auto.tuwien.ac.at>
511
512 * ldmisc.c (vfinfo): Handle the case where %B is passed a NULL
513 BFD.
514
cb9faf63
BE
5152004-12-07 Ben Elliston <bje@gnu.org>
516
517 * ldemul.h: Forward declare struct option.
518
02f80eef
DS
5192004-12-01 Danny Smith <dannysmith@users.sourceforge.net>
520
521 * scripttempl/pe.sc (.data): Add .jcr subsection.
522
dea514f5
PB
5232004-11-30 Paul Brook <paul@codesourcery.com>
524
525 * emultempl/armelf.em: Ignore -p and -no-pipeline-knowledge.
526
32118081
NC
5272004-11-30 Tero Niemela <tero_niemela@yahoo.com>
528
529 * Makefile.am: Change LOCALEDIR to $(datadir)/share.
530 * Makefile.in: Regenerate.
531
33f362e1
NC
5322004-11-26 Melissa Mears <asterisk@graces.dricas.com>
533
534 * emultempl/pe.em: Add --subsystem:xbox as well as
535 --subsystem:%d.
536 * ld.texinfo: (ld_options): Document acceptance of subsystem xbox
537 and numeric subsystems.
538
3eda52aa
AM
5392004-11-24 Alan Modra <amodra@bigpond.net.au>
540
541 * ldexp.c (fold_name): Correct PR 338 fix.
542
6b3221b4
MM
5432004-11-19 Mark Mitchell <mark@codesourcery.com>
544
545 * Makefile.am (ALL_EMULATIONS): Add earmelf_linux_eabi.o.
546 (earmelf_linux_eabi.c): New target.
547 * configure.tgt (arm*-*-linux-gnueabi): Handle it.
548 * emulparams/armelf_linux_eabi.sh: New file.
549 * Makefile.in: Regenerated.
550
9cd6d51a
NC
5512004-11-19 Nick Clifton <nickc@redhat.com>
552
553 PR 518
554 * ld.texinfo (MEMORY): Update the descriptions of the ORIGIN and
555 LENGTH fields in the MEMORY command, to explicitly state that
556 symbols cannot be used in their expressions.
557
3ec57632
NC
5582004-11-19 Jon Beniston <jon@beniston.com>
559
560 * ld/ldlex.l: Allow ORIGIN and LENGTH in EXPRESSION.
561 * ld/ldgram.y: Add ORIGIN and LENGTH expressions.
4c52953f 562 * ld/ldexp.c (fold_name): Implement LENGTH() and ORIGIN() functions
3ec57632
NC
563 which return the length and origin of a memory.
564 * ld/ld.texinfo: Document LENGTH() and ORIGIN() functions.
565 * NEWS: Mention support for ORIGIN and LENGTH operators.
566
b7693d02
DJ
5672004-11-17 Daniel Jacobowitz <dan@codesourcery.com>
568
569 * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Don't use
570 a dynamic object for stubs.
571
fc0e6df6
PB
5722004-11-04 Paul Brook <paul@codesourcery.com>
573
574 * ld.texinfo: Document --default-imported-symver.
575 * ldmain.c (main): Set link_info.default_imported_symver.
576 * lexsup.c (option_values): Add OPTION_DEFAULT_IMPORTED_SYMVER.
577 (ld_options): Add --default-imported-symver.
578 (parse_args): Handle OPTION_DEFAULT_IMPORTED_SYMVER.
579
7499d566
NC
5802004-11-08 Inderpreet Singh <inderpreetb@nioda.hcltech.com>
581 Vineet Sharma <vineets@noida.hcltech.com>
582
583 * Makefile.am: Add entries for new maxq-coff target.
584 * Makefile.in: Regenerate.
585 * configure.tgt: Add support for maxq.
586 * emulparams/maxqcoff.sh: New File.
587 * scripttempl/maxqcoff.sc: New linker script for target maxq.
588 * NEWS: Mention the new target.
589
977cdf5a
NC
5902004-11-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
591
592 * testsuite/ld-scripts/weak.exp: Enable test on PE,
593 XFAIL non-i386 PE.
594 * testsuite/ld-undefined/weak-undef.exp: Enable test on PE,
595 XFAIL non-i386 PE.
596 * testsuite/lib/ld-lib.exp (is_pecoff_format): New.
597
7f266840
DJ
5982004-11-04 Daniel Jacobowitz <dan@debian.org>
599
600 * Makefile.am (ALL_EMULATIONS): Remove earmelf_oabi.o.
601 (earmelf_oabi.c): Remove rule.
602 * configure.tgt: Remove arm-*-oabi and thumb-*-oabi.
603 * emulparams/armelf_oabi.sh, emultempl/armelf_oabi.em: Delete files.
604 * Makefile.in: Regenerated.
605
a0055007
HPN
6062004-11-04 Hans-Peter Nilsson <hp@axis.com>
607
608 * configure.tgt (crisv32-*-*): Handle like cris-*-* for non-aout.
609 * emulparams/criself.sh (INIT_START): Remove emitted "push srp".
610 (FINI_START): Ditto.
611 (INIT_END): Remove emitted "jump [sp+]".
612 (FINI_END): Ditto.
613
c5614fa4
AM
6142004-11-04 Alan Modra <amodra@bigpond.net.au>
615
616 * emultempl/ppc64elf.em (no_tls_opt): Rename from notlsopt.
617 (no_opd_opt, no_toc_opt): New static vars.
618 (ppc_before_allocation): Don't edit opt if no_opd_opt. Call
619 ppc64_elf_edit_toc.
620 (OPTION_NO_OPD_OPT, OPTION_NO_TOC_OPT): Define.
621 (PARSE_AND_LIST_LONGOPTS): Add no-opd-optimize and no-toc-optimize.
622 (PARSE_AND_LIST_OPTIONS): Describe new options.
623 (PARSE_AND_LIST_ARGS_CASES): Handle them.
624
7a5df8d0
NC
6252004-10-27 Nick Clifton <nickc@redhat.com>
626
627 * emultempl/alphaelf.em (alpha_after_parse): Add extra, NULL,
628 parameter to invocation of lang_section_start.
629 * emultempl/aix.em (_handle_option): Likewise.
c5614fa4 630
7a5df8d0
NC
631 * Makefile.am (eelf64alpha.c, eelf64alpha_fbsd.c,
632 eelf64alpha_nbsd.c): Add dependency upon emultempl/alphaelf.em.
633 * Makefile.in: Regenerate.
634
6f372e19
MM
6352004-10-26 Mark Mitchell <mark@codesourcery.com>
636
637 * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Do not emit
638 __exidx_{start,end} when not relocating.
639
ba916c8a
MM
6402004-10-25 Mark Mitchell <mark@codesourcery.com>
641
642 * Makefile.in (earmsymbian.c): Depend on armbpabi.sc, not elf.sc.
643 * ldexp.h (segment_type): New type.
644 (segments): New variable.
645 * ldexp.c (segments): New variable.
646 (exp_print_token): Handle SEGMENT_START.
647 (fold_binary): Likewise.
648 * ldgram.y (SEGMENT_START): Declare it as a token.
649 (exp): Handle SEGMENT_START.
650 * ldlang.h (lang_address_statement_type): Add segment field.
651 (lang_section_start): Change prototype.
652 * ldlang.c (map_input_to_output_sections): Do not process section
653 assignments if a corresponding SEGMENT_START has already been
654 seen.
655 (lang_section_start): Add segment parameter.
656 * ldlex.l (SEGMENT_START): Add it.
657 * lexsup.c (seg_segment_start): New function.
658 (parse_args): Use it for -Tbss, -Tdata, and -Ttext.
659 * ld.texinfo (SEGMENT_START): Document it.
660 * emulparams/armsymbian.sh (EMBEDDED): Set it.
661 * scripttempl/armbpabi.sc: Use SEGMENT_START to control segment
662 base addresses. Do not map relocations.
663 * NEWS: Mention SEGMENT_START.
664
3e3b46e5
PB
6652004-10-26 Paul Brook <paul@codesourcery.com>
666
667 * ld.texinfo: Document --default-symver.
668 * ldmain.c (main): Set link_info.create_default_symver.
669 * lexsup.c (enum option_values): Add OPTION_DEFAULT_SYMVER.
670 (ld_options): Add default-symver.
671 (parse_args): Handle OPTION_DEFAULT_SYMVER.
672
7b0eaa22
DS
6732004-10-24 Danny Smith <dannysmith@users.sourceforge.net>
674
675 * pe-dll.c (process_def_file): Don't export all symbols by default if
676 building a position-independent executable.
677
dfeffb9f
L
6782004-10-21 H.J. Lu <hongjiu.lu@intel.com>
679
680 PR 463
681 * ldmain.c (reloc_overflow): Accept a pointer to struct
682 bfd_link_hash_entry. Report symbol location for relocation
683 overflow.
684
dc4f76f8
L
6852004-10-21 H.J. Lu <hongjiu.lu@intel.com>
686
687 * genscripts.sh (libpath.exp): Really generate for first
688 emulation only.
689
2a08daf3
DS
6902004-10-19 Danny Smith <dannysmith@users.sourceforge.net>
691
692 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Simplify
693 comparison and replacement of filenames.
694
532345f2
L
6952004-10-19 H.J. Lu <hongjiu.lu@intel.com>
696
697 PR 459
698 * ldlang.c (load_symbols): Use the same -Bdynamic/-Bstatic
699 option on linker script as the one for linker script.
700
b58f81ae
DJ
7012004-10-16 Daniel Jacobowitz <dan@debian.org>
702
703 * ldlang.c (struct excluded_lib, excluded_libs, add_excluded_libs)
704 (check_excluded_libs): New.
705 (load_symbols): Call check_excluded_libs.
706 * ldlang.h (add_excluded_libs): New prototype.
707 * emultempl/elf32.em (OPTION_EXCLUDED_LIBS): Define.
708 (gld${EMULATION_NAME}_add_options): Add --exclude-libs.
709 (gld${EMULATION_NAME}_handle_option): Handle --exclude-libs.
710 * ld.texinfo (Command Line Variables): Document --exclude-libs.
711 (Options Specific to i386 PE Targets): Remove --exclude-libs.
712
95c148b4
AM
7132004-10-15 Alan Modra <amodra@bigpond.net.au>
714
c468c8bc
AM
715 * ldexp.c (exp_fold_tree): Don't immediately exit ld on a
716 failing link script assert.
717
95c148b4
AM
718 * ldctor.c (ldctor_add_set_entry): Fix comment typo.
719
951e9133
L
7202004-10-14 H.J. Lu <hongjiu.lu@intel.com>
721
722 PR 445
723 * emulparams/elf64_ia64.sh (SMALL_DATA_CTOR): Set.
724 (SMALL_DATA_DTOR): Set.
725 * emulparams/elf64_ia64_fbsd.sh (SMALL_DATA_CTOR): Unset.
726 (SMALL_DATA_DTOR): Unset.
727 * scripttempl/elf.sc: If SMALL_DATA_CTOR is set, move .ctors
728 after .data. If SMALL_DATA_DTOR is set, move .dtors after
729 .data.
730
afd7a018
AM
7312004-10-14 Alan Modra <amodra@bigpond.net.au>
732
733 PR 63
734 * ldlang.h (lang_output_section_statement_type): Make "next" a
735 struct lang_output_section_statement_struct *.
736 (struct orphan_save): Move from elf32.em. Add "name" and "flags".
737 (lang_output_section_find_by_flags, lang_insert_orphan): Declare.
738 * ldlang.c (lang_output_section_find_1): Adjust for changed
739 output_section_statement "next".
740 (strip_excluded_output_sections): Likewise.
741 (lang_record_phdrs): Likewise.
742 (lang_output_section_find_by_flags): New function.
743 (output_prev_sec_find): Move from pe.em. Adjust iterator.
744 (lang_insert_orphan): New function. Tail end of elf32.em's
745 place_orphan merged with that from pe.em. Allow bfd_section to
746 be placed first. New heuristic for placing new output section
747 statement in existing script, and accompanying split of __start
748 symbol alignment into a separate assignment to dot.
749 (lang_add_section): Consistently use output->bfd_section rather than
750 an alias, section->output_section.
751 (map_input_to_output_sections): Rename overly long arg. Move
752 initialization of data_statement output section to here..
753 (lang_check_section_addresses): ..from here.
754 (print_assignment): Correct printing of etree_assert.
755 (print_all_symbols): Don't bomb if userdata is NULL.
756 (IGNORE_SECTION): Rearrange.
757 * emultempl/elf32.em (output_rel_find): Adjust interator.
758 (output_prev_sec_find): Delete.
759 (struct orphan_save): Delete.
760 (gld${EMULATION_NAME}_place_orphan): Cater for zero bfd_section
761 flags without creating a duplicate output section statement.
762 Revise code holding history of various orphan section placements.
763 Allow orphan sections to place before script specified output
764 sections. Call lang_output_section_find_by_flags when placement
765 by name fails. Use lang_insert_orphan.
766 * emultempl/mmo.em (output_prev_sec_find): Delete.
767 (struct orphan_save): Delete.
768 (mmo_place_orphan): Revise code holding history of orphan placement.
769 Allow orphans to place before existing output sections. Use
770 lang_insert_orphan.
771 * emultempl/pe.em (output_prev_sec_find): Delete.
772 (struct orphan_save): Delete.
773 (gld_${EMULATION_NAME}_place_orphan): Revise to suit use of
774 lang_insert_orphan.
775
c0042f5d
MM
7762004-10-13 Mark Mitchell <mark@codesourcery.com>
777
778 * scripttempl/armbpabi.sc: Do not put .gnu.version.* into a
779 loadable segment.
780
1af699f4
AM
7812004-10-13 Alan Modra <amodra@bigpond.net.au>
782
783 PR 44
09c112da
AM
784 * ldcref.c (check_section_sym_xref): Delete.
785 (check_local_sym_xref): New function.
786 (check_nocrossrefs): Adjust call.
1af699f4
AM
787 * emultempl/pe.em (struct orphan_save): Add os_tail.
788 (place_orphan): Backport assorted fixes from elf32.em.
789
7fa3d080
BW
7902004-10-12 Bob Wilson <bob.wilson@acm.org>
791
792 * emultempl/xtensaelf.em: Use ISO C90 formatting.
793
d3989512
JJ
7942004-10-11 Jakub Jelinek <jakub@redhat.com>
795
563f4125
JJ
796 * emultempl/elf32.em (gld${EMULATION_NAME}_parse_ld_so_conf): Avoid
797 getline for portability.
798
d3989512
JJ
799 * emultempl/elf32.em (gld${EMULATION_NAME}_ld_so_conf): New structure.
800 (gld${EMULATION_NAME}_parse_ld_so_conf,
801 gld${EMULATION_NAME}_parse_ld_so_conf_include): New functions.
802 (gld${EMULATION_NAME}_check_ld_so_conf): Use them.
803
6c0c5b1e
AM
8042004-10-11 Alan Modra <amodra@bigpond.net.au>
805
806 PR 423
807 * ldfile.c (ldfile_try_open_bfd): Ensure dynamic objects are
808 rejected when linking statically.
809
d2b2c203
DJ
8102004-10-08 Daniel Jacobowitz <dan@debian.org>
811
812 * configure.tgt: Include elf_x86_64 for i[3-7]86-*-solaris2*.
813
43cd72b9
BW
8142004-10-07 Bob Wilson <bob.wilson@acm.org>
815
816 * ld.texinfo (Xtensa): Describe new linker relaxation to optimize
817 assembler-generated longcall sequences. Describe new --size-opt
818 option.
819 * emulparams/elf32xtensa.sh (OTHER_SECTIONS): Add .xt.prop section.
820 * emultempl/xtensaelf.em (remove_section,
821 replace_insn_sec_with_prop_sec, replace_instruction_table_sections,
822 elf_xtensa_after_open): New.
823 (OPTION_OPT_SIZEOPT, OPTION_LITERAL_MOVEMENT,
824 OPTION_NO_LITERAL_MOVEMENT): Define.
825 (elf32xtensa_size_opt, elf32xtensa_no_literal_movement): New globals.
826 (PARSE_AND_LIST_LONGOPTS): Add size-opt and [no-]literal-movement.
827 (PARSE_AND_LIST_OPTIONS): Add --size-opt.
828 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_OPT_SIZEOPT,
829 OPTION_LITERAL_MOVEMENT, and OPTION_NO_LITERAL_MOVEMENT.
830 (LDEMUL_AFTER_OPEN): Set to elf_xtensa_after_open.
831 * scripttempl/elfxtensa.sc: Update with changes from elf.sc.
832 * Makefile.am (eelf32xtensa.c): Update dependencies.
833 * Makefile.in: Regenerate.
834
8fdd7217 8352004-10-07 Jeff Baker <jbaker@qnx.com>
6c0c5b1e 836
8fdd7217
NC
837 * lexsup.c: Handle --warn-shared-textrel option.
838 (ld_options): Restore alpha sorting of options.
839 * ldmain.c (main): Initialise warn_shared_info field to FALSE.
840 * ld.texinfo: Add documentation for --warn-shared-textrel.
841 * NEWS: Added mention of --warn-shared-textrel option.
842
339207f8 8432004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
6c0c5b1e 844
339207f8 845 * emultempl/crxelf.em (disable_relaxation): Add.
6c0c5b1e 846 (crxelf_before_allocation): Enable --relax option by default.
339207f8
TL
847 (PARSE_AND_LIST_PROLOGUE): Add OPTION_NO_RELAX.
848 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --no-relax.
849 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NO_RELAX.
850
bcaa7b3e
L
8512004-10-04 H.J. Lu <hongjiu.lu@intel.com>
852
853 * NEWS: Mention SORT_BY_NAME, SORT_BY_ALIGNMENT and
854 --sort-section name|alignment.
855
856 * ld.texinfo: Document SORT_BY_NAME, SORT_BY_ALIGNMENT and
857 --sort-section name|alignment.
858
859 * ld.h (sort_type): New enum.
860 (wildcard_spec): Change the type of `sorted' to sort_type.
861
862 * ldgram.y (SORT): Removed.
863 (SORT_BY_NAME): Added.
864 (SORT_BY_ALIGNMENT): Added.
865 (wildcard_spec): Updated `sorted'. Handle SORT_BY_NAME and
866 SORT_BY_ALIGNMENT.
867 (input_section_spec_no_keep): Updated `sorted'.
868 (statement): Replace SORT with SORT_BY_NAME.
869
870 * ldlang.c (compare_section): New function to compare 2
871 sections with different sorting schemes.
872 (wild_sort): Updated. Use compare_section.
873 (update_wild_statements): New function.
874 (lang_process): Call update_wild_statements before
875 map_input_to_output_sections.
876
877 * ldlex.l (SORT_BY_NAME): New.
878 (SORT_BY_ALIGNMENT): New.
879 (SORT): Return SORT_BY_NAME.
880
881 * ldmain.c (sort_section): New. Defined.
882 (main): Initialize it to none.
883
884 * lexsup.c (option_values): Add OPTION_SORT_SECTION.
885 (ld_options): Add an entry for OPTION_SORT_SECTION.
886 (parse_args): Handle OPTION_SORT_SECTION.
887
888 * mri.c (mri_draw_tree): Updated `sorted'.
889
a4f5ad88
JJ
8902004-10-04 Jakub Jelinek <jakub@redhat.com>
891
892 * ldgram.y (DATA_SEGMENT_RELRO_END): Add one argument.
893 * scripttempl/elf.sc (DATA_SEGMENT_RELRO_END): Add 0 as first
894 argument.
895 (DATA_SEGMENT_RELRO_GOTPLT_END): Pass $SEPARATE_GOTPLT as first
896 and . as second argument.
897 (GOTPLT): Move $DATA_SEGMENT_RELRO_GOTPLT_END before the section.
898 * ldexp.c (fold_unary): Remove DATA_SEGMENT_RELRO_END handling here.
899 (fold_binary): Add it here. Insert padding to make relro_end
900 COMMONPAGESIZE bytes aligned. For DATA_SEGMENT_ALIGN in
901 exp_dataseg_relro_adjust phase just use previously computed
902 exp_data_seg.base.
903 * ldlang.c (lang_size_sections): Set exp_data_seg.base for
904 relro_adjust here. Call lang_size_sections_1 once more if there
905 was too big padding at DATA_SEGMENT_RELRO_END.
906 * ld.texinfo (DATA_SEGMENT_RELRO_END): Add documentation.
907
40a18ebd
NC
9082004-10-01 Paul Brook <paul@codesourcery.com>
909
910 * emulparams/armelf.sh: Add unwinding table sections.
911
db8acf26
NC
9122004-09-30 Filip Navara <navaraf@reactos.com>
913
914 * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Generate
915 correct base address for position independant executables.
916 * pe-dll.c (pe_dll_fill_sections): Don't mark position independant
917 executables as DLLs.
918
eeac373a
PB
9192004-09-30 Paul Brook <paul@codesourcery.com>
920
921 * ld.texinfo: Document --target2=abs.
922 * emulparms/armsymbian.sh (TARGET2_TYPE): Set.
923
1ee7cf4c
NC
9242004-09-29 Nick Clifton <nickc@redhat.com>
925
926 * scripttempl/xstormy16.sc: Only perform the assignments to the
927 ROM region when not performing a relocatable link. The ROM region
928 does not start at address 0, but the sections will.
929 * Makefile.am: Fix linker script dependency for the generation of
930 eelf32xstormy16.c.
931 * Makefile.in: Regenerate.
932
03098a9a
CF
9332004-09-18 Filip Navara <navaraf@reactos.com>
934
935 * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh,
936 emulparams/i386pe_posix.sh, emulparams/mcorepe.sh,
937 emulparams/mipspe.sh, emulparams/ppcpe.sh, scripttempl/pe.sc: Define
938 TARGET_PAGE_SIZE.
939 * scripttempl/pe.sc: Make the virtual address and file offset synced if
940 the alignment is lower than the target page size.
941
f2d3750d
CF
9422004-09-27 Filip Navara <navaraf@reactos.com>
943
944 * emultempl/pe.em (gld_${EMULATION_NAME}_unrecognized_file): Allow
945 def_file_parse to handle pe_def_file if NULL and prevent crash with
946 invalid .def files.
947
a23d8409
AM
9482004-09-27 Alan Modra <amodra@bigpond.net.au>
949
950 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Enable
951 --emit-stub-syms automatically when --emit-relocs.
952
7b89fa29
PB
9532004-09-24 Paul Brook <paul@codeosurcery.com>
954
955 * scripttempl/elf.sc: Keep .preinit_array, .init_array and
956 .fini_array sections.
957
e2a68bcc
AS
9582004-09-19 Andreas Schwab <schwab@suse.de>
959
960 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Adjust data segment
961 base so that relro end is suitably aligned.
962
3674e28a
PB
9632004-09-17 Paul Brook <paul@codesourcery.com>
964
965 * ld.texinfo: Rename arm-specific section. Document --target*
966 * emulparams/armelf_fbsd.sh: Set TARGET2_TYPE.
967 * emulparams/armelf_linux.sh: Ditto.
968 * emulparams/armelf_nbsd.sh: Ditto.
969 * emultempl/armelf.em: Set default for TARGET2_TYPE.
970 (target2_type): New variable.
971 (arm_elf_before_allocation): Don't pass target1_type.
972 (arm_elf_create_output_section_statements): New function.
973 (PARSE_AND_LIST_PROLOGUE): Add OPTION_TARGET2.
974 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --target=.
975 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_TARGET2.
976 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Set.
977 * emultempl/armelf_oabi.em (_before_allocation): Remove extra
978 argument to bfd_elf32_arm_process_before_allocation.
979
f6e332e6
AM
9802004-09-17 Alan Modra <amodra@bigpond.net.au>
981
982 * ldexp.c (fold_name): Update u.undef.next refs.
983 * emultempl/pe.em: Likewise.
984 * emultempl/sunos.em: Likewise.
985
9c933e04
AM
9862004-09-17 Alan Modra <amodra@bigpond.net.au>
987
988 * Makefile.am: Run "make dep-am".
989 * Makefile.in: Regenerate.
990 * config.in: Regenerate.
991 * configure: Regenerate.
992 * aclocal.m4: Regenerate.
993 * po/ld.pot: Regenerate.
994
1fa32646
TL
9952004-09-16 Tomer Levi <Tomer.Levi@nsc.com>
996
9c933e04
AM
997 * scripttempl/elf32crx.sc (.init): Add KEEP for section's *personality*.
998 (.fini): Likewise.
999 (.jcr): Likewise.
1fa32646 1000
b6ee372a
AM
10012004-09-16 Alan Modra <amodra@bigpond.net.au>
1002
1003 * emultempl/armelf_oabi.em (before_allocation): Add extra zero param
1004 to bfd_elf32_arm_process_before_allocation call.
1005
9c504268
PB
10062004-09-13 Paul Brook <paul@codesourcery.com>
1007
1008 * emulparams/armsymbian.sh: Set TARGET1_IS_REL.
1009 * emultempl/armelf.em: Use TARGET1_IS_REL. Add --target1-{rel,abs}.
1010
d15b04bd
L
10112004-09-07 H.J. Lu <hongjiu.lu@intel.com>
1012
1013 * configure: Regenerated with autconfig 2.13.
1014
875c4330
AS
10152004-09-07 Andreas Schwab <schwab@suse.de>
1016
1017 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Apply data segment
1018 alignment before adjusting DATA_SEGMENT_RELRO_END.
1019
229fcec5
MM
10202004-09-06 Mark Mitchell <mark@codesourcery.com>
1021
1022 * emulparams/armsymbian.sh: Use armbpabi script.
1023 * scripttempl/armbpabi.sc: New script.
1024
e5a52504
MM
10252004-09-02 Mark Mitchell <mark@codesourcery.com>
1026
1027 * Makefile.am (ALL_EMULATIONS): Add earmsymbian.o.
1028 (earmsymbian.c): New target.
1029 * configure.tgt: Use armsymbian emulation for arm*-*-symbianelf*.
1030 * Makefile.in: Regenerated.
1031 * aclocal.m4: Likewise.
1032 * configure: Likewise.
1033 * emulparams/armsymbian.sh: New file.
1034
42851540
NC
10352004-09-03 Tomer Levi <Tomer.Levi@nsc.com>
1036
1037 * scripttempl/elf32crx.sc: Edit file with comments.
1038 (.init): Add new section.
1039 (.fini): Likewise.
1040 (.ctor): Control the linkage order.
1041 (.dtor): Likewise.
1042
c034e3e0
NC
10432004-08-27 Nick Clifton <nickc@redhat.com>
1044
1045 * emultempl/pe.em (after_open): Do not assume that either bfd is
9c933e04 1046 an archive.
c034e3e0 1047
688c58f3
AM
10482004-08-26 Alan Modra <amodra@bigpond.net.au>
1049
1050 * ldlang.c (lang_init): Don't compare with TRUE.
1051
b18c562e
NC
10522004-08-25 Dmitry Diky <diwil@spec.ru>
1053
1054 * emulparams/msp430all.sh: Fix RAM sizes for all targets.
1055 * scripttempl/elf32msp430.sc: Add .profiler section definition.
1056
61f5d054
L
10572004-08-24 H.J. Lu <hongjiu.lu@intel.com>
1058
1059 * ldlang.c (wildcardp): Defined as a macro with strpbrk.
1060
e77d3d77
MM
10612004-08-19 Mark Mitchell <mark@codesourcery.com>
1062
1063 * configure.tgt (arm*-*-symbianelf*): New target.
1064 (arm*-*-eabi*): Likewise.
1065
3f764659
JJ
10662004-08-19 Jakub Jelinek <jakub@redhat.com>
1067
1068 * emultempl/ppc64elf.em (non_overlapping_opd): New variable.
1069 (ppc_before_allocation): Pass it to ppc64_elf_edit_opd).
1070 (OPTION_NON_OVERLAPPING_OPD): Define.
1071 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Add
1072 --non-overlapping-opd option.
1073
a010d60f
AM
10742004-08-18 Alan Modra <amodra@bigpond.net.au>
1075
1076 PR 338
1077 * ldexp.c (fold_name): Don't call bfd_link_add_undef if the symbol
1078 was already on the undefs list.
1079
c4e33880
AM
10802004-08-17 Alan Modra <amodra@bigpond.net.au>
1081
1082 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Dot
1083 prefix the symbol field too.
1084
d003868e
AM
10852004-08-13 Alan Modra <amodra@bigpond.net.au>
1086
1087 * ldmain.c (link_callbacks): Remove "error_handler".
1088 * ldmisc.c: Include elf-bfd.h.
1089 (vfinfo): Sort comment. Handle %A. Use %A instead of
1090 bfd_get_section_indent.
1091 (error_handler): Delete.
1092 * ldmisc.h (error_handler): Delete declaration.
1093
99877b66
AM
10942004-08-10 Alan Modra <amodra@bigpond.net.au>
1095
1096 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Call
1097 ppc64_elf_restore_symbols.
1098
40e45c8b
AM
10992004-08-09 Alan Modra <amodra@bigpond.net.au>
1100
1101 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Error if
1102 .toc is too large on relocatable linking.
1103
ccfa59ea
AM
11042004-08-09 Alan Modra <amodra@bigpond.net.au>
1105
1106 * emultempl/ppc64elf.em (ppc_after_open): Delete.
1107 (LDEMUL_AFTER_OPEN): Don't define.
1108
93fd0973
SC
11092004-08-02 Stephane Carrez <stcarrez@nerim.fr>
1110
1111 * ld.texinfo (Top): Document specific options of 68HC11 and 68HC12.
1112
f1b123db
SC
11132004-08-01 Stephane Carrez <stcarrez@nerim.fr>
1114
1115 * scripttempl/elfm68hc12.sc: Align text, rodata and data section
1116 on power of 2.
1117
e7fbc2bf
JT
11182004-07-27 Jason Thorpe <thorpej@wasabisystems.com>
1119
1120 * emulparams/hppanbsd.sh (OUTPUT_FORMAT): Set to "elf32-hppa-netbsd".
1121
c05e9f04
NC
11222004-07-26 Dmitry Diky <diwil@spec.ru>
1123
1124 * Makefile.am: Add new subtargets: msp430x1610, msp430x1611,
1125 msp430x1612, msp430x415, msp430x417, msp430xG437, msp430xG438,
1126 msp430xG439.
1127 * configure.tgt: Likewise.
1128 * emulparams/msp430all.sh: Likewise.
1129 * Makefile.in: Regenerate.
1130
9f61903d
NC
11312004-07-23 Nick Clifton <nickc@redhat.com>
1132
1133 * emultempl/elf32.em (_place_orphan): Use an already existing
1134 section name if that section does not have any flags set.
1135
082b7297
L
11362004-07-21 H.J. Lu <hongjiu.lu@intel.com>
1137
1138 * ldlang.c (already_linked_hash_entry): Removed.
1139 (already_linked): Likewise.
1140 (already_linked_table): Likewise.
1141 (section_already_linked): Call bfd_section_already_linked.
1142 (lang_process): Replace already_linked_table_init with
1143 bfd_section_already_linked_table_init and check return. Replace
1144 already_linked_table_free with bfd_section_already_linked_table_free.
1145
76d7af2d
NC
11462004-07-21 Nick Clifton <nickc@redhat.com>
1147
1148 * ldlang.c (init_os): Make sure that the newly allocated userdata
1149 structure is zeroed out.
1150
14b3c463
L
11512004-07-19 H.J. Lu <hongjiu.lu@intel.com>
1152
1153 * NEWS: Mention the new --add-needed/--no-add-needed and
1154 --as-needed/--no-as-needed options.
1155
e56f61be
L
11562004-07-19 H.J. Lu <hongjiu.lu@intel.com>
1157
1158 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Also
1159 check the add_needed field.
1160 (dt_needed): New struct.
1161 (gld${EMULATION_NAME}_try_needed): Change the first argument
1162 to a pointer to struct dt_needed. Check the DYN_NO_ADD_NEEDED
1163 bit in the file where the DT_NEEDED entry comes from.
1164 (gld${EMULATION_NAME}_search_needed): Change the second
1165 argument to a pointer to struct dt_needed.
1166 (gld${EMULATION_NAME}_check_ld_so_conf): Updated.
1167 (gld${EMULATION_NAME}_after_open): Likewise.
1168
1169 * ld.texinfo: Add --add-needed document.
1170 * ldlang.c (new_afile): Set p->add_needed.
1171 * ldlang.h (lang_input_statement_type): Add add_needed field.
1172 * ldmain.h (add_needed): Declare.
1173 * ldmain.c (add_needed): New global var.
1174 * lexsup.c (option_values): Add OPTION_ADD_NEEDED and
1175 OPTION_NO_ADD_NEEDED.
1176 (ld_options): Likewise.
1177 (parse_args): Handle them.
1178
c99b8138
NC
11792004-07-13 Christof Petig <christof@petig-baender.de>
1180
1181 * emultempl/pe.em (make_import_fixup): Use bfd_get_32 to correct
1182 for endian-ness of extracted addend.
1183
13ed4151
NC
11842004-07-13 Danny Smith <dannysmith@usesr.sourceforge.net>
1185
1186 * pe-dll.c (auto_export): Filter on just the import prefix,
1187 "_imp_", not "_imp__".
1188
1a320fbb
NC
11892004-07-09 Nick Clifton <nickc@redhat.com>
1190
1191 * configure.tgt: Change sh-sybmian-elf to sh-*-symbianelf.
1192
1fe1f39c
NC
11932004-07-06 Tomer Levi <Tomer.Levi@nsc.com>
1194
1195 * Makefile.am (ALL_EMULATIONS): Add eelf32crx.o.
1196 (eelf32crx.c): New target.
1197 * Makefile.in: Regenerate.
1198 * configure.tgt: Handle crx-*-elf*.
1199 * emulparams/elf32crx.sh: New file.
1200 * emultempl/crxelf.em: New file.
1201 * scripttempl/elf32crx.sc: New file.
1202 * NEWS: Mention new target.
1203
85fbca6a
NC
12042004-07-06 Nick Clifton <nickc@redhat.com>
1205
1206 * Makefile.am: Add eshlsymbian.c.
1207 * Makefile.in: Regenerate.
1208 * configure.tgt: Add sh*-symbian-elf target.
1209 * emulparams/shlsymbian.sh: New file. Configure the
1210 sh-symbian-elf linker scripts.
1211 * scripttemp/elf32sh-symbian.sc: New file. Linker script
1212 template for the sh-symbian-elf target.
1213
b71a5181
DA
12142004-07-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1215
1216 * emulparams/hppa64linux.sh: Define PLT_BEFORE_GOT.
1217 * emulparams/hppalinux.sh: Likewise.
1218 * scripttempl/elf.sc: Place .plt just before .got when .plt is in
1219 data segment and PLT_BEFORE_GOT is defined.
1220
c87db184
CF
12212004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
1222
1223 * ld.texinfo (WIN32): Document PE weak symbols.
1224
f6a8ae81
KK
12252004-07-02 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1226
1227 * emulparams/shlelf32_linux.sh (COMMONPAGESIZE): Set to 4KB.
1228
b602c853
L
12292004-07-01 H.J. Lu <hongjiu.lu@intel.com>
1230
1231 * ldmisc.c (vfinfo): Call bfd_get_section_ident to identify
1232 the section.
1233
1a23a9e6
AM
12342004-06-29 Alan Modra <amodra@bigpond.net.au>
1235
1236 * ldlang.c (lang_reset_memory_regions): Save last relax pass section
1237 size in rawsize.
1238
eea6121a
AM
12392004-06-24 Alan Modra <amodra@bigpond.net.au>
1240
1241 * ldlang.c (print_output_section_statement): Don't print size before
1242 relaxation.
1243 (IGNORE_SECTION): Remove bfd arg. Update all callers.
1244
1245 * ldexp.c (fold_name): .. See below.
1246 * ldlang.c (section_already_linked, print_output_section_statement,
1247 print_input_section, insert_pad, size_input_section,
1248 lang_check_section_addresses, lang_size_sections_1,
1249 lang_size_sections, lang_do_assignments_1, lang_set_startof,
1250 lang_one_common, lang_reset_memory_regions, lang_process,
1251 lang_abs_symbol_at_end_of, lang_do_version_exports_section): ..
1252 * ldwrite.c (build_link_order, clone_section, ds, split_sections): ..
1253 * pe-dll.c (process_def_file, generate_reloc): ..
1254 * emultempl/elf32.em (gld${EMULATION_NAME}_find_statement_assignment,
1255 gld${EMULATION_NAME}_before_allocation): ..
1256 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): ..
1257 * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation,
1258 sh64_elf_${EMULATION_NAME}_after_allocation): ..
1259 * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): ..
1260 * emultempl/xtensaelf.em (ld_assign_relative_paged_dot,
1261 ld_local_file_relocations_fit, ld_xtensa_insert_page_offsets): Use
1262 "size" instead of "_raw_size" and "_cooked_size". Expand
1263 bfd_section_size macro invocations.
1264
552f8272
CF
12652004-06-22 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
1266
1267 * ld/scripttemp/pe.sc (.CRT): Define ___crt_xc_start__,
1268 ___crt_xc_end__, ___crt_xi_start__, ___crt_xi_end__, ___crt_xl_start__,
1269 ___crt_xp_start__, ___crt_xp_end__, ___crt_xt_start__ and
1270 ___crt_xt_end__.
1271 (.tls): Define ___tls_start__ and ___tls_end__.
1272
aee6f5b4
AO
12732004-06-21 Alexandre Oliva <aoliva@redhat.com>
1274
1275 * emulparams/elf32frvfd.sh (GENERATE_PIE_SCRIPT): Set to yes.
1276
eea6121a 12772004-06-18 Adam Nemet <anemet@lnxw.com>
f234d5fe 1278
eea6121a
AM
1279 * configure.in: Set EXTRA_SHLIB_EXTENSION to .a for LynxOS.
1280 * configure: Regenerate.
f234d5fe 1281
dfff4fbe
JJ
12822004-06-15 Jakub Jelinek <jakub@redhat.com>
1283
1284 * scripttempl/elf.sc: Readd KEEP and .gcc_except_table.* to
1285 .gcc_except_table output sections lost accidentally with
1286 -z relro patch.
1287
a9e0c0c6
AM
12882004-06-15 Alan Modra <amodra@bigpond.net.au>
1289
1290 * ldwrite.c (build_link_order): Use bfd_get_section_size
1291 instead of bfd_get_section_size_before_reloc or _raw_size.
1292 * pe-dll.c (process_def_file): Likewise.
1293
7115639b
AM
12942004-06-14 Alan Modra <amodra@bigpond.net.au>
1295
1296 From Richard Wirth <r.wirth@wirthware.de>
1297 * ldlang.c (lang_finish): Don't free lang_definedness_table.
1298
9ca57817
AM
12992004-05-29 Alan Modra <amodra@bigpond.net.au>
1300
1301 * ldlang.c (gc_section_callback): Move SEC_EXCLUDE twiddles..
1302 (lang_gc_sections): .. to a LANG_FOR_EACH_INPUT_STATEMENT loop here.
1303
f6f9408f
JR
13042004-05-28 Andrew Stubbs <andrew.stubbs@superh.com>
1305
1306 * testsuite/ld-sh/arch/arch.exp: New test script.
1307 * testsuite/ld-sh/arch/arch_expected.txt: New file.
1308 * testsuite/ld-sh/arch/sh.s: New file.
1309 * testsuite/ld-sh/arch/sh2.s: New file.
1310 * testsuite/ld-sh/arch/sh-dsp.s: New file.
1311 * testsuite/ld-sh/arch/sh2e.s: New file.
1312 * testsuite/ld-sh/arch/sh3-nommu.s: New file.
1313 * testsuite/ld-sh/arch/sh3.s: New file.
1314 * testsuite/ld-sh/arch/sh3-dsp.s: New file.
1315 * testsuite/ld-sh/arch/sh3e.s: New file.
1316 * testsuite/ld-sh/arch/sh4-nommu-nofpu.s: New file.
1317 * testsuite/ld-sh/arch/sh4-nofpu.s: New file.
1318 * testsuite/ld-sh/arch/sh4.s: New file.
1319 * testsuite/ld-sh/arch/sh4a-nofpu.s: New file.
1320 * testsuite/ld-sh/arch/sh4al-dsp.s: New file.
1321 * testsuite/ld-sh/arch/sh4a.s: New file.
1322
164e712d
AM
13232004-05-28 Alan Modra <amodra@bigpond.net.au>
1324
6feb9908
AM
1325 * ldlang.c: Formatting. Wrap long lines, expand bfd_get_section_flags
1326 throughout file.
1327 * lexsup.c: Formatting. Wrap long lines.
1328 * ldwrite.c: Update copyright date.
1329
164e712d
AM
1330 * ldlang.c (lang_add_section): Don't twidlle SEC_EXCLUDE here.
1331 (output_section_callback): Nor SEC_KEEP here.
1332 (gc_section_callback): Twiddle SEC_EXCLUDE here.
1333 (lang_gc_wild): Delete. Fold into..
1334 (lang_gc_sections_1): ..here. Only call bfd_gc_sections when garbage
1335 collecting.
1336 (lang_process): Always call lang_gc_sections.
1337 (lang_place_orphans): Handle SEC_EXCLUDE sections.
1338 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove
1339 SEC_EXCLUDE code.
1340
b3096250
L
13412004-05-26 H.J. Lu <hongjiu.lu@intel.com>
1342
1343 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Clear
1344 SEC_EXCLUDE on non-SEC_DEBUGGING sections for relocatable link.
1345 * ldlang.c (lang_add_section): Likewise.
1346
e49f5022
AM
13472004-05-26 Alan Modra <amodra@bigpond.net.au>
1348
1349 * ldlang.c (lang_add_section): Set SEC_EXCLUDE for SEC_GROUP
1350 sections when doing a final link. Clear SEC_EXCLUDE when doing
1351 a relocable link, except for SEC_DEBUGGING sections.
1352 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Use the
1353 same condition here to drop SEC_EXCLUDE orphan sections.
1354
57ceae94
AM
13552004-05-25 Alan Modra <amodra@bigpond.net.au>
1356
1357 * ldlang.c (lang_process): Call bfd_merge_sections later, and
1358 only when not a relocatable link.
1359 (print_input_section): Handle SEC_EXCLUDE sections.
1360 (size_input_section): Don't update dot on SEC_EXCLUDE sections.
1361 (lang_do_assignments_1): Likewise.
1362 * ldwrite.c (build_link_order): Ignore SEC_EXCLUDE input sections.
1363 * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise.
1364 * emultempl/hppaelf.em (build_section_lists): Likewise.
1365 * emultempl/ppc64elf.em (build_toc_list): Likewise.
1366 (build_section_lists): Likewise.
1367
a85785bc
AS
13682004-05-23 Andreas Schwab <schwab@suse.de>
1369
1370 * ld.texinfo (Options): Fix typo in last change.
1371
2d643429
NC
13722004-05-21 Andy Chittenden <achittenden@bluearc.com>
1373
1374 * ld.h (ld_config_type): Add new field: hash_table_size.
1375 * ldmain.c: Initialise the new field to zero. If it is non-zero
1376 after parsing the linker's command line call
1377 bfd_hash_set_default_size.
1378 * lexsup.c (option_values): Add OPTION_HASH_SIZE.
1379 (ld_options): Add hash-size.
1380 (parse_args): Parse --hash-size option. Allow
1381 --reduce-memory-overheads to set the default hash table size as
1382 well.
1383 * ld.texinfo: Document the new switch. Also mention that
1384 --reduce-memory-overheads can affect the hash table size.
1385 * NEWS: Mention the new feature.
1386
35835446
JR
13872004-05-19 J"orn Rennecke <joern.rennecke@superh.com>
1388
1389 * NEWS: Mention new linker map file generation and the
1390 --reduce-memory-overheads option.
1391 * ld.texinfo: Document --reduce-memory-overheads option.
1392 * ld.h (map_symbol_def): New struct.
1393 (struct user_section_struct, section_userdata_type): Rename to:
1394 (struct lean_user_section_struct, lean_section_userdata_type).
1395 (struct fat_user_section_struct, fat_section_userdata_type): New.
1396 (SECTION_USERDATA_SIZE): Define.
1397 (args_type): New member reduce_memory_overheads.
1398 * ldlang.c (map_obstack): New static variable.
1399 (init_map_userdata, print_all_symbols, sort_def_symbol): New functions.
1400 (lang_map): Unless command_line.reduce_memory_overheads is set,
1401 initialize lists of defined symbols for each section.
1402 (print_input_section): Unless command_line.reduce_memory_overheads
1403 is set, use print_all_symbols.
1404 (init_os): Use lean_section_userdata_type / SECTION_USERDATA_SIZE.
1405 * ldmain.c (main): Initialize command_line.reduce_memory_overheads.
1406 * lexsup.c (enum option_values): Add OPTION_REDUCE_MEMORY_OVERHEADS.
1407 (ld_options): Add entry for --reduce-memory-overheads.
1408 (parse_args): Handle OPTION_REDUCE_MEMORY_OVERHEADS.
1409
0841712e
JJ
14102004-05-19 Jakub Jelinek <jakub@redhat.com>
1411
1412 * ldgram.y (sect_constraint): New.
1413 (ONLY_IF_RO, ONLY_IF_RW): New tokens.
1414 (section): Add sect_constraint. Pass additional argument
1415 to lang_enter_output_section_statement.
1416 * mri.c (mri_draw_tree): Pass additional argument to
1417 lang_enter_output_section_statement.
1418 * emultempl/pe.em (place_orphan): Likewise.
1419 (output_prev_sec_find): Disregard output section statements with
1420 constraint == -1.
1421 * emultempl/mmo.em (output_prev_sec_find): Likewise.
1422 (mmo_place_orphan): Pass additional argument to
1423 lang_enter_output_section_statement.
1424 * emultempl/elf32.em (output_prev_sec_find): Disregard output section
1425 statements with constraint == -1.
1426 (place_orphan): Pass additional argument to
1427 lang_enter_output_section_statement.
1428 * ldlang.c (lang_enter_overlay_section): Likewise.
1429 (lang_output_section_find_1): New.
1430 (lang_output_section_find): Use it.
1431 (lang_output_section_statement_lookup_1): New.
1432 (lang_output_section_statement_lookup): Use it.
1433 (check_section_callback, check_input_sections): New.
1434 (map_input_to_output_sections): Check if all input sections
1435 are readonly if ONLY_IF_RO or ONLY_IF_RW was seen.
1436 (strip_excluded_output_sections): Disregard output section statements
1437 with constraint == -1.
1438 (lang_record_phdrs): Likewise.
1439 (lang_enter_output_section_statement): Add constraint argument.
1440 Use lang_output_section_statement_lookup_1.
1441 * ldlang.h (lang_output_section_statement_type): Add constraint
1442 and all_input_readonly fields.
1443 (lang_enter_output_section_statement): Adjust prototype.
1444 * ldlex.l (ONLY_IF_RO, ONLY_IF_RW): New tokens.
1445 * scripttempl/elf.sc (.eh_frame, .gcc_except_table): Move into text
1446 segment if all input sections are readonly.
1447
eea6121a 14482004-05-19 Adam Nemet <anemet@lnxw.com>
f2c50328
NC
1449
1450 * scripttempl/i386lynx.sc: Remove file.
1451
2a16d82a
BW
14522004-05-17 Bob Wilson <bob.wilson@acm.org>
1453
1454 * ld.texinfo (Output Section Address): Correct subsection name.
1455
eea6121a 14562004-05-17 Adam Nemet <anemet@lnxw.com>
b2d65c0b
NC
1457
1458 * configure.tgt (powerpc-*-lynxos* case): New case.
1459 * configure.host (i[3-7]86-*-lynxos* case): Remove case.
1460 * emulparams/ppclynx.sh: New file.
1461 * emulparams/i386lynx.sh (SCRIPT_NAME): Update to LynxOS 4.0.
1462 * Makefile.am (ALL_EMULATIONS): Add eppclynx.o
1463 (ei386lynx.c): Update rule to LynxOS 4.0 ELF.
1464 (eppclynx.c): New rule.
1465 * Makefile.in: Regenerate.
1466
4b363073
NC
14672004-05-13 Joel Sherrill <joel@oarcorp.com>
1468
1469 * configure.tgt (or32-*-rtems*): Switch to elf and
1470 support versioned targets.
1471
9598fbe5
NC
14722004-05-13 Nick Clifton <nickc@redhat.com>
1473
1474 * po/fr.po: Updated French translation.
1475
8c37241b
JJ
14762004-05-11 Jakub Jelinek <jakub@redhat.com>
1477
1478 * genscripts.sh: Generate -z combreloc -z now -z relro scripts
1479 for binaries, -shared and -pie.
1480 * emulparams/elf_i386.sh (SEPARATE_GOTPLT): Set.
1481 * emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Set.
1482 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Rename to...
1483 (OTHER_RELRO_SECTIONS): ... this.
1484 * ldlex.l (DATA_SEGMENT_RELRO_END): Add.
1485 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
1486 -z relro and -z norelro.
1487 (gld${EMULATION_NAME}_list_options): Add it to usage.
1488 (gld${EMULATION_NAME}_get_script): Return -z combreloc -z now
1489 -z relro scripts when appropriate.
1490 * scripttempl/elf.sc: Unset SEPARATE_GOTPLT if RELRO_NOW is set.
1491 Create separate .got.plt section if SEPARATE_GOTPLT.
1492 Move sections which are only written during relocation handling
1493 to the beginning of RW segment. If NO_SMALL_DATA, move .got
1494 before .data. Add DATA_SEGMENT_RELRO_END directive.
1495 Include OTHER_RELRO_SECTIONS.
1496 * ldgram.y (DATA_SEGMENT_RELRO_END): Add.
1497 * ldexp.c (exp_print_token): Handle DATA_SEGMENT_RELRO_END.
1498 (fold_unary): Likewise.
1499 (fold_binary): Handle -z relro.
1500 * ldexp.h (struct exp_data_seg): Add exp_dataseg_relro_seen and
1501 exp_dataseg_relro_adjust phases. Add relro_end field.
1502 * ldmain.c (main): Initialize link_info.relro to FALSE.
1503 * ldlang.c (lang_size_sections): Handle -z relro.
1504
e21059f2
MM
15052004-05-08 Marek Michalkiewicz <marekm@amelek.gda.pl>
1506
1507 * scripttempl/avr.sc: Do not set LMA for "eeprom" section.
1508
5f9b8920
JR
15092004-05-07 J"orn Rennecke <joern.rennecke@superh.com>
1510
1511 * ldlang.c (print_padding_statement): Cast size_t to bfd_vma
1512 before printing it with %W.
1513
26d2d8a2 15142004-05-07 Brian Ford <ford@vss.fsi.com>
eea6121a 1515 DJ Delorie <dj@redhat.com>
26d2d8a2
BF
1516
1517 * emultempl/pe.em (real_flags): New static.
1518 (OPTION_LARGE_ADDRESS_AWARE): New define.
1519 (gld${EMULATION_NAME}_add_options): Add --large-address-aware option.
1520 (gld_${EMULATION_NAME}_list_options): Likewise.
1521 (gld${EMULATION_NAME}_handle_option): Likewise.
1522 (gld_${EMULATION_NAME}_after_open): Pass real_flags to PE private data.
1523 * ld.texinfo: Document it.
1524 * NEWS: Mention it.
1525
1b169501
BF
15262004-05-07 Brian Ford <ford@vss.fsi.com>
1527
1528 * NEWS: Mention DWARF 2 support for i386pe.
1529
41cf0c62
AO
15302004-05-05 Alexandre Oliva <aoliva@redhat.com>
1531
1532 * emulparams/elf32frvfd.sh (OUTPUT_FORMAT): Switch to new
1533 elf32-frvfdpic.
1534
d0d6a25b
AM
15352004-04-30 Alan Modra <amodra@bigpond.net.au>
1536
1537 * ldlang.c (unique_section_p): Pass section parm, return true on
1538 group sections.
1539 (output_section_callback): Adjust.
1540 * ldlang.h (unique_section_p): Update prototype.
1541 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust.
1542
755306be
EB
15432004-04-30 Eric Botcazou <ebotcazou@act-europe.fr>
1544
eea6121a 1545 * ld.texinfo (--gc-sections): Remove restriction for
755306be
EB
1546 dynamic linking.
1547
8a7140c3
NC
15482004-04-29 Brian Ford <ford@vss.fsi.com>
1549
1550 * scripttempl/pe.sc: Handle .debug* and .gnu.linkonce.wi.* sections
1551 for DWARF 2/3. Update stab section's syntax.
1552
2f9636ba
AM
15532004-04-29 Alan Modra <amodra@bigpond.net.au>
1554
1555 * pe-dll.c: Revert changes accidentally committed 2004-03-08.
1556 (fill_edata): Correct pointer arithmetic.
1557
23867d67
CD
15582004-04-21 Chris Demetriou <cgd@broadcom.com>
1559
1560 * ld.texinfo: Remove MIPS --embedded-relocs documentation.
1561 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Remove definition.
1562 * emulparams/mipsidt.sh (TEMPLATE_NAME): Use generic.em.
1563 (EXTRA_EM_FILE): Use mipsecoff.em
1564 * emulparams/mipsidtl.sh (TEMPLATE_NAME): Use generic.em.
1565 (EXTRA_EM_FILE): Use mipsecoff.em
1566 * emultempl/mipsecoff.em: Restructure to be included as an
1567 extra emulation file.
1568 (check_sections, gld${EMULATION_NAME}_after_open)
1569 (gld${EMULATION_NAME}_after_allocation)
1570 (gld${EMULATION_NAME}_get_script)
1571 (ld_${EMULATION_NAME}_emulation): Remove
1572 (gld${EMULATION_NAME}_before_parse): Rename to...
1573 (mipsecoff_before_parse): This.
1574 (LDEMUL_BEFORE_PARSE): Define.
1575 * emultempl/mipself.em: Remove file.
1576 * scripttempl/mips.sc (.rel.sdata): Do not include in output.
1577 (__runtime_reloc_start, __runtime_reloc_stop): Stop providing
1578 these symbols.
1579 * Makefile.am: Remove dependencies on emultempl/mipself.em.
1580 * Makefile.in: Regenerate.
1581
1502569c
NC
15822004-04-21 Anil Paranjpe <anilp1@kpitcummins.com>
1583
1584 * ld.texinfo (synthesizing on H8/300): Information about linker
1585 relaxation support for bit manipulation instructions and system
1586 control instructions is added.
1587
c894ddfb
HPN
15882004-04-21 Hans-Peter Nilsson <hp@axis.com>
1589
1590 * NEWS: Mention change in DEFINED semantics.
1591
a85bf78e
EB
15922004-04-21 Eric Botcazou <ebotcazou@act-europe.fr>
1593
1594 * scripttempl/elf.sc (.text): Add KEEP for .text.*personality*.
1595 (.data): Add KEEP for .gnu.linkonce.d.*personality*.
1596 (.gcc_except_table): Add KEEP for self and accept .gcc_except_table.*.
1597
58434bc1
BE
15982004-04-21 Ben Elliston <bje@au.ibm.com>
1599
1600 * ld.texinfo (Simple Example): Add missing punctuation.
1601
7a7f4e42
CD
16022004-04-20 Chris Demetriou <cgd@broadcom.com>
1603
1604 * NEWS: Note that MIPS --embedded-relocs option is deprecated.
1605
3737f867
JJ
16062004-04-19 Jakub Jelinek <jakub@redhat.com>
1607
1608 * ldlang.c (lang_do_assignments_1): Handle .tbss output section
1609 specially.
1610
3c17e4f7
DS
16112004-04-18 Danny Smith <dannysmith@users.sourceforge.net>
1612
1613 * scriptempl/pe.sc: Put numbered .ctors.* after .ctors
1614 with default priority. Likewise for dtors.
1615
279500de
TS
16162004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1617
1618 * configure.host: Remove mips*-dec-bsd* target.
1619 * configure.tgt: Likewise.
1620
52f89c0a
RS
16212004-04-08 Richard Sandiford <rsandifo@redhat.com>
1622
1623 * emulparams/elf32bsmip.sh (EXTRA_EM_FILE): Define to irix.
1624 * emulparams/elf64bmip.sh (EXTRA_EM_FILE): Likewise.
1625 * emulparams/elf32bmipn32.sh (EXTRA_EM_FILE): Likewise.
1626 * emultempl/irix.em: New file.
1627 * Makefile.am (eelf32bsmip.c, eelf32bmipn32.c, eelf64bmip.c): Update
1628 dependencies.
1629 * Makefile.in: Regenerate.
1630
e489d0ae
PB
16312004-04-01 Paul Brook <paul@codesourcery.com>
1632
1633 * emultempl/armelf.em (byteswap_code): Add.
1634 (arm_elf_before_allocation): Pass extra parameter.
1635 (PARSE_AND_LIST_PROLOGUE): Add OPTION_BE8.
1636 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add be8.
1637 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_BE8.
1638 * emultempl/armelf_oabi.em: Pass extra parameter.
1639 * ld.texinfo: Document --be8.
1640
7cc8057a
SS
16412004-03-30 Stan Shebs <shebs@apple.com>
1642
1643 Remove long-obsolete MPW support.
1644 * mpw-config.in, mpw-make.sed, mac-ld.r: Remove files.
1645 * Makefile.am (mpw): Remove file-presynthesizing actions.
1646 * Makefile.in: Likewise.
1647 * ldfile.c (slash): Remove MPW case.
1648 * ldlex.l [MPW]: Remove unused definition.
1649
0949843d
NC
16502004-03-30 Galit Heller <Galit.Heller@nsc.com>
1651
1652 * Makefile.am (ALL_EMULATIONS): Add eelf32cr16c.o.
1653 (eelf32cr16c.c): New target.
1654 * Makefile.in: Regenerate.
1655 * configure.tgt: Handle cr16c-*-elf*.
1656 * emulparams/elf32cr16c.sh: New file.
1657 * scripttempl/elfcr16c.sc: Likewise
1658 * NEWS: Mention support for new target.
1659
0a159ef8
NC
16602004-03-30 Nick Clifton <nickc@redhat.com>
1661
1662 * po/sv.po: Updated Swedish translation.
1663
7a945db6
AM
16642004-03-27 Alan Modra <amodra@bigpond.net.au>
1665
1666 * emultempl/elf32.em: Update new bfd_elf_discard_info name.
1667 * emultempl/hppaelf.em: Likewise.
1668 * emultempl/ppc64elf.em: Likewise.
1669 * emultempl/sh64elf.em: Likewise.
1670
5a580b3a
AM
16712004-03-25 Alan Modra <amodra@bigpond.net.au>
1672
1673 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update
1674 size_dynamic_sections call.
1675
b9cf773d
AM
16762004-03-23 Alan Modra <amodra@bigpond.net.au>
1677
1678 PR 51.
1679 * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set
1680 link_info.wrap_char.
1681
59c2e50f
L
16822004-03-20 H.J. Lu <hongjiu.lu@intel.com>
1683
1684 * lexsup.c (parse_args): Don't set unresolved_syms_in_objects
1685 or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic.
1686
44349745
AO
16872004-03-20 Alexandre Oliva <aoliva@redhat.com>
1688
1689 * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb.
1690
81359a70
AM
16912004-03-19 Alan Modra <amodra@bigpond.net.au>
1692
1693 * config.in: Regenerate.
1694 * po/ld.pot: Regenerate.
1695
4a43e768
AM
16962004-03-18 Alan Modra <amodra@bigpond.net.au>
1697
1698 * ld.texinfo: Add --as-needed doco.
1699 * ldmain.c (as_needed): New global var.
1700 * ldmain.h (as_needed): Declare.
1701 * lexsup.c (option_values): Add OPTION_AS_NEEDED and
1702 OPTION_NO_AS_NEEDED.
1703 (ld_options): Likewise.
1704 (parse_args): Handle them.
1705 * ldlang.h (lang_input_statement_type): Add as_needed field.
1706 * ldlang.c (new_afile): Set p->as_needed.
1707 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function.
1708 (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class.
1709 (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry.
1710
1711 * ldlang.c (open_input_bfds): Remove useless cast.
1712 (lang_do_assignments_1): Likewise.
1713 (lang_for_each_input_section): Delete.
1714
9183ed4b
AM
17152004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1716
1717 * configure.tgt: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
1718
ee31fbd0
NC
17192004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
1720
1721 * pe-dll.c (pe_dll_generate_implib): Skip sections marked as
1722 private when building implib.
1723
e5caec89
NS
17242004-03-05 Nathan Sidwell <nathan@codesourcery.com>
1725
1726 * ldlang.c (lang_add_section): Don't force SEC_LOAD on
1727 SEC_THREAD_LOCAL.
1728 (IGNORE_SECTION): Ignore .tbss sections too.
1729 (lang_size_sections_1): .tbss sections do not advance dot.
1730
cc2f008e
AS
17312004-03-01 Andreas Schwab <schwab@suse.de>
1732
1733 * ld.texinfo (Options): Fix example for --wrap.
1734
f5a95868
DS
17352004-02-25 Danny Smith <dannysmith@users.sourceforge.net>
1736
1737 * pe-dll.c (fill_edata): Check that exported_symbol_sections is
1738 not NULL.
1739
177b729b
ILT
17402004-02-23 Ian Lance Taylor <ian@wasabisystems.com>
1741
1742 * ldlang.c (lang_check): Use %P, not %E, in error message.
1743
1b493742
NS
17442004-02-23 Nathan Sidwell <nathan@codesourcery.com>
1745
1746 * ldlang.h (struct lang_output_section_state): Change processed
1747 field's type.
1748 * ldexp.c (check, invalid): Remove.
1749 (fold_name): Move valid_p assignments. Create undefined symbol
1750 when needed. Directly exampine section's processd flag.
1751 * ldlang.c (lang_output_section_statement_lookup): Adjust
1752 processed field init.
1753 (lang_size_sections_1): Allow LOADADDR when determining section's
1754 VMA. Adjust error message. Fold data statement's expr.
1755 (lang_size_sections): Correctly increment lang_statement_iteration.
1756
17572004-02-23 Alan Modra <amodra@bigpond.net.au>
1758
1759 * ldexp.c (fold_tree): Follow indirect symbols.
b9cf773d 1760
876f4090
NS
17612004-02-20 Nathan Sidwell <nathan@codesourcery.com>
1762
1763 * ldgram.y (exp): Add two operand ALIGN.
1764 * ldexp.c (fold_binary): Add ALIGN_K case.
1765 * ld.texinfo (ALIGN): Document two operand version.
1766
384d938f
NS
17672004-02-19 Nathan Sidwell <nathan@codesourcery.com>
1768
1769 * ldlang.c (map_input_to_output_sections): Initialize sections
1770 mentioned in a data statement expression.
1771 (lang_do_assignments_1): Add data statement's expression's
1772 section's vma.
1773
b6ca8815
NS
17742004-02-18 Nathan Sidwell <nathan@codesourcery.com>
1775
1776 * ldgram.y (statement_anywhere): Add assert rule.
1777 * ldlang.c (exp_init_os): Add assert case.
1778
c92c35e7
AC
17792004-02-14 Andrew Cagney <cagney@redhat.com>
1780
1781 * ldmain.c (remove_output): Call bfd_cache_close.
1782
9bf78c99
RS
17832004-02-14 Richard Sandiford <rsandifo@redhat.com>
1784
1785 * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard
1786 .MIPS.content* and .MIPS.events* sections.
1787
f3806916
DJ
17882004-02-09 Daniel Jacobowitz <drow@mvista.com>
1789
1790 * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move
1791 .note.gnu.arm.ident to after allocated sections. Mark its
1792 address as 0.
1793
4c8e70d7
DJ
17942004-02-09 Daniel Jacobowitz <drow@mvista.com>
1795
1796 * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB.
1797 * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise.
1798 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise.
1799 * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise.
1800 * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise.
1801
ff71f4f7
NC
18022004-02-05 Nick Clifton <nickc@redhat.com>
1803
1804 * emultempl/pe.em (_after_open): Fix typo in previous delta.
1805
07a68a80
NC
18062004-02-04 Danny Smith <dannysmith@users.sourceforge.net>
1807
1808 * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch.
1809
1dd3bf68
AM
18102004-01-28 Alan Modra <amodra@bigpond.net.au>
1811
586196d5
AM
1812 * genscripts.sh: Fix typo.
1813
1dd3bf68
AM
1814 * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.
1815
13d9421f
JJ
18162004-01-24 Jakub Jelinek <jakub@redhat.com>
1817
1818 * emulparams/elf64_ia64.sh: Put .rela.opd into
1819 OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS.
1820
4d8907ac
DS
18212004-01-20 Danny Smith <dannysmith@users.sourceforge.net>
1822
1823 * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.
1824 * ld.texinfo (--omagic): Note that writable text section
1825 does not conform to published PE-COFF specs.
1826 (--enable-auto-import): Likewise.
1827
e5c60db5
AM
18282004-01-15 Alan Modra <amodra@bigpond.net.au>
1829
1830 * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define.
1831
6bdafbeb
NC
18322004-01-13 Nick Clifton <nickc@redhat.com>
1833
1834 * ldlang.c (lang_get_regions): Add extra parameter 'have_vma'
1835 which if true will prevent the LMA region being used as a
1836 replacement for a default VMA region.
586196d5
AM
1837 (lang_leave_output_section_statement): Pass extra parameter.
1838 (lang_leave_overlay): Likewise.
1839 * ld.texinfo (Output Section LMA): Document that the LMA
6bdafbeb
NC
1840 region can be set to the VMA region if no VMA has been set.
1841 * ldlang.h (struct lang_output_section_phdr_list): Create a
1842 typedef for this type. Minor formatting fixes.
586196d5 1843
9dfc8ab2
NC
18442004-01-13 Nick Clifton <nickc@redhat.com>
1845
1846 * ldlang.c (lang_size_sections_1): If dot is advanced, then
1847 assume that the section should be allocated.
1848
8325c4dd
AM
18492004-01-13 Alan Modra <amodra@bigpond.net.au>
1850
1851 * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD
1852 sections. Do ignore SEC_NEVER_LOAD sections.
1853 (lang_size_sections_1): Remove test made redundant with the above.
1854
83490352
AM
18552004-01-09 Alan Modra <amodra@bigpond.net.au>
1856
1857 * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached
1858 program_header_size.
1859
005e1118
AO
18602004-01-06 Alexandre Oliva <aoliva@redhat.com>
1861
1862 2003-11-28 Alexandre Oliva <aoliva@redhat.com>
1863 * emulparams/elf32frvfd.sh (EMBEDDED): Clear.
1864 2003-11-05 Alexandre Oliva <aoliva@redhat.com>
1865 * emulparams/elf32frvfd.sh (STACK_ADDR): Unset.
1866 (MAXPAGESIZE): Set to 64Kb.
1867 (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and
1868 __ROFIXUP_END__. Don't map .rofixup.got any more.
1869 * emulparams/elf32frv.sh (NOP): Set.
1870 2003-10-31 Alexandre Oliva <aoliva@redhat.com>
1871 * configure.tgt: Add frv-*-*linux*.
1872 2003-09-30 Alexandre Oliva <aoliva@redhat.com>
1873 * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o.
1874 (eelf32frvfd.c): New.
1875 * configure.tgt <frv-*-*>: Added it to targ_extra_emuls.
1876 * emulparams/elf32frv.sh: Reverted previous two patches.
1877 * emulparams/elf32frvfd.sh: New.
1878 * Makefile.in: Rebuilt.
1879 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
1880 * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added
1881 .rofixup.got to .rofixup.
1882 2003-09-15 Alexandre Oliva <aoliva@redhat.com>
1883 * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B.
1884 (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set.
1885
060feee5
JJ
18862004-01-05 Jakub Jelinek <jakub@redhat.com>
1887
1888 * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes.
1889 * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes.
1890
5e2f1575
AM
18912004-01-03 Alan Modra <amodra@bigpond.net.au>
1892
e5caa5e0
AM
1893 * ldexp.c (align_n): Make static.
1894 * ldexp.h (align_n): Delete declaration.
1895 * ldlang.h (lang_enter_output_section_statement): Remove
1896 block_value param.
1897 * ldlang.c (lang_enter_output_section_statement): Likewise.
1898 (TO_ADDR, TO_SIZE): Define.
c2df3ea5 1899 (opb_shift): New var.
e5caa5e0
AM
1900 (init_opb): New function.
1901 (print_input_section): Call init_opb and use TO_ADDR.
1902 (print_data_statement, print_reloc_statement): Likewise.
1903 (print_padding_statement): Likewise.
c2df3ea5 1904 (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift.
e5caa5e0
AM
1905 (lang_check_section_addresses): Likewise.
1906 (lang_size_sections_1): Likewise.
1907 (lang_do_assignments_1): Likewise.
1908 (lang_set_startof): Likewise.
c2df3ea5 1909 (lang_one_common): Likewise. Combine power_of_two and opb_shift align.
e5caa5e0 1910 (lang_process): Call init_opb.
c2df3ea5 1911 (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift.
e5caa5e0
AM
1912 (lang_enter_overlay_section): Adjust
1913 lang_enter_output_section_statement call.
1914 * ldgram.y: Likewise.
1915 * mri.c (mri_draw_tree): Likewise.
1916 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise.
1917 * emultempl/mmo.em (mmo_place_orphan): Likewise.
1918 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise.
1919
5e2f1575
AM
1920 * ldfile.c (ldfile_set_output_arch): Add defarch param.
1921 * ldfile.h (ldfile_set_output_arch): Ditto.
1922 * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use
1923 ldfile_set_output_arch.
1924 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto.
1925 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto.
1926 * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto.
1927 * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
1928 * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto.
1929 * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto.
1930 * ldgram.y: Adjust ldfile_set_output_arch call.
1931 * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
1932 * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto.
1933 * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto.
1934 * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto.
1935 * emultempl/gld960c.em (gld960_set_output_arch): Ditto.
1936 * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
1937 * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
1938
b50c15dc
NC
19392004-01-02 Bernardo Innocenti <bernie@develer.com>
1940
1941 * configure.tgt: Add m68k-uClinux target.
6edf0760 1942
c9e214e5 1943For older changes see ChangeLog-0203
252b5132
RH
1944\f
1945Local Variables:
1946mode: change-log
1947left-margin: 8
1948fill-column: 74
1949version-control: never
1950End:
This page took 0.40324 seconds and 4 git commands to generate.