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