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