1 2008-08-08 Alan Modra <amodra@bigpond.net.au>
3 * ldfile.c (ldfile_open_file_search): Use concat.
4 (try_open): Don't use a fixed size pathname buffer.
5 (ldfile_find_command_file): Likewise.
6 * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): If
7 using EXTRA_SHLIB_EXTENSION, don't open twice.
9 2008-08-04 Alan Modra <amodra@bigpond.net.au>
11 * Makefile.am (POTFILES.in): Set LC_ALL=C.
12 * Makefile.in: Regenerate.
13 * po/POTFILES.in: Regenerate.
15 2008-08-03 Alan Modra <amodra@bigpond.net.au>
17 * Makefile.am (spu_ovl.o): Merge rule into..
18 (spu_ovl.o_c): ..this one. Only run cpp for spu target.
19 * Makefile.in: Regenerate.
21 2008-08-02 Jan Kratochvil <jan.kratochvil@redhat.com>
23 Include the spu_ovl ASCII form in the repository files.
24 * emultempl/spuelf.em: No longer use `bin2c', use now `spu_ovl.o_c'.
25 * Makefile.am (eelf32_spu.c): Depend now on `spu_ovl.o_c'.
26 ($(srcdir)/emultempl/spu_ovl.o_c): New target.
27 ($(srcdir)/emultempl/spu_ovl.o): Rename to...
28 (spu_ovl.o): ...this one.
29 * Makefile.in: Regenerate.
30 * emultempl/spu_ovl.o_c: New file.
31 * emultempl/spu_ovl.o: File removed.
33 2008-07-31 Takashi Ono <t_ono@hkfreak.net>
35 * pe-dll.c (generate_relocs): Don't generate relocs for
36 undefined weak symbols.
38 2008-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
40 * emultempl/spuelf.em: Abort on the missing required `spu_ovl.o'.
42 2008-07-30 Alan Modra <amodra@bigpond.net.au>
44 * emultempl/pe.em, emultempl/pep.em: Silence gcc warnings.
46 2008-07-18 Joseph Myers <joseph@codesourcery.com>
48 * ld.texinfo (--no-wchar-size-warning): Document new ARM option.
49 * emultempl/armelf.em (no_wchar_size_warning): New.
50 (arm_elf_create_output_section_statements): Pass
51 no_wchar_size_warning to arm_elf_create_output_section_statements.
52 (OPTION_NO_WCHAR_SIZE_WARNING): New.
53 (PARSE_AND_LIST_LONGOPTS): Add no-wchar-size-warning.
54 (PARSE_AND_LIST_OPTIONS): List --no-wchar-size-warning.
55 (PARSE_AND_LIST_ARGS_CASES): Handle --no-wchar-size-warning.
57 2008-07-15 Jie Zhang <jie.zhang@analog.com>
59 * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Define.
61 2008-07-12 Craig Silverstein <csilvers@google.com>
64 * configure.in: Check for, and include, libz.a if it is present.
65 * configure: Regenerate.
66 * config.in: Regenerate.
68 2008-07-12 Jie Zhang <jie.zhang@analog.com>
71 2008-07-12 Jie Zhang <jie.zhang@analog.com>
72 * Makefile.am (eelf32bfin.c): Depend on bfin.em.
73 (eelf32bfinfd.c): Likewise.
74 * Makefile.in: Regenerate.
75 * gen-doc.texi: Set Blackfin.
76 * ld.texinfo: Document --sep-code and Blackfin specific
78 * ldmain.c (main): Initialize link_info.sep_code.
79 * lexsup.c (enum option_values): Add OPTION_SEP_CODE.
80 (ld_options[]): Add --sep-code.
81 (parse_args): Deal with --sep-code.
82 * emulparams/bfin.sh (EXTRA_EM_FILE): Define.
83 * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Define.
84 * emultempl/bfin.em: New file.
86 2008-07-12 Jie Zhang <jie.zhang@analog.com>
88 * Makefile.am (eelf32bfin.c): Depend on bfin.em.
89 (eelf32bfinfd.c): Likewise.
90 * Makefile.in: Regenerate.
91 * gen-doc.texi: Set Blackfin.
92 * ld.texinfo: Document --sep-code and Blackfin specific
94 * ldmain.c (main): Initialize link_info.sep_code.
95 * lexsup.c (enum option_values): Add OPTION_SEP_CODE.
96 (ld_options[]): Add --sep-code.
97 (parse_args): Deal with --sep-code.
98 * emulparams/bfin.sh (EXTRA_EM_FILE): Define.
99 * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Define.
100 * emultempl/bfin.em: New file.
102 2008-07-09 Danny Smith <dannysmith@users.sourceforge.net>
104 *pe-dll.c (autofilter_symbolprefixlist): Excude all symbols
106 Exclude "_IMPORT_DESCRIPTOR_".
107 (autofilter_symbolsuffixlist): Exclude "_NULL_THUNK_DATA".
108 (autofilter_symbollist_generic): Don't check for ".text".
109 Exclude "_NULL_IMPORT_DESCRIPTOR".
110 (autofilter_symbollist_i386): Likewise.
112 2008-07-07 Alan Modra <amodra@bigpond.net.au>
114 * emultempl/armelf.em (elf32_arm_add_stub_section): Use
115 bfd_make_section_with_flags.
116 * emultempl/avrelf.em (avr_elf_create_output_section_statements):
118 * emultempl/hppaelf.em (hppaelf_add_stub_section): Likewise.
119 * emultempl/m68hc1xelf.em (m68hc11elf_add_stub_section): Likewise.
120 * emultempl/m68kcoff.em (gld${EMULATION_NAME}_after_open): Likewise.
121 * emultempl/m68kelf.em (m68k_elf_after_open): Likewise.
122 * emultempl/ppc64elf.em (ppc_add_stub_section): Likewise.
123 * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation):
126 2008-07-06 Nathan Sidwell <nathan@codesourcery.com>
128 * ld.texinfo (File Commands): Document that INCLUDE can be used in
129 several different places.
130 * ldgram.y (statement, memory_spec, section): Allow INCLUDE.
131 (memory, memory_spec_list): Simplify BNF
132 (memory_spec_list_opt): New rule.
133 * ldlex.l (INCLUDE): Recognize in EXPRESSION.
135 2008-06-20 Alan Modra <amodra@bigpond.net.au>
137 * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Make "can not
138 build overlay stubs" a fatal error.
140 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
142 * config.in: Regenerate.
143 * configure: Regenerate.
145 2008-06-17 Alan Modra <amodra@bigpond.net.au>
147 * emultempl/spuelf.em (extra_stack_space): New variable.
148 (gld${EMULATION_NAME}_finish): Pass it to spu_elf_check_vma.
149 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
150 PARSE_AND_LIST_ARGS_CASES): Handle --extra-stack-space.
151 * emultempl/spu_ovl.S: Mask interrupts during dma and update of
152 overlay manager structures.
153 * emultempl/spu_ovl.o: Regenerate.
155 2008-06-16 Hans-Peter Nilsson <hp@bitrange.com>
157 * ld.texinfo (@node MMIX): For the __.MMIX.start. prefix, only
158 mention it as being special for global symbols.
160 2008-06-12 Nick Clifton <nickc@redhat.com>
162 * ldlang.c (print_output_section_statement): If the output section
163 statement has an update_dot_tree expression, apply it to
165 (print_input_section): Do not update print_dot if it would move
167 (lang_do_assignments_1): If the output section statement has an
168 update_dot_tree expression apply it to dot.
170 2008-06-07 Alan Modra <amodra@bigpond.net.au>
172 * NEWS: Mention archive:path patterns.
173 * ld.texinfo: Likewise.
174 * ldlang.c: Formatting throughout.
175 (archive_path): Only assume "[A-Za-z]:" is a dos drive.
176 (input_statement_is_archive_path): New function, extracted from..
178 (walk_wild_consider_section): Match archive:path here too.
179 (init_map_userdata, sort_def_symbol): Convert to ISO C.
180 * ldmain.c (main): Set link_info.path_separator.
181 * emultempl/spuelf.em (choose_target): Don't set it here.
183 2008-06-06 Alan Modra <amodra@bigpond.net.au>
185 * ldlang.c (name_match): New function.
186 (unique_section_p, walk_wild_consider_section): Use it here.
187 (walk_wild_section_general): And here.
188 (archive_path): New function.
189 (walk_wild): Match archive:path filespecs.
190 (open_input_bfds): Don't load archive:path files.
191 * emultempl/spuelf.em (choose_target): Set path_separator.
192 * emulparams/elf32_spu.sh: Add ._ea.* sections to ._ea output.
194 2008-06-04 Nick Clifton <nickc@redhat.com>
196 * ld.texinfo (Orphan Sections): Fix texi typo.
198 2008-06-04 Chris Metcalf <cmetcalf@tilera.com>
200 * lexsup.c (option_values): Add OPTION_NO_WARN_FATAL.
201 (ld_options): Add entry for --no-fatal-warnings.
202 (parse_args): Handle OPTION_NO_WARN_FATAL.
203 * ld.texinfo (Options): Document new command line switch.
205 2008-06-04 Alan Modra <amodra@bigpond.net.au>
207 * emultempl/spuelf.em (spu_elf_relink): Correct --no-auto-overlay arg.
209 2008-06-02 Nathan Sidwell <nathan@codesourcery.com>
211 * ldlang.c (closest_target_match): Skip generic big and little
214 2008-05-31 Evandro Menezes <evandro@yahoo.com>
217 * ld.h (enum sort_order): New.
218 * ldlang.c (lang_check: Fix comment.
219 (lang_common): Sort commons in ascending or descending order.
220 (lang_one_common): Likewise.
221 * lexsup.c (ld_options): Have --sort-common take an option
223 (parse_args): Handle argument to --sort-common.
224 * ld.texinfo (--sort-common): Document new optional argument.
225 * NEWS: Mention new feature.
227 2008-05-28 Christophe Lyon <christophe.lyon@st.com>
229 * ld.texinfo: State that farcalls stubs are supported for ARM-EABI
232 2008-05-27 Kai Tietz <kai.tietz@onevision.com>
234 * pe-dll.c (fill_edata): Make sure we calculate vma's in
236 (generate_reloc): Likewise.
237 (pe_implied_import_dll): Likewise.
239 2008-05-21 Nick Clifton <nickc@redhat.com>
242 * ld.texinfo (Orphan Sections): Mention that the linker will
243 provide start and stop symbols for orphaned sections if their
244 names are valid C identifiers.
245 * NEWS: Add an addendum to the description of the linker feature
246 for providing orphan section start and end symbols.
248 2008-05-21 Maxim Kuvyrkov <maxim@codesourcery.com>
250 * configure.in (--enable-got): New option. Handle it.
251 * configure: Regenerate.
252 * config.in: Regenerate.
253 * emultempl/m68kelf.em: (got_handling_target_default): New shell
255 (GOT_HANDLING_TARGET_DEFAULT): New macro.
256 (GOT_HANDLING_DEFAULT): New macro. Initialize it from configure
257 option if one was given.
258 (got_handling): New static variable.
259 (elf_m68k_create_output_section_statements): New static function
261 (PARSE_AND_LIST_PROLOGUE): Define shell variable.
262 (OPTION_GOT): New macro.
263 (PARSE_AND_LIST_LONGOPTS): Define shell variable. Specify
265 (got): New linker option.
266 (PARSE_AND_LIST_OPTIONS): Define shell variable. Print help string
268 (PARSE_AND_LIST_ARGS_CASES): Define shell variable. Handle --got
270 * ld.texinfo: Document --got=<type> option.
271 * gen-doc.texi: Add M68K.
272 * NEWS: Mention the new feature.
274 2008-05-21 Evandro Menezes <evandro@yahoo.com>
277 * ld.texinfo (--sort-common): Correct documentation to indicate
278 that sorting is performed by alignment, not size, biggest
281 2008-05-21 Christophe Lyon <christophe.lyon@st.com>
282 Nick Clifton <nickc@redhat.com>
284 * ld.texinfo (ARM): Document --stub-group-size=N option.
285 Move description of --pic-veneer option into the ARM section.
286 * NEWS: Mention the support for long function calls.
288 2008-05-15 Christophe Lyon <christophe.lyon@st.com>
290 * emultempl/armelf.em (build_section_lists): New function.
292 (need_laying_out): Define.
293 (group_size): Define.
294 (hook_stub_info): Define.
295 (hook_in_stub): New function.
296 (elf32_arm_add_stub_section): New function.
297 (gldarm_layout_sections_again): New function.
298 (gld${EMULATION_NAME}_finish): Replace arm_elf_finish(). Generate
299 stubs for long calls if needed.
300 (arm_elf_create_output_section_statements): create stub_file bfd.
301 (arm_for_each_input_file_wrapper): New function.
302 (arm_lang_for_each_input_file): New function.
303 (lang_for_each_input_file): Define.
304 (PARSE_AND_LIST_PROLOGUE): Add option token OPTION_STUBGROUP_SIZE.
305 (PARSE_AND_LIST_LONGOPTS): Add option stub-group-size.
306 (PARSE_AND_LIST_OPTIONS): Add option stub-group-size.
307 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_STUBGROUP_SIZE case.
308 (LDEMUL_FINISH): Update to gld${EMULATION_NAME}_finish.
309 * lang.c (print_input_statement): Skip if bfd has
312 2008-05-14 Alan Modra <amodra@bigpond.net.au>
314 * Makefile.in: Regenerate.
316 2008-05-09 Kai Tietz <kai.tietz@onevision.com>
319 * emultempl/pep.em (compute_dll_image_base): Use bfd_vma instead
320 of long and change return type to bfd_vma.
321 (definfo): Change type of address from long to bfd_vma.
322 (set_pep_value): Replace strtoul to strtoull.
323 (gld_${EMULATION_NAME}_set_symbols): use bfd_vma instead of long..
324 * pe-dll.c (pe_dll_generate_def_file): Use fprintf_vma to print
326 (quick_reloc): Change argument address from int to bfd_size_type.
328 2008-05-08 Tom Tromey <tromey@redhat.com>
330 * ld.texinfo (PowerPC64 ELF64): Fix typo.
332 2008-05-08 Alan Modra <amodra@bigpond.net.au>
334 * elf32_spu.sh (OTHER_SECTIONS): Add "._ea".
335 * elf32ppc.sh: If building with spu support, put ".data.spehandle"
336 sections at the start of ".data" and provide a symbol to locate
337 the directory of embedded spe programs.
339 2008-05-08 Alan Modra <amodra@bigpond.net.au>
341 * ldexp.c (exp_print_token): Add ABSOLUTE, MIN_K, ASSERT_K. Correct
343 (fold_binary <SEGMENT_START>): Set expld.result.section to
344 current section. Expand comment. Formatting.
345 (fold_name <DEFINED>): Set expld.result.section to current section.
347 2008-04-28 Nathan Sidwell <nathan@codesourcery.com>
349 * ldlang.c (lang_size_sections_1): Don't check LMA overflow on
352 2008-04-25 Michael Frysinger <vapier@gentoo.org>
354 * configure.tgt (bfin-*-linux-uclibc*): Set targ_emul to elf32bfinfd
355 and targ_extra_emuls to elf32bfin.
357 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
359 * aclocal.m4: Regenerate.
360 * configure: Regenerate.
362 2008-04-03 Kai Tietz <kai.tietz@onevision.com>
364 * scripttempl/pep.sc: Align start of symbol __CTOR_LIST__.
366 2008-04-08 Alan Modra <amodra@bigpond.net.au>
368 * po/POTFILES.in: Regenerate.
370 2008-04-08 Alan Modra <amodra@bigpond.net.au>
372 * emultempl/spuelf.em (auto_overlay, auto_overlay_file,
373 auto_overlay_fixed, auto_overlay_reserved, my_argc, my_argv): New vars.
374 (spu_before_allocation): Warn on --auto-overlay and existing overlays.
375 (struct tflist, clean_tmp): Move.
376 (new_tmp_file): New function, extracted from..
377 (embedded_spu_file): ..here.
378 (spu_elf_open_overlay_script, spu_elf_relink): New function.
379 (gld${EMULATION_NAME}_finish): Pass a bunch of --auto-overlay params.
380 Warn on --auto-overlay and zero local store.
381 (gld${EMULATION_NAME}_choose_target): New function to stash argv.
382 (OPTION_SPU_AUTO_OVERLAY, OPTION_SPU_AUTO_RELINK,
383 OPTION_SPU_OVERLAY_RODATA, OPTION_SPU_FIXED_SPACE,
384 OPTION_SPU_RESERVED_SPACE, OPTION_SPU_NO_AUTO_OVERLAY): Define.
385 (PARSE_AND_LIST_LONGOPTS): Add entries for new options.
386 (PARSE_AND_LIST_OPTIONS): Likewise.
387 (PARSE_AND_LIST_ARGS_CASES): Likewise.
388 (LDEMUL_CHOOSE_TARGET): Define.
390 2008-04-03 Kai Tietz <kai.tietz@onevision.com>
393 * pe-dll.c (make_head): Fix iat and thunk addend offset.
395 2008-03-31 Nick Clifton <nickc@redhat.com>
397 * po/fr.po: Updated French translation.
399 2008-03-24 Ian Lance Taylor <iant@google.com>
401 The sha1 code is now in libiberty.
404 * Makefile.am (CFILES): Remove sha1.c.
405 (HFILES): Remove sha1.h.
406 (OFILES): Remove sha1.o.
407 (ld_new_SOURCES): Remove sha1.c.
408 (sha1.o): Remove target.
409 * Makefile.in: Rebuild.
411 2008-03-20 Alan Modra <amodra@bigpond.net.au>
413 * emultempl/spuelf.em: Update calls to elf32-spu.c funcs.
415 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
417 * aclocal.m4: Regenerate.
418 * configure: Likewise.
419 * Makefile.in: Likewise.
421 2008-03-14 Alan Modra <amodra@bigpond.net.au>
423 * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Protect
424 spu_elf_build_stubs with is_spu_target.
426 2008-03-13 Alan Modra <amodra@bigpond.net.au>
428 * Makefile.am: Run "make dep-am".
429 * Makefile.in: Regenerate.
430 * configure: Regenerate.
432 2008-03-06 Joseph Myers <joseph@codesourcery.com>
433 Roman Zippel <zippel@linux-m68k.org>
435 * emulparams/m68kelf.sh (GENERATE_PIE_SCRIPT): Define.
436 (COMMONPAGESIZE): Define.
438 2008-02-22 Nick Clifton <nickc@redhat.com>
441 * ldlang.c (lang_size_sections_1): Honour the setting of an
442 lma_region even if there is no vma region set, or the vma region
443 is the same as the lma region.
445 2008-02-18 Nick Clifton <nickc@redhat.com>
447 * scripttempl/armbpabi.sc (ENTRY): Do not define when performing a
449 * scripttempl/elf32cr16.sc: Likewise.
450 * scripttempl/elf32cr16c.sc: Likewise.
451 * scripttempl/elf32crx.sc: Likewise.
452 * scripttempl/elf32sh-symbian.sc: Likewise.
453 * scripttempl/elf_chaos.sc: Likewise.
454 * scripttempl/elfd10v.sc: Likewise.
455 * scripttempl/elfi370.sc: Likewise.
456 * scripttempl/elfm68hc11.sc: Likewise.
457 * scripttempl/elfm68hc12.sc: Likewise.
458 * scripttempl/ip2k.sc: Likewise.
459 * scripttempl/iq2000.sc: Likewise.
460 * scripttempl/mep.sc: Likewise.
461 * scripttempl/v850.sc: Likewise.
462 * scripttempl/xstormy16.sc: Likewise.
464 2008-02-16 Alan Modra <amodra@bigpond.net.au>
467 * ldexp.c (fold_name <LOADADDR>): Check result of evaluating
468 load_base before calling make_abs.
470 2008-02-15 Alan Modra <amodra@bigpond.net.au>
472 * emultempl/alphaelf.em (alpha_after_open): Use elf_object_id.
473 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
475 * emultempl/ppc64elf.em (ppc_create_output_section_statements):
477 * emultempl/ppc32elf.em (is_ppc_elf32_vec): Delete. Replace all
479 (is_ppc_elf): ..this new macro.
481 2008-02-15 Alan Modra <amodra@bigpond.net.au>
483 * ldmain.h (output_bfd): Delete.
484 * ldmain.c (output_bfd): Delete.
485 Replace all occurrences of output_bfd with link_info.output_bfd.
486 * ldcref.c: Likewise.
487 * ldctor.c: Likewise.
488 * ldemul.c: Likewise.
490 * ldfile.c: Likewise.
491 * ldlang.c: Likewise.
492 * ldmisc.c: Likewise.
493 * ldwrite.c: Likewise.
494 * pe-dll.c: Likewise.
495 * emultempl/aix.em: Likewise.
496 * emultempl/alphaelf.em: Likewise.
497 * emultempl/armcoff.em: Likewise.
498 * emultempl/armelf.em: Likewise.
499 * emultempl/avrelf.em: Likewise.
500 * emultempl/beos.em: Likewise.
501 * emultempl/elf-generic.em: Likewise.
502 * emultempl/elf32.em: Likewise.
503 * emultempl/gld960.em: Likewise.
504 * emultempl/hppaelf.em: Likewise.
505 * emultempl/irix.em: Likewise.
506 * emultempl/linux.em: Likewise.
507 * emultempl/lnk960.em: Likewise.
508 * emultempl/m68hc1xelf.em: Likewise.
509 * emultempl/mmix-elfnmmo.em: Likewise.
510 * emultempl/mmo.em: Likewise.
511 * emultempl/pe.em: Likewise.
512 * emultempl/pep.em: Likewise.
513 * emultempl/ppc32elf.em: Likewise.
514 * emultempl/ppc64elf.em: Likewise.
515 * emultempl/scoreelf.em: Likewise.
516 * emultempl/sh64elf.em: Likewise.
517 * emultempl/spuelf.em: Likewise.
518 * emultempl/sunos.em: Likewise.
519 * emultempl/vanilla.em: Likewise.
520 * emultempl/vxworks.em: Likewise.
521 * emultempl/xtensaelf.em: Likewise.
522 * emultempl/z80.em: Likewise.
523 * ldlang.c (open_output): Don't return output, instead write
524 link_info_output_bfd directly.
525 * emultempl/alphaelf.em: Replace occurrences of link_info.hash->creator
526 with link_info.output_bfd->xvec.
527 * emultempl/hppaelf.em: Likewise.
528 * emultempl/ppc32elf.em: Likewise.
529 * emultempl/ppc64elf.em: Likewise.
530 * emultempl/spuelf.em: Likewise.
532 2008-02-07 Alan Modra <amodra@bigpond.net.au>
534 * ldlang.c (new_afile): Don't pass unadorned NULL to concat.
535 * ldfile.c (ldfile_add_library_path): Likewise.
536 * emultempl/elf32.em (check_ld_elf_hints, check_ld_so_conf): Likewise.
537 * emultempl/lnk960.em (lnk960_before_parse): Likewise.
538 * emultempl/spuelf.em (embedded_spu_file): Likewise.
540 2008-02-07 Alan Modra <amodra@bigpond.net.au>
542 * emultempl/spu_ovl.S: Use low bit of _ovly_table.size as
543 a "present" bit rather than low bit of .buf. Correct indexing
544 into _ovly_buf_table. Use relative loads and stores to access
545 overlay manager local vars.
546 * emultempl/spu_ovl.o: Regenerate.
548 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
551 * configure: Regenerated.
553 2008-01-31 Marc Gauthier <marc@tensilica.com>
555 * configure.tgt (xtensa*-*-*): Recognize processor variants.
557 2008-01-28 Fabian Groffen <grobian@gentoo.org>
559 * configure.tgt (x86_64-*-solaris2): Add support for this target.
561 2008-01-28 Vincent Riviere <vincent.riviere@freesbee.fr>
564 * genscripts.sh: Check for the existence of BASH_LINENO not just
565 the BASH shell before generating line numbers in the emulation
568 2008-01-28 Alan Modra <amodra@bigpond.net.au>
570 * emultempl/spu_ovl.S: Rewrite.
571 * emultempl/spu_ovl.o: Regenerate.
572 * emultempl/spuelf.em (toe): Delete.
573 (spu_place_special_section): Add param to control section placement.
575 (spu_elf_load_ovl_mgr): Adjust for struct _spu_elf_section_data
577 (spu_before_allocation): Adjust spu_elf_size_stubs call.
578 (gld${EMULATION_NAME}_finish): Adjust spu_elf_build_stubs call.
580 2008-01-25 H.J. Lu <hongjiu.lu@intel.com>
583 * ldlang.c (process_insert_statements): Silence gcc 4.1 alias
586 2008-01-25 Alan Modra <amodra@bigpond.net.au>
588 * ld.texinfo (INSERT): Describe.
589 * ldgram.y (ldgram_in_script, ldgram_had_equals): Delete.
590 (INSERT_K, AFTER, BEFORE): Add as tokens.
591 (ifile_p1): Handle INSERT statements.
592 (saved_script_handle, force_make_executable): Move to..
594 (previous_script_handle): New global var.
595 * ldmain.h (saved_script_handle, force_make_executable): Declare.
596 (previous_script_handle): Likewise.
597 * ldlex.l (INSERT_K, AFTER, BEFORE): Add tokens.
598 * lexsup.c (parge_args <-T>): Set previous_script_handle.
599 * ldlang.c (lang_for_each_statement_worker): Handle insert statement.
600 (map_input_to_output_sections, print_statement): Likewise.
601 (lang_size_sections_1, lang_do_assignments_1): Likewise.
602 (insert_os_after): New function, extracted from..
603 (lang_insert_orphan): ..here.
604 (process_insert_statements): New function.
605 (lang_process): Call it.
606 (lang_add_insert): New function.
607 * ldlang.h (lang_insert_statement_enum): New.
608 (lang_insert_statement_type): New.
609 (lang_statement_union_type): Add insert_statement.
610 (lang_add_insert): Declare.
612 2008-01-18 Bob Wilson <bob.wilson@acm.org>
614 * scripttempl/elfxtensa.sc: Merge ENTRY and .note.gnu.build-id
617 2008-01-16 Alan Modra <amodra@bigpond.net.au>
619 * ldlang.c (lang_size_sections_1): Simplify SEC_NEVER_LOAD test.
621 2008-01-16 Alan Modra <amodra@bigpond.net.au>
623 * ldlang.h (lang_afile_asection_pair_statement_enum): Delete.
624 (lang_afile_asection_pair_statement_type): Delete.
625 (lang_statement_union_type): Delete afile_asection_pair_statement.
626 * ldlang.c (lang_insert_orphan): Delete case handling the above.
627 (map_input_to_output_sections, print_statement): Likewise.
629 2008-01-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
631 * emulparams/shlelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE
633 * emulparams/shelf_nbsd.sh (DATA_START_SYMBOLS): Likewise.
635 2008-01-15 Alan Modra <amodra@bigpond.net.au>
638 * ldlang.c (lang_gc_sections): Move code to set SEC_KEEP on entry
639 syms to _bfd_elf_gc_keep.
640 * emultempl/ppc64elf.em (ppc_before_allocation): Don't call
641 ppc64_elf_edit_opd if no_opd_opt.
643 2008-01-11 Tristan Gingold <gingold@adacore.com>
644 Eric Botcazou <ebotcazou@adacore.com>
646 * ldlang.c (lang_end): Warns if the entry point is not found when
648 Emit an error if no root is specified when --gc-sections -r.
649 * ld.texinfo (Options): Document that --gc-sections is compatible
651 * ldmain.c (main): Do not error out if -r and --gc-sections.
652 * scripttempl/elf.sc: Emit ENTRY command only if relocating.
654 2008-01-10 Daniel Jacobowitz <drow@sources.redhat.com>
657 * ldlang.c (lang_end): Issue a warning for a missing start symbol
658 of a shared library if the symbol was specified on the command
661 2008-01-10 Alan Modra <amodra@bigpond.net.au>
663 * ld.texinfo (--gc-sections): Describe linker behaviour.
665 For older changes see ChangeLog-2007
671 version-control: never