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