Commit | Line | Data |
---|---|---|
71755fdf AM |
1 | 2010-10-28 Alan Modra <amodra@gmail.com> |
2 | ||
3 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): For | |
4 | --no-undefined-version, don't report dot sym versions added by ld. | |
5 | ||
24898b70 AM |
6 | 2010-10-28 Alan Modra <amodra@gmail.com> |
7 | ||
8 | * ldlang.h (ldlang_add_undef): Add cmdline param. | |
9 | * ldlang.c (undef_from_cmdline): New var. | |
10 | (ldlang_add_undef): Add cmdline param. Set undef_from_cmdline. | |
11 | (lang_end): Really require -e or -u from command line on | |
12 | relocatable --gc-sections. | |
13 | * ldemul.c (after_parse_default): Adjust ldlang_add_undef call. | |
14 | * ldgram.y (extern_name_list_body): Likewise. | |
15 | * lexsup.c (parse_args): Likewise. | |
16 | * emultempl/aix.em (gld${EMULATION_NAME}_read_file): Likewise. | |
17 | ||
bc110b6e AM |
18 | 2010-10-25 Alan Modra <amodra@gmail.com> |
19 | ||
20 | * plugin.c (plugin_get_ir_dummy_bfd): Set bfd_use_reserved_id. | |
21 | Formatting. | |
22 | ||
1360ba76 RO |
23 | 2010-10-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
24 | ||
25 | * emulparams/elf32_sparc_sol2.sh (OUTPUT_FORMAT): Set to | |
26 | elf32-sparc-sol2. | |
27 | * emulparams/elf64_sparc_sol2.sh (OUTPUT_FORMAT): Set to | |
28 | elf64-sparc-sol2. | |
29 | ||
2b42b063 AM |
30 | 2010-10-22 Alan Modra <amodra@gmail.com> |
31 | ||
32 | * ldwrite.c (build_link_order <lang_data_statement_enum>): Don't | |
33 | output when section has no contents. | |
34 | (build_link_order <lang_reloc_statement_enum>): Likewise. | |
35 | ||
75fa6dc1 JM |
36 | 2010-10-21 Joseph Myers <joseph@codesourcery.com> |
37 | ||
38 | * emulparams/elf32_tic6x_le.sh (ATTRS_SECTIONS): Use | |
39 | .c6xabi.attributes, not __TI_build_attributes. | |
40 | ||
7bac81d3 DK |
41 | 2010-10-20 Dave Korn <dave.korn.cygwin@gmail.com> |
42 | ||
43 | * plugin.c (get_symbols): Check symbol type correctly. | |
44 | ||
3917d5d5 DK |
45 | 2010-10-15 Dave Korn <dave.korn.cygwin@gmail.com> |
46 | ||
47 | * configure.in: If <dlfcn.h> can't be found, try for <Windows.h> | |
48 | * configure: Regenerate. | |
49 | * config.in: Likewise. | |
50 | * plugin.c [!HAVE_DLFCN_H && HAVE_WINDOWS_H] (dlopen): Provide | |
51 | trival LoadLibrary-based replacement for Windows systems. | |
52 | [!HAVE_DLFCN_H && HAVE_WINDOWS_H] (dlsym): Likewise trivial | |
53 | replacement based on GetProcAddress. | |
54 | [!HAVE_DLFCN_H && HAVE_WINDOWS_H] (dlsym): Likewise FreeLibrary. | |
55 | * sysdep.h: Don't infer presence of <dlfcn.h> from ENABLE_PLUGINS | |
56 | anymore, use its own guard. | |
57 | ||
d4cb7acd DK |
58 | 2010-10-15 Dave Korn <dave.korn.cygwin@gmail.com> |
59 | ||
60 | * plugin.c (add_input_file): Take copy of input string. | |
61 | (add_input_library): Likewise. | |
62 | (set_extra_library_path): Likewise. | |
63 | ||
2b42b063 | 64 | 2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com> |
5d3236ee DK |
65 | |
66 | Apply LD plugin patch series (part 6/6). | |
67 | * ldlang.c (load_symbols): Handle bfd subsitution when calling the | |
68 | add_archive_element callback. | |
69 | * ldmain.c (add_archive_element)[ENABLE_PLUGINS]: Offer the archive | |
70 | member to the plugins and if claimed set "subsbfd" output parameter to | |
71 | point to the dummy IR-only BFD. | |
72 | ||
2b42b063 | 73 | 2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com> |
5d3236ee DK |
74 | |
75 | Apply LD plugin patch series (part 5/6). | |
76 | * plugin.c (asymbol_from_plugin_symbol): If the bfd is an ELF bfd, | |
77 | find the elf symbol data and set the visibility in the st_other field. | |
78 | ||
2b42b063 | 79 | 2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com> |
5d3236ee DK |
80 | |
81 | Apply LD plugin patch series (part 4/6). | |
82 | * ldlang.c (lang_process)[ENABLE_PLUGINS]: Move invocation of | |
83 | plugin_call_all_symbols_read to before setting of gc_sym_list, and | |
84 | open any new input files that may have been added during it. | |
85 | * ldmain.c (multiple_definition)[ENABLE_PLUGINS]: Call out to | |
86 | plugin_multiple_definition and let it have first say over what to do | |
87 | with the clashing definitions. | |
88 | * plugin.c (no_more_claiming): New boolean variable. | |
89 | (plugin_cached_allow_multiple_defs): Likewise. | |
90 | (add_input_file): Implement. | |
91 | (add_input_library): Likewise. | |
92 | (set_extra_library_path): Likewise. | |
93 | (plugin_call_claim_file): Don't do anything when no_more_claiming set. | |
94 | (plugin_call_all_symbols_read): Set it. Disable link info | |
95 | "allow_multiple_definition" flag, but cache its value. | |
96 | (plugin_multiple_definition): New function. | |
97 | * plugin.h (plugin_multiple_definition): Add prototype. | |
98 | * testplug.c (addfile_enum_t): New enumerated typedef. | |
99 | (add_file_t): New struct typedef. | |
100 | (addfiles_list): New variable. | |
101 | (addfiles_tail_chain_ptr): Likewise. | |
102 | (record_add_file): New function. | |
103 | (parse_option): Parse "add:", "lib:" and "dir:" options and call it. | |
104 | (onall_symbols_read): Iterate the list of new files, libs and dirs, | |
105 | adding them. | |
106 | ||
2b42b063 | 107 | 2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com> |
5d3236ee DK |
108 | |
109 | Apply LD plugin patch series (part 3/6). | |
110 | * ldmain.c (notice)[ENABLE_PLUGINS]: Call plugin_notice. | |
111 | * plugin.c (non_ironly_hash): Add new bfd hash table. | |
112 | (plugin_load_plugins): Exit early if no plugins to load. If plugins | |
113 | do load successfully, set notice_all flag in link info. | |
114 | (get_symbols): Implement. | |
115 | (plugin_load_plugins): Exit early if no plugins to load, else after | |
116 | loading plugins successfully enable notice_all mode. | |
117 | (init_non_ironly_hash): Lazily init non_ironly_hash table. | |
118 | (plugin_notice): Record symbols referenced from non-IR files in the | |
119 | non_ironly_hash. Suppress tracing, cref generation and nocrossrefs | |
120 | tracking for symbols from dummy IR bfds. | |
121 | * plugin.h: Fix formatting. | |
122 | (plugin_notice): Add prototype. | |
123 | * testplug.c (dumpresolutions): New global var. | |
124 | (parse_options): Accept "dumpresolutions". | |
125 | (onall_symbols_read): Get syms and dump resolutions if it was given. | |
126 | ||
2b42b063 | 127 | 2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com> |
5d3236ee DK |
128 | |
129 | Apply LD plugin patch series (part 2/6). | |
130 | * ldfile.c (ldfile_try_open_bfd)[ENABLE_PLUGINS]: Don't return early | |
131 | during compat checks if they pass, instead offer any successfully | |
132 | opened and accepted file to the plugin claim file hooks chain. Create | |
133 | a dummy bfd to accept symbols added by the plugin, if the plugin | |
134 | claims the file. | |
135 | * ldlang.c (lang_process)[ENABLE_PLUGINS]: Call plugin all symbols | |
136 | read hook chain before ldemul_after_open. | |
137 | * ldlang.h (struct lang_input_statement_struct): Add new single-bit | |
138 | 'claimed' flag. | |
139 | * plugin.c (IRONLY_SUFFIX): New macro for dummy bfd file suffix. | |
140 | (IRONLY_SUFFIX_LEN): Length of the above string. | |
141 | (plugin_get_ir_dummy_bfd): New function to create the dummy bfd used | |
142 | to store symbols for ir-only files. | |
143 | (is_ir_dummy_bfd): New function to check if a bfd is ir-only. | |
144 | (asymbol_from_plugin_symbol): New function converts symbol formats. | |
145 | (add_symbols): Call it to convert plugin syms to bfd syms and add | |
146 | them to the dummy bfd. | |
147 | * plugin.h: Add missing include guards. | |
148 | (plugin_get_ir_dummy_bfd): Add prototype. | |
149 | (is_ir_dummy_bfd): Likewise. | |
150 | * testplug.c (TV_MESSAGE): New helper macro. | |
151 | (struct claim_file): New struct. | |
152 | (claim_file_t): New typedef. | |
153 | (tag_names[]): Make static and const. | |
154 | (claimfiles_list): New variable. | |
155 | (claimfiles_tail_chain_ptr): Likewise. | |
156 | (last_claimfile): Likewise. | |
157 | (record_claim_file): Record a file to claim on a singly-linked list. | |
158 | (parse_symdefstr): Parse an ASCII representation of a symbol from a | |
159 | plugin option into the fields of a struct ld_plugin_symbol. | |
160 | (record_claimed_file_symbol): Use it to parse plugin option for | |
161 | adding a symbol. | |
162 | (parse_option): Parse claim file and add symbol options. | |
163 | (dump_tv_tag): Use TV_MESSAGE. | |
164 | (onload): Likewise. | |
165 | (onclaim_file): Make static. Use TV_MESSAGE. Scan list of files to | |
166 | claim and claim this file if required, adding any symbols specified. | |
167 | (onall_symbols_read): Make static and use TV_MESSAGE. | |
168 | (oncleanup): Likewise. | |
169 | ||
2b42b063 | 170 | 2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com> |
5d3236ee DK |
171 | |
172 | Apply LD plugin patch series (part 1/6). | |
173 | * configure.in: Add AC_CHECKs for file io and dlfcn headers and | |
174 | functions and AC_SEARCH for -ldl. | |
175 | (enable_plugins): New shell variable set if above tests find dlopen | |
176 | functionality. | |
177 | (ENABLE_PLUGINS): Add related automake conditional. | |
178 | * configure: Regenerate. | |
179 | * config.in: Likewise. | |
180 | * Makefile.am (PLUGIN_C): Declare plugin C source file, conditional | |
181 | on ENABLE_PLUGINS being defined. | |
182 | (PLUGIN_H): Likewise for header file. | |
183 | (PLUGIN_OBJECT): Likewise for object file. | |
184 | (PLUGIN_CFLAGS): Likewise -D flag required to compile plugin support. | |
185 | (AM_CPPFLAGS): Use PLUGIN_CFLAGS. | |
186 | (CFILES): Use PLUGIN_C. | |
187 | (HFILES): Use PLUGIN_H. | |
188 | (OFILES): Use PLUGIN_OBJECT. | |
189 | (ld_new_SOURCES): Use PLUGIN_C. | |
190 | (noinst_LTLIBRARIES)[ENABLE_PLUGINS]: Declare test plugin. | |
191 | (libldtestplug_la_SOURCES)[ENABLE_PLUGINS]: Add automake definition | |
192 | for test plugin. | |
193 | (libldtestplug_la_CFLAGS)[ENABLE_PLUGINS]: Likewise. | |
194 | (libldtestplug_la_LDFLAGS)[ENABLE_PLUGINS]: Likewise. | |
195 | * Makefile.in: Regenerate. | |
196 | * sysdep.h: Include stdarg.h, unistd.h and one of fcntl.h or | |
197 | sys/file.h where available. Include dlfcn.h when ENABLE_PLUGINS. | |
198 | (O_RDONLY): Supply default definition likewise to bfd's sysdep.h | |
199 | (O_WRONLY): Likewise. | |
200 | (O_RDWR): Likewise. | |
201 | (O_ACCMODE): Likewise. | |
202 | (O_BINARY): Likewise. | |
203 | (SEEK_SET): Likewise. | |
204 | (SEEK_CUR): Likewise. | |
205 | (SEEK_END): Likewise. | |
206 | * ldmisc.c (vfinfo): Make non-static. Add %p format char. | |
207 | * ldmisc.h (vfinfo): Declare extern prototype. | |
208 | * lexsup.c (enum option_values)[ENABLE_PLUGINS]: Add new entries for | |
209 | OPTION_PLUGIN and OPTION_PLUGIN_OPT. | |
210 | (ld_options[])[ENABLE_PLUGINS]: Add option data for the above two. | |
211 | (parse_args)[ENABLE_PLUGINS]: Handle them, and load all plugins once | |
212 | option parsing is complete. | |
213 | * ldmain.c (main)[ENABLE_PLUGINS]: Call plugin cleanup hooks just | |
214 | after lang_finish. | |
215 | * plugin.c: New source file. | |
216 | * plugin.h: Likewise new header. | |
217 | * testplug.c: New source file. | |
218 | ||
18a1a992 RO |
219 | 2010-10-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
220 | ||
221 | * emultempl/solaris2.em (elf_solaris2_before_allocation): Renamed | |
222 | basever_syms to global_syms. | |
223 | Emit global_syms into .dynamic section for all executables and | |
224 | shared objects. | |
225 | (elf_solaris2_after_allocation): New function. | |
226 | (LDEMUL_AFTER_ALLOCATION): Use it. | |
227 | * emulparams/solaris2.sh: New file. | |
228 | * emulparams/elf32_sparc_sol2.sh: Use it. | |
229 | * emulparams/elf64_sparc_sol2.sh: Likewise. | |
230 | * emulparams/elf_i386_sol2.sh: Likewise. | |
231 | * emulparams/elf_x86_64_sol2.sh: Likewise. | |
232 | * Makefile.am (eelf32_sparc_sol2.c): Depend on | |
233 | $(srcdir)/emulparams/solaris2.sh. | |
234 | (eelf64_sparc_sol2.c): Likewise. | |
235 | (eelf_x86_64_sol2.c): Likewise. | |
236 | (eelf_i386_sol2.c): Likewise. | |
237 | * Makefile.in: Regenerate. | |
238 | ||
ea5cae92 NC |
239 | 2010-10-06 Nick Clifton <nickc@redhat.com> |
240 | ||
241 | * ld.texinfo: Update description of computation of VMA and LMA | |
242 | addresses for output sections. | |
243 | ||
9034a328 RW |
244 | 2010-10-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
245 | ||
4560bc04 RW |
246 | * Makefile.am (ALL_64_EMULATIONS): Fix typo in last commit. |
247 | * Makefile.in: Regenerate. | |
248 | ||
9034a328 RW |
249 | * Makefile.am (ALL_EMULATIONS): Rewrite in terms of ... |
250 | (ALL_EMULATION_SOURCES): ... this new variable. | |
251 | (ALL_64_EMULATIONS): Rewrite in terms of ... | |
252 | (ALL_64_EMULATION_SOURCES): ... this new variable. | |
253 | (EXTRA_ld_new_SOURCES): Rewrite in terms of the _SOURCES | |
254 | variables. | |
255 | (eelf32microblaze.c): Fix indentation. | |
256 | * Makefile.in: Regenerate. | |
257 | ||
d4730f92 BS |
258 | 2010-10-04 Bernd Schmidt <bernds@codesourcery.com> |
259 | ||
260 | * emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Use | |
261 | _bfd_elf_single_rel_hdr. | |
262 | ||
abf4be64 AM |
263 | 2010-10-01 Alan Modra <amodra@gmail.com> |
264 | ||
265 | PR ld/12066 | |
266 | * ldexp.c (fold_name): Treat absolute symbols as plain numbers. | |
267 | * ld.texinfo (Expression Section): Don't say absolute symbols | |
268 | are addresses. | |
269 | ||
30920cab AM |
270 | 2010-09-29 Alan Modra <amodra@gmail.com> |
271 | ||
272 | * ldlang.c (lang_place_orphans): Zero vma when relocatable or non-load | |
273 | section for orphans handled here. | |
274 | ||
3cac54d2 RW |
275 | 2010-09-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
276 | ||
277 | * configure: Regenerate. | |
278 | ||
9396a3ce DK |
279 | 2010-09-23 Dave Korn <dave.korn.cygwin@gmail.com> |
280 | ||
281 | * scripttempl/armcoff.sc: Revert 2010-09-22 change. | |
282 | ||
0814be7d AM |
283 | 2010-09-23 Alan Modra <amodra@gmail.com> |
284 | ||
285 | * ldlang.c (lang_add_section): Don't copy SEC_RELOC from input | |
286 | to output section on a final link. | |
287 | ||
d4874973 KT |
288 | 2010-09-22 Kai Tietz <kai.tietz@onevision.com> |
289 | ||
e4b0fe2f KT |
290 | * ldlang.c (lang_add_section): Allow for debugging |
291 | section to be marked as noload but to keep content. | |
292 | (IGNORE_SECTION): Likewise. | |
293 | (lang_check_section_addresses): Likewise. | |
294 | * ldwrite.c (build_link_order): Likewise. | |
295 | ||
d4874973 KT |
296 | * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Add |
297 | idata to orphan set. | |
298 | * emultempl/pep.em: Likewise. | |
299 | * scripttempl/armcoff.sc: Separate idata | |
300 | and add __IAT_start__ and __IAT_end__ labels. | |
301 | * scripttempl/pe.sc: Likewise. | |
302 | * scripttempl/pep.sc: Likewise. | |
303 | ||
d9b807ab DM |
304 | 2010-09-20 David S. Miller <davem@davemloft.net> |
305 | ||
306 | * emulparams/elf32_sparc.sh: Set NOP to 0x01000000 | |
307 | ||
2e76e85a AM |
308 | 2010-09-16 Alan Modra <amodra@gmail.com> |
309 | ||
310 | * ld.texinfo (NOLOAD): Do not erroneously state that contents will | |
311 | appear in output file. | |
312 | * ldlang.c (lang_add_section): Clear SEC_HAS_CONTENTS on noload | |
313 | unless SEC_COFF_SHARED_LIBRARY. | |
314 | (map_input_to_output_sections): Don't set SEC_HAS_CONTENTS for noload | |
315 | output sections. | |
316 | (lang_size_sections_1): Don't test SEC_NEVER_LOAD when deciding | |
317 | to update dot in region. Ditto when setting SEC_ALLOC if dot | |
318 | advanced due to assignment. | |
319 | * ldwrite.c (build_link_order): Don't test SEC_NEVER_LOAD. | |
320 | ||
2d7f4929 KT |
321 | 2010-09-15 Kai Tietz <kai.tietz@onevision.com> |
322 | ||
d3fe237d KT |
323 | * scripttempl/pep.sc: Add .xdata segment and |
324 | put into .pdata all segments beginning with .pdata. | |
2d7f4929 | 325 | |
8658f989 AM |
326 | 2010-09-10 Alan Modra <amodra@gmail.com> |
327 | ||
328 | PR ld/11931 | |
329 | * ldlang.h (lang_for_each_statement_worker): Declare. | |
330 | * ldlang.c (lang_for_each_statement_worker): Make global. Don't | |
331 | recurse into children of output_section_statement with constraint | |
332 | set to -1. | |
333 | (print_assignment): Handle NULL output_section->bfd_section. | |
334 | (lang_size_sections_1): Ignore output section statement address | |
335 | when constraint is -1. | |
336 | * emultempl/xtensaelf.em (lang_for_each_statement_worker): Delete. | |
337 | ||
75875724 TG |
338 | 2010-09-09 Tristan Gingold <gingold@adacore.com> |
339 | ||
340 | * NEWS: Add a entry for alpha-vms. | |
341 | ||
3dbcc61d NC |
342 | 2010-09-07 Andrew Burgess <aburgess@broadcom.com> |
343 | ||
344 | * ldwrite.c (clone_section): Call bfd_copy_private_section_data on | |
345 | newly cloned section. | |
346 | ||
c518ddd8 RH |
347 | 2010-09-02 Richard Henderson <rth@redhat.com> |
348 | ||
349 | * configure.tgt (x86_64-*-mingw*): Add 32-bit pe emulations too. | |
350 | ||
107c6e11 NC |
351 | 2010-08-31 Nick Clifton <nickc@redhat.com> |
352 | ||
353 | * ldlex.l (WILDCHAR): Add the caret and exclamation point | |
0d6cedc0 | 354 | characters, so that they can be used inside globs. |
107c6e11 | 355 | |
c09e9a8c NC |
356 | 2010-08-31 Nick Clifton <nickc@redhat.com> |
357 | ||
358 | * ld.texinfo (MEMORY): Clarify the behaviour of the ! character in | |
359 | a region's attributes. | |
360 | ||
6be999b8 AM |
361 | 2010-08-31 Alan Modra <amodra@gmail.com> |
362 | ||
363 | * scripttempl/mmo.sc: Move assignment to "Main" inside .text | |
364 | output section statement. | |
365 | ||
8dd881b6 L |
366 | 2010-08-25 H.J. Lu <hongjiu.lu@intel.com> |
367 | ||
368 | PR ld/11946 | |
369 | * emultempl/elf32.em (_before_allocation): Check audit entry | |
370 | only on ELF input. | |
371 | ||
4440bb77 L |
372 | 2010-08-22 H.J. Lu <hongjiu.lu@intel.com> |
373 | ||
374 | PR ld/11937 | |
375 | * emultempl/elf32.em (_after_open): Find one .eh_frame section | |
376 | for --eh-frame-hdr. | |
377 | ||
a654efd6 L |
378 | 2010-08-22 H.J. Lu <hongjiu.lu@intel.com> |
379 | ||
380 | PR ld/11937 | |
381 | * emultempl/elf32.em (_after_open): Find an ELF input for | |
382 | --build-id and --eh-frame-hdr. | |
383 | ||
d820eaae MR |
384 | 2010-08-20 Maciej W. Rozycki <macro@codesourcery.com> |
385 | ||
386 | * Makefile.am (eshlelf_fd.c): Correct the name of the tool | |
387 | directory. | |
388 | * Makefile.in: Regenerate. | |
389 | ||
c13526ca NC |
390 | 2010-08-20 Nick Clifton <nickc@redhat.com> |
391 | ||
392 | * emultempl/elf32.em (_after_open): Check for get_elf_backend_data | |
393 | returning NULL. | |
394 | ||
5fec8599 L |
395 | 2010-08-19 Alan Modra <amodra@gmail.com> |
396 | ||
397 | * NEWS: Mention change in linker script expression evaluation. | |
398 | ||
7542af2a AM |
399 | 2010-08-19 Alan Modra <amodra@gmail.com> |
400 | ||
401 | * ld.texinfo (Expression Section): Detail expression evaluation. | |
402 | (Builtin Functions <ADDR>): Correct. | |
403 | (Builtin Functions <LOADADDR>): Don't mention LOADADDR normally | |
404 | the same as ADDR. | |
405 | (Builtin Functions <SEGMENT_START>): Typo fix. | |
406 | * ldexp.c (new_number): New function. | |
407 | (make_abs, exp_get_abs_int): Cope with NULL expld.result.section. | |
408 | (fold_unary <'~', '!', '-'>): Don't make_abs. | |
409 | (fold_binary): Simplify result section logic. Return NULL section | |
410 | for logical ops. | |
411 | (fold_binary <SEGMENT_START>): Use new_rel_from_abs to set value to | |
412 | a consistent result. | |
413 | (fold_name <SIZEOF_HEADERS>): Return new_number, not new_abs. | |
414 | (fold_name <DEFINED, SIZEOF, ALIGNOF, LENGTH, CONSTANT>): Likewise. | |
415 | (fold_name <NAME>): No need to handle absolute symbols differently | |
416 | from relative ones. | |
417 | (fold_name <ORIGIN>): Don't return valid result when | |
418 | lang_first_phase_enum. Return new_rel_from_abs, not new_abs. | |
419 | (exp_fold_tree_1 <etree_value>): Return new_number, not new_rel. | |
420 | (exp_fold_tree_1): Ajust for NULL expld.result.section. When assigning | |
421 | a plain number to dot, assume the value is relative to expld.section. | |
422 | Make terms not in an output section, absolute. | |
423 | * ldlang.c (print_assignment): Fix style nit. | |
424 | (lang_size_sections_1): Cope with NULL expld.result.section. | |
425 | (lang_do_assignments_1): Likewise. | |
426 | ||
5942515f AM |
427 | 2010-08-12 Alan Modra <amodra@gmail.com> |
428 | ||
429 | * ldexp.c (new_rel): Remove "str". Update all call sites. | |
430 | (exp_fold_tree_1): When assigning to dot, calculate nextdot | |
431 | using expld.result.section rather than expld.section. | |
432 | ||
1e0061d2 AM |
433 | 2010-08-06 Alan Modra <amodra@gmail.com> |
434 | ||
435 | PR ld/11887 | |
436 | * ldlang.c (lang_add_vers_depend): Don't leave version_needed | |
437 | uninitialised. | |
438 | ||
ae78bbeb AM |
439 | 2010-07-28 Alan Modra <amodra@gmail.com> |
440 | ||
441 | * ldexp.c (exp_print_tree): Print function-like binary nodes as | |
442 | functions rather than in-fix operators. Use fputs and fputc | |
443 | where appropriate. | |
444 | ||
1cd986c5 NC |
445 | 2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com> |
446 | Ina Pandit <ina.pandit@kpitcummins.com> | |
447 | ||
448 | * configure.tgt: Match all v850 targets. | |
449 | ||
bb1515f2 MF |
450 | 2010-07-20 Mike Frysinger <vapier@gentoo.org> |
451 | ||
452 | * ld.texinfo (VERSION): Remove "int" from example script and add ";". | |
453 | Declare the default language as C. | |
454 | ||
f4427a75 AM |
455 | 2010-07-17 Alan Modra <amodra@gmail.com> |
456 | ||
457 | * ldlang.c (lang_check_section_addresses): Catch overlap for | |
458 | sections that wrap around the address space. | |
459 | ||
ec51c381 NC |
460 | 2010-06-29 Nick Clifton <nickc@redhat.com> |
461 | ||
462 | * scripttempl/xstormy16.sc (.gcc_except_table): Include sections | |
463 | with the .gcc_except_table. prefix. | |
464 | ||
360cfc9c AM |
465 | 2010-06-29 Alan Modra <amodra@gmail.com> |
466 | ||
467 | * emulparams/maxqcoff.sh: Delete file. | |
468 | * scripttempl/maxqcoff.sc: Delete file. | |
469 | * Makefile.am: Remove references to maxq. | |
470 | * configure.tgt: Likewise. | |
471 | * Makefile.in: Regenerate. | |
472 | * configure: Regenerate. | |
473 | * po/POTFILES.in: Regenerate. | |
474 | ||
c7e2358a AM |
475 | 2010-06-27 Alan Modra <amodra@gmail.com> |
476 | ||
477 | * pe-dll.c (fill_edata): Avoid set but unused warning. | |
478 | (pe_walk_relocs_of_symbol): Delete set but unused variables. | |
479 | (generate_reloc, pe_implied_import_dll): Likewise. | |
480 | * emultempl/aix.em (open_dynamic_archive): Likewise. | |
481 | * emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Likewise. | |
482 | (xtensa_layout_wild): Likewise. | |
483 | (xtensa_colocate_output_literals_callback): Likewise. | |
484 | ||
ba761f19 AM |
485 | 2010-06-25 Alan Modra <amodra@gmail.com> |
486 | ||
487 | * emultempl/ppc64elf.em (prelim_size_sections): New function. | |
488 | (ppc_before_allocation): Use it. Size sections before toc edit too. | |
489 | ||
bded3693 AM |
490 | 2010-06-25 Alan Modra <amodra@gmail.com> |
491 | ||
492 | * emultempl/elf32.em (find_exp_assignment): Handle etree_provided. | |
493 | ||
09db93a8 DS |
494 | 2010-06-20 Danny Smith <dannysmith@users.sourceforge.net> |
495 | ||
496 | * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Make | |
bded3693 AM |
497 | auto-import and merge-rdata defaults same for i[3-7]86 and |
498 | x86_64 mingw. | |
499 | ||
59e6276b JM |
500 | 2010-06-15 Joseph Myers <joseph@codesourcery.com> |
501 | ||
502 | * emulparams/elf32_tic6x_le.sh (ATTRS_SECTIONS): Define. | |
503 | ||
75898d57 DK |
504 | 2010-06-09 Dave Korn <dave.korn.cygwin@gmail.com> |
505 | ||
506 | PR ld/11603 | |
507 | * pe-dll.c (process_def_file_and_drectve): Reorder check for | |
508 | forwarded export name after check for ordinary export. | |
509 | ||
11dd4e37 BS |
510 | 2010-06-08 Bernd Schmidt <bernds@codesourcery.com> |
511 | ||
512 | * emulparams/elf32_tic6x_le.sh (OTHER_BSS_SECTIONS): New. | |
513 | ||
9fbcbd81 NC |
514 | 2010-06-08 Nick Clifton <nickc@redhat.com> |
515 | ||
516 | * fdl.texi: Replace with v1.3 text. | |
517 | * ld.texinfo: Replace abbreviated 20th century year numbers with | |
518 | full versions. | |
519 | * ldint.texinfo: Likewise. | |
520 | Relicense under GFDL v1.3. Replace text of v1.1 FDL with an | |
521 | include of the fdl.texi file. | |
522 | ||
46d00b8a TG |
523 | 2010-06-01 Tristan Gingold <gingold@adacore.com> |
524 | ||
525 | * scripttempl/alphavms.sc: Add comments. Move $LINK$ to the | |
526 | readonly output-section. Handle LIB$INITIALIZE and sections | |
527 | created by gcc. | |
528 | * emultempl/vms.em (vms_place_orphan): Add comments. | |
529 | ||
de072cdc NC |
530 | 2010-05-28 Nick Clifton <nickc@redhat.com> |
531 | ||
532 | * Makefile.am (eshlelf_fd.c): Fix typo in rule. | |
533 | * Makefile.in: Regenerate. | |
534 | ||
c8ce5710 L |
535 | 2010-05-26 H.J. Lu <hongjiu.lu@intel.com> |
536 | ||
537 | PR ld/11628 | |
538 | * ldexp.c (fold_binary): Warn if value of SEGMENT_START isn't | |
539 | multiple of maximum page size. | |
540 | ||
d19e70fb NC |
541 | 2010-05-25 Nick Clifton <nickc@redhat.com> |
542 | ||
543 | * Makefile.am: Fix typo. | |
544 | * Makefile.in: Regenerate. | |
545 | ||
8e45593f NC |
546 | 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com> |
547 | Joseph Myers <joseph@codesourcery.com> | |
548 | Andrew Stubbs <ams@codesourcery.com> | |
549 | ||
550 | * Makefile.am (ALL_EMULATIONS): Add eshelf_fd.o and eshlelf_fd.o. | |
551 | (eshelf_fd.c, eshlelf_fd.c): New rules. | |
552 | * Makefile.in: Regenerate. | |
553 | * configure.tgt (sh-*-uclinux*): Add shelf_fd and shlelf_fd | |
554 | emulations. | |
555 | * emulparams/shelf_fd.sh: New file. | |
556 | * emulparams/shlelf_fd.sh: New file. | |
557 | * emulparams/shlelf_linux.sh: Update comment. | |
558 | ||
52a6ecd2 NC |
559 | 2010-05-25 Jay Krell <jay.krell@cornell.edu> |
560 | ||
561 | PR ld/11621 | |
562 | * Makefile.am: Replace all occurences of .o with .@OBJEXT@ | |
563 | * Makefile.in: Regenerate. | |
564 | ||
ca5f2203 KT |
565 | 2010-05-25 Kai Tietz <kai.tietz@onevision.com> |
566 | ||
770c040b KT |
567 | * deffilep.y (opt_name): Allow leading dot. |
568 | (dot_name): Likewise. | |
569 | (anylang_id): Likewise. | |
6ec6c79c KT |
570 | * emultempl/pep.em (gld_${EMULATION_NAME}_before_parse): Enable by |
571 | default auto_import. | |
572 | (gld${EMULATION_NAME}_handle_option): Warn about v1. | |
573 | (pep_find_data_imports): Remove superflous warnings about | |
574 | auto-import. | |
575 | (gld_${EMULATION_NAME}_get_script): Don't merge for auto-import | |
576 | and active pseudo-relocation-v2 rdata into data section. | |
ca5f2203 KT |
577 | * emultempl/pe.em (default_merge_rdata): New shell variable. |
578 | (MERGE_RDATA_V2): New macro. | |
579 | (gld_${EMULATION_NAME}_get_script): Adjust rule for auto-import | |
580 | selected script. | |
581 | ||
d74720d2 KT |
582 | 2010-05-15 Kai Tietz <kai.tietz@onevision.com> |
583 | ||
584 | * emultempl/pe.em (is_underscoring): New helper function. | |
585 | (gld_${EMULATION_NAME}_before_parse): Replace code | |
586 | for pe(p)_leading_underscore detection by is_underscoring. | |
587 | (U): Likewise. | |
588 | (GET_INIT_SYMBOL_NAME): Likewise. | |
589 | (U_SIZE): Likewise. | |
590 | (set_pe_name): | |
591 | (set_entry_point): | |
592 | (gld_${EMULATION_NAME}_set_symbols): | |
593 | * emultempl/pep.em: Likewise. | |
594 | * pe-dll.c (pe_detail_list): Set default | |
595 | underscoring for x64 target. | |
596 | (pe_dll_id_target): Add initialization of | |
597 | pe(p)_leading_underscore. | |
598 | ||
1b610c93 DK |
599 | 2010-05-15 Dave Korn <dave.korn.cygwin@gmail.com> |
600 | ||
601 | * pe-dll.c: Removed trailing whitespaces. | |
602 | ||
e092cb30 AM |
603 | 2010-05-14 Alan Modra <amodra@gmail.com> |
604 | ||
605 | PR ld/11583 | |
606 | * ldexp.c (exp_fold_tree_1): If assignment source expression is | |
607 | invalid, make the destination symbol undefined. | |
608 | ||
b804e4af KT |
609 | 2010-05-11 Kai Tietz <kai.tietz@onevision.com> |
610 | ||
611 | * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): | |
612 | Initialize pe(p)_leading_underscore variable. | |
613 | (set_pe_name): Likewise. | |
614 | * emultempl/pep.em: Likewise. | |
615 | Additional change default to non-underscore for | |
616 | pep_leading_underscore equal to -1. | |
617 | ||
6540b386 TG |
618 | 2010-05-07 Tristan Gingold <gingold@adacore.com> |
619 | ||
620 | * Makefile.in: Regenerate with automake 1.11.1. | |
621 | * aclocal.m4: Ditto. | |
622 | ||
3e01a7fd NC |
623 | 2010-05-05 Nick Clifton <nickc@redhat.com> |
624 | ||
625 | * po/es.po: Updated Spanish translation. | |
626 | ||
17f73277 KT |
627 | 2010-04-27 Kai Tietz <kai.tietz@onevision.com> |
628 | ||
629 | * pe-dll.c (_nm_-symbols): Use always underscored variant | |
630 | for symbols. | |
631 | (__imp_-symbols): Likewise. | |
632 | (___imp_-symbols): Likewise. | |
633 | * NEWS: Mention ABI change for x64 PE-COFF. | |
634 | ||
7ad2014a L |
635 | 2010-04-27 H.J. Lu <hongjiu.lu@intel.com> |
636 | ||
637 | * Makefile.am (install-exec-local): Properly install ld as | |
638 | default cross linker. | |
639 | * Makefile.in: Regenerated. | |
640 | ||
4fda8867 NC |
641 | 2010-04-27 H.J. Lu <hongjiu.lu@intel.com> |
642 | Nick Clifton <nickc@redhat.com> | |
643 | ||
644 | * configure.in (install_as_default): Define and set to true | |
645 | unless --enable-gold=both/gold has been specified. | |
646 | * configure: Regenerate. | |
647 | ||
648 | * Makefile.am (transform): Use ld.bfd as the default name of | |
649 | the linker. | |
650 | (install-exec-local): Also install the executable as a binary | |
651 | named 'ld' if install_as_default is true. | |
652 | * Makefile.in: Regenerate. | |
653 | ||
9c9c98a5 NC |
654 | 2010-04-22 Nick Clifton <nickc@redhat.com> |
655 | ||
656 | * po/ld.pot: Updated by the Translation project. | |
657 | * po/vi.po: Updated Vietnamese translation. | |
658 | * po/bg.po: Updated Bulgarian translation. | |
659 | ||
85fdf906 AH |
660 | 2010-04-15 Andrew Haley <aph@redhat.com> |
661 | ||
662 | * emultempl/armelf.em (merge_exidx_entries): New variable. | |
663 | (OPTION_NO_MERGE_EXIDX_ENTRIES): New definition. | |
664 | ("no-merge-exidx-entries"): New option. | |
665 | * ld.texinfo (merge-exidx-entries): Document this option. | |
666 | ||
8b351884 TG |
667 | 2010-04-14 Tristan Gingold <gingold@adacore.com> |
668 | ||
669 | * emulparams/alphavms.sh: New file. | |
670 | * emultempl/vms.em: New file. | |
671 | * scripttempl/alphavms.sc: New file. | |
672 | * configure.tgt (alpha*-*-*vms*): Added. | |
673 | * Makefile.am (ALL_EMULATIONS): Add ealphavms.o | |
674 | (ealphavms.c): New target. | |
675 | * Makefile.in: Regenerate. | |
676 | ||
3d540e93 NC |
677 | 2010-04-09 Nick Clifton <nickc@redhat.com> |
678 | ||
679 | * ldlang.c (wild_sort): Remove unused variable section_name. | |
680 | ||
397841b5 AM |
681 | 2010-04-07 Alan Modra <amodra@gmail.com> |
682 | ||
683 | * configure: Regenerate. | |
684 | ||
6f8bcf84 L |
685 | 2010-04-06 H.J. Lu <hongjiu.lu@intel.com> |
686 | ||
687 | PR ld/11434 | |
688 | * ld/testsuite/ld-x86-64/unique1.d: New. | |
689 | * ld/testsuite/ld-x86-64/unique1.s: Likewise. | |
690 | ||
691 | * ld-x86-64/x86-64.exp: Run unique1. | |
692 | ||
522f09cd KT |
693 | 2010-04-05 Kai Tietz <kai.tietz@onevision.com> |
694 | ||
695 | * emultempl/pep.em (U): Macro modified. | |
696 | (U_SIZE): New helper macro. | |
697 | (GET_INIT_SYMBOL_NAME): Likewise. | |
698 | (enum options): Add OPTION_NO_LEADING_UNDERSCORE | |
699 | and OPTION_LEADING_UNDERSCORE enumerator-values. | |
700 | (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore | |
701 | option. | |
702 | (definfo): Add new member is_c_symbol. | |
703 | (D): Add to macro underscore mode parameter. | |
704 | (init): Add definition for is_c_symbol. | |
705 | (gld_${EMULATION_NAME}_list_options): Display new options. | |
706 | (set_pep_name): Adjust underscoring dependent fixed | |
707 | symbol handling. | |
708 | (gld_${EMULATION_NAME}_set_symbols): Likewise. | |
709 | (saw_option): Likewise. | |
710 | (gld_${EMULATION_NAME}_unrecognized_file): Likewise. | |
711 | (set_entry_point): Initial initial_symbol_char dependent to | |
712 | target's default and new option flag pep_leading_underscore. | |
713 | * emultempl/pe.em (U): Macro modified. | |
714 | (U_SIZE): New helper macro. | |
715 | (GET_INIT_SYMBOL_NAME): Likewise. | |
716 | (OPTION_LEADING_UNDERSCORE): Add new option define. | |
717 | (OPTION_NO_LEADING_UNDERSCORE): Likewise. | |
718 | (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore | |
719 | option. | |
720 | (definfo): Add new member is_c_symbol. | |
721 | (D): Add to macro underscore mode parameter. | |
722 | (init): Add definition for is_c_symbol. | |
723 | (gld_${EMULATION_NAME}_list_options): Display new options. | |
724 | (set_pep_name): Adjust underscoring dependent fixed | |
725 | symbol handling. | |
726 | (gld_${EMULATION_NAME}_set_symbols): Likewise. | |
727 | (saw_option): Likewise. | |
728 | (gld_${EMULATION_NAME}_unrecognized_file): Likewise. | |
729 | (set_entry_point): Initial initial_symbol_char dependent to | |
730 | target's default and new option flag pep_leading_underscore. | |
731 | * pe-dll.c (pe_leading_underscore): New flag variable. | |
732 | (pe_detail_list): Remove const to allow modify of | |
733 | member underscore. | |
734 | (pe_dll_id_target): Initialize pe_details' underscore variable | |
735 | dependent to target's default and flag pe_leading_underscore. | |
736 | * pe-dll.h (pe_leading_underscore): Add extern declaration of | |
737 | option flag. | |
738 | * pep-dll.c (pe_leading_underscore): Add alias define for | |
739 | pep_leading_underscore. | |
740 | * pep-dll.h (pep_leading_underscore) Add extern declaration of | |
741 | option flag. | |
742 | * ld.texinfo: Add documentation for --(no-)leading-underscore | |
743 | option. | |
744 | ||
edc314c9 AM |
745 | 2010-03-26 Alan Modra <amodra@gmail.com> |
746 | ||
747 | PR ld/11426 | |
748 | * configure.host (many linux targets <HOSTING_CRT0>): Remove edits. | |
749 | (m68*-motorola-sysv <HOSTING_LIBS>): Use here doc, not echo. | |
750 | ||
40b36596 JM |
751 | 2010-03-25 Joseph Myers <joseph@codesourcery.com> |
752 | ||
753 | * Makefile.am (ALL_EMULATIONS): Add eelf32_tic6x_be.o and | |
754 | eelf32_tic6x_le.o. | |
755 | (eelf32_tic6x_be.c, eelf32_tic6x_le.c): New. | |
756 | * NEWS: Add news entry for TI C6X support. | |
757 | * configure.tgt (tic6x-*-*): New. | |
758 | * emulparams/elf32_tic6x_be.sh, emulparams/elf32_tic6x_le.sh: New. | |
759 | ||
349e935b JM |
760 | 2010-03-23 Joseph Myers <joseph@codesourcery.com> |
761 | ||
762 | * scripttempl/elf.sc (RODATA_NAME, SDATA_NAME, SBSS_NAME, | |
763 | BSS_NAME): Define if not already defined. Use in place of some | |
764 | hardcoded section names. | |
765 | ||
576ee33a L |
766 | 2010-03-18 H.J. Lu <hongjiu.lu@intel.com> |
767 | ||
768 | * scripttempl/elf.sc (INIT_ARRAY): Re-indent. | |
769 | ||
54801c2d NC |
770 | 2010-03-18 Aymeric Vincent <vincent@labri.fr> |
771 | ||
772 | PR ld/11384 | |
773 | * emultempl/sh64elf.em: Add missing EOF. | |
774 | ||
17299ac7 NC |
775 | 2010-03-18 Doug Semler <dougsemler@gmail.com> |
776 | ||
777 | * pe-dll.c (make_one): Make text section readonly. | |
778 | (make_one): Add *ABS* symbol @feat.00 with value 1 to tag | |
779 | the jump stub on X86 as /SAFESEH compatible for | |
780 | native toolchains. | |
781 | ||
e535e147 AM |
782 | 2010-03-17 Alan Modra <amodra@gmail.com> |
783 | ||
784 | * ldlang.c (lang_size_sections_1): Remove "s" param. Set "s" from | |
785 | *prev instead. Update all callers. | |
786 | ||
f77c3948 DJ |
787 | 2010-03-15 Daniel Jacobowitz <dan@codesourcery.com> |
788 | ||
789 | * ldlang.c (lang_insert_orphan): Place loadable orphans in the same | |
790 | region and phdrs as their placement section. | |
791 | ||
d43d0b53 AM |
792 | 2010-03-15 Alan Modra <amodra@gmail.com> |
793 | ||
794 | * emultempl/ppc64elf.em (move_input_section, sort_toc_sections): New. | |
795 | (ppc_before_allocation): Call sort_toc_sections. | |
796 | (no_toc_sort, OPTION_NO_TOC_SORT): New. | |
797 | (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS, | |
798 | PARSE_AND_LIST_OPTIONS): Handle --no-toc-sort. | |
799 | ||
70cc837d AM |
800 | 2010-03-14 Alan Modra <amodra@gmail.com> |
801 | ||
802 | PR ld/11378 | |
803 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): Call | |
804 | ppc64_elf_check_init_fini and warn if .init/.fini use different TOCs. | |
805 | ||
806fc311 AM |
806 | 2010-03-11 George Gensure <werkt0@gmail.com> |
807 | ||
808 | PR ld/11367 | |
809 | * ldcref.c (handle_asneeded_cref): Correct copying of refs. | |
810 | ||
a6cc6b3b RO |
811 | 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
812 | ||
813 | * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_sol2.o, | |
814 | eelf_i386_sol2.o. | |
815 | (ALL_64_EMULATIONS): Add eelf_x86_64_sol2.o, eelf64_sparc_sol2.o. | |
816 | (eelf32_sparc_sol2.c): New rule. | |
817 | (eelf64_sparc_sol2.c): Likewise. | |
818 | (eelf_x86_64_sol2.c): Likewise. | |
819 | (eelf_i386_sol2.c): Likewise. | |
820 | * Makefile.in: Regenerate. | |
821 | * configure.tgt (i[3-7]86-*-solaris2*): Change targ_emul to | |
822 | elf_i386_sol2. | |
823 | Add elf_i386_ldso, elf_x86_64_sol2 to targ_extra_emuls. | |
824 | (x86_64-*-solaris2*): Change targ_emul to elf_x86_64_sol2. | |
825 | Add elf_x86_64, elf_i386_sol2, elf_i386 to targ_extra_emuls. | |
826 | (sparc-*-solaris2.[0-6]*): Change targ_emul to elf32_sparc_sol2. | |
827 | Add target_extra_emuls. | |
828 | (sparc-*-solaris2*): Change targ_emul to elf32_sparc_sol2. | |
829 | Add elf32_sparc, elf64_sparc_sol2 to targ_extra_emuls. | |
830 | (sparcv9-*-solaris2*): Change targ_emul to elf64_sparc_sol2. | |
831 | Add elf64_sparc, elf32_sparc_sol2 to target_extra_emuls. | |
832 | * emulparams/elf32_sparc_sol2.sh: New file. | |
833 | * emulparams/elf64_sparc_sol2.sh: New file. | |
834 | * emulparams/elf_i386_sol2.sh: New file. | |
835 | * emulparams/elf_x86_64_sol2.sh: New file. | |
836 | * emultempl/solaris2.em: New file. | |
837 | ||
fc073cb7 L |
838 | 2010-02-27 H.J. Lu <hongjiu.lu@intel.com> |
839 | ||
840 | PR ld/11330 | |
841 | * ld.texinfo: Replace explicitely with explicitly. | |
842 | ||
3cff7cc7 JZ |
843 | 2010-02-27 Jie Zhang <jie@codesourcery.com> |
844 | ||
845 | * scripttempl/armbpabi.sc: Don't combine .init_array.* or | |
846 | .fini_array.* when do relocatable linking. | |
847 | * scripttempl/elf.sc: Likewise. | |
848 | * scripttempl/elf32sh-symbian.sc: Likewise. | |
849 | * scripttempl/elf64hppa.sc: Likewise. | |
850 | * scripttempl/elfxtensa.sc: Likewise. | |
851 | ||
9445af9a AM |
852 | 2010-02-26 Alan Modra <amodra@gmail.com> |
853 | ||
854 | * scripttempl/elf.sc (.fini_array): Place input .fini_array after | |
855 | .fini_array.*. | |
856 | * scripttempl/armbpabi.sc: Likewise. | |
857 | * scripttempl/elf32sh-symbian.sc: Likewise. | |
858 | * scripttempl/elf64hppa.sc: Likewise. | |
859 | * scripttempl/elfxtensa.sc: Likewise. | |
860 | ||
dfa7b0b8 AM |
861 | 2010-02-25 Alan Modra <amodra@gmail.com> |
862 | ||
863 | PR ld/11304 | |
864 | * ldlang.c (init_os): Remove isec param. Don't check for | |
865 | bfd_section already set or call bfd_init_private_section_data | |
866 | here. | |
867 | (exp_init_os): Update init_os call. | |
868 | (lang_add_section): Tidy. Really don't set SEC_LINK_ONCE | |
869 | flags. Call bfd_init_private_section_data here. | |
870 | (map_input_to_output_sections): Tidy. Update init_os calls. | |
871 | Use os->sectype to select sec flags for lang_data_statement. | |
872 | ||
a431bc2e AM |
873 | 2010-02-23 Alan Modra <amodra@gmail.com> |
874 | ||
875 | PR ld/11304 | |
876 | * ldlang.c: Revert last patch. | |
877 | ||
1c063135 NC |
878 | 2010-02-23 Nick Clifton <nickc@redhat.com> |
879 | ||
880 | * po/bg.po: Updated Bulgarian translation. | |
881 | ||
c380a809 AM |
882 | 2010-02-22 Alan Modra <amodra@gmail.com> |
883 | ||
884 | PR ld/11304 | |
885 | * ldlang.c (exp_init_os): Delete forward declaration. | |
886 | (init_os): Don't check for bfd_section already created and don't | |
887 | init addr_tree and load_base expressions here. | |
888 | (map_input_to_output_sections): Only map input to output sections | |
889 | and set constraints here, and as an exception, create output | |
890 | sections which have their address set. Move all the other code to.. | |
891 | (create_other_output_sections): ..here. New function. Handle init | |
892 | of addr_tree and load_base here too. | |
893 | (lang_process): Call create_other_output_sections. | |
894 | ||
c8c66882 AM |
895 | 2010-02-19 Alan Modra <amodra@gmail.com> |
896 | ||
897 | * Makefile.am (eelf32_i960.c): Depend on ELF_GEN_DEPS, not ELF_DEPS. | |
898 | * Makefile.in: Regenerate. | |
899 | ||
d0bf826b AM |
900 | 2010-02-19 Alan Modra <amodra@gmail.com> |
901 | ||
902 | * ldlang.c (unique_section_p): Add os param. Allow group | |
903 | sections to match /DISCARD/. Update all callers. | |
904 | * emultempl/genelf.em (gld${EMULATION_NAME}_before_allocation): New. | |
905 | (LDEMUL_BEFORE_ALLOCATION): Define. | |
906 | ||
ab7875de NC |
907 | 2010-02-15 Nick Clifton <nickc@redhat.com> |
908 | ||
909 | * po/vi.po: Updated Vietnamese translation. | |
910 | ||
45e481d1 RS |
911 | 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com> |
912 | ||
913 | * Makefile.am (CFILES): Add ldlex-wrapper.c. | |
914 | (OFILES): Replace ldlex.c with ldlex-wrapper.c. | |
915 | (ldlex.o): Replace with... | |
916 | (ldlex-wrapper.o): ...this new rule. | |
917 | (EXTRA_ld_new_SOURCES): Add ldlex.l. | |
918 | (ld_new_SOURCES): Replace ldlex.l with ldlex-wrapper.c. | |
919 | * Makefile.in: Regenerate. | |
920 | * ldlex.l (sysdep.h): Don't include here. | |
921 | * ldlex-wrapper.c: New file. | |
922 | ||
33c0ec9d AM |
923 | 2010-02-09 Alan Modra <amodra@gmail.com> |
924 | ||
925 | * emultempl/ppc64elf.em (ppc_before_allocation): Update for changed | |
926 | function parameters. | |
927 | ||
ef3f88be NC |
928 | 2010-02-05 Nick Clifton <nickc@redhat.com> |
929 | ||
930 | * configure.in (ALL_LIBGUAS): Add bg. | |
931 | * configure: Regenerate. | |
932 | * po/bg.po: New Bulgarian translation. | |
933 | ||
f8266dc4 NC |
934 | 2010-02-05 Ryan Mansfield <rmansfield@qnx.com> |
935 | ||
936 | * emultempl/armelf.em (PARSE_AND_LIST_OPTIONS): Fix help for | |
937 | --target1-abs and --target1-rel options. | |
938 | ||
4dfe6ac6 NC |
939 | 2010-02-03 Nick Clifton <nickc@redhat.com> |
940 | ||
941 | * emultempl/alphaelf.em: Update value expected from elf_object_id. | |
942 | * emultempl/hppaelf.em: Likewise. | |
943 | * emultempl/mipself.em: Likewise. | |
944 | * emultempl/ppc32elf.em: Likewise. | |
945 | * emultempl/ppc64elf.em: Likewise. | |
946 | ||
927be08e AM |
947 | 2010-02-03 Alan Modra <amodra@gmail.com> |
948 | ||
949 | * emultempl/ppc64elf.em (build_toc_list): Report errors from | |
950 | ppc64_elf_next_toc_section. | |
951 | (after_allocation): Update for changed function names and params. | |
952 | Run second pass of multitoc partitioning. | |
953 | ||
c4b78195 NC |
954 | 2010-01-21 Jon Grant <jg@jguk.org> |
955 | Nick Clifton <nickc@redhat.com> | |
956 | ||
957 | PR 4437 | |
958 | * ldfile.c: (ldfile_open_file): Do not stop link upon encountering | |
959 | a missing file or library. Instead mark the entry as missing and | |
960 | set the global flag to indicate that missing files were | |
961 | encountered. | |
962 | * ldlang.c (missing_files): New exported variable. | |
963 | (load_symbols): Skip loading if the file is missing. | |
964 | (open_input_bfds): Terminate link if any input files were | |
965 | missing. | |
966 | * ldlang.h (struct lang_input_statement_struct): Add missing_file | |
967 | field. | |
968 | Add export of missing_file variable. | |
969 | ||
b5f14a6d DD |
970 | 2010-01-13 DJ Delorie <dj@redhat.com> |
971 | ||
972 | * emultempl/elf32.em (_place_orphan): If an input section doesn't | |
973 | match an existing output section, but an unused output section | |
974 | statement does match, use it. | |
975 | * emultempl/pe.em (_place_orphan): Likewise. | |
976 | * emultempl/pep.em (_place_orphan): Likewise. | |
977 | ||
3725885a RW |
978 | 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
979 | ||
980 | * configure: Regenerate. | |
981 | * Makefile.in: Regenerate. | |
982 | ||
5256a5b0 L |
983 | 2010-01-08 H.J. Lu <hongjiu.lu@intel.com> |
984 | ||
985 | * ldver.c (ldversion): Change to "Copyright 2010". | |
986 | ||
b903363e AM |
987 | 2010-01-08 Alan Modra <amodra@gmail.com> |
988 | ||
989 | PR 11107 | |
990 | * emultempl/vxworks.em: Expand tr arguments to suit non-GNU tr. | |
9dda37c1 | 991 | |
43ecc30f | 992 | For older changes see ChangeLog-2009 |
252b5132 RH |
993 | \f |
994 | Local Variables: | |
995 | mode: change-log | |
996 | left-margin: 8 | |
997 | fill-column: 74 | |
998 | version-control: never | |
999 | End: |