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