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