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