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