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