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