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