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