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