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