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