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