* ldgram.y (DATA_SEGMENT_RELRO_END): Add one argument.
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
a4f5ad88
JJ
12004-10-04 Jakub Jelinek <jakub@redhat.com>
2
3 * ldgram.y (DATA_SEGMENT_RELRO_END): Add one argument.
4 * scripttempl/elf.sc (DATA_SEGMENT_RELRO_END): Add 0 as first
5 argument.
6 (DATA_SEGMENT_RELRO_GOTPLT_END): Pass $SEPARATE_GOTPLT as first
7 and . as second argument.
8 (GOTPLT): Move $DATA_SEGMENT_RELRO_GOTPLT_END before the section.
9 * ldexp.c (fold_unary): Remove DATA_SEGMENT_RELRO_END handling here.
10 (fold_binary): Add it here. Insert padding to make relro_end
11 COMMONPAGESIZE bytes aligned. For DATA_SEGMENT_ALIGN in
12 exp_dataseg_relro_adjust phase just use previously computed
13 exp_data_seg.base.
14 * ldlang.c (lang_size_sections): Set exp_data_seg.base for
15 relro_adjust here. Call lang_size_sections_1 once more if there
16 was too big padding at DATA_SEGMENT_RELRO_END.
17 * ld.texinfo (DATA_SEGMENT_RELRO_END): Add documentation.
18
40a18ebd
NC
192004-10-01 Paul Brook <paul@codesourcery.com>
20
21 * emulparams/armelf.sh: Add unwinding table sections.
22
db8acf26
NC
232004-09-30 Filip Navara <navaraf@reactos.com>
24
25 * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Generate
26 correct base address for position independant executables.
27 * pe-dll.c (pe_dll_fill_sections): Don't mark position independant
28 executables as DLLs.
29
eeac373a
PB
302004-09-30 Paul Brook <paul@codesourcery.com>
31
32 * ld.texinfo: Document --target2=abs.
33 * emulparms/armsymbian.sh (TARGET2_TYPE): Set.
34
1ee7cf4c
NC
352004-09-29 Nick Clifton <nickc@redhat.com>
36
37 * scripttempl/xstormy16.sc: Only perform the assignments to the
38 ROM region when not performing a relocatable link. The ROM region
39 does not start at address 0, but the sections will.
40 * Makefile.am: Fix linker script dependency for the generation of
41 eelf32xstormy16.c.
42 * Makefile.in: Regenerate.
43
03098a9a
CF
442004-09-18 Filip Navara <navaraf@reactos.com>
45
46 * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh,
47 emulparams/i386pe_posix.sh, emulparams/mcorepe.sh,
48 emulparams/mipspe.sh, emulparams/ppcpe.sh, scripttempl/pe.sc: Define
49 TARGET_PAGE_SIZE.
50 * scripttempl/pe.sc: Make the virtual address and file offset synced if
51 the alignment is lower than the target page size.
52
f2d3750d
CF
532004-09-27 Filip Navara <navaraf@reactos.com>
54
55 * emultempl/pe.em (gld_${EMULATION_NAME}_unrecognized_file): Allow
56 def_file_parse to handle pe_def_file if NULL and prevent crash with
57 invalid .def files.
58
a23d8409
AM
592004-09-27 Alan Modra <amodra@bigpond.net.au>
60
61 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Enable
62 --emit-stub-syms automatically when --emit-relocs.
63
7b89fa29
PB
642004-09-24 Paul Brook <paul@codeosurcery.com>
65
66 * scripttempl/elf.sc: Keep .preinit_array, .init_array and
67 .fini_array sections.
68
e2a68bcc
AS
692004-09-19 Andreas Schwab <schwab@suse.de>
70
71 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Adjust data segment
72 base so that relro end is suitably aligned.
73
3674e28a
PB
742004-09-17 Paul Brook <paul@codesourcery.com>
75
76 * ld.texinfo: Rename arm-specific section. Document --target*
77 * emulparams/armelf_fbsd.sh: Set TARGET2_TYPE.
78 * emulparams/armelf_linux.sh: Ditto.
79 * emulparams/armelf_nbsd.sh: Ditto.
80 * emultempl/armelf.em: Set default for TARGET2_TYPE.
81 (target2_type): New variable.
82 (arm_elf_before_allocation): Don't pass target1_type.
83 (arm_elf_create_output_section_statements): New function.
84 (PARSE_AND_LIST_PROLOGUE): Add OPTION_TARGET2.
85 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --target=.
86 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_TARGET2.
87 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Set.
88 * emultempl/armelf_oabi.em (_before_allocation): Remove extra
89 argument to bfd_elf32_arm_process_before_allocation.
90
f6e332e6
AM
912004-09-17 Alan Modra <amodra@bigpond.net.au>
92
93 * ldexp.c (fold_name): Update u.undef.next refs.
94 * emultempl/pe.em: Likewise.
95 * emultempl/sunos.em: Likewise.
96
9c933e04
AM
972004-09-17 Alan Modra <amodra@bigpond.net.au>
98
99 * Makefile.am: Run "make dep-am".
100 * Makefile.in: Regenerate.
101 * config.in: Regenerate.
102 * configure: Regenerate.
103 * aclocal.m4: Regenerate.
104 * po/ld.pot: Regenerate.
105
1fa32646
TL
1062004-09-16 Tomer Levi <Tomer.Levi@nsc.com>
107
9c933e04
AM
108 * scripttempl/elf32crx.sc (.init): Add KEEP for section's *personality*.
109 (.fini): Likewise.
110 (.jcr): Likewise.
1fa32646 111
b6ee372a
AM
1122004-09-16 Alan Modra <amodra@bigpond.net.au>
113
114 * emultempl/armelf_oabi.em (before_allocation): Add extra zero param
115 to bfd_elf32_arm_process_before_allocation call.
116
9c504268
PB
1172004-09-13 Paul Brook <paul@codesourcery.com>
118
119 * emulparams/armsymbian.sh: Set TARGET1_IS_REL.
120 * emultempl/armelf.em: Use TARGET1_IS_REL. Add --target1-{rel,abs}.
121
d15b04bd
L
1222004-09-07 H.J. Lu <hongjiu.lu@intel.com>
123
124 * configure: Regenerated with autconfig 2.13.
125
875c4330
AS
1262004-09-07 Andreas Schwab <schwab@suse.de>
127
128 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Apply data segment
129 alignment before adjusting DATA_SEGMENT_RELRO_END.
130
229fcec5
MM
1312004-09-06 Mark Mitchell <mark@codesourcery.com>
132
133 * emulparams/armsymbian.sh: Use armbpabi script.
134 * scripttempl/armbpabi.sc: New script.
135
e5a52504
MM
1362004-09-02 Mark Mitchell <mark@codesourcery.com>
137
138 * Makefile.am (ALL_EMULATIONS): Add earmsymbian.o.
139 (earmsymbian.c): New target.
140 * configure.tgt: Use armsymbian emulation for arm*-*-symbianelf*.
141 * Makefile.in: Regenerated.
142 * aclocal.m4: Likewise.
143 * configure: Likewise.
144 * emulparams/armsymbian.sh: New file.
145
42851540
NC
1462004-09-03 Tomer Levi <Tomer.Levi@nsc.com>
147
148 * scripttempl/elf32crx.sc: Edit file with comments.
149 (.init): Add new section.
150 (.fini): Likewise.
151 (.ctor): Control the linkage order.
152 (.dtor): Likewise.
153
c034e3e0
NC
1542004-08-27 Nick Clifton <nickc@redhat.com>
155
156 * emultempl/pe.em (after_open): Do not assume that either bfd is
9c933e04 157 an archive.
c034e3e0 158
688c58f3
AM
1592004-08-26 Alan Modra <amodra@bigpond.net.au>
160
161 * ldlang.c (lang_init): Don't compare with TRUE.
162
b18c562e
NC
1632004-08-25 Dmitry Diky <diwil@spec.ru>
164
165 * emulparams/msp430all.sh: Fix RAM sizes for all targets.
166 * scripttempl/elf32msp430.sc: Add .profiler section definition.
167
61f5d054
L
1682004-08-24 H.J. Lu <hongjiu.lu@intel.com>
169
170 * ldlang.c (wildcardp): Defined as a macro with strpbrk.
171
e77d3d77
MM
1722004-08-19 Mark Mitchell <mark@codesourcery.com>
173
174 * configure.tgt (arm*-*-symbianelf*): New target.
175 (arm*-*-eabi*): Likewise.
176
3f764659
JJ
1772004-08-19 Jakub Jelinek <jakub@redhat.com>
178
179 * emultempl/ppc64elf.em (non_overlapping_opd): New variable.
180 (ppc_before_allocation): Pass it to ppc64_elf_edit_opd).
181 (OPTION_NON_OVERLAPPING_OPD): Define.
182 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Add
183 --non-overlapping-opd option.
184
a010d60f
AM
1852004-08-18 Alan Modra <amodra@bigpond.net.au>
186
187 PR 338
188 * ldexp.c (fold_name): Don't call bfd_link_add_undef if the symbol
189 was already on the undefs list.
190
c4e33880
AM
1912004-08-17 Alan Modra <amodra@bigpond.net.au>
192
193 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Dot
194 prefix the symbol field too.
195
d003868e
AM
1962004-08-13 Alan Modra <amodra@bigpond.net.au>
197
198 * ldmain.c (link_callbacks): Remove "error_handler".
199 * ldmisc.c: Include elf-bfd.h.
200 (vfinfo): Sort comment. Handle %A. Use %A instead of
201 bfd_get_section_indent.
202 (error_handler): Delete.
203 * ldmisc.h (error_handler): Delete declaration.
204
99877b66
AM
2052004-08-10 Alan Modra <amodra@bigpond.net.au>
206
207 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Call
208 ppc64_elf_restore_symbols.
209
40e45c8b
AM
2102004-08-09 Alan Modra <amodra@bigpond.net.au>
211
212 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Error if
213 .toc is too large on relocatable linking.
214
ccfa59ea
AM
2152004-08-09 Alan Modra <amodra@bigpond.net.au>
216
217 * emultempl/ppc64elf.em (ppc_after_open): Delete.
218 (LDEMUL_AFTER_OPEN): Don't define.
219
93fd0973
SC
2202004-08-02 Stephane Carrez <stcarrez@nerim.fr>
221
222 * ld.texinfo (Top): Document specific options of 68HC11 and 68HC12.
223
f1b123db
SC
2242004-08-01 Stephane Carrez <stcarrez@nerim.fr>
225
226 * scripttempl/elfm68hc12.sc: Align text, rodata and data section
227 on power of 2.
228
e7fbc2bf
JT
2292004-07-27 Jason Thorpe <thorpej@wasabisystems.com>
230
231 * emulparams/hppanbsd.sh (OUTPUT_FORMAT): Set to "elf32-hppa-netbsd".
232
c05e9f04
NC
2332004-07-26 Dmitry Diky <diwil@spec.ru>
234
235 * Makefile.am: Add new subtargets: msp430x1610, msp430x1611,
236 msp430x1612, msp430x415, msp430x417, msp430xG437, msp430xG438,
237 msp430xG439.
238 * configure.tgt: Likewise.
239 * emulparams/msp430all.sh: Likewise.
240 * Makefile.in: Regenerate.
241
9f61903d
NC
2422004-07-23 Nick Clifton <nickc@redhat.com>
243
244 * emultempl/elf32.em (_place_orphan): Use an already existing
245 section name if that section does not have any flags set.
246
082b7297
L
2472004-07-21 H.J. Lu <hongjiu.lu@intel.com>
248
249 * ldlang.c (already_linked_hash_entry): Removed.
250 (already_linked): Likewise.
251 (already_linked_table): Likewise.
252 (section_already_linked): Call bfd_section_already_linked.
253 (lang_process): Replace already_linked_table_init with
254 bfd_section_already_linked_table_init and check return. Replace
255 already_linked_table_free with bfd_section_already_linked_table_free.
256
76d7af2d
NC
2572004-07-21 Nick Clifton <nickc@redhat.com>
258
259 * ldlang.c (init_os): Make sure that the newly allocated userdata
260 structure is zeroed out.
261
14b3c463
L
2622004-07-19 H.J. Lu <hongjiu.lu@intel.com>
263
264 * NEWS: Mention the new --add-needed/--no-add-needed and
265 --as-needed/--no-as-needed options.
266
e56f61be
L
2672004-07-19 H.J. Lu <hongjiu.lu@intel.com>
268
269 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Also
270 check the add_needed field.
271 (dt_needed): New struct.
272 (gld${EMULATION_NAME}_try_needed): Change the first argument
273 to a pointer to struct dt_needed. Check the DYN_NO_ADD_NEEDED
274 bit in the file where the DT_NEEDED entry comes from.
275 (gld${EMULATION_NAME}_search_needed): Change the second
276 argument to a pointer to struct dt_needed.
277 (gld${EMULATION_NAME}_check_ld_so_conf): Updated.
278 (gld${EMULATION_NAME}_after_open): Likewise.
279
280 * ld.texinfo: Add --add-needed document.
281 * ldlang.c (new_afile): Set p->add_needed.
282 * ldlang.h (lang_input_statement_type): Add add_needed field.
283 * ldmain.h (add_needed): Declare.
284 * ldmain.c (add_needed): New global var.
285 * lexsup.c (option_values): Add OPTION_ADD_NEEDED and
286 OPTION_NO_ADD_NEEDED.
287 (ld_options): Likewise.
288 (parse_args): Handle them.
289
c99b8138
NC
2902004-07-13 Christof Petig <christof@petig-baender.de>
291
292 * emultempl/pe.em (make_import_fixup): Use bfd_get_32 to correct
293 for endian-ness of extracted addend.
294
13ed4151
NC
2952004-07-13 Danny Smith <dannysmith@usesr.sourceforge.net>
296
297 * pe-dll.c (auto_export): Filter on just the import prefix,
298 "_imp_", not "_imp__".
299
1a320fbb
NC
3002004-07-09 Nick Clifton <nickc@redhat.com>
301
302 * configure.tgt: Change sh-sybmian-elf to sh-*-symbianelf.
303
1fe1f39c
NC
3042004-07-06 Tomer Levi <Tomer.Levi@nsc.com>
305
306 * Makefile.am (ALL_EMULATIONS): Add eelf32crx.o.
307 (eelf32crx.c): New target.
308 * Makefile.in: Regenerate.
309 * configure.tgt: Handle crx-*-elf*.
310 * emulparams/elf32crx.sh: New file.
311 * emultempl/crxelf.em: New file.
312 * scripttempl/elf32crx.sc: New file.
313 * NEWS: Mention new target.
314
85fbca6a
NC
3152004-07-06 Nick Clifton <nickc@redhat.com>
316
317 * Makefile.am: Add eshlsymbian.c.
318 * Makefile.in: Regenerate.
319 * configure.tgt: Add sh*-symbian-elf target.
320 * emulparams/shlsymbian.sh: New file. Configure the
321 sh-symbian-elf linker scripts.
322 * scripttemp/elf32sh-symbian.sc: New file. Linker script
323 template for the sh-symbian-elf target.
324
b71a5181
DA
3252004-07-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
326
327 * emulparams/hppa64linux.sh: Define PLT_BEFORE_GOT.
328 * emulparams/hppalinux.sh: Likewise.
329 * scripttempl/elf.sc: Place .plt just before .got when .plt is in
330 data segment and PLT_BEFORE_GOT is defined.
331
c87db184
CF
3322004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
333
334 * ld.texinfo (WIN32): Document PE weak symbols.
335
f6a8ae81
KK
3362004-07-02 Kaz Kojima <kkojima@rr.iij4u.or.jp>
337
338 * emulparams/shlelf32_linux.sh (COMMONPAGESIZE): Set to 4KB.
339
b602c853
L
3402004-07-01 H.J. Lu <hongjiu.lu@intel.com>
341
342 * ldmisc.c (vfinfo): Call bfd_get_section_ident to identify
343 the section.
344
1a23a9e6
AM
3452004-06-29 Alan Modra <amodra@bigpond.net.au>
346
347 * ldlang.c (lang_reset_memory_regions): Save last relax pass section
348 size in rawsize.
349
eea6121a
AM
3502004-06-24 Alan Modra <amodra@bigpond.net.au>
351
352 * ldlang.c (print_output_section_statement): Don't print size before
353 relaxation.
354 (IGNORE_SECTION): Remove bfd arg. Update all callers.
355
356 * ldexp.c (fold_name): .. See below.
357 * ldlang.c (section_already_linked, print_output_section_statement,
358 print_input_section, insert_pad, size_input_section,
359 lang_check_section_addresses, lang_size_sections_1,
360 lang_size_sections, lang_do_assignments_1, lang_set_startof,
361 lang_one_common, lang_reset_memory_regions, lang_process,
362 lang_abs_symbol_at_end_of, lang_do_version_exports_section): ..
363 * ldwrite.c (build_link_order, clone_section, ds, split_sections): ..
364 * pe-dll.c (process_def_file, generate_reloc): ..
365 * emultempl/elf32.em (gld${EMULATION_NAME}_find_statement_assignment,
366 gld${EMULATION_NAME}_before_allocation): ..
367 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): ..
368 * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation,
369 sh64_elf_${EMULATION_NAME}_after_allocation): ..
370 * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): ..
371 * emultempl/xtensaelf.em (ld_assign_relative_paged_dot,
372 ld_local_file_relocations_fit, ld_xtensa_insert_page_offsets): Use
373 "size" instead of "_raw_size" and "_cooked_size". Expand
374 bfd_section_size macro invocations.
375
552f8272
CF
3762004-06-22 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
377
378 * ld/scripttemp/pe.sc (.CRT): Define ___crt_xc_start__,
379 ___crt_xc_end__, ___crt_xi_start__, ___crt_xi_end__, ___crt_xl_start__,
380 ___crt_xp_start__, ___crt_xp_end__, ___crt_xt_start__ and
381 ___crt_xt_end__.
382 (.tls): Define ___tls_start__ and ___tls_end__.
383
aee6f5b4
AO
3842004-06-21 Alexandre Oliva <aoliva@redhat.com>
385
386 * emulparams/elf32frvfd.sh (GENERATE_PIE_SCRIPT): Set to yes.
387
eea6121a 3882004-06-18 Adam Nemet <anemet@lnxw.com>
f234d5fe 389
eea6121a
AM
390 * configure.in: Set EXTRA_SHLIB_EXTENSION to .a for LynxOS.
391 * configure: Regenerate.
f234d5fe 392
dfff4fbe
JJ
3932004-06-15 Jakub Jelinek <jakub@redhat.com>
394
395 * scripttempl/elf.sc: Readd KEEP and .gcc_except_table.* to
396 .gcc_except_table output sections lost accidentally with
397 -z relro patch.
398
a9e0c0c6
AM
3992004-06-15 Alan Modra <amodra@bigpond.net.au>
400
401 * ldwrite.c (build_link_order): Use bfd_get_section_size
402 instead of bfd_get_section_size_before_reloc or _raw_size.
403 * pe-dll.c (process_def_file): Likewise.
404
7115639b
AM
4052004-06-14 Alan Modra <amodra@bigpond.net.au>
406
407 From Richard Wirth <r.wirth@wirthware.de>
408 * ldlang.c (lang_finish): Don't free lang_definedness_table.
409
9ca57817
AM
4102004-05-29 Alan Modra <amodra@bigpond.net.au>
411
412 * ldlang.c (gc_section_callback): Move SEC_EXCLUDE twiddles..
413 (lang_gc_sections): .. to a LANG_FOR_EACH_INPUT_STATEMENT loop here.
414
f6f9408f
JR
4152004-05-28 Andrew Stubbs <andrew.stubbs@superh.com>
416
417 * testsuite/ld-sh/arch/arch.exp: New test script.
418 * testsuite/ld-sh/arch/arch_expected.txt: New file.
419 * testsuite/ld-sh/arch/sh.s: New file.
420 * testsuite/ld-sh/arch/sh2.s: New file.
421 * testsuite/ld-sh/arch/sh-dsp.s: New file.
422 * testsuite/ld-sh/arch/sh2e.s: New file.
423 * testsuite/ld-sh/arch/sh3-nommu.s: New file.
424 * testsuite/ld-sh/arch/sh3.s: New file.
425 * testsuite/ld-sh/arch/sh3-dsp.s: New file.
426 * testsuite/ld-sh/arch/sh3e.s: New file.
427 * testsuite/ld-sh/arch/sh4-nommu-nofpu.s: New file.
428 * testsuite/ld-sh/arch/sh4-nofpu.s: New file.
429 * testsuite/ld-sh/arch/sh4.s: New file.
430 * testsuite/ld-sh/arch/sh4a-nofpu.s: New file.
431 * testsuite/ld-sh/arch/sh4al-dsp.s: New file.
432 * testsuite/ld-sh/arch/sh4a.s: New file.
433
164e712d
AM
4342004-05-28 Alan Modra <amodra@bigpond.net.au>
435
6feb9908
AM
436 * ldlang.c: Formatting. Wrap long lines, expand bfd_get_section_flags
437 throughout file.
438 * lexsup.c: Formatting. Wrap long lines.
439 * ldwrite.c: Update copyright date.
440
164e712d
AM
441 * ldlang.c (lang_add_section): Don't twidlle SEC_EXCLUDE here.
442 (output_section_callback): Nor SEC_KEEP here.
443 (gc_section_callback): Twiddle SEC_EXCLUDE here.
444 (lang_gc_wild): Delete. Fold into..
445 (lang_gc_sections_1): ..here. Only call bfd_gc_sections when garbage
446 collecting.
447 (lang_process): Always call lang_gc_sections.
448 (lang_place_orphans): Handle SEC_EXCLUDE sections.
449 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove
450 SEC_EXCLUDE code.
451
b3096250
L
4522004-05-26 H.J. Lu <hongjiu.lu@intel.com>
453
454 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Clear
455 SEC_EXCLUDE on non-SEC_DEBUGGING sections for relocatable link.
456 * ldlang.c (lang_add_section): Likewise.
457
e49f5022
AM
4582004-05-26 Alan Modra <amodra@bigpond.net.au>
459
460 * ldlang.c (lang_add_section): Set SEC_EXCLUDE for SEC_GROUP
461 sections when doing a final link. Clear SEC_EXCLUDE when doing
462 a relocable link, except for SEC_DEBUGGING sections.
463 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Use the
464 same condition here to drop SEC_EXCLUDE orphan sections.
465
57ceae94
AM
4662004-05-25 Alan Modra <amodra@bigpond.net.au>
467
468 * ldlang.c (lang_process): Call bfd_merge_sections later, and
469 only when not a relocatable link.
470 (print_input_section): Handle SEC_EXCLUDE sections.
471 (size_input_section): Don't update dot on SEC_EXCLUDE sections.
472 (lang_do_assignments_1): Likewise.
473 * ldwrite.c (build_link_order): Ignore SEC_EXCLUDE input sections.
474 * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise.
475 * emultempl/hppaelf.em (build_section_lists): Likewise.
476 * emultempl/ppc64elf.em (build_toc_list): Likewise.
477 (build_section_lists): Likewise.
478
a85785bc
AS
4792004-05-23 Andreas Schwab <schwab@suse.de>
480
481 * ld.texinfo (Options): Fix typo in last change.
482
2d643429
NC
4832004-05-21 Andy Chittenden <achittenden@bluearc.com>
484
485 * ld.h (ld_config_type): Add new field: hash_table_size.
486 * ldmain.c: Initialise the new field to zero. If it is non-zero
487 after parsing the linker's command line call
488 bfd_hash_set_default_size.
489 * lexsup.c (option_values): Add OPTION_HASH_SIZE.
490 (ld_options): Add hash-size.
491 (parse_args): Parse --hash-size option. Allow
492 --reduce-memory-overheads to set the default hash table size as
493 well.
494 * ld.texinfo: Document the new switch. Also mention that
495 --reduce-memory-overheads can affect the hash table size.
496 * NEWS: Mention the new feature.
497
35835446
JR
4982004-05-19 J"orn Rennecke <joern.rennecke@superh.com>
499
500 * NEWS: Mention new linker map file generation and the
501 --reduce-memory-overheads option.
502 * ld.texinfo: Document --reduce-memory-overheads option.
503 * ld.h (map_symbol_def): New struct.
504 (struct user_section_struct, section_userdata_type): Rename to:
505 (struct lean_user_section_struct, lean_section_userdata_type).
506 (struct fat_user_section_struct, fat_section_userdata_type): New.
507 (SECTION_USERDATA_SIZE): Define.
508 (args_type): New member reduce_memory_overheads.
509 * ldlang.c (map_obstack): New static variable.
510 (init_map_userdata, print_all_symbols, sort_def_symbol): New functions.
511 (lang_map): Unless command_line.reduce_memory_overheads is set,
512 initialize lists of defined symbols for each section.
513 (print_input_section): Unless command_line.reduce_memory_overheads
514 is set, use print_all_symbols.
515 (init_os): Use lean_section_userdata_type / SECTION_USERDATA_SIZE.
516 * ldmain.c (main): Initialize command_line.reduce_memory_overheads.
517 * lexsup.c (enum option_values): Add OPTION_REDUCE_MEMORY_OVERHEADS.
518 (ld_options): Add entry for --reduce-memory-overheads.
519 (parse_args): Handle OPTION_REDUCE_MEMORY_OVERHEADS.
520
0841712e
JJ
5212004-05-19 Jakub Jelinek <jakub@redhat.com>
522
523 * ldgram.y (sect_constraint): New.
524 (ONLY_IF_RO, ONLY_IF_RW): New tokens.
525 (section): Add sect_constraint. Pass additional argument
526 to lang_enter_output_section_statement.
527 * mri.c (mri_draw_tree): Pass additional argument to
528 lang_enter_output_section_statement.
529 * emultempl/pe.em (place_orphan): Likewise.
530 (output_prev_sec_find): Disregard output section statements with
531 constraint == -1.
532 * emultempl/mmo.em (output_prev_sec_find): Likewise.
533 (mmo_place_orphan): Pass additional argument to
534 lang_enter_output_section_statement.
535 * emultempl/elf32.em (output_prev_sec_find): Disregard output section
536 statements with constraint == -1.
537 (place_orphan): Pass additional argument to
538 lang_enter_output_section_statement.
539 * ldlang.c (lang_enter_overlay_section): Likewise.
540 (lang_output_section_find_1): New.
541 (lang_output_section_find): Use it.
542 (lang_output_section_statement_lookup_1): New.
543 (lang_output_section_statement_lookup): Use it.
544 (check_section_callback, check_input_sections): New.
545 (map_input_to_output_sections): Check if all input sections
546 are readonly if ONLY_IF_RO or ONLY_IF_RW was seen.
547 (strip_excluded_output_sections): Disregard output section statements
548 with constraint == -1.
549 (lang_record_phdrs): Likewise.
550 (lang_enter_output_section_statement): Add constraint argument.
551 Use lang_output_section_statement_lookup_1.
552 * ldlang.h (lang_output_section_statement_type): Add constraint
553 and all_input_readonly fields.
554 (lang_enter_output_section_statement): Adjust prototype.
555 * ldlex.l (ONLY_IF_RO, ONLY_IF_RW): New tokens.
556 * scripttempl/elf.sc (.eh_frame, .gcc_except_table): Move into text
557 segment if all input sections are readonly.
558
eea6121a 5592004-05-19 Adam Nemet <anemet@lnxw.com>
f2c50328
NC
560
561 * scripttempl/i386lynx.sc: Remove file.
562
2a16d82a
BW
5632004-05-17 Bob Wilson <bob.wilson@acm.org>
564
565 * ld.texinfo (Output Section Address): Correct subsection name.
566
eea6121a 5672004-05-17 Adam Nemet <anemet@lnxw.com>
b2d65c0b
NC
568
569 * configure.tgt (powerpc-*-lynxos* case): New case.
570 * configure.host (i[3-7]86-*-lynxos* case): Remove case.
571 * emulparams/ppclynx.sh: New file.
572 * emulparams/i386lynx.sh (SCRIPT_NAME): Update to LynxOS 4.0.
573 * Makefile.am (ALL_EMULATIONS): Add eppclynx.o
574 (ei386lynx.c): Update rule to LynxOS 4.0 ELF.
575 (eppclynx.c): New rule.
576 * Makefile.in: Regenerate.
577
4b363073
NC
5782004-05-13 Joel Sherrill <joel@oarcorp.com>
579
580 * configure.tgt (or32-*-rtems*): Switch to elf and
581 support versioned targets.
582
9598fbe5
NC
5832004-05-13 Nick Clifton <nickc@redhat.com>
584
585 * po/fr.po: Updated French translation.
586
8c37241b
JJ
5872004-05-11 Jakub Jelinek <jakub@redhat.com>
588
589 * genscripts.sh: Generate -z combreloc -z now -z relro scripts
590 for binaries, -shared and -pie.
591 * emulparams/elf_i386.sh (SEPARATE_GOTPLT): Set.
592 * emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Set.
593 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Rename to...
594 (OTHER_RELRO_SECTIONS): ... this.
595 * ldlex.l (DATA_SEGMENT_RELRO_END): Add.
596 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
597 -z relro and -z norelro.
598 (gld${EMULATION_NAME}_list_options): Add it to usage.
599 (gld${EMULATION_NAME}_get_script): Return -z combreloc -z now
600 -z relro scripts when appropriate.
601 * scripttempl/elf.sc: Unset SEPARATE_GOTPLT if RELRO_NOW is set.
602 Create separate .got.plt section if SEPARATE_GOTPLT.
603 Move sections which are only written during relocation handling
604 to the beginning of RW segment. If NO_SMALL_DATA, move .got
605 before .data. Add DATA_SEGMENT_RELRO_END directive.
606 Include OTHER_RELRO_SECTIONS.
607 * ldgram.y (DATA_SEGMENT_RELRO_END): Add.
608 * ldexp.c (exp_print_token): Handle DATA_SEGMENT_RELRO_END.
609 (fold_unary): Likewise.
610 (fold_binary): Handle -z relro.
611 * ldexp.h (struct exp_data_seg): Add exp_dataseg_relro_seen and
612 exp_dataseg_relro_adjust phases. Add relro_end field.
613 * ldmain.c (main): Initialize link_info.relro to FALSE.
614 * ldlang.c (lang_size_sections): Handle -z relro.
615
e21059f2
MM
6162004-05-08 Marek Michalkiewicz <marekm@amelek.gda.pl>
617
618 * scripttempl/avr.sc: Do not set LMA for "eeprom" section.
619
5f9b8920
JR
6202004-05-07 J"orn Rennecke <joern.rennecke@superh.com>
621
622 * ldlang.c (print_padding_statement): Cast size_t to bfd_vma
623 before printing it with %W.
624
26d2d8a2 6252004-05-07 Brian Ford <ford@vss.fsi.com>
eea6121a 626 DJ Delorie <dj@redhat.com>
26d2d8a2
BF
627
628 * emultempl/pe.em (real_flags): New static.
629 (OPTION_LARGE_ADDRESS_AWARE): New define.
630 (gld${EMULATION_NAME}_add_options): Add --large-address-aware option.
631 (gld_${EMULATION_NAME}_list_options): Likewise.
632 (gld${EMULATION_NAME}_handle_option): Likewise.
633 (gld_${EMULATION_NAME}_after_open): Pass real_flags to PE private data.
634 * ld.texinfo: Document it.
635 * NEWS: Mention it.
636
1b169501
BF
6372004-05-07 Brian Ford <ford@vss.fsi.com>
638
639 * NEWS: Mention DWARF 2 support for i386pe.
640
41cf0c62
AO
6412004-05-05 Alexandre Oliva <aoliva@redhat.com>
642
643 * emulparams/elf32frvfd.sh (OUTPUT_FORMAT): Switch to new
644 elf32-frvfdpic.
645
d0d6a25b
AM
6462004-04-30 Alan Modra <amodra@bigpond.net.au>
647
648 * ldlang.c (unique_section_p): Pass section parm, return true on
649 group sections.
650 (output_section_callback): Adjust.
651 * ldlang.h (unique_section_p): Update prototype.
652 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust.
653
755306be
EB
6542004-04-30 Eric Botcazou <ebotcazou@act-europe.fr>
655
eea6121a 656 * ld.texinfo (--gc-sections): Remove restriction for
755306be
EB
657 dynamic linking.
658
8a7140c3
NC
6592004-04-29 Brian Ford <ford@vss.fsi.com>
660
661 * scripttempl/pe.sc: Handle .debug* and .gnu.linkonce.wi.* sections
662 for DWARF 2/3. Update stab section's syntax.
663
2f9636ba
AM
6642004-04-29 Alan Modra <amodra@bigpond.net.au>
665
666 * pe-dll.c: Revert changes accidentally committed 2004-03-08.
667 (fill_edata): Correct pointer arithmetic.
668
23867d67
CD
6692004-04-21 Chris Demetriou <cgd@broadcom.com>
670
671 * ld.texinfo: Remove MIPS --embedded-relocs documentation.
672 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Remove definition.
673 * emulparams/mipsidt.sh (TEMPLATE_NAME): Use generic.em.
674 (EXTRA_EM_FILE): Use mipsecoff.em
675 * emulparams/mipsidtl.sh (TEMPLATE_NAME): Use generic.em.
676 (EXTRA_EM_FILE): Use mipsecoff.em
677 * emultempl/mipsecoff.em: Restructure to be included as an
678 extra emulation file.
679 (check_sections, gld${EMULATION_NAME}_after_open)
680 (gld${EMULATION_NAME}_after_allocation)
681 (gld${EMULATION_NAME}_get_script)
682 (ld_${EMULATION_NAME}_emulation): Remove
683 (gld${EMULATION_NAME}_before_parse): Rename to...
684 (mipsecoff_before_parse): This.
685 (LDEMUL_BEFORE_PARSE): Define.
686 * emultempl/mipself.em: Remove file.
687 * scripttempl/mips.sc (.rel.sdata): Do not include in output.
688 (__runtime_reloc_start, __runtime_reloc_stop): Stop providing
689 these symbols.
690 * Makefile.am: Remove dependencies on emultempl/mipself.em.
691 * Makefile.in: Regenerate.
692
1502569c
NC
6932004-04-21 Anil Paranjpe <anilp1@kpitcummins.com>
694
695 * ld.texinfo (synthesizing on H8/300): Information about linker
696 relaxation support for bit manipulation instructions and system
697 control instructions is added.
698
c894ddfb
HPN
6992004-04-21 Hans-Peter Nilsson <hp@axis.com>
700
701 * NEWS: Mention change in DEFINED semantics.
702
a85bf78e
EB
7032004-04-21 Eric Botcazou <ebotcazou@act-europe.fr>
704
705 * scripttempl/elf.sc (.text): Add KEEP for .text.*personality*.
706 (.data): Add KEEP for .gnu.linkonce.d.*personality*.
707 (.gcc_except_table): Add KEEP for self and accept .gcc_except_table.*.
708
58434bc1
BE
7092004-04-21 Ben Elliston <bje@au.ibm.com>
710
711 * ld.texinfo (Simple Example): Add missing punctuation.
712
7a7f4e42
CD
7132004-04-20 Chris Demetriou <cgd@broadcom.com>
714
715 * NEWS: Note that MIPS --embedded-relocs option is deprecated.
716
3737f867
JJ
7172004-04-19 Jakub Jelinek <jakub@redhat.com>
718
719 * ldlang.c (lang_do_assignments_1): Handle .tbss output section
720 specially.
721
3c17e4f7
DS
7222004-04-18 Danny Smith <dannysmith@users.sourceforge.net>
723
724 * scriptempl/pe.sc: Put numbered .ctors.* after .ctors
725 with default priority. Likewise for dtors.
726
279500de
TS
7272004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
728
729 * configure.host: Remove mips*-dec-bsd* target.
730 * configure.tgt: Likewise.
731
52f89c0a
RS
7322004-04-08 Richard Sandiford <rsandifo@redhat.com>
733
734 * emulparams/elf32bsmip.sh (EXTRA_EM_FILE): Define to irix.
735 * emulparams/elf64bmip.sh (EXTRA_EM_FILE): Likewise.
736 * emulparams/elf32bmipn32.sh (EXTRA_EM_FILE): Likewise.
737 * emultempl/irix.em: New file.
738 * Makefile.am (eelf32bsmip.c, eelf32bmipn32.c, eelf64bmip.c): Update
739 dependencies.
740 * Makefile.in: Regenerate.
741
e489d0ae
PB
7422004-04-01 Paul Brook <paul@codesourcery.com>
743
744 * emultempl/armelf.em (byteswap_code): Add.
745 (arm_elf_before_allocation): Pass extra parameter.
746 (PARSE_AND_LIST_PROLOGUE): Add OPTION_BE8.
747 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add be8.
748 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_BE8.
749 * emultempl/armelf_oabi.em: Pass extra parameter.
750 * ld.texinfo: Document --be8.
751
7cc8057a
SS
7522004-03-30 Stan Shebs <shebs@apple.com>
753
754 Remove long-obsolete MPW support.
755 * mpw-config.in, mpw-make.sed, mac-ld.r: Remove files.
756 * Makefile.am (mpw): Remove file-presynthesizing actions.
757 * Makefile.in: Likewise.
758 * ldfile.c (slash): Remove MPW case.
759 * ldlex.l [MPW]: Remove unused definition.
760
0949843d
NC
7612004-03-30 Galit Heller <Galit.Heller@nsc.com>
762
763 * Makefile.am (ALL_EMULATIONS): Add eelf32cr16c.o.
764 (eelf32cr16c.c): New target.
765 * Makefile.in: Regenerate.
766 * configure.tgt: Handle cr16c-*-elf*.
767 * emulparams/elf32cr16c.sh: New file.
768 * scripttempl/elfcr16c.sc: Likewise
769 * NEWS: Mention support for new target.
770
0a159ef8
NC
7712004-03-30 Nick Clifton <nickc@redhat.com>
772
773 * po/sv.po: Updated Swedish translation.
774
7a945db6
AM
7752004-03-27 Alan Modra <amodra@bigpond.net.au>
776
777 * emultempl/elf32.em: Update new bfd_elf_discard_info name.
778 * emultempl/hppaelf.em: Likewise.
779 * emultempl/ppc64elf.em: Likewise.
780 * emultempl/sh64elf.em: Likewise.
781
5a580b3a
AM
7822004-03-25 Alan Modra <amodra@bigpond.net.au>
783
784 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update
785 size_dynamic_sections call.
786
b9cf773d
AM
7872004-03-23 Alan Modra <amodra@bigpond.net.au>
788
789 PR 51.
790 * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set
791 link_info.wrap_char.
792
59c2e50f
L
7932004-03-20 H.J. Lu <hongjiu.lu@intel.com>
794
795 * lexsup.c (parse_args): Don't set unresolved_syms_in_objects
796 or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic.
797
44349745
AO
7982004-03-20 Alexandre Oliva <aoliva@redhat.com>
799
800 * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb.
801
81359a70
AM
8022004-03-19 Alan Modra <amodra@bigpond.net.au>
803
804 * config.in: Regenerate.
805 * po/ld.pot: Regenerate.
806
4a43e768
AM
8072004-03-18 Alan Modra <amodra@bigpond.net.au>
808
809 * ld.texinfo: Add --as-needed doco.
810 * ldmain.c (as_needed): New global var.
811 * ldmain.h (as_needed): Declare.
812 * lexsup.c (option_values): Add OPTION_AS_NEEDED and
813 OPTION_NO_AS_NEEDED.
814 (ld_options): Likewise.
815 (parse_args): Handle them.
816 * ldlang.h (lang_input_statement_type): Add as_needed field.
817 * ldlang.c (new_afile): Set p->as_needed.
818 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function.
819 (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class.
820 (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry.
821
822 * ldlang.c (open_input_bfds): Remove useless cast.
823 (lang_do_assignments_1): Likewise.
824 (lang_for_each_input_section): Delete.
825
9183ed4b
AM
8262004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
827
828 * configure.tgt: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
829
ee31fbd0
NC
8302004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
831
832 * pe-dll.c (pe_dll_generate_implib): Skip sections marked as
833 private when building implib.
834
e5caec89
NS
8352004-03-05 Nathan Sidwell <nathan@codesourcery.com>
836
837 * ldlang.c (lang_add_section): Don't force SEC_LOAD on
838 SEC_THREAD_LOCAL.
839 (IGNORE_SECTION): Ignore .tbss sections too.
840 (lang_size_sections_1): .tbss sections do not advance dot.
841
cc2f008e
AS
8422004-03-01 Andreas Schwab <schwab@suse.de>
843
844 * ld.texinfo (Options): Fix example for --wrap.
845
f5a95868
DS
8462004-02-25 Danny Smith <dannysmith@users.sourceforge.net>
847
848 * pe-dll.c (fill_edata): Check that exported_symbol_sections is
849 not NULL.
850
177b729b
ILT
8512004-02-23 Ian Lance Taylor <ian@wasabisystems.com>
852
853 * ldlang.c (lang_check): Use %P, not %E, in error message.
854
1b493742
NS
8552004-02-23 Nathan Sidwell <nathan@codesourcery.com>
856
857 * ldlang.h (struct lang_output_section_state): Change processed
858 field's type.
859 * ldexp.c (check, invalid): Remove.
860 (fold_name): Move valid_p assignments. Create undefined symbol
861 when needed. Directly exampine section's processd flag.
862 * ldlang.c (lang_output_section_statement_lookup): Adjust
863 processed field init.
864 (lang_size_sections_1): Allow LOADADDR when determining section's
865 VMA. Adjust error message. Fold data statement's expr.
866 (lang_size_sections): Correctly increment lang_statement_iteration.
867
8682004-02-23 Alan Modra <amodra@bigpond.net.au>
869
870 * ldexp.c (fold_tree): Follow indirect symbols.
b9cf773d 871
876f4090
NS
8722004-02-20 Nathan Sidwell <nathan@codesourcery.com>
873
874 * ldgram.y (exp): Add two operand ALIGN.
875 * ldexp.c (fold_binary): Add ALIGN_K case.
876 * ld.texinfo (ALIGN): Document two operand version.
877
384d938f
NS
8782004-02-19 Nathan Sidwell <nathan@codesourcery.com>
879
880 * ldlang.c (map_input_to_output_sections): Initialize sections
881 mentioned in a data statement expression.
882 (lang_do_assignments_1): Add data statement's expression's
883 section's vma.
884
b6ca8815
NS
8852004-02-18 Nathan Sidwell <nathan@codesourcery.com>
886
887 * ldgram.y (statement_anywhere): Add assert rule.
888 * ldlang.c (exp_init_os): Add assert case.
889
c92c35e7
AC
8902004-02-14 Andrew Cagney <cagney@redhat.com>
891
892 * ldmain.c (remove_output): Call bfd_cache_close.
893
9bf78c99
RS
8942004-02-14 Richard Sandiford <rsandifo@redhat.com>
895
896 * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard
897 .MIPS.content* and .MIPS.events* sections.
898
f3806916
DJ
8992004-02-09 Daniel Jacobowitz <drow@mvista.com>
900
901 * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move
902 .note.gnu.arm.ident to after allocated sections. Mark its
903 address as 0.
904
4c8e70d7
DJ
9052004-02-09 Daniel Jacobowitz <drow@mvista.com>
906
907 * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB.
908 * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise.
909 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise.
910 * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise.
911 * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise.
912
ff71f4f7
NC
9132004-02-05 Nick Clifton <nickc@redhat.com>
914
915 * emultempl/pe.em (_after_open): Fix typo in previous delta.
916
07a68a80
NC
9172004-02-04 Danny Smith <dannysmith@users.sourceforge.net>
918
919 * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch.
920
1dd3bf68
AM
9212004-01-28 Alan Modra <amodra@bigpond.net.au>
922
586196d5
AM
923 * genscripts.sh: Fix typo.
924
1dd3bf68
AM
925 * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.
926
13d9421f
JJ
9272004-01-24 Jakub Jelinek <jakub@redhat.com>
928
929 * emulparams/elf64_ia64.sh: Put .rela.opd into
930 OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS.
931
4d8907ac
DS
9322004-01-20 Danny Smith <dannysmith@users.sourceforge.net>
933
934 * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.
935 * ld.texinfo (--omagic): Note that writable text section
936 does not conform to published PE-COFF specs.
937 (--enable-auto-import): Likewise.
938
e5c60db5
AM
9392004-01-15 Alan Modra <amodra@bigpond.net.au>
940
941 * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define.
942
6bdafbeb
NC
9432004-01-13 Nick Clifton <nickc@redhat.com>
944
945 * ldlang.c (lang_get_regions): Add extra parameter 'have_vma'
946 which if true will prevent the LMA region being used as a
947 replacement for a default VMA region.
586196d5
AM
948 (lang_leave_output_section_statement): Pass extra parameter.
949 (lang_leave_overlay): Likewise.
950 * ld.texinfo (Output Section LMA): Document that the LMA
6bdafbeb
NC
951 region can be set to the VMA region if no VMA has been set.
952 * ldlang.h (struct lang_output_section_phdr_list): Create a
953 typedef for this type. Minor formatting fixes.
586196d5 954
9dfc8ab2
NC
9552004-01-13 Nick Clifton <nickc@redhat.com>
956
957 * ldlang.c (lang_size_sections_1): If dot is advanced, then
958 assume that the section should be allocated.
959
8325c4dd
AM
9602004-01-13 Alan Modra <amodra@bigpond.net.au>
961
962 * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD
963 sections. Do ignore SEC_NEVER_LOAD sections.
964 (lang_size_sections_1): Remove test made redundant with the above.
965
83490352
AM
9662004-01-09 Alan Modra <amodra@bigpond.net.au>
967
968 * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached
969 program_header_size.
970
005e1118
AO
9712004-01-06 Alexandre Oliva <aoliva@redhat.com>
972
973 2003-11-28 Alexandre Oliva <aoliva@redhat.com>
974 * emulparams/elf32frvfd.sh (EMBEDDED): Clear.
975 2003-11-05 Alexandre Oliva <aoliva@redhat.com>
976 * emulparams/elf32frvfd.sh (STACK_ADDR): Unset.
977 (MAXPAGESIZE): Set to 64Kb.
978 (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and
979 __ROFIXUP_END__. Don't map .rofixup.got any more.
980 * emulparams/elf32frv.sh (NOP): Set.
981 2003-10-31 Alexandre Oliva <aoliva@redhat.com>
982 * configure.tgt: Add frv-*-*linux*.
983 2003-09-30 Alexandre Oliva <aoliva@redhat.com>
984 * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o.
985 (eelf32frvfd.c): New.
986 * configure.tgt <frv-*-*>: Added it to targ_extra_emuls.
987 * emulparams/elf32frv.sh: Reverted previous two patches.
988 * emulparams/elf32frvfd.sh: New.
989 * Makefile.in: Rebuilt.
990 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
991 * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added
992 .rofixup.got to .rofixup.
993 2003-09-15 Alexandre Oliva <aoliva@redhat.com>
994 * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B.
995 (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set.
996
060feee5
JJ
9972004-01-05 Jakub Jelinek <jakub@redhat.com>
998
999 * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes.
1000 * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes.
1001
5e2f1575
AM
10022004-01-03 Alan Modra <amodra@bigpond.net.au>
1003
e5caa5e0
AM
1004 * ldexp.c (align_n): Make static.
1005 * ldexp.h (align_n): Delete declaration.
1006 * ldlang.h (lang_enter_output_section_statement): Remove
1007 block_value param.
1008 * ldlang.c (lang_enter_output_section_statement): Likewise.
1009 (TO_ADDR, TO_SIZE): Define.
c2df3ea5 1010 (opb_shift): New var.
e5caa5e0
AM
1011 (init_opb): New function.
1012 (print_input_section): Call init_opb and use TO_ADDR.
1013 (print_data_statement, print_reloc_statement): Likewise.
1014 (print_padding_statement): Likewise.
c2df3ea5 1015 (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift.
e5caa5e0
AM
1016 (lang_check_section_addresses): Likewise.
1017 (lang_size_sections_1): Likewise.
1018 (lang_do_assignments_1): Likewise.
1019 (lang_set_startof): Likewise.
c2df3ea5 1020 (lang_one_common): Likewise. Combine power_of_two and opb_shift align.
e5caa5e0 1021 (lang_process): Call init_opb.
c2df3ea5 1022 (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift.
e5caa5e0
AM
1023 (lang_enter_overlay_section): Adjust
1024 lang_enter_output_section_statement call.
1025 * ldgram.y: Likewise.
1026 * mri.c (mri_draw_tree): Likewise.
1027 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise.
1028 * emultempl/mmo.em (mmo_place_orphan): Likewise.
1029 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise.
1030
5e2f1575
AM
1031 * ldfile.c (ldfile_set_output_arch): Add defarch param.
1032 * ldfile.h (ldfile_set_output_arch): Ditto.
1033 * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use
1034 ldfile_set_output_arch.
1035 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto.
1036 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto.
1037 * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto.
1038 * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
1039 * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto.
1040 * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto.
1041 * ldgram.y: Adjust ldfile_set_output_arch call.
1042 * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
1043 * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto.
1044 * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto.
1045 * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto.
1046 * emultempl/gld960c.em (gld960_set_output_arch): Ditto.
1047 * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
1048 * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
1049
b50c15dc
NC
10502004-01-02 Bernardo Innocenti <bernie@develer.com>
1051
1052 * configure.tgt: Add m68k-uClinux target.
6edf0760 1053
c9e214e5 1054For older changes see ChangeLog-0203
252b5132
RH
1055\f
1056Local Variables:
1057mode: change-log
1058left-margin: 8
1059fill-column: 74
1060version-control: never
1061End:
This page took 0.359794 seconds and 4 git commands to generate.