daily update
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
6194aaab
L
12008-04-23 Paolo Bonzini <bonzini@gnu.org>
2
3 * aclocal.m4: Regenerate.
4 * configure: Regenerate.
5
da6fa31a
KT
62008-04-03 Kai Tietz <kai.tietz@onevision.com>
7
8 * scripttempl/pep.sc: Align start of symbol __CTOR_LIST__.
9
9be9d352
AM
102008-04-08 Alan Modra <amodra@bigpond.net.au>
11
12 * po/POTFILES.in: Regenerate.
13
9dcc4794
AM
142008-04-08 Alan Modra <amodra@bigpond.net.au>
15
16 * emultempl/spuelf.em (auto_overlay, auto_overlay_file,
17 auto_overlay_fixed, auto_overlay_reserved, my_argc, my_argv): New vars.
18 (spu_before_allocation): Warn on --auto-overlay and existing overlays.
19 (struct tflist, clean_tmp): Move.
20 (new_tmp_file): New function, extracted from..
21 (embedded_spu_file): ..here.
22 (spu_elf_open_overlay_script, spu_elf_relink): New function.
23 (gld${EMULATION_NAME}_finish): Pass a bunch of --auto-overlay params.
24 Warn on --auto-overlay and zero local store.
25 (gld${EMULATION_NAME}_choose_target): New function to stash argv.
26 (OPTION_SPU_AUTO_OVERLAY, OPTION_SPU_AUTO_RELINK,
27 OPTION_SPU_OVERLAY_RODATA, OPTION_SPU_FIXED_SPACE,
28 OPTION_SPU_RESERVED_SPACE, OPTION_SPU_NO_AUTO_OVERLAY): Define.
29 (PARSE_AND_LIST_LONGOPTS): Add entries for new options.
30 (PARSE_AND_LIST_OPTIONS): Likewise.
31 (PARSE_AND_LIST_ARGS_CASES): Likewise.
32 (LDEMUL_CHOOSE_TARGET): Define.
33
5f69259e
KT
342008-04-03 Kai Tietz <kai.tietz@onevision.com>
35
36 PR ld/6026
37 * pe-dll.c (make_head): Fix iat and thunk addend offset.
38
95f0efb9
NC
392008-03-31 Nick Clifton <nickc@redhat.com>
40
41 * po/fr.po: Updated French translation.
42
f36d5d55
ILT
432008-03-24 Ian Lance Taylor <iant@google.com>
44
45 The sha1 code is now in libiberty.
46 * sha1.c: Remove.
47 * sha1.h: Remove.
48 * Makefile.am (CFILES): Remove sha1.c.
49 (HFILES): Remove sha1.h.
50 (OFILES): Remove sha1.o.
51 (ld_new_SOURCES): Remove sha1.c.
52 (sha1.o): Remove target.
53 * Makefile.in: Rebuild.
54
c65be8d7
AM
552008-03-20 Alan Modra <amodra@bigpond.net.au>
56
57 * emultempl/spuelf.em: Update calls to elf32-spu.c funcs.
58
58c85be7
RW
592008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
60
61 * aclocal.m4: Regenerate.
62 * configure: Likewise.
63 * Makefile.in: Likewise.
64
771a9c5f
AM
652008-03-14 Alan Modra <amodra@bigpond.net.au>
66
67 * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Protect
68 spu_elf_build_stubs with is_spu_target.
69
50e7d84b
AM
702008-03-13 Alan Modra <amodra@bigpond.net.au>
71
72 * Makefile.am: Run "make dep-am".
73 * Makefile.in: Regenerate.
74 * configure: Regenerate.
75
9e448631
NC
762008-03-06 Joseph Myers <joseph@codesourcery.com>
77 Roman Zippel <zippel@linux-m68k.org>
78
79 * emulparams/m68kelf.sh (GENERATE_PIE_SCRIPT): Define.
80 (COMMONPAGESIZE): Define.
81
07dfcf38
NC
822008-02-22 Nick Clifton <nickc@redhat.com>
83
84 PR ld/5785
85 * ldlang.c (lang_size_sections_1): Honour the setting of an
86 lma_region even if there is no vma region set, or the vma region
87 is the same as the lma region.
88
b34c1498
NC
892008-02-18 Nick Clifton <nickc@redhat.com>
90
91 * scripttempl/armbpabi.sc (ENTRY): Do not define when performing a
92 relocatable link.
93 * scripttempl/elf32cr16.sc: Likewise.
94 * scripttempl/elf32cr16c.sc: Likewise.
95 * scripttempl/elf32crx.sc: Likewise.
96 * scripttempl/elf32sh-symbian.sc: Likewise.
97 * scripttempl/elf_chaos.sc: Likewise.
98 * scripttempl/elfd10v.sc: Likewise.
99 * scripttempl/elfi370.sc: Likewise.
100 * scripttempl/elfm68hc11.sc: Likewise.
101 * scripttempl/elfm68hc12.sc: Likewise.
102 * scripttempl/ip2k.sc: Likewise.
103 * scripttempl/iq2000.sc: Likewise.
104 * scripttempl/mep.sc: Likewise.
105 * scripttempl/v850.sc: Likewise.
106 * scripttempl/xstormy16.sc: Likewise.
107
819da74e
AM
1082008-02-16 Alan Modra <amodra@bigpond.net.au>
109
110 PR ld/5761
111 * ldexp.c (fold_name <LOADADDR>): Check result of evaluating
112 load_base before calling make_abs.
113
5503fea1
AM
1142008-02-15 Alan Modra <amodra@bigpond.net.au>
115
116 * emultempl/alphaelf.em (alpha_after_open): Use elf_object_id.
117 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
118 Likewise.
119 * emultempl/ppc64elf.em (ppc_create_output_section_statements):
120 Likewise.
121 * emultempl/ppc32elf.em (is_ppc_elf32_vec): Delete. Replace all
122 uses with..
123 (is_ppc_elf): ..this new macro.
124
f13a99db
AM
1252008-02-15 Alan Modra <amodra@bigpond.net.au>
126
127 * ldmain.h (output_bfd): Delete.
128 * ldmain.c (output_bfd): Delete.
129 Replace all occurrences of output_bfd with link_info.output_bfd.
130 * ldcref.c: Likewise.
131 * ldctor.c: Likewise.
132 * ldemul.c: Likewise.
133 * ldexp.c: Likewise.
134 * ldfile.c: Likewise.
135 * ldlang.c: Likewise.
136 * ldmisc.c: Likewise.
137 * ldwrite.c: Likewise.
138 * pe-dll.c: Likewise.
139 * emultempl/aix.em: Likewise.
140 * emultempl/alphaelf.em: Likewise.
141 * emultempl/armcoff.em: Likewise.
142 * emultempl/armelf.em: Likewise.
143 * emultempl/avrelf.em: Likewise.
144 * emultempl/beos.em: Likewise.
145 * emultempl/elf-generic.em: Likewise.
146 * emultempl/elf32.em: Likewise.
147 * emultempl/gld960.em: Likewise.
148 * emultempl/hppaelf.em: Likewise.
149 * emultempl/irix.em: Likewise.
150 * emultempl/linux.em: Likewise.
151 * emultempl/lnk960.em: Likewise.
152 * emultempl/m68hc1xelf.em: Likewise.
153 * emultempl/mmix-elfnmmo.em: Likewise.
154 * emultempl/mmo.em: Likewise.
155 * emultempl/pe.em: Likewise.
156 * emultempl/pep.em: Likewise.
157 * emultempl/ppc32elf.em: Likewise.
158 * emultempl/ppc64elf.em: Likewise.
159 * emultempl/scoreelf.em: Likewise.
160 * emultempl/sh64elf.em: Likewise.
161 * emultempl/spuelf.em: Likewise.
162 * emultempl/sunos.em: Likewise.
163 * emultempl/vanilla.em: Likewise.
164 * emultempl/vxworks.em: Likewise.
165 * emultempl/xtensaelf.em: Likewise.
166 * emultempl/z80.em: Likewise.
167 * ldlang.c (open_output): Don't return output, instead write
168 link_info_output_bfd directly.
169 * emultempl/alphaelf.em: Replace occurrences of link_info.hash->creator
170 with link_info.output_bfd->xvec.
171 * emultempl/hppaelf.em: Likewise.
172 * emultempl/ppc32elf.em: Likewise.
173 * emultempl/ppc64elf.em: Likewise.
174 * emultempl/spuelf.em: Likewise.
175
ff7a0acf
AM
1762008-02-07 Alan Modra <amodra@bigpond.net.au>
177
178 * ldlang.c (new_afile): Don't pass unadorned NULL to concat.
179 * ldfile.c (ldfile_add_library_path): Likewise.
180 * emultempl/elf32.em (check_ld_elf_hints, check_ld_so_conf): Likewise.
181 * emultempl/lnk960.em (lnk960_before_parse): Likewise.
182 * emultempl/spuelf.em (embedded_spu_file): Likewise.
183
2e444bea
AM
1842008-02-07 Alan Modra <amodra@bigpond.net.au>
185
186 * emultempl/spu_ovl.S: Use low bit of _ovly_table.size as
187 a "present" bit rather than low bit of .buf. Correct indexing
188 into _ovly_buf_table. Use relative loads and stores to access
189 overlay manager local vars.
190 * emultempl/spu_ovl.o: Regenerate.
191
bb8541b9
L
1922008-02-04 H.J. Lu <hongjiu.lu@intel.com>
193
194 PR 5715
195 * configure: Regenerated.
196
f8a52b59
BW
1972008-01-31 Marc Gauthier <marc@tensilica.com>
198
199 * configure.tgt (xtensa*-*-*): Recognize processor variants.
200
00b2bfc1
NC
2012008-01-28 Fabian Groffen <grobian@gentoo.org>
202
203 * configure.tgt (x86_64-*-solaris2): Add support for this target.
204
6e73d595
NC
2052008-01-28 Vincent Riviere <vincent.riviere@freesbee.fr>
206
207 PR ld/5652
208 * genscripts.sh: Check for the existence of BASH_LINENO not just
209 the BASH shell before generating line numbers in the emulation
210 file.
211
47f6dab9
AM
2122008-01-28 Alan Modra <amodra@bigpond.net.au>
213
214 * emultempl/spu_ovl.S: Rewrite.
215 * emultempl/spu_ovl.o: Regenerate.
216 * emultempl/spuelf.em (toe): Delete.
217 (spu_place_special_section): Add param to control section placement.
218 Adjust callers.
219 (spu_elf_load_ovl_mgr): Adjust for struct _spu_elf_section_data
220 changes.
221 (spu_before_allocation): Adjust spu_elf_size_stubs call.
222 (gld${EMULATION_NAME}_finish): Adjust spu_elf_build_stubs call.
223
29183214
L
2242008-01-25 H.J. Lu <hongjiu.lu@intel.com>
225
226 PR ld/5670
227 * ldlang.c (process_insert_statements): Silence gcc 4.1 alias
228 warning.
229
53d25da6
AM
2302008-01-25 Alan Modra <amodra@bigpond.net.au>
231
232 * ld.texinfo (INSERT): Describe.
233 * ldgram.y (ldgram_in_script, ldgram_had_equals): Delete.
234 (INSERT_K, AFTER, BEFORE): Add as tokens.
235 (ifile_p1): Handle INSERT statements.
236 (saved_script_handle, force_make_executable): Move to..
237 * ldmain.c: ..here.
238 (previous_script_handle): New global var.
239 * ldmain.h (saved_script_handle, force_make_executable): Declare.
240 (previous_script_handle): Likewise.
241 * ldlex.l (INSERT_K, AFTER, BEFORE): Add tokens.
242 * lexsup.c (parge_args <-T>): Set previous_script_handle.
243 * ldlang.c (lang_for_each_statement_worker): Handle insert statement.
244 (map_input_to_output_sections, print_statement): Likewise.
245 (lang_size_sections_1, lang_do_assignments_1): Likewise.
246 (insert_os_after): New function, extracted from..
247 (lang_insert_orphan): ..here.
248 (process_insert_statements): New function.
249 (lang_process): Call it.
250 (lang_add_insert): New function.
251 * ldlang.h (lang_insert_statement_enum): New.
252 (lang_insert_statement_type): New.
253 (lang_statement_union_type): Add insert_statement.
254 (lang_add_insert): Declare.
255
c19f06f2
BW
2562008-01-18 Bob Wilson <bob.wilson@acm.org>
257
258 * scripttempl/elfxtensa.sc: Merge ENTRY and .note.gnu.build-id
259 changes from elf.sc.
260
14ac84b4
AM
2612008-01-16 Alan Modra <amodra@bigpond.net.au>
262
263 * ldlang.c (lang_size_sections_1): Simplify SEC_NEVER_LOAD test.
264
3d00b095
AM
2652008-01-16 Alan Modra <amodra@bigpond.net.au>
266
267 * ldlang.h (lang_afile_asection_pair_statement_enum): Delete.
268 (lang_afile_asection_pair_statement_type): Delete.
269 (lang_statement_union_type): Delete afile_asection_pair_statement.
270 * ldlang.c (lang_insert_orphan): Delete case handling the above.
271 (map_input_to_output_sections, print_statement): Likewise.
272
58da7b1b
KK
2732008-01-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
274
275 * emulparams/shlelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE
276 with __data_start.
277 * emulparams/shelf_nbsd.sh (DATA_START_SYMBOLS): Likewise.
278
74f0fb50
AM
2792008-01-15 Alan Modra <amodra@bigpond.net.au>
280
281 PR 5604
282 * ldlang.c (lang_gc_sections): Move code to set SEC_KEEP on entry
283 syms to _bfd_elf_gc_keep.
284 * emultempl/ppc64elf.em (ppc_before_allocation): Don't call
285 ppc64_elf_edit_opd if no_opd_opt.
286
ac69cbc6
TG
2872008-01-11 Tristan Gingold <gingold@adacore.com>
288 Eric Botcazou <ebotcazou@adacore.com>
289
290 * ldlang.c (lang_end): Warns if the entry point is not found when
291 --gc-sections.
292 Emit an error if no root is specified when --gc-sections -r.
293 * ld.texinfo (Options): Document that --gc-sections is compatible
294 with -r and -q.
295 * ldmain.c (main): Do not error out if -r and --gc-sections.
296 * scripttempl/elf.sc: Emit ENTRY command only if relocating.
297
71934f94
NC
2982008-01-10 Daniel Jacobowitz <drow@sources.redhat.com>
299
300 PR ld/5533
301 * ldlang.c (lang_end): Issue a warning for a missing start symbol
302 of a shared library if the symbol was specified on the command
303 line.
304
d5465ba2
AM
3052008-01-10 Alan Modra <amodra@bigpond.net.au>
306
307 * ld.texinfo (--gc-sections): Describe linker behaviour.
308
6c7ac64e 309For older changes see ChangeLog-2007
252b5132
RH
310\f
311Local Variables:
312mode: change-log
313left-margin: 8
314fill-column: 74
315version-control: never
316End:
This page took 0.45862 seconds and 4 git commands to generate.