* configure.ac: m4_include config/proginstall.m4.
[binutils.git] / ld / ChangeLog
blobf79ac8af875b568bc7e436565e292d29e9bd3398
1 2008-03-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3         * aclocal.m4: Regenerate.
4         * configure: Likewise.
5         * Makefile.in: Likewise.
7 2008-03-14  Alan Modra  <amodra@bigpond.net.au>
9         * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Protect
10         spu_elf_build_stubs with is_spu_target.
12 2008-03-13  Alan Modra  <amodra@bigpond.net.au>
14         * Makefile.am: Run "make dep-am".
15         * Makefile.in: Regenerate.
16         * configure: Regenerate.
18 2008-03-06  Joseph Myers  <joseph@codesourcery.com>
19             Roman Zippel  <zippel@linux-m68k.org>
21         * emulparams/m68kelf.sh (GENERATE_PIE_SCRIPT): Define.
22         (COMMONPAGESIZE): Define.
24 2008-02-22  Nick Clifton  <nickc@redhat.com>
26         PR ld/5785
27         * ldlang.c (lang_size_sections_1): Honour the setting of an
28         lma_region even if there is no vma region set, or the vma region
29         is the same as the lma region.
31 2008-02-18  Nick Clifton  <nickc@redhat.com>
33         * scripttempl/armbpabi.sc (ENTRY): Do not define when performing a
34         relocatable link.
35         * scripttempl/elf32cr16.sc: Likewise.
36         * scripttempl/elf32cr16c.sc: Likewise.
37         * scripttempl/elf32crx.sc: Likewise.
38         * scripttempl/elf32sh-symbian.sc: Likewise.
39         * scripttempl/elf_chaos.sc: Likewise.
40         * scripttempl/elfd10v.sc: Likewise.
41         * scripttempl/elfi370.sc: Likewise.
42         * scripttempl/elfm68hc11.sc: Likewise.
43         * scripttempl/elfm68hc12.sc: Likewise.
44         * scripttempl/ip2k.sc: Likewise.
45         * scripttempl/iq2000.sc: Likewise.
46         * scripttempl/mep.sc: Likewise.
47         * scripttempl/v850.sc: Likewise.
48         * scripttempl/xstormy16.sc: Likewise.
50 2008-02-16  Alan Modra  <amodra@bigpond.net.au>
52         PR ld/5761
53         * ldexp.c (fold_name <LOADADDR>): Check result of evaluating
54         load_base before calling make_abs.
56 2008-02-15  Alan Modra  <amodra@bigpond.net.au>
58         * emultempl/alphaelf.em (alpha_after_open): Use elf_object_id.
59         * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
60         Likewise.
61         * emultempl/ppc64elf.em (ppc_create_output_section_statements):
62         Likewise.
63         * emultempl/ppc32elf.em (is_ppc_elf32_vec): Delete.  Replace all
64         uses with..
65         (is_ppc_elf): ..this new macro.
67 2008-02-15  Alan Modra  <amodra@bigpond.net.au>
69         * ldmain.h (output_bfd): Delete.
70         * ldmain.c (output_bfd): Delete.
71         Replace all occurrences of output_bfd with link_info.output_bfd.
72         * ldcref.c: Likewise.
73         * ldctor.c: Likewise.
74         * ldemul.c: Likewise.
75         * ldexp.c: Likewise.
76         * ldfile.c: Likewise.
77         * ldlang.c: Likewise.
78         * ldmisc.c: Likewise.
79         * ldwrite.c: Likewise.
80         * pe-dll.c: Likewise.
81         * emultempl/aix.em: Likewise.
82         * emultempl/alphaelf.em: Likewise.
83         * emultempl/armcoff.em: Likewise.
84         * emultempl/armelf.em: Likewise.
85         * emultempl/avrelf.em: Likewise.
86         * emultempl/beos.em: Likewise.
87         * emultempl/elf-generic.em: Likewise.
88         * emultempl/elf32.em: Likewise.
89         * emultempl/gld960.em: Likewise.
90         * emultempl/hppaelf.em: Likewise.
91         * emultempl/irix.em: Likewise.
92         * emultempl/linux.em: Likewise.
93         * emultempl/lnk960.em: Likewise.
94         * emultempl/m68hc1xelf.em: Likewise.
95         * emultempl/mmix-elfnmmo.em: Likewise.
96         * emultempl/mmo.em: Likewise.
97         * emultempl/pe.em: Likewise.
98         * emultempl/pep.em: Likewise.
99         * emultempl/ppc32elf.em: Likewise.
100         * emultempl/ppc64elf.em: Likewise.
101         * emultempl/scoreelf.em: Likewise.
102         * emultempl/sh64elf.em: Likewise.
103         * emultempl/spuelf.em: Likewise.
104         * emultempl/sunos.em: Likewise.
105         * emultempl/vanilla.em: Likewise.
106         * emultempl/vxworks.em: Likewise.
107         * emultempl/xtensaelf.em: Likewise.
108         * emultempl/z80.em: Likewise.
109         * ldlang.c (open_output): Don't return output, instead write
110         link_info_output_bfd directly.
111         * emultempl/alphaelf.em: Replace occurrences of link_info.hash->creator
112         with link_info.output_bfd->xvec.
113         * emultempl/hppaelf.em: Likewise.
114         * emultempl/ppc32elf.em: Likewise.
115         * emultempl/ppc64elf.em: Likewise.
116         * emultempl/spuelf.em: Likewise.
118 2008-02-07  Alan Modra  <amodra@bigpond.net.au>
120         * ldlang.c (new_afile): Don't pass unadorned NULL to concat.
121         * ldfile.c (ldfile_add_library_path): Likewise.
122         * emultempl/elf32.em (check_ld_elf_hints, check_ld_so_conf): Likewise.
123         * emultempl/lnk960.em (lnk960_before_parse): Likewise.
124         * emultempl/spuelf.em (embedded_spu_file): Likewise.
126 2008-02-07  Alan Modra  <amodra@bigpond.net.au>
128         * emultempl/spu_ovl.S: Use low bit of _ovly_table.size as
129         a "present" bit rather than low bit of .buf.  Correct indexing
130         into _ovly_buf_table.  Use relative loads and stores to access
131         overlay manager local vars.
132         * emultempl/spu_ovl.o: Regenerate.
134 2008-02-04  H.J. Lu  <hongjiu.lu@intel.com>
136         PR 5715
137         * configure: Regenerated.
139 2008-01-31  Marc Gauthier  <marc@tensilica.com>
141         * configure.tgt (xtensa*-*-*): Recognize processor variants.
143 2008-01-28  Fabian Groffen  <grobian@gentoo.org>
145         * configure.tgt (x86_64-*-solaris2): Add support for this target.
147 2008-01-28  Vincent Riviere  <vincent.riviere@freesbee.fr>
149         PR ld/5652
150         * genscripts.sh: Check for the existence of BASH_LINENO not just
151         the BASH shell before generating line numbers in the emulation
152         file.
154 2008-01-28  Alan Modra  <amodra@bigpond.net.au>
156         * emultempl/spu_ovl.S: Rewrite.
157         * emultempl/spu_ovl.o: Regenerate.
158         * emultempl/spuelf.em (toe): Delete.
159         (spu_place_special_section): Add param to control section placement.
160         Adjust callers.
161         (spu_elf_load_ovl_mgr): Adjust for struct _spu_elf_section_data
162         changes.
163         (spu_before_allocation): Adjust spu_elf_size_stubs call.
164         (gld${EMULATION_NAME}_finish): Adjust spu_elf_build_stubs call.
166 2008-01-25  H.J. Lu  <hongjiu.lu@intel.com>
168         PR ld/5670
169         * ldlang.c (process_insert_statements): Silence gcc 4.1 alias
170         warning.
172 2008-01-25  Alan Modra  <amodra@bigpond.net.au>
174         * ld.texinfo (INSERT): Describe.
175         * ldgram.y (ldgram_in_script, ldgram_had_equals): Delete.
176         (INSERT_K, AFTER, BEFORE): Add as tokens.
177         (ifile_p1): Handle INSERT statements.
178         (saved_script_handle, force_make_executable): Move to..
179         * ldmain.c: ..here.
180         (previous_script_handle): New global var.
181         * ldmain.h (saved_script_handle, force_make_executable): Declare.
182         (previous_script_handle): Likewise.
183         * ldlex.l (INSERT_K, AFTER, BEFORE): Add tokens.
184         * lexsup.c (parge_args <-T>): Set previous_script_handle.
185         * ldlang.c (lang_for_each_statement_worker): Handle insert statement.
186         (map_input_to_output_sections, print_statement): Likewise.
187         (lang_size_sections_1, lang_do_assignments_1): Likewise.
188         (insert_os_after): New function, extracted from..
189         (lang_insert_orphan): ..here.
190         (process_insert_statements): New function.
191         (lang_process): Call it.
192         (lang_add_insert): New function.
193         * ldlang.h (lang_insert_statement_enum): New.
194         (lang_insert_statement_type): New.
195         (lang_statement_union_type): Add insert_statement.
196         (lang_add_insert): Declare.
198 2008-01-18  Bob Wilson  <bob.wilson@acm.org>
200         * scripttempl/elfxtensa.sc: Merge ENTRY and .note.gnu.build-id
201         changes from elf.sc.
202         
203 2008-01-16  Alan Modra  <amodra@bigpond.net.au>
205         * ldlang.c (lang_size_sections_1): Simplify SEC_NEVER_LOAD test.
207 2008-01-16  Alan Modra  <amodra@bigpond.net.au>
209         * ldlang.h (lang_afile_asection_pair_statement_enum): Delete.
210         (lang_afile_asection_pair_statement_type): Delete.
211         (lang_statement_union_type): Delete afile_asection_pair_statement.
212         * ldlang.c (lang_insert_orphan): Delete case handling the above.
213         (map_input_to_output_sections, print_statement): Likewise.
215 2008-01-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
217         * emulparams/shlelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE
218         with __data_start.
219         * emulparams/shelf_nbsd.sh (DATA_START_SYMBOLS): Likewise.
221 2008-01-15  Alan Modra  <amodra@bigpond.net.au>
223         PR 5604
224         * ldlang.c (lang_gc_sections): Move code to set SEC_KEEP on entry
225         syms to _bfd_elf_gc_keep.
226         * emultempl/ppc64elf.em (ppc_before_allocation): Don't call
227         ppc64_elf_edit_opd if no_opd_opt.
229 2008-01-11  Tristan Gingold  <gingold@adacore.com>
230             Eric Botcazou  <ebotcazou@adacore.com>
232         * ldlang.c (lang_end): Warns if the entry point is not found when
233         --gc-sections.
234         Emit an error if no root is specified when --gc-sections -r.
235         * ld.texinfo (Options): Document that --gc-sections is compatible
236         with -r and -q.
237         * ldmain.c (main): Do not error out if -r and --gc-sections.
238         * scripttempl/elf.sc: Emit ENTRY command only if relocating.
240 2008-01-10  Daniel Jacobowitz  <drow@sources.redhat.com>
242         PR ld/5533
243         * ldlang.c (lang_end): Issue a warning for a missing start symbol
244         of a shared library if the symbol was specified on the command
245         line.
247 2008-01-10  Alan Modra  <amodra@bigpond.net.au>
249         * ld.texinfo (--gc-sections): Describe linker behaviour.
251 For older changes see ChangeLog-2007
253 Local Variables:
254 mode: change-log
255 left-margin: 8
256 fill-column: 74
257 version-control: never
258 End: