* configure.in (arm*-*-symbianelf*): New target.
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
3f764659
JJ
12004-08-19 Jakub Jelinek <jakub@redhat.com>
2
3 * emultempl/ppc64elf.em (non_overlapping_opd): New variable.
4 (ppc_before_allocation): Pass it to ppc64_elf_edit_opd).
5 (OPTION_NON_OVERLAPPING_OPD): Define.
6 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Add
7 --non-overlapping-opd option.
8
a010d60f
AM
92004-08-18 Alan Modra <amodra@bigpond.net.au>
10
11 PR 338
12 * ldexp.c (fold_name): Don't call bfd_link_add_undef if the symbol
13 was already on the undefs list.
14
c4e33880
AM
152004-08-17 Alan Modra <amodra@bigpond.net.au>
16
17 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Dot
18 prefix the symbol field too.
19
d003868e
AM
202004-08-13 Alan Modra <amodra@bigpond.net.au>
21
22 * ldmain.c (link_callbacks): Remove "error_handler".
23 * ldmisc.c: Include elf-bfd.h.
24 (vfinfo): Sort comment. Handle %A. Use %A instead of
25 bfd_get_section_indent.
26 (error_handler): Delete.
27 * ldmisc.h (error_handler): Delete declaration.
28
99877b66
AM
292004-08-10 Alan Modra <amodra@bigpond.net.au>
30
31 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Call
32 ppc64_elf_restore_symbols.
33
40e45c8b
AM
342004-08-09 Alan Modra <amodra@bigpond.net.au>
35
36 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Error if
37 .toc is too large on relocatable linking.
38
ccfa59ea
AM
392004-08-09 Alan Modra <amodra@bigpond.net.au>
40
41 * emultempl/ppc64elf.em (ppc_after_open): Delete.
42 (LDEMUL_AFTER_OPEN): Don't define.
43
93fd0973
SC
442004-08-02 Stephane Carrez <stcarrez@nerim.fr>
45
46 * ld.texinfo (Top): Document specific options of 68HC11 and 68HC12.
47
f1b123db
SC
482004-08-01 Stephane Carrez <stcarrez@nerim.fr>
49
50 * scripttempl/elfm68hc12.sc: Align text, rodata and data section
51 on power of 2.
52
e7fbc2bf
JT
532004-07-27 Jason Thorpe <thorpej@wasabisystems.com>
54
55 * emulparams/hppanbsd.sh (OUTPUT_FORMAT): Set to "elf32-hppa-netbsd".
56
c05e9f04
NC
572004-07-26 Dmitry Diky <diwil@spec.ru>
58
59 * Makefile.am: Add new subtargets: msp430x1610, msp430x1611,
60 msp430x1612, msp430x415, msp430x417, msp430xG437, msp430xG438,
61 msp430xG439.
62 * configure.tgt: Likewise.
63 * emulparams/msp430all.sh: Likewise.
64 * Makefile.in: Regenerate.
65
9f61903d
NC
662004-07-23 Nick Clifton <nickc@redhat.com>
67
68 * emultempl/elf32.em (_place_orphan): Use an already existing
69 section name if that section does not have any flags set.
70
082b7297
L
712004-07-21 H.J. Lu <hongjiu.lu@intel.com>
72
73 * ldlang.c (already_linked_hash_entry): Removed.
74 (already_linked): Likewise.
75 (already_linked_table): Likewise.
76 (section_already_linked): Call bfd_section_already_linked.
77 (lang_process): Replace already_linked_table_init with
78 bfd_section_already_linked_table_init and check return. Replace
79 already_linked_table_free with bfd_section_already_linked_table_free.
80
76d7af2d
NC
812004-07-21 Nick Clifton <nickc@redhat.com>
82
83 * ldlang.c (init_os): Make sure that the newly allocated userdata
84 structure is zeroed out.
85
14b3c463
L
862004-07-19 H.J. Lu <hongjiu.lu@intel.com>
87
88 * NEWS: Mention the new --add-needed/--no-add-needed and
89 --as-needed/--no-as-needed options.
90
e56f61be
L
912004-07-19 H.J. Lu <hongjiu.lu@intel.com>
92
93 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Also
94 check the add_needed field.
95 (dt_needed): New struct.
96 (gld${EMULATION_NAME}_try_needed): Change the first argument
97 to a pointer to struct dt_needed. Check the DYN_NO_ADD_NEEDED
98 bit in the file where the DT_NEEDED entry comes from.
99 (gld${EMULATION_NAME}_search_needed): Change the second
100 argument to a pointer to struct dt_needed.
101 (gld${EMULATION_NAME}_check_ld_so_conf): Updated.
102 (gld${EMULATION_NAME}_after_open): Likewise.
103
104 * ld.texinfo: Add --add-needed document.
105 * ldlang.c (new_afile): Set p->add_needed.
106 * ldlang.h (lang_input_statement_type): Add add_needed field.
107 * ldmain.h (add_needed): Declare.
108 * ldmain.c (add_needed): New global var.
109 * lexsup.c (option_values): Add OPTION_ADD_NEEDED and
110 OPTION_NO_ADD_NEEDED.
111 (ld_options): Likewise.
112 (parse_args): Handle them.
113
c99b8138
NC
1142004-07-13 Christof Petig <christof@petig-baender.de>
115
116 * emultempl/pe.em (make_import_fixup): Use bfd_get_32 to correct
117 for endian-ness of extracted addend.
118
13ed4151
NC
1192004-07-13 Danny Smith <dannysmith@usesr.sourceforge.net>
120
121 * pe-dll.c (auto_export): Filter on just the import prefix,
122 "_imp_", not "_imp__".
123
1a320fbb
NC
1242004-07-09 Nick Clifton <nickc@redhat.com>
125
126 * configure.tgt: Change sh-sybmian-elf to sh-*-symbianelf.
127
1fe1f39c
NC
1282004-07-06 Tomer Levi <Tomer.Levi@nsc.com>
129
130 * Makefile.am (ALL_EMULATIONS): Add eelf32crx.o.
131 (eelf32crx.c): New target.
132 * Makefile.in: Regenerate.
133 * configure.tgt: Handle crx-*-elf*.
134 * emulparams/elf32crx.sh: New file.
135 * emultempl/crxelf.em: New file.
136 * scripttempl/elf32crx.sc: New file.
137 * NEWS: Mention new target.
138
85fbca6a
NC
1392004-07-06 Nick Clifton <nickc@redhat.com>
140
141 * Makefile.am: Add eshlsymbian.c.
142 * Makefile.in: Regenerate.
143 * configure.tgt: Add sh*-symbian-elf target.
144 * emulparams/shlsymbian.sh: New file. Configure the
145 sh-symbian-elf linker scripts.
146 * scripttemp/elf32sh-symbian.sc: New file. Linker script
147 template for the sh-symbian-elf target.
148
b71a5181
DA
1492004-07-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
150
151 * emulparams/hppa64linux.sh: Define PLT_BEFORE_GOT.
152 * emulparams/hppalinux.sh: Likewise.
153 * scripttempl/elf.sc: Place .plt just before .got when .plt is in
154 data segment and PLT_BEFORE_GOT is defined.
155
c87db184
CF
1562004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
157
158 * ld.texinfo (WIN32): Document PE weak symbols.
159
f6a8ae81
KK
1602004-07-02 Kaz Kojima <kkojima@rr.iij4u.or.jp>
161
162 * emulparams/shlelf32_linux.sh (COMMONPAGESIZE): Set to 4KB.
163
b602c853
L
1642004-07-01 H.J. Lu <hongjiu.lu@intel.com>
165
166 * ldmisc.c (vfinfo): Call bfd_get_section_ident to identify
167 the section.
168
1a23a9e6
AM
1692004-06-29 Alan Modra <amodra@bigpond.net.au>
170
171 * ldlang.c (lang_reset_memory_regions): Save last relax pass section
172 size in rawsize.
173
eea6121a
AM
1742004-06-24 Alan Modra <amodra@bigpond.net.au>
175
176 * ldlang.c (print_output_section_statement): Don't print size before
177 relaxation.
178 (IGNORE_SECTION): Remove bfd arg. Update all callers.
179
180 * ldexp.c (fold_name): .. See below.
181 * ldlang.c (section_already_linked, print_output_section_statement,
182 print_input_section, insert_pad, size_input_section,
183 lang_check_section_addresses, lang_size_sections_1,
184 lang_size_sections, lang_do_assignments_1, lang_set_startof,
185 lang_one_common, lang_reset_memory_regions, lang_process,
186 lang_abs_symbol_at_end_of, lang_do_version_exports_section): ..
187 * ldwrite.c (build_link_order, clone_section, ds, split_sections): ..
188 * pe-dll.c (process_def_file, generate_reloc): ..
189 * emultempl/elf32.em (gld${EMULATION_NAME}_find_statement_assignment,
190 gld${EMULATION_NAME}_before_allocation): ..
191 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): ..
192 * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation,
193 sh64_elf_${EMULATION_NAME}_after_allocation): ..
194 * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): ..
195 * emultempl/xtensaelf.em (ld_assign_relative_paged_dot,
196 ld_local_file_relocations_fit, ld_xtensa_insert_page_offsets): Use
197 "size" instead of "_raw_size" and "_cooked_size". Expand
198 bfd_section_size macro invocations.
199
552f8272
CF
2002004-06-22 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
201
202 * ld/scripttemp/pe.sc (.CRT): Define ___crt_xc_start__,
203 ___crt_xc_end__, ___crt_xi_start__, ___crt_xi_end__, ___crt_xl_start__,
204 ___crt_xp_start__, ___crt_xp_end__, ___crt_xt_start__ and
205 ___crt_xt_end__.
206 (.tls): Define ___tls_start__ and ___tls_end__.
207
aee6f5b4
AO
2082004-06-21 Alexandre Oliva <aoliva@redhat.com>
209
210 * emulparams/elf32frvfd.sh (GENERATE_PIE_SCRIPT): Set to yes.
211
eea6121a 2122004-06-18 Adam Nemet <anemet@lnxw.com>
f234d5fe 213
eea6121a
AM
214 * configure.in: Set EXTRA_SHLIB_EXTENSION to .a for LynxOS.
215 * configure: Regenerate.
f234d5fe 216
dfff4fbe
JJ
2172004-06-15 Jakub Jelinek <jakub@redhat.com>
218
219 * scripttempl/elf.sc: Readd KEEP and .gcc_except_table.* to
220 .gcc_except_table output sections lost accidentally with
221 -z relro patch.
222
a9e0c0c6
AM
2232004-06-15 Alan Modra <amodra@bigpond.net.au>
224
225 * ldwrite.c (build_link_order): Use bfd_get_section_size
226 instead of bfd_get_section_size_before_reloc or _raw_size.
227 * pe-dll.c (process_def_file): Likewise.
228
7115639b
AM
2292004-06-14 Alan Modra <amodra@bigpond.net.au>
230
231 From Richard Wirth <r.wirth@wirthware.de>
232 * ldlang.c (lang_finish): Don't free lang_definedness_table.
233
9ca57817
AM
2342004-05-29 Alan Modra <amodra@bigpond.net.au>
235
236 * ldlang.c (gc_section_callback): Move SEC_EXCLUDE twiddles..
237 (lang_gc_sections): .. to a LANG_FOR_EACH_INPUT_STATEMENT loop here.
238
f6f9408f
JR
2392004-05-28 Andrew Stubbs <andrew.stubbs@superh.com>
240
241 * testsuite/ld-sh/arch/arch.exp: New test script.
242 * testsuite/ld-sh/arch/arch_expected.txt: New file.
243 * testsuite/ld-sh/arch/sh.s: New file.
244 * testsuite/ld-sh/arch/sh2.s: New file.
245 * testsuite/ld-sh/arch/sh-dsp.s: New file.
246 * testsuite/ld-sh/arch/sh2e.s: New file.
247 * testsuite/ld-sh/arch/sh3-nommu.s: New file.
248 * testsuite/ld-sh/arch/sh3.s: New file.
249 * testsuite/ld-sh/arch/sh3-dsp.s: New file.
250 * testsuite/ld-sh/arch/sh3e.s: New file.
251 * testsuite/ld-sh/arch/sh4-nommu-nofpu.s: New file.
252 * testsuite/ld-sh/arch/sh4-nofpu.s: New file.
253 * testsuite/ld-sh/arch/sh4.s: New file.
254 * testsuite/ld-sh/arch/sh4a-nofpu.s: New file.
255 * testsuite/ld-sh/arch/sh4al-dsp.s: New file.
256 * testsuite/ld-sh/arch/sh4a.s: New file.
257
164e712d
AM
2582004-05-28 Alan Modra <amodra@bigpond.net.au>
259
6feb9908
AM
260 * ldlang.c: Formatting. Wrap long lines, expand bfd_get_section_flags
261 throughout file.
262 * lexsup.c: Formatting. Wrap long lines.
263 * ldwrite.c: Update copyright date.
264
164e712d
AM
265 * ldlang.c (lang_add_section): Don't twidlle SEC_EXCLUDE here.
266 (output_section_callback): Nor SEC_KEEP here.
267 (gc_section_callback): Twiddle SEC_EXCLUDE here.
268 (lang_gc_wild): Delete. Fold into..
269 (lang_gc_sections_1): ..here. Only call bfd_gc_sections when garbage
270 collecting.
271 (lang_process): Always call lang_gc_sections.
272 (lang_place_orphans): Handle SEC_EXCLUDE sections.
273 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove
274 SEC_EXCLUDE code.
275
b3096250
L
2762004-05-26 H.J. Lu <hongjiu.lu@intel.com>
277
278 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Clear
279 SEC_EXCLUDE on non-SEC_DEBUGGING sections for relocatable link.
280 * ldlang.c (lang_add_section): Likewise.
281
e49f5022
AM
2822004-05-26 Alan Modra <amodra@bigpond.net.au>
283
284 * ldlang.c (lang_add_section): Set SEC_EXCLUDE for SEC_GROUP
285 sections when doing a final link. Clear SEC_EXCLUDE when doing
286 a relocable link, except for SEC_DEBUGGING sections.
287 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Use the
288 same condition here to drop SEC_EXCLUDE orphan sections.
289
57ceae94
AM
2902004-05-25 Alan Modra <amodra@bigpond.net.au>
291
292 * ldlang.c (lang_process): Call bfd_merge_sections later, and
293 only when not a relocatable link.
294 (print_input_section): Handle SEC_EXCLUDE sections.
295 (size_input_section): Don't update dot on SEC_EXCLUDE sections.
296 (lang_do_assignments_1): Likewise.
297 * ldwrite.c (build_link_order): Ignore SEC_EXCLUDE input sections.
298 * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise.
299 * emultempl/hppaelf.em (build_section_lists): Likewise.
300 * emultempl/ppc64elf.em (build_toc_list): Likewise.
301 (build_section_lists): Likewise.
302
a85785bc
AS
3032004-05-23 Andreas Schwab <schwab@suse.de>
304
305 * ld.texinfo (Options): Fix typo in last change.
306
2d643429
NC
3072004-05-21 Andy Chittenden <achittenden@bluearc.com>
308
309 * ld.h (ld_config_type): Add new field: hash_table_size.
310 * ldmain.c: Initialise the new field to zero. If it is non-zero
311 after parsing the linker's command line call
312 bfd_hash_set_default_size.
313 * lexsup.c (option_values): Add OPTION_HASH_SIZE.
314 (ld_options): Add hash-size.
315 (parse_args): Parse --hash-size option. Allow
316 --reduce-memory-overheads to set the default hash table size as
317 well.
318 * ld.texinfo: Document the new switch. Also mention that
319 --reduce-memory-overheads can affect the hash table size.
320 * NEWS: Mention the new feature.
321
35835446
JR
3222004-05-19 J"orn Rennecke <joern.rennecke@superh.com>
323
324 * NEWS: Mention new linker map file generation and the
325 --reduce-memory-overheads option.
326 * ld.texinfo: Document --reduce-memory-overheads option.
327 * ld.h (map_symbol_def): New struct.
328 (struct user_section_struct, section_userdata_type): Rename to:
329 (struct lean_user_section_struct, lean_section_userdata_type).
330 (struct fat_user_section_struct, fat_section_userdata_type): New.
331 (SECTION_USERDATA_SIZE): Define.
332 (args_type): New member reduce_memory_overheads.
333 * ldlang.c (map_obstack): New static variable.
334 (init_map_userdata, print_all_symbols, sort_def_symbol): New functions.
335 (lang_map): Unless command_line.reduce_memory_overheads is set,
336 initialize lists of defined symbols for each section.
337 (print_input_section): Unless command_line.reduce_memory_overheads
338 is set, use print_all_symbols.
339 (init_os): Use lean_section_userdata_type / SECTION_USERDATA_SIZE.
340 * ldmain.c (main): Initialize command_line.reduce_memory_overheads.
341 * lexsup.c (enum option_values): Add OPTION_REDUCE_MEMORY_OVERHEADS.
342 (ld_options): Add entry for --reduce-memory-overheads.
343 (parse_args): Handle OPTION_REDUCE_MEMORY_OVERHEADS.
344
0841712e
JJ
3452004-05-19 Jakub Jelinek <jakub@redhat.com>
346
347 * ldgram.y (sect_constraint): New.
348 (ONLY_IF_RO, ONLY_IF_RW): New tokens.
349 (section): Add sect_constraint. Pass additional argument
350 to lang_enter_output_section_statement.
351 * mri.c (mri_draw_tree): Pass additional argument to
352 lang_enter_output_section_statement.
353 * emultempl/pe.em (place_orphan): Likewise.
354 (output_prev_sec_find): Disregard output section statements with
355 constraint == -1.
356 * emultempl/mmo.em (output_prev_sec_find): Likewise.
357 (mmo_place_orphan): Pass additional argument to
358 lang_enter_output_section_statement.
359 * emultempl/elf32.em (output_prev_sec_find): Disregard output section
360 statements with constraint == -1.
361 (place_orphan): Pass additional argument to
362 lang_enter_output_section_statement.
363 * ldlang.c (lang_enter_overlay_section): Likewise.
364 (lang_output_section_find_1): New.
365 (lang_output_section_find): Use it.
366 (lang_output_section_statement_lookup_1): New.
367 (lang_output_section_statement_lookup): Use it.
368 (check_section_callback, check_input_sections): New.
369 (map_input_to_output_sections): Check if all input sections
370 are readonly if ONLY_IF_RO or ONLY_IF_RW was seen.
371 (strip_excluded_output_sections): Disregard output section statements
372 with constraint == -1.
373 (lang_record_phdrs): Likewise.
374 (lang_enter_output_section_statement): Add constraint argument.
375 Use lang_output_section_statement_lookup_1.
376 * ldlang.h (lang_output_section_statement_type): Add constraint
377 and all_input_readonly fields.
378 (lang_enter_output_section_statement): Adjust prototype.
379 * ldlex.l (ONLY_IF_RO, ONLY_IF_RW): New tokens.
380 * scripttempl/elf.sc (.eh_frame, .gcc_except_table): Move into text
381 segment if all input sections are readonly.
382
eea6121a 3832004-05-19 Adam Nemet <anemet@lnxw.com>
f2c50328
NC
384
385 * scripttempl/i386lynx.sc: Remove file.
386
2a16d82a
BW
3872004-05-17 Bob Wilson <bob.wilson@acm.org>
388
389 * ld.texinfo (Output Section Address): Correct subsection name.
390
eea6121a 3912004-05-17 Adam Nemet <anemet@lnxw.com>
b2d65c0b
NC
392
393 * configure.tgt (powerpc-*-lynxos* case): New case.
394 * configure.host (i[3-7]86-*-lynxos* case): Remove case.
395 * emulparams/ppclynx.sh: New file.
396 * emulparams/i386lynx.sh (SCRIPT_NAME): Update to LynxOS 4.0.
397 * Makefile.am (ALL_EMULATIONS): Add eppclynx.o
398 (ei386lynx.c): Update rule to LynxOS 4.0 ELF.
399 (eppclynx.c): New rule.
400 * Makefile.in: Regenerate.
401
4b363073
NC
4022004-05-13 Joel Sherrill <joel@oarcorp.com>
403
404 * configure.tgt (or32-*-rtems*): Switch to elf and
405 support versioned targets.
406
9598fbe5
NC
4072004-05-13 Nick Clifton <nickc@redhat.com>
408
409 * po/fr.po: Updated French translation.
410
8c37241b
JJ
4112004-05-11 Jakub Jelinek <jakub@redhat.com>
412
413 * genscripts.sh: Generate -z combreloc -z now -z relro scripts
414 for binaries, -shared and -pie.
415 * emulparams/elf_i386.sh (SEPARATE_GOTPLT): Set.
416 * emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Set.
417 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Rename to...
418 (OTHER_RELRO_SECTIONS): ... this.
419 * ldlex.l (DATA_SEGMENT_RELRO_END): Add.
420 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
421 -z relro and -z norelro.
422 (gld${EMULATION_NAME}_list_options): Add it to usage.
423 (gld${EMULATION_NAME}_get_script): Return -z combreloc -z now
424 -z relro scripts when appropriate.
425 * scripttempl/elf.sc: Unset SEPARATE_GOTPLT if RELRO_NOW is set.
426 Create separate .got.plt section if SEPARATE_GOTPLT.
427 Move sections which are only written during relocation handling
428 to the beginning of RW segment. If NO_SMALL_DATA, move .got
429 before .data. Add DATA_SEGMENT_RELRO_END directive.
430 Include OTHER_RELRO_SECTIONS.
431 * ldgram.y (DATA_SEGMENT_RELRO_END): Add.
432 * ldexp.c (exp_print_token): Handle DATA_SEGMENT_RELRO_END.
433 (fold_unary): Likewise.
434 (fold_binary): Handle -z relro.
435 * ldexp.h (struct exp_data_seg): Add exp_dataseg_relro_seen and
436 exp_dataseg_relro_adjust phases. Add relro_end field.
437 * ldmain.c (main): Initialize link_info.relro to FALSE.
438 * ldlang.c (lang_size_sections): Handle -z relro.
439
e21059f2
MM
4402004-05-08 Marek Michalkiewicz <marekm@amelek.gda.pl>
441
442 * scripttempl/avr.sc: Do not set LMA for "eeprom" section.
443
5f9b8920
JR
4442004-05-07 J"orn Rennecke <joern.rennecke@superh.com>
445
446 * ldlang.c (print_padding_statement): Cast size_t to bfd_vma
447 before printing it with %W.
448
26d2d8a2 4492004-05-07 Brian Ford <ford@vss.fsi.com>
eea6121a 450 DJ Delorie <dj@redhat.com>
26d2d8a2
BF
451
452 * emultempl/pe.em (real_flags): New static.
453 (OPTION_LARGE_ADDRESS_AWARE): New define.
454 (gld${EMULATION_NAME}_add_options): Add --large-address-aware option.
455 (gld_${EMULATION_NAME}_list_options): Likewise.
456 (gld${EMULATION_NAME}_handle_option): Likewise.
457 (gld_${EMULATION_NAME}_after_open): Pass real_flags to PE private data.
458 * ld.texinfo: Document it.
459 * NEWS: Mention it.
460
1b169501
BF
4612004-05-07 Brian Ford <ford@vss.fsi.com>
462
463 * NEWS: Mention DWARF 2 support for i386pe.
464
41cf0c62
AO
4652004-05-05 Alexandre Oliva <aoliva@redhat.com>
466
467 * emulparams/elf32frvfd.sh (OUTPUT_FORMAT): Switch to new
468 elf32-frvfdpic.
469
d0d6a25b
AM
4702004-04-30 Alan Modra <amodra@bigpond.net.au>
471
472 * ldlang.c (unique_section_p): Pass section parm, return true on
473 group sections.
474 (output_section_callback): Adjust.
475 * ldlang.h (unique_section_p): Update prototype.
476 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust.
477
755306be
EB
4782004-04-30 Eric Botcazou <ebotcazou@act-europe.fr>
479
eea6121a 480 * ld.texinfo (--gc-sections): Remove restriction for
755306be
EB
481 dynamic linking.
482
8a7140c3
NC
4832004-04-29 Brian Ford <ford@vss.fsi.com>
484
485 * scripttempl/pe.sc: Handle .debug* and .gnu.linkonce.wi.* sections
486 for DWARF 2/3. Update stab section's syntax.
487
2f9636ba
AM
4882004-04-29 Alan Modra <amodra@bigpond.net.au>
489
490 * pe-dll.c: Revert changes accidentally committed 2004-03-08.
491 (fill_edata): Correct pointer arithmetic.
492
23867d67
CD
4932004-04-21 Chris Demetriou <cgd@broadcom.com>
494
495 * ld.texinfo: Remove MIPS --embedded-relocs documentation.
496 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Remove definition.
497 * emulparams/mipsidt.sh (TEMPLATE_NAME): Use generic.em.
498 (EXTRA_EM_FILE): Use mipsecoff.em
499 * emulparams/mipsidtl.sh (TEMPLATE_NAME): Use generic.em.
500 (EXTRA_EM_FILE): Use mipsecoff.em
501 * emultempl/mipsecoff.em: Restructure to be included as an
502 extra emulation file.
503 (check_sections, gld${EMULATION_NAME}_after_open)
504 (gld${EMULATION_NAME}_after_allocation)
505 (gld${EMULATION_NAME}_get_script)
506 (ld_${EMULATION_NAME}_emulation): Remove
507 (gld${EMULATION_NAME}_before_parse): Rename to...
508 (mipsecoff_before_parse): This.
509 (LDEMUL_BEFORE_PARSE): Define.
510 * emultempl/mipself.em: Remove file.
511 * scripttempl/mips.sc (.rel.sdata): Do not include in output.
512 (__runtime_reloc_start, __runtime_reloc_stop): Stop providing
513 these symbols.
514 * Makefile.am: Remove dependencies on emultempl/mipself.em.
515 * Makefile.in: Regenerate.
516
1502569c
NC
5172004-04-21 Anil Paranjpe <anilp1@kpitcummins.com>
518
519 * ld.texinfo (synthesizing on H8/300): Information about linker
520 relaxation support for bit manipulation instructions and system
521 control instructions is added.
522
c894ddfb
HPN
5232004-04-21 Hans-Peter Nilsson <hp@axis.com>
524
525 * NEWS: Mention change in DEFINED semantics.
526
a85bf78e
EB
5272004-04-21 Eric Botcazou <ebotcazou@act-europe.fr>
528
529 * scripttempl/elf.sc (.text): Add KEEP for .text.*personality*.
530 (.data): Add KEEP for .gnu.linkonce.d.*personality*.
531 (.gcc_except_table): Add KEEP for self and accept .gcc_except_table.*.
532
58434bc1
BE
5332004-04-21 Ben Elliston <bje@au.ibm.com>
534
535 * ld.texinfo (Simple Example): Add missing punctuation.
536
7a7f4e42
CD
5372004-04-20 Chris Demetriou <cgd@broadcom.com>
538
539 * NEWS: Note that MIPS --embedded-relocs option is deprecated.
540
3737f867
JJ
5412004-04-19 Jakub Jelinek <jakub@redhat.com>
542
543 * ldlang.c (lang_do_assignments_1): Handle .tbss output section
544 specially.
545
3c17e4f7
DS
5462004-04-18 Danny Smith <dannysmith@users.sourceforge.net>
547
548 * scriptempl/pe.sc: Put numbered .ctors.* after .ctors
549 with default priority. Likewise for dtors.
550
279500de
TS
5512004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
552
553 * configure.host: Remove mips*-dec-bsd* target.
554 * configure.tgt: Likewise.
555
52f89c0a
RS
5562004-04-08 Richard Sandiford <rsandifo@redhat.com>
557
558 * emulparams/elf32bsmip.sh (EXTRA_EM_FILE): Define to irix.
559 * emulparams/elf64bmip.sh (EXTRA_EM_FILE): Likewise.
560 * emulparams/elf32bmipn32.sh (EXTRA_EM_FILE): Likewise.
561 * emultempl/irix.em: New file.
562 * Makefile.am (eelf32bsmip.c, eelf32bmipn32.c, eelf64bmip.c): Update
563 dependencies.
564 * Makefile.in: Regenerate.
565
e489d0ae
PB
5662004-04-01 Paul Brook <paul@codesourcery.com>
567
568 * emultempl/armelf.em (byteswap_code): Add.
569 (arm_elf_before_allocation): Pass extra parameter.
570 (PARSE_AND_LIST_PROLOGUE): Add OPTION_BE8.
571 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add be8.
572 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_BE8.
573 * emultempl/armelf_oabi.em: Pass extra parameter.
574 * ld.texinfo: Document --be8.
575
7cc8057a
SS
5762004-03-30 Stan Shebs <shebs@apple.com>
577
578 Remove long-obsolete MPW support.
579 * mpw-config.in, mpw-make.sed, mac-ld.r: Remove files.
580 * Makefile.am (mpw): Remove file-presynthesizing actions.
581 * Makefile.in: Likewise.
582 * ldfile.c (slash): Remove MPW case.
583 * ldlex.l [MPW]: Remove unused definition.
584
0949843d
NC
5852004-03-30 Galit Heller <Galit.Heller@nsc.com>
586
587 * Makefile.am (ALL_EMULATIONS): Add eelf32cr16c.o.
588 (eelf32cr16c.c): New target.
589 * Makefile.in: Regenerate.
590 * configure.tgt: Handle cr16c-*-elf*.
591 * emulparams/elf32cr16c.sh: New file.
592 * scripttempl/elfcr16c.sc: Likewise
593 * NEWS: Mention support for new target.
594
0a159ef8
NC
5952004-03-30 Nick Clifton <nickc@redhat.com>
596
597 * po/sv.po: Updated Swedish translation.
598
7a945db6
AM
5992004-03-27 Alan Modra <amodra@bigpond.net.au>
600
601 * emultempl/elf32.em: Update new bfd_elf_discard_info name.
602 * emultempl/hppaelf.em: Likewise.
603 * emultempl/ppc64elf.em: Likewise.
604 * emultempl/sh64elf.em: Likewise.
605
5a580b3a
AM
6062004-03-25 Alan Modra <amodra@bigpond.net.au>
607
608 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update
609 size_dynamic_sections call.
610
b9cf773d
AM
6112004-03-23 Alan Modra <amodra@bigpond.net.au>
612
613 PR 51.
614 * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set
615 link_info.wrap_char.
616
59c2e50f
L
6172004-03-20 H.J. Lu <hongjiu.lu@intel.com>
618
619 * lexsup.c (parse_args): Don't set unresolved_syms_in_objects
620 or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic.
621
44349745
AO
6222004-03-20 Alexandre Oliva <aoliva@redhat.com>
623
624 * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb.
625
81359a70
AM
6262004-03-19 Alan Modra <amodra@bigpond.net.au>
627
628 * config.in: Regenerate.
629 * po/ld.pot: Regenerate.
630
4a43e768
AM
6312004-03-18 Alan Modra <amodra@bigpond.net.au>
632
633 * ld.texinfo: Add --as-needed doco.
634 * ldmain.c (as_needed): New global var.
635 * ldmain.h (as_needed): Declare.
636 * lexsup.c (option_values): Add OPTION_AS_NEEDED and
637 OPTION_NO_AS_NEEDED.
638 (ld_options): Likewise.
639 (parse_args): Handle them.
640 * ldlang.h (lang_input_statement_type): Add as_needed field.
641 * ldlang.c (new_afile): Set p->as_needed.
642 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function.
643 (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class.
644 (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry.
645
646 * ldlang.c (open_input_bfds): Remove useless cast.
647 (lang_do_assignments_1): Likewise.
648 (lang_for_each_input_section): Delete.
649
9183ed4b
AM
6502004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
651
652 * configure.tgt: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
653
ee31fbd0
NC
6542004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
655
656 * pe-dll.c (pe_dll_generate_implib): Skip sections marked as
657 private when building implib.
658
e5caec89
NS
6592004-03-05 Nathan Sidwell <nathan@codesourcery.com>
660
661 * ldlang.c (lang_add_section): Don't force SEC_LOAD on
662 SEC_THREAD_LOCAL.
663 (IGNORE_SECTION): Ignore .tbss sections too.
664 (lang_size_sections_1): .tbss sections do not advance dot.
665
cc2f008e
AS
6662004-03-01 Andreas Schwab <schwab@suse.de>
667
668 * ld.texinfo (Options): Fix example for --wrap.
669
f5a95868
DS
6702004-02-25 Danny Smith <dannysmith@users.sourceforge.net>
671
672 * pe-dll.c (fill_edata): Check that exported_symbol_sections is
673 not NULL.
674
177b729b
ILT
6752004-02-23 Ian Lance Taylor <ian@wasabisystems.com>
676
677 * ldlang.c (lang_check): Use %P, not %E, in error message.
678
1b493742
NS
6792004-02-23 Nathan Sidwell <nathan@codesourcery.com>
680
681 * ldlang.h (struct lang_output_section_state): Change processed
682 field's type.
683 * ldexp.c (check, invalid): Remove.
684 (fold_name): Move valid_p assignments. Create undefined symbol
685 when needed. Directly exampine section's processd flag.
686 * ldlang.c (lang_output_section_statement_lookup): Adjust
687 processed field init.
688 (lang_size_sections_1): Allow LOADADDR when determining section's
689 VMA. Adjust error message. Fold data statement's expr.
690 (lang_size_sections): Correctly increment lang_statement_iteration.
691
6922004-02-23 Alan Modra <amodra@bigpond.net.au>
693
694 * ldexp.c (fold_tree): Follow indirect symbols.
b9cf773d 695
876f4090
NS
6962004-02-20 Nathan Sidwell <nathan@codesourcery.com>
697
698 * ldgram.y (exp): Add two operand ALIGN.
699 * ldexp.c (fold_binary): Add ALIGN_K case.
700 * ld.texinfo (ALIGN): Document two operand version.
701
384d938f
NS
7022004-02-19 Nathan Sidwell <nathan@codesourcery.com>
703
704 * ldlang.c (map_input_to_output_sections): Initialize sections
705 mentioned in a data statement expression.
706 (lang_do_assignments_1): Add data statement's expression's
707 section's vma.
708
b6ca8815
NS
7092004-02-18 Nathan Sidwell <nathan@codesourcery.com>
710
711 * ldgram.y (statement_anywhere): Add assert rule.
712 * ldlang.c (exp_init_os): Add assert case.
713
c92c35e7
AC
7142004-02-14 Andrew Cagney <cagney@redhat.com>
715
716 * ldmain.c (remove_output): Call bfd_cache_close.
717
9bf78c99
RS
7182004-02-14 Richard Sandiford <rsandifo@redhat.com>
719
720 * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard
721 .MIPS.content* and .MIPS.events* sections.
722
f3806916
DJ
7232004-02-09 Daniel Jacobowitz <drow@mvista.com>
724
725 * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move
726 .note.gnu.arm.ident to after allocated sections. Mark its
727 address as 0.
728
4c8e70d7
DJ
7292004-02-09 Daniel Jacobowitz <drow@mvista.com>
730
731 * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB.
732 * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise.
733 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise.
734 * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise.
735 * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise.
736
ff71f4f7
NC
7372004-02-05 Nick Clifton <nickc@redhat.com>
738
739 * emultempl/pe.em (_after_open): Fix typo in previous delta.
740
07a68a80
NC
7412004-02-04 Danny Smith <dannysmith@users.sourceforge.net>
742
743 * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch.
744
1dd3bf68
AM
7452004-01-28 Alan Modra <amodra@bigpond.net.au>
746
586196d5
AM
747 * genscripts.sh: Fix typo.
748
1dd3bf68
AM
749 * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.
750
13d9421f
JJ
7512004-01-24 Jakub Jelinek <jakub@redhat.com>
752
753 * emulparams/elf64_ia64.sh: Put .rela.opd into
754 OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS.
755
4d8907ac
DS
7562004-01-20 Danny Smith <dannysmith@users.sourceforge.net>
757
758 * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.
759 * ld.texinfo (--omagic): Note that writable text section
760 does not conform to published PE-COFF specs.
761 (--enable-auto-import): Likewise.
762
e5c60db5
AM
7632004-01-15 Alan Modra <amodra@bigpond.net.au>
764
765 * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define.
766
6bdafbeb
NC
7672004-01-13 Nick Clifton <nickc@redhat.com>
768
769 * ldlang.c (lang_get_regions): Add extra parameter 'have_vma'
770 which if true will prevent the LMA region being used as a
771 replacement for a default VMA region.
586196d5
AM
772 (lang_leave_output_section_statement): Pass extra parameter.
773 (lang_leave_overlay): Likewise.
774 * ld.texinfo (Output Section LMA): Document that the LMA
6bdafbeb
NC
775 region can be set to the VMA region if no VMA has been set.
776 * ldlang.h (struct lang_output_section_phdr_list): Create a
777 typedef for this type. Minor formatting fixes.
586196d5 778
9dfc8ab2
NC
7792004-01-13 Nick Clifton <nickc@redhat.com>
780
781 * ldlang.c (lang_size_sections_1): If dot is advanced, then
782 assume that the section should be allocated.
783
8325c4dd
AM
7842004-01-13 Alan Modra <amodra@bigpond.net.au>
785
786 * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD
787 sections. Do ignore SEC_NEVER_LOAD sections.
788 (lang_size_sections_1): Remove test made redundant with the above.
789
83490352
AM
7902004-01-09 Alan Modra <amodra@bigpond.net.au>
791
792 * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached
793 program_header_size.
794
005e1118
AO
7952004-01-06 Alexandre Oliva <aoliva@redhat.com>
796
797 2003-11-28 Alexandre Oliva <aoliva@redhat.com>
798 * emulparams/elf32frvfd.sh (EMBEDDED): Clear.
799 2003-11-05 Alexandre Oliva <aoliva@redhat.com>
800 * emulparams/elf32frvfd.sh (STACK_ADDR): Unset.
801 (MAXPAGESIZE): Set to 64Kb.
802 (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and
803 __ROFIXUP_END__. Don't map .rofixup.got any more.
804 * emulparams/elf32frv.sh (NOP): Set.
805 2003-10-31 Alexandre Oliva <aoliva@redhat.com>
806 * configure.tgt: Add frv-*-*linux*.
807 2003-09-30 Alexandre Oliva <aoliva@redhat.com>
808 * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o.
809 (eelf32frvfd.c): New.
810 * configure.tgt <frv-*-*>: Added it to targ_extra_emuls.
811 * emulparams/elf32frv.sh: Reverted previous two patches.
812 * emulparams/elf32frvfd.sh: New.
813 * Makefile.in: Rebuilt.
814 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
815 * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added
816 .rofixup.got to .rofixup.
817 2003-09-15 Alexandre Oliva <aoliva@redhat.com>
818 * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B.
819 (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set.
820
060feee5
JJ
8212004-01-05 Jakub Jelinek <jakub@redhat.com>
822
823 * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes.
824 * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes.
825
5e2f1575
AM
8262004-01-03 Alan Modra <amodra@bigpond.net.au>
827
e5caa5e0
AM
828 * ldexp.c (align_n): Make static.
829 * ldexp.h (align_n): Delete declaration.
830 * ldlang.h (lang_enter_output_section_statement): Remove
831 block_value param.
832 * ldlang.c (lang_enter_output_section_statement): Likewise.
833 (TO_ADDR, TO_SIZE): Define.
c2df3ea5 834 (opb_shift): New var.
e5caa5e0
AM
835 (init_opb): New function.
836 (print_input_section): Call init_opb and use TO_ADDR.
837 (print_data_statement, print_reloc_statement): Likewise.
838 (print_padding_statement): Likewise.
c2df3ea5 839 (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift.
e5caa5e0
AM
840 (lang_check_section_addresses): Likewise.
841 (lang_size_sections_1): Likewise.
842 (lang_do_assignments_1): Likewise.
843 (lang_set_startof): Likewise.
c2df3ea5 844 (lang_one_common): Likewise. Combine power_of_two and opb_shift align.
e5caa5e0 845 (lang_process): Call init_opb.
c2df3ea5 846 (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift.
e5caa5e0
AM
847 (lang_enter_overlay_section): Adjust
848 lang_enter_output_section_statement call.
849 * ldgram.y: Likewise.
850 * mri.c (mri_draw_tree): Likewise.
851 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise.
852 * emultempl/mmo.em (mmo_place_orphan): Likewise.
853 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise.
854
5e2f1575
AM
855 * ldfile.c (ldfile_set_output_arch): Add defarch param.
856 * ldfile.h (ldfile_set_output_arch): Ditto.
857 * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use
858 ldfile_set_output_arch.
859 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto.
860 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto.
861 * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto.
862 * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
863 * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto.
864 * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto.
865 * ldgram.y: Adjust ldfile_set_output_arch call.
866 * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
867 * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto.
868 * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto.
869 * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto.
870 * emultempl/gld960c.em (gld960_set_output_arch): Ditto.
871 * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
872 * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
873
b50c15dc
NC
8742004-01-02 Bernardo Innocenti <bernie@develer.com>
875
876 * configure.tgt: Add m68k-uClinux target.
6edf0760 877
c9e214e5 878For older changes see ChangeLog-0203
252b5132
RH
879\f
880Local Variables:
881mode: change-log
882left-margin: 8
883fill-column: 74
884version-control: never
885End:
This page took 0.518365 seconds and 4 git commands to generate.