Commit | Line | Data |
---|---|---|
41911f68 NC |
1 | 2008-05-21 Evandro Menezes <evandro@yahoo.com> |
2 | ||
3 | PR ld/6430 | |
4 | * ld.texinfo (--sort-common): Correct documentation to indicate | |
5 | that sorting is performed by alignment, not size, biggest | |
6 | alignment first. | |
7 | ||
726150b7 NC |
8 | 2008-05-21 Christophe Lyon <christophe.lyon@st.com> |
9 | Nick Clifton <nickc@redhat.com> | |
10 | ||
11 | * ld.texinfo (ARM): Document --stub-group-size=N option. | |
12 | Move description of --pic-veneer option into the ARM section. | |
13 | * NEWS: Mention the support for long function calls. | |
14 | ||
906e58ca NC |
15 | 2008-05-15 Christophe Lyon <christophe.lyon@st.com> |
16 | ||
17 | * emultempl/armelf.em (build_section_lists): New function. | |
18 | (stub_file): Define. | |
19 | (need_laying_out): Define. | |
20 | (group_size): Define. | |
21 | (hook_stub_info): Define. | |
22 | (hook_in_stub): New function. | |
23 | (elf32_arm_add_stub_section): New function. | |
24 | (gldarm_layout_sections_again): New function. | |
25 | (gld${EMULATION_NAME}_finish): Replace arm_elf_finish(). Generate | |
26 | stubs for long calls if needed. | |
27 | (arm_elf_create_output_section_statements): create stub_file bfd. | |
28 | (arm_for_each_input_file_wrapper): New function. | |
29 | (arm_lang_for_each_input_file): New function. | |
30 | (lang_for_each_input_file): Define. | |
31 | (PARSE_AND_LIST_PROLOGUE): Add option token OPTION_STUBGROUP_SIZE. | |
32 | (PARSE_AND_LIST_LONGOPTS): Add option stub-group-size. | |
33 | (PARSE_AND_LIST_OPTIONS): Add option stub-group-size. | |
34 | (PARSE_AND_LIST_ARGS_CASES): Add OPTION_STUBGROUP_SIZE case. | |
35 | (LDEMUL_FINISH): Update to gld${EMULATION_NAME}_finish. | |
36 | * lang.c (print_input_statement): Skip if bfd has | |
37 | BFD_LINKER_CREATED. | |
38 | ||
8944f3c2 AM |
39 | 2008-05-14 Alan Modra <amodra@bigpond.net.au> |
40 | ||
41 | * Makefile.in: Regenerate. | |
42 | ||
0ead4f8d KT |
43 | 2008-05-09 Kai Tietz <kai.tietz@onevision.com> |
44 | ||
45 | ld/PR6502 | |
8944f3c2 AM |
46 | * emultempl/pep.em (compute_dll_image_base): Use bfd_vma instead |
47 | of long and change return type to bfd_vma. | |
0ead4f8d KT |
48 | (definfo): Change type of address from long to bfd_vma. |
49 | (set_pep_value): Replace strtoul to strtoull. | |
50 | (gld_${EMULATION_NAME}_set_symbols): use bfd_vma instead of long.. | |
8944f3c2 AM |
51 | * pe-dll.c (pe_dll_generate_def_file): Use fprintf_vma to print |
52 | ImageBase. | |
0ead4f8d KT |
53 | (quick_reloc): Change argument address from int to bfd_size_type. |
54 | ||
e7fc76dd TT |
55 | 2008-05-08 Tom Tromey <tromey@redhat.com> |
56 | ||
57 | * ld.texinfo (PowerPC64 ELF64): Fix typo. | |
58 | ||
8374f9d4 AM |
59 | 2008-05-08 Alan Modra <amodra@bigpond.net.au> |
60 | ||
61 | * elf32_spu.sh (OTHER_SECTIONS): Add "._ea". | |
62 | * elf32ppc.sh: If building with spu support, put ".data.spehandle" | |
63 | sections at the start of ".data" and provide a symbol to locate | |
64 | the directory of embedded spe programs. | |
65 | ||
8c0848b5 AM |
66 | 2008-05-08 Alan Modra <amodra@bigpond.net.au> |
67 | ||
68 | * ldexp.c (exp_print_token): Add ABSOLUTE, MIN_K, ASSERT_K. Correct | |
69 | MAX_K. | |
70 | (fold_binary <SEGMENT_START>): Set expld.result.section to | |
71 | current section. Expand comment. Formatting. | |
72 | (fold_name <DEFINED>): Set expld.result.section to current section. | |
73 | ||
a2cab753 NS |
74 | 2008-04-28 Nathan Sidwell <nathan@codesourcery.com> |
75 | ||
76 | * ldlang.c (lang_size_sections_1): Don't check LMA overflow on | |
77 | non-load sections. | |
78 | ||
bec9537e MF |
79 | 2008-04-25 Michael Frysinger <vapier@gentoo.org> |
80 | ||
81 | * configure.tgt (bfin-*-linux-uclibc*): Set targ_emul to elf32bfinfd | |
82 | and targ_extra_emuls to elf32bfin. | |
83 | ||
6194aaab L |
84 | 2008-04-23 Paolo Bonzini <bonzini@gnu.org> |
85 | ||
86 | * aclocal.m4: Regenerate. | |
87 | * configure: Regenerate. | |
88 | ||
da6fa31a KT |
89 | 2008-04-03 Kai Tietz <kai.tietz@onevision.com> |
90 | ||
91 | * scripttempl/pep.sc: Align start of symbol __CTOR_LIST__. | |
92 | ||
9be9d352 AM |
93 | 2008-04-08 Alan Modra <amodra@bigpond.net.au> |
94 | ||
95 | * po/POTFILES.in: Regenerate. | |
96 | ||
9dcc4794 AM |
97 | 2008-04-08 Alan Modra <amodra@bigpond.net.au> |
98 | ||
99 | * emultempl/spuelf.em (auto_overlay, auto_overlay_file, | |
100 | auto_overlay_fixed, auto_overlay_reserved, my_argc, my_argv): New vars. | |
101 | (spu_before_allocation): Warn on --auto-overlay and existing overlays. | |
102 | (struct tflist, clean_tmp): Move. | |
103 | (new_tmp_file): New function, extracted from.. | |
104 | (embedded_spu_file): ..here. | |
105 | (spu_elf_open_overlay_script, spu_elf_relink): New function. | |
106 | (gld${EMULATION_NAME}_finish): Pass a bunch of --auto-overlay params. | |
107 | Warn on --auto-overlay and zero local store. | |
108 | (gld${EMULATION_NAME}_choose_target): New function to stash argv. | |
109 | (OPTION_SPU_AUTO_OVERLAY, OPTION_SPU_AUTO_RELINK, | |
110 | OPTION_SPU_OVERLAY_RODATA, OPTION_SPU_FIXED_SPACE, | |
111 | OPTION_SPU_RESERVED_SPACE, OPTION_SPU_NO_AUTO_OVERLAY): Define. | |
112 | (PARSE_AND_LIST_LONGOPTS): Add entries for new options. | |
113 | (PARSE_AND_LIST_OPTIONS): Likewise. | |
114 | (PARSE_AND_LIST_ARGS_CASES): Likewise. | |
115 | (LDEMUL_CHOOSE_TARGET): Define. | |
116 | ||
5f69259e KT |
117 | 2008-04-03 Kai Tietz <kai.tietz@onevision.com> |
118 | ||
119 | PR ld/6026 | |
120 | * pe-dll.c (make_head): Fix iat and thunk addend offset. | |
121 | ||
95f0efb9 NC |
122 | 2008-03-31 Nick Clifton <nickc@redhat.com> |
123 | ||
124 | * po/fr.po: Updated French translation. | |
125 | ||
f36d5d55 ILT |
126 | 2008-03-24 Ian Lance Taylor <iant@google.com> |
127 | ||
128 | The sha1 code is now in libiberty. | |
129 | * sha1.c: Remove. | |
130 | * sha1.h: Remove. | |
131 | * Makefile.am (CFILES): Remove sha1.c. | |
132 | (HFILES): Remove sha1.h. | |
133 | (OFILES): Remove sha1.o. | |
134 | (ld_new_SOURCES): Remove sha1.c. | |
135 | (sha1.o): Remove target. | |
136 | * Makefile.in: Rebuild. | |
137 | ||
c65be8d7 AM |
138 | 2008-03-20 Alan Modra <amodra@bigpond.net.au> |
139 | ||
140 | * emultempl/spuelf.em: Update calls to elf32-spu.c funcs. | |
141 | ||
58c85be7 RW |
142 | 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
143 | ||
144 | * aclocal.m4: Regenerate. | |
145 | * configure: Likewise. | |
146 | * Makefile.in: Likewise. | |
147 | ||
771a9c5f AM |
148 | 2008-03-14 Alan Modra <amodra@bigpond.net.au> |
149 | ||
150 | * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Protect | |
151 | spu_elf_build_stubs with is_spu_target. | |
152 | ||
50e7d84b AM |
153 | 2008-03-13 Alan Modra <amodra@bigpond.net.au> |
154 | ||
155 | * Makefile.am: Run "make dep-am". | |
156 | * Makefile.in: Regenerate. | |
157 | * configure: Regenerate. | |
158 | ||
9e448631 NC |
159 | 2008-03-06 Joseph Myers <joseph@codesourcery.com> |
160 | Roman Zippel <zippel@linux-m68k.org> | |
161 | ||
162 | * emulparams/m68kelf.sh (GENERATE_PIE_SCRIPT): Define. | |
163 | (COMMONPAGESIZE): Define. | |
164 | ||
07dfcf38 NC |
165 | 2008-02-22 Nick Clifton <nickc@redhat.com> |
166 | ||
167 | PR ld/5785 | |
168 | * ldlang.c (lang_size_sections_1): Honour the setting of an | |
169 | lma_region even if there is no vma region set, or the vma region | |
170 | is the same as the lma region. | |
171 | ||
b34c1498 NC |
172 | 2008-02-18 Nick Clifton <nickc@redhat.com> |
173 | ||
174 | * scripttempl/armbpabi.sc (ENTRY): Do not define when performing a | |
175 | relocatable link. | |
176 | * scripttempl/elf32cr16.sc: Likewise. | |
177 | * scripttempl/elf32cr16c.sc: Likewise. | |
178 | * scripttempl/elf32crx.sc: Likewise. | |
179 | * scripttempl/elf32sh-symbian.sc: Likewise. | |
180 | * scripttempl/elf_chaos.sc: Likewise. | |
181 | * scripttempl/elfd10v.sc: Likewise. | |
182 | * scripttempl/elfi370.sc: Likewise. | |
183 | * scripttempl/elfm68hc11.sc: Likewise. | |
184 | * scripttempl/elfm68hc12.sc: Likewise. | |
185 | * scripttempl/ip2k.sc: Likewise. | |
186 | * scripttempl/iq2000.sc: Likewise. | |
187 | * scripttempl/mep.sc: Likewise. | |
188 | * scripttempl/v850.sc: Likewise. | |
189 | * scripttempl/xstormy16.sc: Likewise. | |
190 | ||
819da74e AM |
191 | 2008-02-16 Alan Modra <amodra@bigpond.net.au> |
192 | ||
193 | PR ld/5761 | |
194 | * ldexp.c (fold_name <LOADADDR>): Check result of evaluating | |
195 | load_base before calling make_abs. | |
196 | ||
5503fea1 AM |
197 | 2008-02-15 Alan Modra <amodra@bigpond.net.au> |
198 | ||
199 | * emultempl/alphaelf.em (alpha_after_open): Use elf_object_id. | |
200 | * emultempl/hppaelf.em (hppaelf_create_output_section_statements): | |
201 | Likewise. | |
202 | * emultempl/ppc64elf.em (ppc_create_output_section_statements): | |
203 | Likewise. | |
204 | * emultempl/ppc32elf.em (is_ppc_elf32_vec): Delete. Replace all | |
205 | uses with.. | |
206 | (is_ppc_elf): ..this new macro. | |
207 | ||
f13a99db AM |
208 | 2008-02-15 Alan Modra <amodra@bigpond.net.au> |
209 | ||
210 | * ldmain.h (output_bfd): Delete. | |
211 | * ldmain.c (output_bfd): Delete. | |
212 | Replace all occurrences of output_bfd with link_info.output_bfd. | |
213 | * ldcref.c: Likewise. | |
214 | * ldctor.c: Likewise. | |
215 | * ldemul.c: Likewise. | |
216 | * ldexp.c: Likewise. | |
217 | * ldfile.c: Likewise. | |
218 | * ldlang.c: Likewise. | |
219 | * ldmisc.c: Likewise. | |
220 | * ldwrite.c: Likewise. | |
221 | * pe-dll.c: Likewise. | |
222 | * emultempl/aix.em: Likewise. | |
223 | * emultempl/alphaelf.em: Likewise. | |
224 | * emultempl/armcoff.em: Likewise. | |
225 | * emultempl/armelf.em: Likewise. | |
226 | * emultempl/avrelf.em: Likewise. | |
227 | * emultempl/beos.em: Likewise. | |
228 | * emultempl/elf-generic.em: Likewise. | |
229 | * emultempl/elf32.em: Likewise. | |
230 | * emultempl/gld960.em: Likewise. | |
231 | * emultempl/hppaelf.em: Likewise. | |
232 | * emultempl/irix.em: Likewise. | |
233 | * emultempl/linux.em: Likewise. | |
234 | * emultempl/lnk960.em: Likewise. | |
235 | * emultempl/m68hc1xelf.em: Likewise. | |
236 | * emultempl/mmix-elfnmmo.em: Likewise. | |
237 | * emultempl/mmo.em: Likewise. | |
238 | * emultempl/pe.em: Likewise. | |
239 | * emultempl/pep.em: Likewise. | |
240 | * emultempl/ppc32elf.em: Likewise. | |
241 | * emultempl/ppc64elf.em: Likewise. | |
242 | * emultempl/scoreelf.em: Likewise. | |
243 | * emultempl/sh64elf.em: Likewise. | |
244 | * emultempl/spuelf.em: Likewise. | |
245 | * emultempl/sunos.em: Likewise. | |
246 | * emultempl/vanilla.em: Likewise. | |
247 | * emultempl/vxworks.em: Likewise. | |
248 | * emultempl/xtensaelf.em: Likewise. | |
249 | * emultempl/z80.em: Likewise. | |
250 | * ldlang.c (open_output): Don't return output, instead write | |
251 | link_info_output_bfd directly. | |
252 | * emultempl/alphaelf.em: Replace occurrences of link_info.hash->creator | |
253 | with link_info.output_bfd->xvec. | |
254 | * emultempl/hppaelf.em: Likewise. | |
255 | * emultempl/ppc32elf.em: Likewise. | |
256 | * emultempl/ppc64elf.em: Likewise. | |
257 | * emultempl/spuelf.em: Likewise. | |
258 | ||
ff7a0acf AM |
259 | 2008-02-07 Alan Modra <amodra@bigpond.net.au> |
260 | ||
261 | * ldlang.c (new_afile): Don't pass unadorned NULL to concat. | |
262 | * ldfile.c (ldfile_add_library_path): Likewise. | |
263 | * emultempl/elf32.em (check_ld_elf_hints, check_ld_so_conf): Likewise. | |
264 | * emultempl/lnk960.em (lnk960_before_parse): Likewise. | |
265 | * emultempl/spuelf.em (embedded_spu_file): Likewise. | |
266 | ||
2e444bea AM |
267 | 2008-02-07 Alan Modra <amodra@bigpond.net.au> |
268 | ||
269 | * emultempl/spu_ovl.S: Use low bit of _ovly_table.size as | |
270 | a "present" bit rather than low bit of .buf. Correct indexing | |
271 | into _ovly_buf_table. Use relative loads and stores to access | |
272 | overlay manager local vars. | |
273 | * emultempl/spu_ovl.o: Regenerate. | |
274 | ||
bb8541b9 L |
275 | 2008-02-04 H.J. Lu <hongjiu.lu@intel.com> |
276 | ||
277 | PR 5715 | |
278 | * configure: Regenerated. | |
279 | ||
f8a52b59 BW |
280 | 2008-01-31 Marc Gauthier <marc@tensilica.com> |
281 | ||
282 | * configure.tgt (xtensa*-*-*): Recognize processor variants. | |
283 | ||
00b2bfc1 NC |
284 | 2008-01-28 Fabian Groffen <grobian@gentoo.org> |
285 | ||
286 | * configure.tgt (x86_64-*-solaris2): Add support for this target. | |
287 | ||
6e73d595 NC |
288 | 2008-01-28 Vincent Riviere <vincent.riviere@freesbee.fr> |
289 | ||
290 | PR ld/5652 | |
291 | * genscripts.sh: Check for the existence of BASH_LINENO not just | |
292 | the BASH shell before generating line numbers in the emulation | |
293 | file. | |
294 | ||
47f6dab9 AM |
295 | 2008-01-28 Alan Modra <amodra@bigpond.net.au> |
296 | ||
297 | * emultempl/spu_ovl.S: Rewrite. | |
298 | * emultempl/spu_ovl.o: Regenerate. | |
299 | * emultempl/spuelf.em (toe): Delete. | |
300 | (spu_place_special_section): Add param to control section placement. | |
301 | Adjust callers. | |
302 | (spu_elf_load_ovl_mgr): Adjust for struct _spu_elf_section_data | |
303 | changes. | |
304 | (spu_before_allocation): Adjust spu_elf_size_stubs call. | |
305 | (gld${EMULATION_NAME}_finish): Adjust spu_elf_build_stubs call. | |
306 | ||
29183214 L |
307 | 2008-01-25 H.J. Lu <hongjiu.lu@intel.com> |
308 | ||
309 | PR ld/5670 | |
310 | * ldlang.c (process_insert_statements): Silence gcc 4.1 alias | |
311 | warning. | |
312 | ||
53d25da6 AM |
313 | 2008-01-25 Alan Modra <amodra@bigpond.net.au> |
314 | ||
315 | * ld.texinfo (INSERT): Describe. | |
316 | * ldgram.y (ldgram_in_script, ldgram_had_equals): Delete. | |
317 | (INSERT_K, AFTER, BEFORE): Add as tokens. | |
318 | (ifile_p1): Handle INSERT statements. | |
319 | (saved_script_handle, force_make_executable): Move to.. | |
320 | * ldmain.c: ..here. | |
321 | (previous_script_handle): New global var. | |
322 | * ldmain.h (saved_script_handle, force_make_executable): Declare. | |
323 | (previous_script_handle): Likewise. | |
324 | * ldlex.l (INSERT_K, AFTER, BEFORE): Add tokens. | |
325 | * lexsup.c (parge_args <-T>): Set previous_script_handle. | |
326 | * ldlang.c (lang_for_each_statement_worker): Handle insert statement. | |
327 | (map_input_to_output_sections, print_statement): Likewise. | |
328 | (lang_size_sections_1, lang_do_assignments_1): Likewise. | |
329 | (insert_os_after): New function, extracted from.. | |
330 | (lang_insert_orphan): ..here. | |
331 | (process_insert_statements): New function. | |
332 | (lang_process): Call it. | |
333 | (lang_add_insert): New function. | |
334 | * ldlang.h (lang_insert_statement_enum): New. | |
335 | (lang_insert_statement_type): New. | |
336 | (lang_statement_union_type): Add insert_statement. | |
337 | (lang_add_insert): Declare. | |
338 | ||
c19f06f2 BW |
339 | 2008-01-18 Bob Wilson <bob.wilson@acm.org> |
340 | ||
341 | * scripttempl/elfxtensa.sc: Merge ENTRY and .note.gnu.build-id | |
342 | changes from elf.sc. | |
8944f3c2 | 343 | |
14ac84b4 AM |
344 | 2008-01-16 Alan Modra <amodra@bigpond.net.au> |
345 | ||
346 | * ldlang.c (lang_size_sections_1): Simplify SEC_NEVER_LOAD test. | |
347 | ||
3d00b095 AM |
348 | 2008-01-16 Alan Modra <amodra@bigpond.net.au> |
349 | ||
350 | * ldlang.h (lang_afile_asection_pair_statement_enum): Delete. | |
351 | (lang_afile_asection_pair_statement_type): Delete. | |
352 | (lang_statement_union_type): Delete afile_asection_pair_statement. | |
353 | * ldlang.c (lang_insert_orphan): Delete case handling the above. | |
354 | (map_input_to_output_sections, print_statement): Likewise. | |
355 | ||
58da7b1b KK |
356 | 2008-01-15 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
357 | ||
358 | * emulparams/shlelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE | |
359 | with __data_start. | |
360 | * emulparams/shelf_nbsd.sh (DATA_START_SYMBOLS): Likewise. | |
361 | ||
74f0fb50 AM |
362 | 2008-01-15 Alan Modra <amodra@bigpond.net.au> |
363 | ||
364 | PR 5604 | |
365 | * ldlang.c (lang_gc_sections): Move code to set SEC_KEEP on entry | |
366 | syms to _bfd_elf_gc_keep. | |
367 | * emultempl/ppc64elf.em (ppc_before_allocation): Don't call | |
368 | ppc64_elf_edit_opd if no_opd_opt. | |
369 | ||
ac69cbc6 TG |
370 | 2008-01-11 Tristan Gingold <gingold@adacore.com> |
371 | Eric Botcazou <ebotcazou@adacore.com> | |
372 | ||
373 | * ldlang.c (lang_end): Warns if the entry point is not found when | |
374 | --gc-sections. | |
375 | Emit an error if no root is specified when --gc-sections -r. | |
376 | * ld.texinfo (Options): Document that --gc-sections is compatible | |
377 | with -r and -q. | |
378 | * ldmain.c (main): Do not error out if -r and --gc-sections. | |
379 | * scripttempl/elf.sc: Emit ENTRY command only if relocating. | |
380 | ||
71934f94 NC |
381 | 2008-01-10 Daniel Jacobowitz <drow@sources.redhat.com> |
382 | ||
383 | PR ld/5533 | |
384 | * ldlang.c (lang_end): Issue a warning for a missing start symbol | |
385 | of a shared library if the symbol was specified on the command | |
386 | line. | |
387 | ||
d5465ba2 AM |
388 | 2008-01-10 Alan Modra <amodra@bigpond.net.au> |
389 | ||
390 | * ld.texinfo (--gc-sections): Describe linker behaviour. | |
391 | ||
6c7ac64e | 392 | For older changes see ChangeLog-2007 |
252b5132 RH |
393 | \f |
394 | Local Variables: | |
395 | mode: change-log | |
396 | left-margin: 8 | |
397 | fill-column: 74 | |
398 | version-control: never | |
399 | End: |