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