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