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