* i386fbsd-tdep.c: Update copyright year. Include "gdbcore.h",
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
e9b181b8
AM
12005-01-11 Alan Modra <amodra@bigpond.net.au>
2
3 * configure.host: Correct sed patterns for last change.
4
59ef2528
NC
52005-01-10 Nick Clifton <nickc@redhat.com>
6
7 PR binutils/609
8 * ldmisc.c (vfinfo): Add an extra argument: is_warning. Use this
9 to determine whether config.make_executable should be set to FALSE in
10 conjunction with config.fatal_warnings.
11 (info_msg, minfo, lfinof): Pass FALSE as the extra argument.
12 (einfo): Pass TRUE as the extra argument.
13
71a2d53a
NC
142005-01-10 Greg Schaffer <gschafer@zip.com.au>
15
16 * configure.host (linux targets): Use "${CC} -dumpspecs" instead
17 of "${CC} --print-file-name=specs" to appease GCC versions >= 4.0.
18 (ia64-*-aix): Delete - this target is obsolete, and would be
19 broken by this patch.
20
d6d0b336
EB
212005-01-06 Eric Botcazou <ebotcazou@libertysurf.fr>
22
23 * configure.host (sparc*-*-solaris2*): Rename into sparc-*-solaris2*.
24 (sparc64-sun-solaris2*): New host.
25
4e7fd91e
PB
262005-01-06 Paul Brook <paul@codesourcery.com>
27
28 * Makefie.am: Add earmelf_vxworks.
29 * Makefile.in: Regenerate.
30 * configure.tgt: Make arm-*-vxworks a separate case.
31 * emulparams/armelf_vxworks.sh: New function.
32
4c52953f
AM
332005-01-06 Alan Modra <amodra@bigpond.net.au>
34
35 * emultempl/ppc64elf.em (no_multi_toc): New var.
36 (gld${EMULATION_NAME}_finish): Pass to ppc64_elf_setup_section_lists.
37 (OPTION_NO_MULTI_TOC): Define.
38 (PARSE_AND_LIST_LONGOPTS): Add --no-multi-toc support.
39 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
40
98d87ee7
NC
412005-01-05 Nick Clifton <nickc@redhat.com>
42
43 PR binutils/614
44 * ldmisc.c (vfinfo): Alter output to conform to the GNU Coding
4c52953f 45 Standard's specification for parsable error messages.
98d87ee7 46
5f81b918
PB
472005-01-04 Paul Brook <paul@codesourcery.com>
48
49 * Makefile.am: Correct dependency for earmsymbian.c.
50 * Makefile.in: Regenerate.
51
2af59bab
DS
522004-12-28 Danny Smith <dannysmith@users.sourceforge.net>
53
54 * emultempl/pe.em (set_pe_subsystem): Change second arg to
55 lang_add_entry to FALSE.
56
c38f024c
NC
572004-12-23 Nick Clifton <nickc@redhat.com>
58
59 PR 600
60 * emulparams/shelf.sh (.stack): Increase stack start address to
61 0x300000.
62
550bdea6
NC
632004-12-20 Nick Clifton <nickc@redhat.com>
64
65 * ldmain.c (main): Issue an error message if -static and -shared
66 are used together.
67
e3070fef
JJ
682004-12-17 Jakub Jelinek <jakub@redhat.com>
69
70 * ldexp.h (exp_data_seg): Add min_base and maxpagesize fields.
71 * ldexp.c (fold_binary) <case DATA_SEGMENT_ALIGN>: Initialize them.
72 * ldlang.c (lang_size_sections): Use them to avoid wasting virtual
73 address space at DATA_SEGMENT_ALIGN. Fix computation of expected
74 PT_GNU_RELRO segment end.
75
2fbd2a87
NC
762004-12-14 P.J. Darcy <darcypj@us.ibm.com>
77
78 * configure.tgt: Add s390x-ibm-tpf support.
79
f2763b01
NC
802004-12-16 Martin Kögler <mkoegler@auto.tuwien.ac.at>
81
82 * ldmisc.c (vfinfo): Handle the case where %B is passed a NULL
83 BFD.
84
cb9faf63
BE
852004-12-07 Ben Elliston <bje@gnu.org>
86
87 * ldemul.h: Forward declare struct option.
88
02f80eef
DS
892004-12-01 Danny Smith <dannysmith@users.sourceforge.net>
90
91 * scripttempl/pe.sc (.data): Add .jcr subsection.
92
dea514f5
PB
932004-11-30 Paul Brook <paul@codesourcery.com>
94
95 * emultempl/armelf.em: Ignore -p and -no-pipeline-knowledge.
96
32118081
NC
972004-11-30 Tero Niemela <tero_niemela@yahoo.com>
98
99 * Makefile.am: Change LOCALEDIR to $(datadir)/share.
100 * Makefile.in: Regenerate.
101
33f362e1
NC
1022004-11-26 Melissa Mears <asterisk@graces.dricas.com>
103
104 * emultempl/pe.em: Add --subsystem:xbox as well as
105 --subsystem:%d.
106 * ld.texinfo: (ld_options): Document acceptance of subsystem xbox
107 and numeric subsystems.
108
3eda52aa
AM
1092004-11-24 Alan Modra <amodra@bigpond.net.au>
110
111 * ldexp.c (fold_name): Correct PR 338 fix.
112
6b3221b4
MM
1132004-11-19 Mark Mitchell <mark@codesourcery.com>
114
115 * Makefile.am (ALL_EMULATIONS): Add earmelf_linux_eabi.o.
116 (earmelf_linux_eabi.c): New target.
117 * configure.tgt (arm*-*-linux-gnueabi): Handle it.
118 * emulparams/armelf_linux_eabi.sh: New file.
119 * Makefile.in: Regenerated.
120
9cd6d51a
NC
1212004-11-19 Nick Clifton <nickc@redhat.com>
122
123 PR 518
124 * ld.texinfo (MEMORY): Update the descriptions of the ORIGIN and
125 LENGTH fields in the MEMORY command, to explicitly state that
126 symbols cannot be used in their expressions.
127
3ec57632
NC
1282004-11-19 Jon Beniston <jon@beniston.com>
129
130 * ld/ldlex.l: Allow ORIGIN and LENGTH in EXPRESSION.
131 * ld/ldgram.y: Add ORIGIN and LENGTH expressions.
4c52953f 132 * ld/ldexp.c (fold_name): Implement LENGTH() and ORIGIN() functions
3ec57632
NC
133 which return the length and origin of a memory.
134 * ld/ld.texinfo: Document LENGTH() and ORIGIN() functions.
135 * NEWS: Mention support for ORIGIN and LENGTH operators.
136
b7693d02
DJ
1372004-11-17 Daniel Jacobowitz <dan@codesourcery.com>
138
139 * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Don't use
140 a dynamic object for stubs.
141
fc0e6df6
PB
1422004-11-04 Paul Brook <paul@codesourcery.com>
143
144 * ld.texinfo: Document --default-imported-symver.
145 * ldmain.c (main): Set link_info.default_imported_symver.
146 * lexsup.c (option_values): Add OPTION_DEFAULT_IMPORTED_SYMVER.
147 (ld_options): Add --default-imported-symver.
148 (parse_args): Handle OPTION_DEFAULT_IMPORTED_SYMVER.
149
7499d566
NC
1502004-11-08 Inderpreet Singh <inderpreetb@nioda.hcltech.com>
151 Vineet Sharma <vineets@noida.hcltech.com>
152
153 * Makefile.am: Add entries for new maxq-coff target.
154 * Makefile.in: Regenerate.
155 * configure.tgt: Add support for maxq.
156 * emulparams/maxqcoff.sh: New File.
157 * scripttempl/maxqcoff.sc: New linker script for target maxq.
158 * NEWS: Mention the new target.
159
977cdf5a
NC
1602004-11-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
161
162 * testsuite/ld-scripts/weak.exp: Enable test on PE,
163 XFAIL non-i386 PE.
164 * testsuite/ld-undefined/weak-undef.exp: Enable test on PE,
165 XFAIL non-i386 PE.
166 * testsuite/lib/ld-lib.exp (is_pecoff_format): New.
167
7f266840
DJ
1682004-11-04 Daniel Jacobowitz <dan@debian.org>
169
170 * Makefile.am (ALL_EMULATIONS): Remove earmelf_oabi.o.
171 (earmelf_oabi.c): Remove rule.
172 * configure.tgt: Remove arm-*-oabi and thumb-*-oabi.
173 * emulparams/armelf_oabi.sh, emultempl/armelf_oabi.em: Delete files.
174 * Makefile.in: Regenerated.
175
a0055007
HPN
1762004-11-04 Hans-Peter Nilsson <hp@axis.com>
177
178 * configure.tgt (crisv32-*-*): Handle like cris-*-* for non-aout.
179 * emulparams/criself.sh (INIT_START): Remove emitted "push srp".
180 (FINI_START): Ditto.
181 (INIT_END): Remove emitted "jump [sp+]".
182 (FINI_END): Ditto.
183
c5614fa4
AM
1842004-11-04 Alan Modra <amodra@bigpond.net.au>
185
186 * emultempl/ppc64elf.em (no_tls_opt): Rename from notlsopt.
187 (no_opd_opt, no_toc_opt): New static vars.
188 (ppc_before_allocation): Don't edit opt if no_opd_opt. Call
189 ppc64_elf_edit_toc.
190 (OPTION_NO_OPD_OPT, OPTION_NO_TOC_OPT): Define.
191 (PARSE_AND_LIST_LONGOPTS): Add no-opd-optimize and no-toc-optimize.
192 (PARSE_AND_LIST_OPTIONS): Describe new options.
193 (PARSE_AND_LIST_ARGS_CASES): Handle them.
194
7a5df8d0
NC
1952004-10-27 Nick Clifton <nickc@redhat.com>
196
197 * emultempl/alphaelf.em (alpha_after_parse): Add extra, NULL,
198 parameter to invocation of lang_section_start.
199 * emultempl/aix.em (_handle_option): Likewise.
c5614fa4 200
7a5df8d0
NC
201 * Makefile.am (eelf64alpha.c, eelf64alpha_fbsd.c,
202 eelf64alpha_nbsd.c): Add dependency upon emultempl/alphaelf.em.
203 * Makefile.in: Regenerate.
204
6f372e19
MM
2052004-10-26 Mark Mitchell <mark@codesourcery.com>
206
207 * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Do not emit
208 __exidx_{start,end} when not relocating.
209
ba916c8a
MM
2102004-10-25 Mark Mitchell <mark@codesourcery.com>
211
212 * Makefile.in (earmsymbian.c): Depend on armbpabi.sc, not elf.sc.
213 * ldexp.h (segment_type): New type.
214 (segments): New variable.
215 * ldexp.c (segments): New variable.
216 (exp_print_token): Handle SEGMENT_START.
217 (fold_binary): Likewise.
218 * ldgram.y (SEGMENT_START): Declare it as a token.
219 (exp): Handle SEGMENT_START.
220 * ldlang.h (lang_address_statement_type): Add segment field.
221 (lang_section_start): Change prototype.
222 * ldlang.c (map_input_to_output_sections): Do not process section
223 assignments if a corresponding SEGMENT_START has already been
224 seen.
225 (lang_section_start): Add segment parameter.
226 * ldlex.l (SEGMENT_START): Add it.
227 * lexsup.c (seg_segment_start): New function.
228 (parse_args): Use it for -Tbss, -Tdata, and -Ttext.
229 * ld.texinfo (SEGMENT_START): Document it.
230 * emulparams/armsymbian.sh (EMBEDDED): Set it.
231 * scripttempl/armbpabi.sc: Use SEGMENT_START to control segment
232 base addresses. Do not map relocations.
233 * NEWS: Mention SEGMENT_START.
234
3e3b46e5
PB
2352004-10-26 Paul Brook <paul@codesourcery.com>
236
237 * ld.texinfo: Document --default-symver.
238 * ldmain.c (main): Set link_info.create_default_symver.
239 * lexsup.c (enum option_values): Add OPTION_DEFAULT_SYMVER.
240 (ld_options): Add default-symver.
241 (parse_args): Handle OPTION_DEFAULT_SYMVER.
242
7b0eaa22
DS
2432004-10-24 Danny Smith <dannysmith@users.sourceforge.net>
244
245 * pe-dll.c (process_def_file): Don't export all symbols by default if
246 building a position-independent executable.
247
dfeffb9f
L
2482004-10-21 H.J. Lu <hongjiu.lu@intel.com>
249
250 PR 463
251 * ldmain.c (reloc_overflow): Accept a pointer to struct
252 bfd_link_hash_entry. Report symbol location for relocation
253 overflow.
254
dc4f76f8
L
2552004-10-21 H.J. Lu <hongjiu.lu@intel.com>
256
257 * genscripts.sh (libpath.exp): Really generate for first
258 emulation only.
259
2a08daf3
DS
2602004-10-19 Danny Smith <dannysmith@users.sourceforge.net>
261
262 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Simplify
263 comparison and replacement of filenames.
264
532345f2
L
2652004-10-19 H.J. Lu <hongjiu.lu@intel.com>
266
267 PR 459
268 * ldlang.c (load_symbols): Use the same -Bdynamic/-Bstatic
269 option on linker script as the one for linker script.
270
b58f81ae
DJ
2712004-10-16 Daniel Jacobowitz <dan@debian.org>
272
273 * ldlang.c (struct excluded_lib, excluded_libs, add_excluded_libs)
274 (check_excluded_libs): New.
275 (load_symbols): Call check_excluded_libs.
276 * ldlang.h (add_excluded_libs): New prototype.
277 * emultempl/elf32.em (OPTION_EXCLUDED_LIBS): Define.
278 (gld${EMULATION_NAME}_add_options): Add --exclude-libs.
279 (gld${EMULATION_NAME}_handle_option): Handle --exclude-libs.
280 * ld.texinfo (Command Line Variables): Document --exclude-libs.
281 (Options Specific to i386 PE Targets): Remove --exclude-libs.
282
95c148b4
AM
2832004-10-15 Alan Modra <amodra@bigpond.net.au>
284
c468c8bc
AM
285 * ldexp.c (exp_fold_tree): Don't immediately exit ld on a
286 failing link script assert.
287
95c148b4
AM
288 * ldctor.c (ldctor_add_set_entry): Fix comment typo.
289
951e9133
L
2902004-10-14 H.J. Lu <hongjiu.lu@intel.com>
291
292 PR 445
293 * emulparams/elf64_ia64.sh (SMALL_DATA_CTOR): Set.
294 (SMALL_DATA_DTOR): Set.
295 * emulparams/elf64_ia64_fbsd.sh (SMALL_DATA_CTOR): Unset.
296 (SMALL_DATA_DTOR): Unset.
297 * scripttempl/elf.sc: If SMALL_DATA_CTOR is set, move .ctors
298 after .data. If SMALL_DATA_DTOR is set, move .dtors after
299 .data.
300
afd7a018
AM
3012004-10-14 Alan Modra <amodra@bigpond.net.au>
302
303 PR 63
304 * ldlang.h (lang_output_section_statement_type): Make "next" a
305 struct lang_output_section_statement_struct *.
306 (struct orphan_save): Move from elf32.em. Add "name" and "flags".
307 (lang_output_section_find_by_flags, lang_insert_orphan): Declare.
308 * ldlang.c (lang_output_section_find_1): Adjust for changed
309 output_section_statement "next".
310 (strip_excluded_output_sections): Likewise.
311 (lang_record_phdrs): Likewise.
312 (lang_output_section_find_by_flags): New function.
313 (output_prev_sec_find): Move from pe.em. Adjust iterator.
314 (lang_insert_orphan): New function. Tail end of elf32.em's
315 place_orphan merged with that from pe.em. Allow bfd_section to
316 be placed first. New heuristic for placing new output section
317 statement in existing script, and accompanying split of __start
318 symbol alignment into a separate assignment to dot.
319 (lang_add_section): Consistently use output->bfd_section rather than
320 an alias, section->output_section.
321 (map_input_to_output_sections): Rename overly long arg. Move
322 initialization of data_statement output section to here..
323 (lang_check_section_addresses): ..from here.
324 (print_assignment): Correct printing of etree_assert.
325 (print_all_symbols): Don't bomb if userdata is NULL.
326 (IGNORE_SECTION): Rearrange.
327 * emultempl/elf32.em (output_rel_find): Adjust interator.
328 (output_prev_sec_find): Delete.
329 (struct orphan_save): Delete.
330 (gld${EMULATION_NAME}_place_orphan): Cater for zero bfd_section
331 flags without creating a duplicate output section statement.
332 Revise code holding history of various orphan section placements.
333 Allow orphan sections to place before script specified output
334 sections. Call lang_output_section_find_by_flags when placement
335 by name fails. Use lang_insert_orphan.
336 * emultempl/mmo.em (output_prev_sec_find): Delete.
337 (struct orphan_save): Delete.
338 (mmo_place_orphan): Revise code holding history of orphan placement.
339 Allow orphans to place before existing output sections. Use
340 lang_insert_orphan.
341 * emultempl/pe.em (output_prev_sec_find): Delete.
342 (struct orphan_save): Delete.
343 (gld_${EMULATION_NAME}_place_orphan): Revise to suit use of
344 lang_insert_orphan.
345
c0042f5d
MM
3462004-10-13 Mark Mitchell <mark@codesourcery.com>
347
348 * scripttempl/armbpabi.sc: Do not put .gnu.version.* into a
349 loadable segment.
350
1af699f4
AM
3512004-10-13 Alan Modra <amodra@bigpond.net.au>
352
353 PR 44
09c112da
AM
354 * ldcref.c (check_section_sym_xref): Delete.
355 (check_local_sym_xref): New function.
356 (check_nocrossrefs): Adjust call.
1af699f4
AM
357 * emultempl/pe.em (struct orphan_save): Add os_tail.
358 (place_orphan): Backport assorted fixes from elf32.em.
359
7fa3d080
BW
3602004-10-12 Bob Wilson <bob.wilson@acm.org>
361
362 * emultempl/xtensaelf.em: Use ISO C90 formatting.
363
d3989512
JJ
3642004-10-11 Jakub Jelinek <jakub@redhat.com>
365
563f4125
JJ
366 * emultempl/elf32.em (gld${EMULATION_NAME}_parse_ld_so_conf): Avoid
367 getline for portability.
368
d3989512
JJ
369 * emultempl/elf32.em (gld${EMULATION_NAME}_ld_so_conf): New structure.
370 (gld${EMULATION_NAME}_parse_ld_so_conf,
371 gld${EMULATION_NAME}_parse_ld_so_conf_include): New functions.
372 (gld${EMULATION_NAME}_check_ld_so_conf): Use them.
373
6c0c5b1e
AM
3742004-10-11 Alan Modra <amodra@bigpond.net.au>
375
376 PR 423
377 * ldfile.c (ldfile_try_open_bfd): Ensure dynamic objects are
378 rejected when linking statically.
379
d2b2c203
DJ
3802004-10-08 Daniel Jacobowitz <dan@debian.org>
381
382 * configure.tgt: Include elf_x86_64 for i[3-7]86-*-solaris2*.
383
43cd72b9
BW
3842004-10-07 Bob Wilson <bob.wilson@acm.org>
385
386 * ld.texinfo (Xtensa): Describe new linker relaxation to optimize
387 assembler-generated longcall sequences. Describe new --size-opt
388 option.
389 * emulparams/elf32xtensa.sh (OTHER_SECTIONS): Add .xt.prop section.
390 * emultempl/xtensaelf.em (remove_section,
391 replace_insn_sec_with_prop_sec, replace_instruction_table_sections,
392 elf_xtensa_after_open): New.
393 (OPTION_OPT_SIZEOPT, OPTION_LITERAL_MOVEMENT,
394 OPTION_NO_LITERAL_MOVEMENT): Define.
395 (elf32xtensa_size_opt, elf32xtensa_no_literal_movement): New globals.
396 (PARSE_AND_LIST_LONGOPTS): Add size-opt and [no-]literal-movement.
397 (PARSE_AND_LIST_OPTIONS): Add --size-opt.
398 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_OPT_SIZEOPT,
399 OPTION_LITERAL_MOVEMENT, and OPTION_NO_LITERAL_MOVEMENT.
400 (LDEMUL_AFTER_OPEN): Set to elf_xtensa_after_open.
401 * scripttempl/elfxtensa.sc: Update with changes from elf.sc.
402 * Makefile.am (eelf32xtensa.c): Update dependencies.
403 * Makefile.in: Regenerate.
404
8fdd7217 4052004-10-07 Jeff Baker <jbaker@qnx.com>
6c0c5b1e 406
8fdd7217
NC
407 * lexsup.c: Handle --warn-shared-textrel option.
408 (ld_options): Restore alpha sorting of options.
409 * ldmain.c (main): Initialise warn_shared_info field to FALSE.
410 * ld.texinfo: Add documentation for --warn-shared-textrel.
411 * NEWS: Added mention of --warn-shared-textrel option.
412
339207f8 4132004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
6c0c5b1e 414
339207f8 415 * emultempl/crxelf.em (disable_relaxation): Add.
6c0c5b1e 416 (crxelf_before_allocation): Enable --relax option by default.
339207f8
TL
417 (PARSE_AND_LIST_PROLOGUE): Add OPTION_NO_RELAX.
418 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --no-relax.
419 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NO_RELAX.
420
bcaa7b3e
L
4212004-10-04 H.J. Lu <hongjiu.lu@intel.com>
422
423 * NEWS: Mention SORT_BY_NAME, SORT_BY_ALIGNMENT and
424 --sort-section name|alignment.
425
426 * ld.texinfo: Document SORT_BY_NAME, SORT_BY_ALIGNMENT and
427 --sort-section name|alignment.
428
429 * ld.h (sort_type): New enum.
430 (wildcard_spec): Change the type of `sorted' to sort_type.
431
432 * ldgram.y (SORT): Removed.
433 (SORT_BY_NAME): Added.
434 (SORT_BY_ALIGNMENT): Added.
435 (wildcard_spec): Updated `sorted'. Handle SORT_BY_NAME and
436 SORT_BY_ALIGNMENT.
437 (input_section_spec_no_keep): Updated `sorted'.
438 (statement): Replace SORT with SORT_BY_NAME.
439
440 * ldlang.c (compare_section): New function to compare 2
441 sections with different sorting schemes.
442 (wild_sort): Updated. Use compare_section.
443 (update_wild_statements): New function.
444 (lang_process): Call update_wild_statements before
445 map_input_to_output_sections.
446
447 * ldlex.l (SORT_BY_NAME): New.
448 (SORT_BY_ALIGNMENT): New.
449 (SORT): Return SORT_BY_NAME.
450
451 * ldmain.c (sort_section): New. Defined.
452 (main): Initialize it to none.
453
454 * lexsup.c (option_values): Add OPTION_SORT_SECTION.
455 (ld_options): Add an entry for OPTION_SORT_SECTION.
456 (parse_args): Handle OPTION_SORT_SECTION.
457
458 * mri.c (mri_draw_tree): Updated `sorted'.
459
a4f5ad88
JJ
4602004-10-04 Jakub Jelinek <jakub@redhat.com>
461
462 * ldgram.y (DATA_SEGMENT_RELRO_END): Add one argument.
463 * scripttempl/elf.sc (DATA_SEGMENT_RELRO_END): Add 0 as first
464 argument.
465 (DATA_SEGMENT_RELRO_GOTPLT_END): Pass $SEPARATE_GOTPLT as first
466 and . as second argument.
467 (GOTPLT): Move $DATA_SEGMENT_RELRO_GOTPLT_END before the section.
468 * ldexp.c (fold_unary): Remove DATA_SEGMENT_RELRO_END handling here.
469 (fold_binary): Add it here. Insert padding to make relro_end
470 COMMONPAGESIZE bytes aligned. For DATA_SEGMENT_ALIGN in
471 exp_dataseg_relro_adjust phase just use previously computed
472 exp_data_seg.base.
473 * ldlang.c (lang_size_sections): Set exp_data_seg.base for
474 relro_adjust here. Call lang_size_sections_1 once more if there
475 was too big padding at DATA_SEGMENT_RELRO_END.
476 * ld.texinfo (DATA_SEGMENT_RELRO_END): Add documentation.
477
40a18ebd
NC
4782004-10-01 Paul Brook <paul@codesourcery.com>
479
480 * emulparams/armelf.sh: Add unwinding table sections.
481
db8acf26
NC
4822004-09-30 Filip Navara <navaraf@reactos.com>
483
484 * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Generate
485 correct base address for position independant executables.
486 * pe-dll.c (pe_dll_fill_sections): Don't mark position independant
487 executables as DLLs.
488
eeac373a
PB
4892004-09-30 Paul Brook <paul@codesourcery.com>
490
491 * ld.texinfo: Document --target2=abs.
492 * emulparms/armsymbian.sh (TARGET2_TYPE): Set.
493
1ee7cf4c
NC
4942004-09-29 Nick Clifton <nickc@redhat.com>
495
496 * scripttempl/xstormy16.sc: Only perform the assignments to the
497 ROM region when not performing a relocatable link. The ROM region
498 does not start at address 0, but the sections will.
499 * Makefile.am: Fix linker script dependency for the generation of
500 eelf32xstormy16.c.
501 * Makefile.in: Regenerate.
502
03098a9a
CF
5032004-09-18 Filip Navara <navaraf@reactos.com>
504
505 * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh,
506 emulparams/i386pe_posix.sh, emulparams/mcorepe.sh,
507 emulparams/mipspe.sh, emulparams/ppcpe.sh, scripttempl/pe.sc: Define
508 TARGET_PAGE_SIZE.
509 * scripttempl/pe.sc: Make the virtual address and file offset synced if
510 the alignment is lower than the target page size.
511
f2d3750d
CF
5122004-09-27 Filip Navara <navaraf@reactos.com>
513
514 * emultempl/pe.em (gld_${EMULATION_NAME}_unrecognized_file): Allow
515 def_file_parse to handle pe_def_file if NULL and prevent crash with
516 invalid .def files.
517
a23d8409
AM
5182004-09-27 Alan Modra <amodra@bigpond.net.au>
519
520 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Enable
521 --emit-stub-syms automatically when --emit-relocs.
522
7b89fa29
PB
5232004-09-24 Paul Brook <paul@codeosurcery.com>
524
525 * scripttempl/elf.sc: Keep .preinit_array, .init_array and
526 .fini_array sections.
527
e2a68bcc
AS
5282004-09-19 Andreas Schwab <schwab@suse.de>
529
530 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Adjust data segment
531 base so that relro end is suitably aligned.
532
3674e28a
PB
5332004-09-17 Paul Brook <paul@codesourcery.com>
534
535 * ld.texinfo: Rename arm-specific section. Document --target*
536 * emulparams/armelf_fbsd.sh: Set TARGET2_TYPE.
537 * emulparams/armelf_linux.sh: Ditto.
538 * emulparams/armelf_nbsd.sh: Ditto.
539 * emultempl/armelf.em: Set default for TARGET2_TYPE.
540 (target2_type): New variable.
541 (arm_elf_before_allocation): Don't pass target1_type.
542 (arm_elf_create_output_section_statements): New function.
543 (PARSE_AND_LIST_PROLOGUE): Add OPTION_TARGET2.
544 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --target=.
545 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_TARGET2.
546 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Set.
547 * emultempl/armelf_oabi.em (_before_allocation): Remove extra
548 argument to bfd_elf32_arm_process_before_allocation.
549
f6e332e6
AM
5502004-09-17 Alan Modra <amodra@bigpond.net.au>
551
552 * ldexp.c (fold_name): Update u.undef.next refs.
553 * emultempl/pe.em: Likewise.
554 * emultempl/sunos.em: Likewise.
555
9c933e04
AM
5562004-09-17 Alan Modra <amodra@bigpond.net.au>
557
558 * Makefile.am: Run "make dep-am".
559 * Makefile.in: Regenerate.
560 * config.in: Regenerate.
561 * configure: Regenerate.
562 * aclocal.m4: Regenerate.
563 * po/ld.pot: Regenerate.
564
1fa32646
TL
5652004-09-16 Tomer Levi <Tomer.Levi@nsc.com>
566
9c933e04
AM
567 * scripttempl/elf32crx.sc (.init): Add KEEP for section's *personality*.
568 (.fini): Likewise.
569 (.jcr): Likewise.
1fa32646 570
b6ee372a
AM
5712004-09-16 Alan Modra <amodra@bigpond.net.au>
572
573 * emultempl/armelf_oabi.em (before_allocation): Add extra zero param
574 to bfd_elf32_arm_process_before_allocation call.
575
9c504268
PB
5762004-09-13 Paul Brook <paul@codesourcery.com>
577
578 * emulparams/armsymbian.sh: Set TARGET1_IS_REL.
579 * emultempl/armelf.em: Use TARGET1_IS_REL. Add --target1-{rel,abs}.
580
d15b04bd
L
5812004-09-07 H.J. Lu <hongjiu.lu@intel.com>
582
583 * configure: Regenerated with autconfig 2.13.
584
875c4330
AS
5852004-09-07 Andreas Schwab <schwab@suse.de>
586
587 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Apply data segment
588 alignment before adjusting DATA_SEGMENT_RELRO_END.
589
229fcec5
MM
5902004-09-06 Mark Mitchell <mark@codesourcery.com>
591
592 * emulparams/armsymbian.sh: Use armbpabi script.
593 * scripttempl/armbpabi.sc: New script.
594
e5a52504
MM
5952004-09-02 Mark Mitchell <mark@codesourcery.com>
596
597 * Makefile.am (ALL_EMULATIONS): Add earmsymbian.o.
598 (earmsymbian.c): New target.
599 * configure.tgt: Use armsymbian emulation for arm*-*-symbianelf*.
600 * Makefile.in: Regenerated.
601 * aclocal.m4: Likewise.
602 * configure: Likewise.
603 * emulparams/armsymbian.sh: New file.
604
42851540
NC
6052004-09-03 Tomer Levi <Tomer.Levi@nsc.com>
606
607 * scripttempl/elf32crx.sc: Edit file with comments.
608 (.init): Add new section.
609 (.fini): Likewise.
610 (.ctor): Control the linkage order.
611 (.dtor): Likewise.
612
c034e3e0
NC
6132004-08-27 Nick Clifton <nickc@redhat.com>
614
615 * emultempl/pe.em (after_open): Do not assume that either bfd is
9c933e04 616 an archive.
c034e3e0 617
688c58f3
AM
6182004-08-26 Alan Modra <amodra@bigpond.net.au>
619
620 * ldlang.c (lang_init): Don't compare with TRUE.
621
b18c562e
NC
6222004-08-25 Dmitry Diky <diwil@spec.ru>
623
624 * emulparams/msp430all.sh: Fix RAM sizes for all targets.
625 * scripttempl/elf32msp430.sc: Add .profiler section definition.
626
61f5d054
L
6272004-08-24 H.J. Lu <hongjiu.lu@intel.com>
628
629 * ldlang.c (wildcardp): Defined as a macro with strpbrk.
630
e77d3d77
MM
6312004-08-19 Mark Mitchell <mark@codesourcery.com>
632
633 * configure.tgt (arm*-*-symbianelf*): New target.
634 (arm*-*-eabi*): Likewise.
635
3f764659
JJ
6362004-08-19 Jakub Jelinek <jakub@redhat.com>
637
638 * emultempl/ppc64elf.em (non_overlapping_opd): New variable.
639 (ppc_before_allocation): Pass it to ppc64_elf_edit_opd).
640 (OPTION_NON_OVERLAPPING_OPD): Define.
641 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Add
642 --non-overlapping-opd option.
643
a010d60f
AM
6442004-08-18 Alan Modra <amodra@bigpond.net.au>
645
646 PR 338
647 * ldexp.c (fold_name): Don't call bfd_link_add_undef if the symbol
648 was already on the undefs list.
649
c4e33880
AM
6502004-08-17 Alan Modra <amodra@bigpond.net.au>
651
652 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Dot
653 prefix the symbol field too.
654
d003868e
AM
6552004-08-13 Alan Modra <amodra@bigpond.net.au>
656
657 * ldmain.c (link_callbacks): Remove "error_handler".
658 * ldmisc.c: Include elf-bfd.h.
659 (vfinfo): Sort comment. Handle %A. Use %A instead of
660 bfd_get_section_indent.
661 (error_handler): Delete.
662 * ldmisc.h (error_handler): Delete declaration.
663
99877b66
AM
6642004-08-10 Alan Modra <amodra@bigpond.net.au>
665
666 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Call
667 ppc64_elf_restore_symbols.
668
40e45c8b
AM
6692004-08-09 Alan Modra <amodra@bigpond.net.au>
670
671 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Error if
672 .toc is too large on relocatable linking.
673
ccfa59ea
AM
6742004-08-09 Alan Modra <amodra@bigpond.net.au>
675
676 * emultempl/ppc64elf.em (ppc_after_open): Delete.
677 (LDEMUL_AFTER_OPEN): Don't define.
678
93fd0973
SC
6792004-08-02 Stephane Carrez <stcarrez@nerim.fr>
680
681 * ld.texinfo (Top): Document specific options of 68HC11 and 68HC12.
682
f1b123db
SC
6832004-08-01 Stephane Carrez <stcarrez@nerim.fr>
684
685 * scripttempl/elfm68hc12.sc: Align text, rodata and data section
686 on power of 2.
687
e7fbc2bf
JT
6882004-07-27 Jason Thorpe <thorpej@wasabisystems.com>
689
690 * emulparams/hppanbsd.sh (OUTPUT_FORMAT): Set to "elf32-hppa-netbsd".
691
c05e9f04
NC
6922004-07-26 Dmitry Diky <diwil@spec.ru>
693
694 * Makefile.am: Add new subtargets: msp430x1610, msp430x1611,
695 msp430x1612, msp430x415, msp430x417, msp430xG437, msp430xG438,
696 msp430xG439.
697 * configure.tgt: Likewise.
698 * emulparams/msp430all.sh: Likewise.
699 * Makefile.in: Regenerate.
700
9f61903d
NC
7012004-07-23 Nick Clifton <nickc@redhat.com>
702
703 * emultempl/elf32.em (_place_orphan): Use an already existing
704 section name if that section does not have any flags set.
705
082b7297
L
7062004-07-21 H.J. Lu <hongjiu.lu@intel.com>
707
708 * ldlang.c (already_linked_hash_entry): Removed.
709 (already_linked): Likewise.
710 (already_linked_table): Likewise.
711 (section_already_linked): Call bfd_section_already_linked.
712 (lang_process): Replace already_linked_table_init with
713 bfd_section_already_linked_table_init and check return. Replace
714 already_linked_table_free with bfd_section_already_linked_table_free.
715
76d7af2d
NC
7162004-07-21 Nick Clifton <nickc@redhat.com>
717
718 * ldlang.c (init_os): Make sure that the newly allocated userdata
719 structure is zeroed out.
720
14b3c463
L
7212004-07-19 H.J. Lu <hongjiu.lu@intel.com>
722
723 * NEWS: Mention the new --add-needed/--no-add-needed and
724 --as-needed/--no-as-needed options.
725
e56f61be
L
7262004-07-19 H.J. Lu <hongjiu.lu@intel.com>
727
728 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Also
729 check the add_needed field.
730 (dt_needed): New struct.
731 (gld${EMULATION_NAME}_try_needed): Change the first argument
732 to a pointer to struct dt_needed. Check the DYN_NO_ADD_NEEDED
733 bit in the file where the DT_NEEDED entry comes from.
734 (gld${EMULATION_NAME}_search_needed): Change the second
735 argument to a pointer to struct dt_needed.
736 (gld${EMULATION_NAME}_check_ld_so_conf): Updated.
737 (gld${EMULATION_NAME}_after_open): Likewise.
738
739 * ld.texinfo: Add --add-needed document.
740 * ldlang.c (new_afile): Set p->add_needed.
741 * ldlang.h (lang_input_statement_type): Add add_needed field.
742 * ldmain.h (add_needed): Declare.
743 * ldmain.c (add_needed): New global var.
744 * lexsup.c (option_values): Add OPTION_ADD_NEEDED and
745 OPTION_NO_ADD_NEEDED.
746 (ld_options): Likewise.
747 (parse_args): Handle them.
748
c99b8138
NC
7492004-07-13 Christof Petig <christof@petig-baender.de>
750
751 * emultempl/pe.em (make_import_fixup): Use bfd_get_32 to correct
752 for endian-ness of extracted addend.
753
13ed4151
NC
7542004-07-13 Danny Smith <dannysmith@usesr.sourceforge.net>
755
756 * pe-dll.c (auto_export): Filter on just the import prefix,
757 "_imp_", not "_imp__".
758
1a320fbb
NC
7592004-07-09 Nick Clifton <nickc@redhat.com>
760
761 * configure.tgt: Change sh-sybmian-elf to sh-*-symbianelf.
762
1fe1f39c
NC
7632004-07-06 Tomer Levi <Tomer.Levi@nsc.com>
764
765 * Makefile.am (ALL_EMULATIONS): Add eelf32crx.o.
766 (eelf32crx.c): New target.
767 * Makefile.in: Regenerate.
768 * configure.tgt: Handle crx-*-elf*.
769 * emulparams/elf32crx.sh: New file.
770 * emultempl/crxelf.em: New file.
771 * scripttempl/elf32crx.sc: New file.
772 * NEWS: Mention new target.
773
85fbca6a
NC
7742004-07-06 Nick Clifton <nickc@redhat.com>
775
776 * Makefile.am: Add eshlsymbian.c.
777 * Makefile.in: Regenerate.
778 * configure.tgt: Add sh*-symbian-elf target.
779 * emulparams/shlsymbian.sh: New file. Configure the
780 sh-symbian-elf linker scripts.
781 * scripttemp/elf32sh-symbian.sc: New file. Linker script
782 template for the sh-symbian-elf target.
783
b71a5181
DA
7842004-07-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
785
786 * emulparams/hppa64linux.sh: Define PLT_BEFORE_GOT.
787 * emulparams/hppalinux.sh: Likewise.
788 * scripttempl/elf.sc: Place .plt just before .got when .plt is in
789 data segment and PLT_BEFORE_GOT is defined.
790
c87db184
CF
7912004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
792
793 * ld.texinfo (WIN32): Document PE weak symbols.
794
f6a8ae81
KK
7952004-07-02 Kaz Kojima <kkojima@rr.iij4u.or.jp>
796
797 * emulparams/shlelf32_linux.sh (COMMONPAGESIZE): Set to 4KB.
798
b602c853
L
7992004-07-01 H.J. Lu <hongjiu.lu@intel.com>
800
801 * ldmisc.c (vfinfo): Call bfd_get_section_ident to identify
802 the section.
803
1a23a9e6
AM
8042004-06-29 Alan Modra <amodra@bigpond.net.au>
805
806 * ldlang.c (lang_reset_memory_regions): Save last relax pass section
807 size in rawsize.
808
eea6121a
AM
8092004-06-24 Alan Modra <amodra@bigpond.net.au>
810
811 * ldlang.c (print_output_section_statement): Don't print size before
812 relaxation.
813 (IGNORE_SECTION): Remove bfd arg. Update all callers.
814
815 * ldexp.c (fold_name): .. See below.
816 * ldlang.c (section_already_linked, print_output_section_statement,
817 print_input_section, insert_pad, size_input_section,
818 lang_check_section_addresses, lang_size_sections_1,
819 lang_size_sections, lang_do_assignments_1, lang_set_startof,
820 lang_one_common, lang_reset_memory_regions, lang_process,
821 lang_abs_symbol_at_end_of, lang_do_version_exports_section): ..
822 * ldwrite.c (build_link_order, clone_section, ds, split_sections): ..
823 * pe-dll.c (process_def_file, generate_reloc): ..
824 * emultempl/elf32.em (gld${EMULATION_NAME}_find_statement_assignment,
825 gld${EMULATION_NAME}_before_allocation): ..
826 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): ..
827 * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation,
828 sh64_elf_${EMULATION_NAME}_after_allocation): ..
829 * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): ..
830 * emultempl/xtensaelf.em (ld_assign_relative_paged_dot,
831 ld_local_file_relocations_fit, ld_xtensa_insert_page_offsets): Use
832 "size" instead of "_raw_size" and "_cooked_size". Expand
833 bfd_section_size macro invocations.
834
552f8272
CF
8352004-06-22 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
836
837 * ld/scripttemp/pe.sc (.CRT): Define ___crt_xc_start__,
838 ___crt_xc_end__, ___crt_xi_start__, ___crt_xi_end__, ___crt_xl_start__,
839 ___crt_xp_start__, ___crt_xp_end__, ___crt_xt_start__ and
840 ___crt_xt_end__.
841 (.tls): Define ___tls_start__ and ___tls_end__.
842
aee6f5b4
AO
8432004-06-21 Alexandre Oliva <aoliva@redhat.com>
844
845 * emulparams/elf32frvfd.sh (GENERATE_PIE_SCRIPT): Set to yes.
846
eea6121a 8472004-06-18 Adam Nemet <anemet@lnxw.com>
f234d5fe 848
eea6121a
AM
849 * configure.in: Set EXTRA_SHLIB_EXTENSION to .a for LynxOS.
850 * configure: Regenerate.
f234d5fe 851
dfff4fbe
JJ
8522004-06-15 Jakub Jelinek <jakub@redhat.com>
853
854 * scripttempl/elf.sc: Readd KEEP and .gcc_except_table.* to
855 .gcc_except_table output sections lost accidentally with
856 -z relro patch.
857
a9e0c0c6
AM
8582004-06-15 Alan Modra <amodra@bigpond.net.au>
859
860 * ldwrite.c (build_link_order): Use bfd_get_section_size
861 instead of bfd_get_section_size_before_reloc or _raw_size.
862 * pe-dll.c (process_def_file): Likewise.
863
7115639b
AM
8642004-06-14 Alan Modra <amodra@bigpond.net.au>
865
866 From Richard Wirth <r.wirth@wirthware.de>
867 * ldlang.c (lang_finish): Don't free lang_definedness_table.
868
9ca57817
AM
8692004-05-29 Alan Modra <amodra@bigpond.net.au>
870
871 * ldlang.c (gc_section_callback): Move SEC_EXCLUDE twiddles..
872 (lang_gc_sections): .. to a LANG_FOR_EACH_INPUT_STATEMENT loop here.
873
f6f9408f
JR
8742004-05-28 Andrew Stubbs <andrew.stubbs@superh.com>
875
876 * testsuite/ld-sh/arch/arch.exp: New test script.
877 * testsuite/ld-sh/arch/arch_expected.txt: New file.
878 * testsuite/ld-sh/arch/sh.s: New file.
879 * testsuite/ld-sh/arch/sh2.s: New file.
880 * testsuite/ld-sh/arch/sh-dsp.s: New file.
881 * testsuite/ld-sh/arch/sh2e.s: New file.
882 * testsuite/ld-sh/arch/sh3-nommu.s: New file.
883 * testsuite/ld-sh/arch/sh3.s: New file.
884 * testsuite/ld-sh/arch/sh3-dsp.s: New file.
885 * testsuite/ld-sh/arch/sh3e.s: New file.
886 * testsuite/ld-sh/arch/sh4-nommu-nofpu.s: New file.
887 * testsuite/ld-sh/arch/sh4-nofpu.s: New file.
888 * testsuite/ld-sh/arch/sh4.s: New file.
889 * testsuite/ld-sh/arch/sh4a-nofpu.s: New file.
890 * testsuite/ld-sh/arch/sh4al-dsp.s: New file.
891 * testsuite/ld-sh/arch/sh4a.s: New file.
892
164e712d
AM
8932004-05-28 Alan Modra <amodra@bigpond.net.au>
894
6feb9908
AM
895 * ldlang.c: Formatting. Wrap long lines, expand bfd_get_section_flags
896 throughout file.
897 * lexsup.c: Formatting. Wrap long lines.
898 * ldwrite.c: Update copyright date.
899
164e712d
AM
900 * ldlang.c (lang_add_section): Don't twidlle SEC_EXCLUDE here.
901 (output_section_callback): Nor SEC_KEEP here.
902 (gc_section_callback): Twiddle SEC_EXCLUDE here.
903 (lang_gc_wild): Delete. Fold into..
904 (lang_gc_sections_1): ..here. Only call bfd_gc_sections when garbage
905 collecting.
906 (lang_process): Always call lang_gc_sections.
907 (lang_place_orphans): Handle SEC_EXCLUDE sections.
908 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove
909 SEC_EXCLUDE code.
910
b3096250
L
9112004-05-26 H.J. Lu <hongjiu.lu@intel.com>
912
913 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Clear
914 SEC_EXCLUDE on non-SEC_DEBUGGING sections for relocatable link.
915 * ldlang.c (lang_add_section): Likewise.
916
e49f5022
AM
9172004-05-26 Alan Modra <amodra@bigpond.net.au>
918
919 * ldlang.c (lang_add_section): Set SEC_EXCLUDE for SEC_GROUP
920 sections when doing a final link. Clear SEC_EXCLUDE when doing
921 a relocable link, except for SEC_DEBUGGING sections.
922 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Use the
923 same condition here to drop SEC_EXCLUDE orphan sections.
924
57ceae94
AM
9252004-05-25 Alan Modra <amodra@bigpond.net.au>
926
927 * ldlang.c (lang_process): Call bfd_merge_sections later, and
928 only when not a relocatable link.
929 (print_input_section): Handle SEC_EXCLUDE sections.
930 (size_input_section): Don't update dot on SEC_EXCLUDE sections.
931 (lang_do_assignments_1): Likewise.
932 * ldwrite.c (build_link_order): Ignore SEC_EXCLUDE input sections.
933 * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise.
934 * emultempl/hppaelf.em (build_section_lists): Likewise.
935 * emultempl/ppc64elf.em (build_toc_list): Likewise.
936 (build_section_lists): Likewise.
937
a85785bc
AS
9382004-05-23 Andreas Schwab <schwab@suse.de>
939
940 * ld.texinfo (Options): Fix typo in last change.
941
2d643429
NC
9422004-05-21 Andy Chittenden <achittenden@bluearc.com>
943
944 * ld.h (ld_config_type): Add new field: hash_table_size.
945 * ldmain.c: Initialise the new field to zero. If it is non-zero
946 after parsing the linker's command line call
947 bfd_hash_set_default_size.
948 * lexsup.c (option_values): Add OPTION_HASH_SIZE.
949 (ld_options): Add hash-size.
950 (parse_args): Parse --hash-size option. Allow
951 --reduce-memory-overheads to set the default hash table size as
952 well.
953 * ld.texinfo: Document the new switch. Also mention that
954 --reduce-memory-overheads can affect the hash table size.
955 * NEWS: Mention the new feature.
956
35835446
JR
9572004-05-19 J"orn Rennecke <joern.rennecke@superh.com>
958
959 * NEWS: Mention new linker map file generation and the
960 --reduce-memory-overheads option.
961 * ld.texinfo: Document --reduce-memory-overheads option.
962 * ld.h (map_symbol_def): New struct.
963 (struct user_section_struct, section_userdata_type): Rename to:
964 (struct lean_user_section_struct, lean_section_userdata_type).
965 (struct fat_user_section_struct, fat_section_userdata_type): New.
966 (SECTION_USERDATA_SIZE): Define.
967 (args_type): New member reduce_memory_overheads.
968 * ldlang.c (map_obstack): New static variable.
969 (init_map_userdata, print_all_symbols, sort_def_symbol): New functions.
970 (lang_map): Unless command_line.reduce_memory_overheads is set,
971 initialize lists of defined symbols for each section.
972 (print_input_section): Unless command_line.reduce_memory_overheads
973 is set, use print_all_symbols.
974 (init_os): Use lean_section_userdata_type / SECTION_USERDATA_SIZE.
975 * ldmain.c (main): Initialize command_line.reduce_memory_overheads.
976 * lexsup.c (enum option_values): Add OPTION_REDUCE_MEMORY_OVERHEADS.
977 (ld_options): Add entry for --reduce-memory-overheads.
978 (parse_args): Handle OPTION_REDUCE_MEMORY_OVERHEADS.
979
0841712e
JJ
9802004-05-19 Jakub Jelinek <jakub@redhat.com>
981
982 * ldgram.y (sect_constraint): New.
983 (ONLY_IF_RO, ONLY_IF_RW): New tokens.
984 (section): Add sect_constraint. Pass additional argument
985 to lang_enter_output_section_statement.
986 * mri.c (mri_draw_tree): Pass additional argument to
987 lang_enter_output_section_statement.
988 * emultempl/pe.em (place_orphan): Likewise.
989 (output_prev_sec_find): Disregard output section statements with
990 constraint == -1.
991 * emultempl/mmo.em (output_prev_sec_find): Likewise.
992 (mmo_place_orphan): Pass additional argument to
993 lang_enter_output_section_statement.
994 * emultempl/elf32.em (output_prev_sec_find): Disregard output section
995 statements with constraint == -1.
996 (place_orphan): Pass additional argument to
997 lang_enter_output_section_statement.
998 * ldlang.c (lang_enter_overlay_section): Likewise.
999 (lang_output_section_find_1): New.
1000 (lang_output_section_find): Use it.
1001 (lang_output_section_statement_lookup_1): New.
1002 (lang_output_section_statement_lookup): Use it.
1003 (check_section_callback, check_input_sections): New.
1004 (map_input_to_output_sections): Check if all input sections
1005 are readonly if ONLY_IF_RO or ONLY_IF_RW was seen.
1006 (strip_excluded_output_sections): Disregard output section statements
1007 with constraint == -1.
1008 (lang_record_phdrs): Likewise.
1009 (lang_enter_output_section_statement): Add constraint argument.
1010 Use lang_output_section_statement_lookup_1.
1011 * ldlang.h (lang_output_section_statement_type): Add constraint
1012 and all_input_readonly fields.
1013 (lang_enter_output_section_statement): Adjust prototype.
1014 * ldlex.l (ONLY_IF_RO, ONLY_IF_RW): New tokens.
1015 * scripttempl/elf.sc (.eh_frame, .gcc_except_table): Move into text
1016 segment if all input sections are readonly.
1017
eea6121a 10182004-05-19 Adam Nemet <anemet@lnxw.com>
f2c50328
NC
1019
1020 * scripttempl/i386lynx.sc: Remove file.
1021
2a16d82a
BW
10222004-05-17 Bob Wilson <bob.wilson@acm.org>
1023
1024 * ld.texinfo (Output Section Address): Correct subsection name.
1025
eea6121a 10262004-05-17 Adam Nemet <anemet@lnxw.com>
b2d65c0b
NC
1027
1028 * configure.tgt (powerpc-*-lynxos* case): New case.
1029 * configure.host (i[3-7]86-*-lynxos* case): Remove case.
1030 * emulparams/ppclynx.sh: New file.
1031 * emulparams/i386lynx.sh (SCRIPT_NAME): Update to LynxOS 4.0.
1032 * Makefile.am (ALL_EMULATIONS): Add eppclynx.o
1033 (ei386lynx.c): Update rule to LynxOS 4.0 ELF.
1034 (eppclynx.c): New rule.
1035 * Makefile.in: Regenerate.
1036
4b363073
NC
10372004-05-13 Joel Sherrill <joel@oarcorp.com>
1038
1039 * configure.tgt (or32-*-rtems*): Switch to elf and
1040 support versioned targets.
1041
9598fbe5
NC
10422004-05-13 Nick Clifton <nickc@redhat.com>
1043
1044 * po/fr.po: Updated French translation.
1045
8c37241b
JJ
10462004-05-11 Jakub Jelinek <jakub@redhat.com>
1047
1048 * genscripts.sh: Generate -z combreloc -z now -z relro scripts
1049 for binaries, -shared and -pie.
1050 * emulparams/elf_i386.sh (SEPARATE_GOTPLT): Set.
1051 * emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Set.
1052 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Rename to...
1053 (OTHER_RELRO_SECTIONS): ... this.
1054 * ldlex.l (DATA_SEGMENT_RELRO_END): Add.
1055 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
1056 -z relro and -z norelro.
1057 (gld${EMULATION_NAME}_list_options): Add it to usage.
1058 (gld${EMULATION_NAME}_get_script): Return -z combreloc -z now
1059 -z relro scripts when appropriate.
1060 * scripttempl/elf.sc: Unset SEPARATE_GOTPLT if RELRO_NOW is set.
1061 Create separate .got.plt section if SEPARATE_GOTPLT.
1062 Move sections which are only written during relocation handling
1063 to the beginning of RW segment. If NO_SMALL_DATA, move .got
1064 before .data. Add DATA_SEGMENT_RELRO_END directive.
1065 Include OTHER_RELRO_SECTIONS.
1066 * ldgram.y (DATA_SEGMENT_RELRO_END): Add.
1067 * ldexp.c (exp_print_token): Handle DATA_SEGMENT_RELRO_END.
1068 (fold_unary): Likewise.
1069 (fold_binary): Handle -z relro.
1070 * ldexp.h (struct exp_data_seg): Add exp_dataseg_relro_seen and
1071 exp_dataseg_relro_adjust phases. Add relro_end field.
1072 * ldmain.c (main): Initialize link_info.relro to FALSE.
1073 * ldlang.c (lang_size_sections): Handle -z relro.
1074
e21059f2
MM
10752004-05-08 Marek Michalkiewicz <marekm@amelek.gda.pl>
1076
1077 * scripttempl/avr.sc: Do not set LMA for "eeprom" section.
1078
5f9b8920
JR
10792004-05-07 J"orn Rennecke <joern.rennecke@superh.com>
1080
1081 * ldlang.c (print_padding_statement): Cast size_t to bfd_vma
1082 before printing it with %W.
1083
26d2d8a2 10842004-05-07 Brian Ford <ford@vss.fsi.com>
eea6121a 1085 DJ Delorie <dj@redhat.com>
26d2d8a2
BF
1086
1087 * emultempl/pe.em (real_flags): New static.
1088 (OPTION_LARGE_ADDRESS_AWARE): New define.
1089 (gld${EMULATION_NAME}_add_options): Add --large-address-aware option.
1090 (gld_${EMULATION_NAME}_list_options): Likewise.
1091 (gld${EMULATION_NAME}_handle_option): Likewise.
1092 (gld_${EMULATION_NAME}_after_open): Pass real_flags to PE private data.
1093 * ld.texinfo: Document it.
1094 * NEWS: Mention it.
1095
1b169501
BF
10962004-05-07 Brian Ford <ford@vss.fsi.com>
1097
1098 * NEWS: Mention DWARF 2 support for i386pe.
1099
41cf0c62
AO
11002004-05-05 Alexandre Oliva <aoliva@redhat.com>
1101
1102 * emulparams/elf32frvfd.sh (OUTPUT_FORMAT): Switch to new
1103 elf32-frvfdpic.
1104
d0d6a25b
AM
11052004-04-30 Alan Modra <amodra@bigpond.net.au>
1106
1107 * ldlang.c (unique_section_p): Pass section parm, return true on
1108 group sections.
1109 (output_section_callback): Adjust.
1110 * ldlang.h (unique_section_p): Update prototype.
1111 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust.
1112
755306be
EB
11132004-04-30 Eric Botcazou <ebotcazou@act-europe.fr>
1114
eea6121a 1115 * ld.texinfo (--gc-sections): Remove restriction for
755306be
EB
1116 dynamic linking.
1117
8a7140c3
NC
11182004-04-29 Brian Ford <ford@vss.fsi.com>
1119
1120 * scripttempl/pe.sc: Handle .debug* and .gnu.linkonce.wi.* sections
1121 for DWARF 2/3. Update stab section's syntax.
1122
2f9636ba
AM
11232004-04-29 Alan Modra <amodra@bigpond.net.au>
1124
1125 * pe-dll.c: Revert changes accidentally committed 2004-03-08.
1126 (fill_edata): Correct pointer arithmetic.
1127
23867d67
CD
11282004-04-21 Chris Demetriou <cgd@broadcom.com>
1129
1130 * ld.texinfo: Remove MIPS --embedded-relocs documentation.
1131 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Remove definition.
1132 * emulparams/mipsidt.sh (TEMPLATE_NAME): Use generic.em.
1133 (EXTRA_EM_FILE): Use mipsecoff.em
1134 * emulparams/mipsidtl.sh (TEMPLATE_NAME): Use generic.em.
1135 (EXTRA_EM_FILE): Use mipsecoff.em
1136 * emultempl/mipsecoff.em: Restructure to be included as an
1137 extra emulation file.
1138 (check_sections, gld${EMULATION_NAME}_after_open)
1139 (gld${EMULATION_NAME}_after_allocation)
1140 (gld${EMULATION_NAME}_get_script)
1141 (ld_${EMULATION_NAME}_emulation): Remove
1142 (gld${EMULATION_NAME}_before_parse): Rename to...
1143 (mipsecoff_before_parse): This.
1144 (LDEMUL_BEFORE_PARSE): Define.
1145 * emultempl/mipself.em: Remove file.
1146 * scripttempl/mips.sc (.rel.sdata): Do not include in output.
1147 (__runtime_reloc_start, __runtime_reloc_stop): Stop providing
1148 these symbols.
1149 * Makefile.am: Remove dependencies on emultempl/mipself.em.
1150 * Makefile.in: Regenerate.
1151
1502569c
NC
11522004-04-21 Anil Paranjpe <anilp1@kpitcummins.com>
1153
1154 * ld.texinfo (synthesizing on H8/300): Information about linker
1155 relaxation support for bit manipulation instructions and system
1156 control instructions is added.
1157
c894ddfb
HPN
11582004-04-21 Hans-Peter Nilsson <hp@axis.com>
1159
1160 * NEWS: Mention change in DEFINED semantics.
1161
a85bf78e
EB
11622004-04-21 Eric Botcazou <ebotcazou@act-europe.fr>
1163
1164 * scripttempl/elf.sc (.text): Add KEEP for .text.*personality*.
1165 (.data): Add KEEP for .gnu.linkonce.d.*personality*.
1166 (.gcc_except_table): Add KEEP for self and accept .gcc_except_table.*.
1167
58434bc1
BE
11682004-04-21 Ben Elliston <bje@au.ibm.com>
1169
1170 * ld.texinfo (Simple Example): Add missing punctuation.
1171
7a7f4e42
CD
11722004-04-20 Chris Demetriou <cgd@broadcom.com>
1173
1174 * NEWS: Note that MIPS --embedded-relocs option is deprecated.
1175
3737f867
JJ
11762004-04-19 Jakub Jelinek <jakub@redhat.com>
1177
1178 * ldlang.c (lang_do_assignments_1): Handle .tbss output section
1179 specially.
1180
3c17e4f7
DS
11812004-04-18 Danny Smith <dannysmith@users.sourceforge.net>
1182
1183 * scriptempl/pe.sc: Put numbered .ctors.* after .ctors
1184 with default priority. Likewise for dtors.
1185
279500de
TS
11862004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1187
1188 * configure.host: Remove mips*-dec-bsd* target.
1189 * configure.tgt: Likewise.
1190
52f89c0a
RS
11912004-04-08 Richard Sandiford <rsandifo@redhat.com>
1192
1193 * emulparams/elf32bsmip.sh (EXTRA_EM_FILE): Define to irix.
1194 * emulparams/elf64bmip.sh (EXTRA_EM_FILE): Likewise.
1195 * emulparams/elf32bmipn32.sh (EXTRA_EM_FILE): Likewise.
1196 * emultempl/irix.em: New file.
1197 * Makefile.am (eelf32bsmip.c, eelf32bmipn32.c, eelf64bmip.c): Update
1198 dependencies.
1199 * Makefile.in: Regenerate.
1200
e489d0ae
PB
12012004-04-01 Paul Brook <paul@codesourcery.com>
1202
1203 * emultempl/armelf.em (byteswap_code): Add.
1204 (arm_elf_before_allocation): Pass extra parameter.
1205 (PARSE_AND_LIST_PROLOGUE): Add OPTION_BE8.
1206 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add be8.
1207 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_BE8.
1208 * emultempl/armelf_oabi.em: Pass extra parameter.
1209 * ld.texinfo: Document --be8.
1210
7cc8057a
SS
12112004-03-30 Stan Shebs <shebs@apple.com>
1212
1213 Remove long-obsolete MPW support.
1214 * mpw-config.in, mpw-make.sed, mac-ld.r: Remove files.
1215 * Makefile.am (mpw): Remove file-presynthesizing actions.
1216 * Makefile.in: Likewise.
1217 * ldfile.c (slash): Remove MPW case.
1218 * ldlex.l [MPW]: Remove unused definition.
1219
0949843d
NC
12202004-03-30 Galit Heller <Galit.Heller@nsc.com>
1221
1222 * Makefile.am (ALL_EMULATIONS): Add eelf32cr16c.o.
1223 (eelf32cr16c.c): New target.
1224 * Makefile.in: Regenerate.
1225 * configure.tgt: Handle cr16c-*-elf*.
1226 * emulparams/elf32cr16c.sh: New file.
1227 * scripttempl/elfcr16c.sc: Likewise
1228 * NEWS: Mention support for new target.
1229
0a159ef8
NC
12302004-03-30 Nick Clifton <nickc@redhat.com>
1231
1232 * po/sv.po: Updated Swedish translation.
1233
7a945db6
AM
12342004-03-27 Alan Modra <amodra@bigpond.net.au>
1235
1236 * emultempl/elf32.em: Update new bfd_elf_discard_info name.
1237 * emultempl/hppaelf.em: Likewise.
1238 * emultempl/ppc64elf.em: Likewise.
1239 * emultempl/sh64elf.em: Likewise.
1240
5a580b3a
AM
12412004-03-25 Alan Modra <amodra@bigpond.net.au>
1242
1243 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update
1244 size_dynamic_sections call.
1245
b9cf773d
AM
12462004-03-23 Alan Modra <amodra@bigpond.net.au>
1247
1248 PR 51.
1249 * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set
1250 link_info.wrap_char.
1251
59c2e50f
L
12522004-03-20 H.J. Lu <hongjiu.lu@intel.com>
1253
1254 * lexsup.c (parse_args): Don't set unresolved_syms_in_objects
1255 or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic.
1256
44349745
AO
12572004-03-20 Alexandre Oliva <aoliva@redhat.com>
1258
1259 * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb.
1260
81359a70
AM
12612004-03-19 Alan Modra <amodra@bigpond.net.au>
1262
1263 * config.in: Regenerate.
1264 * po/ld.pot: Regenerate.
1265
4a43e768
AM
12662004-03-18 Alan Modra <amodra@bigpond.net.au>
1267
1268 * ld.texinfo: Add --as-needed doco.
1269 * ldmain.c (as_needed): New global var.
1270 * ldmain.h (as_needed): Declare.
1271 * lexsup.c (option_values): Add OPTION_AS_NEEDED and
1272 OPTION_NO_AS_NEEDED.
1273 (ld_options): Likewise.
1274 (parse_args): Handle them.
1275 * ldlang.h (lang_input_statement_type): Add as_needed field.
1276 * ldlang.c (new_afile): Set p->as_needed.
1277 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function.
1278 (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class.
1279 (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry.
1280
1281 * ldlang.c (open_input_bfds): Remove useless cast.
1282 (lang_do_assignments_1): Likewise.
1283 (lang_for_each_input_section): Delete.
1284
9183ed4b
AM
12852004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1286
1287 * configure.tgt: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
1288
ee31fbd0
NC
12892004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
1290
1291 * pe-dll.c (pe_dll_generate_implib): Skip sections marked as
1292 private when building implib.
1293
e5caec89
NS
12942004-03-05 Nathan Sidwell <nathan@codesourcery.com>
1295
1296 * ldlang.c (lang_add_section): Don't force SEC_LOAD on
1297 SEC_THREAD_LOCAL.
1298 (IGNORE_SECTION): Ignore .tbss sections too.
1299 (lang_size_sections_1): .tbss sections do not advance dot.
1300
cc2f008e
AS
13012004-03-01 Andreas Schwab <schwab@suse.de>
1302
1303 * ld.texinfo (Options): Fix example for --wrap.
1304
f5a95868
DS
13052004-02-25 Danny Smith <dannysmith@users.sourceforge.net>
1306
1307 * pe-dll.c (fill_edata): Check that exported_symbol_sections is
1308 not NULL.
1309
177b729b
ILT
13102004-02-23 Ian Lance Taylor <ian@wasabisystems.com>
1311
1312 * ldlang.c (lang_check): Use %P, not %E, in error message.
1313
1b493742
NS
13142004-02-23 Nathan Sidwell <nathan@codesourcery.com>
1315
1316 * ldlang.h (struct lang_output_section_state): Change processed
1317 field's type.
1318 * ldexp.c (check, invalid): Remove.
1319 (fold_name): Move valid_p assignments. Create undefined symbol
1320 when needed. Directly exampine section's processd flag.
1321 * ldlang.c (lang_output_section_statement_lookup): Adjust
1322 processed field init.
1323 (lang_size_sections_1): Allow LOADADDR when determining section's
1324 VMA. Adjust error message. Fold data statement's expr.
1325 (lang_size_sections): Correctly increment lang_statement_iteration.
1326
13272004-02-23 Alan Modra <amodra@bigpond.net.au>
1328
1329 * ldexp.c (fold_tree): Follow indirect symbols.
b9cf773d 1330
876f4090
NS
13312004-02-20 Nathan Sidwell <nathan@codesourcery.com>
1332
1333 * ldgram.y (exp): Add two operand ALIGN.
1334 * ldexp.c (fold_binary): Add ALIGN_K case.
1335 * ld.texinfo (ALIGN): Document two operand version.
1336
384d938f
NS
13372004-02-19 Nathan Sidwell <nathan@codesourcery.com>
1338
1339 * ldlang.c (map_input_to_output_sections): Initialize sections
1340 mentioned in a data statement expression.
1341 (lang_do_assignments_1): Add data statement's expression's
1342 section's vma.
1343
b6ca8815
NS
13442004-02-18 Nathan Sidwell <nathan@codesourcery.com>
1345
1346 * ldgram.y (statement_anywhere): Add assert rule.
1347 * ldlang.c (exp_init_os): Add assert case.
1348
c92c35e7
AC
13492004-02-14 Andrew Cagney <cagney@redhat.com>
1350
1351 * ldmain.c (remove_output): Call bfd_cache_close.
1352
9bf78c99
RS
13532004-02-14 Richard Sandiford <rsandifo@redhat.com>
1354
1355 * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard
1356 .MIPS.content* and .MIPS.events* sections.
1357
f3806916
DJ
13582004-02-09 Daniel Jacobowitz <drow@mvista.com>
1359
1360 * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move
1361 .note.gnu.arm.ident to after allocated sections. Mark its
1362 address as 0.
1363
4c8e70d7
DJ
13642004-02-09 Daniel Jacobowitz <drow@mvista.com>
1365
1366 * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB.
1367 * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise.
1368 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise.
1369 * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise.
1370 * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise.
1371
ff71f4f7
NC
13722004-02-05 Nick Clifton <nickc@redhat.com>
1373
1374 * emultempl/pe.em (_after_open): Fix typo in previous delta.
1375
07a68a80
NC
13762004-02-04 Danny Smith <dannysmith@users.sourceforge.net>
1377
1378 * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch.
1379
1dd3bf68
AM
13802004-01-28 Alan Modra <amodra@bigpond.net.au>
1381
586196d5
AM
1382 * genscripts.sh: Fix typo.
1383
1dd3bf68
AM
1384 * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.
1385
13d9421f
JJ
13862004-01-24 Jakub Jelinek <jakub@redhat.com>
1387
1388 * emulparams/elf64_ia64.sh: Put .rela.opd into
1389 OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS.
1390
4d8907ac
DS
13912004-01-20 Danny Smith <dannysmith@users.sourceforge.net>
1392
1393 * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.
1394 * ld.texinfo (--omagic): Note that writable text section
1395 does not conform to published PE-COFF specs.
1396 (--enable-auto-import): Likewise.
1397
e5c60db5
AM
13982004-01-15 Alan Modra <amodra@bigpond.net.au>
1399
1400 * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define.
1401
6bdafbeb
NC
14022004-01-13 Nick Clifton <nickc@redhat.com>
1403
1404 * ldlang.c (lang_get_regions): Add extra parameter 'have_vma'
1405 which if true will prevent the LMA region being used as a
1406 replacement for a default VMA region.
586196d5
AM
1407 (lang_leave_output_section_statement): Pass extra parameter.
1408 (lang_leave_overlay): Likewise.
1409 * ld.texinfo (Output Section LMA): Document that the LMA
6bdafbeb
NC
1410 region can be set to the VMA region if no VMA has been set.
1411 * ldlang.h (struct lang_output_section_phdr_list): Create a
1412 typedef for this type. Minor formatting fixes.
586196d5 1413
9dfc8ab2
NC
14142004-01-13 Nick Clifton <nickc@redhat.com>
1415
1416 * ldlang.c (lang_size_sections_1): If dot is advanced, then
1417 assume that the section should be allocated.
1418
8325c4dd
AM
14192004-01-13 Alan Modra <amodra@bigpond.net.au>
1420
1421 * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD
1422 sections. Do ignore SEC_NEVER_LOAD sections.
1423 (lang_size_sections_1): Remove test made redundant with the above.
1424
83490352
AM
14252004-01-09 Alan Modra <amodra@bigpond.net.au>
1426
1427 * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached
1428 program_header_size.
1429
005e1118
AO
14302004-01-06 Alexandre Oliva <aoliva@redhat.com>
1431
1432 2003-11-28 Alexandre Oliva <aoliva@redhat.com>
1433 * emulparams/elf32frvfd.sh (EMBEDDED): Clear.
1434 2003-11-05 Alexandre Oliva <aoliva@redhat.com>
1435 * emulparams/elf32frvfd.sh (STACK_ADDR): Unset.
1436 (MAXPAGESIZE): Set to 64Kb.
1437 (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and
1438 __ROFIXUP_END__. Don't map .rofixup.got any more.
1439 * emulparams/elf32frv.sh (NOP): Set.
1440 2003-10-31 Alexandre Oliva <aoliva@redhat.com>
1441 * configure.tgt: Add frv-*-*linux*.
1442 2003-09-30 Alexandre Oliva <aoliva@redhat.com>
1443 * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o.
1444 (eelf32frvfd.c): New.
1445 * configure.tgt <frv-*-*>: Added it to targ_extra_emuls.
1446 * emulparams/elf32frv.sh: Reverted previous two patches.
1447 * emulparams/elf32frvfd.sh: New.
1448 * Makefile.in: Rebuilt.
1449 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
1450 * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added
1451 .rofixup.got to .rofixup.
1452 2003-09-15 Alexandre Oliva <aoliva@redhat.com>
1453 * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B.
1454 (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set.
1455
060feee5
JJ
14562004-01-05 Jakub Jelinek <jakub@redhat.com>
1457
1458 * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes.
1459 * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes.
1460
5e2f1575
AM
14612004-01-03 Alan Modra <amodra@bigpond.net.au>
1462
e5caa5e0
AM
1463 * ldexp.c (align_n): Make static.
1464 * ldexp.h (align_n): Delete declaration.
1465 * ldlang.h (lang_enter_output_section_statement): Remove
1466 block_value param.
1467 * ldlang.c (lang_enter_output_section_statement): Likewise.
1468 (TO_ADDR, TO_SIZE): Define.
c2df3ea5 1469 (opb_shift): New var.
e5caa5e0
AM
1470 (init_opb): New function.
1471 (print_input_section): Call init_opb and use TO_ADDR.
1472 (print_data_statement, print_reloc_statement): Likewise.
1473 (print_padding_statement): Likewise.
c2df3ea5 1474 (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift.
e5caa5e0
AM
1475 (lang_check_section_addresses): Likewise.
1476 (lang_size_sections_1): Likewise.
1477 (lang_do_assignments_1): Likewise.
1478 (lang_set_startof): Likewise.
c2df3ea5 1479 (lang_one_common): Likewise. Combine power_of_two and opb_shift align.
e5caa5e0 1480 (lang_process): Call init_opb.
c2df3ea5 1481 (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift.
e5caa5e0
AM
1482 (lang_enter_overlay_section): Adjust
1483 lang_enter_output_section_statement call.
1484 * ldgram.y: Likewise.
1485 * mri.c (mri_draw_tree): Likewise.
1486 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise.
1487 * emultempl/mmo.em (mmo_place_orphan): Likewise.
1488 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise.
1489
5e2f1575
AM
1490 * ldfile.c (ldfile_set_output_arch): Add defarch param.
1491 * ldfile.h (ldfile_set_output_arch): Ditto.
1492 * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use
1493 ldfile_set_output_arch.
1494 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto.
1495 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto.
1496 * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto.
1497 * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
1498 * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto.
1499 * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto.
1500 * ldgram.y: Adjust ldfile_set_output_arch call.
1501 * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
1502 * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto.
1503 * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto.
1504 * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto.
1505 * emultempl/gld960c.em (gld960_set_output_arch): Ditto.
1506 * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
1507 * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
1508
b50c15dc
NC
15092004-01-02 Bernardo Innocenti <bernie@develer.com>
1510
1511 * configure.tgt: Add m68k-uClinux target.
6edf0760 1512
c9e214e5 1513For older changes see ChangeLog-0203
252b5132
RH
1514\f
1515Local Variables:
1516mode: change-log
1517left-margin: 8
1518fill-column: 74
1519version-control: never
1520End:
This page took 0.3529 seconds and 4 git commands to generate.