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