1 2008-04-08 Alan Modra <amodra@bigpond.net.au>
3 * emultempl/spuelf.em (auto_overlay, auto_overlay_file,
4 auto_overlay_fixed, auto_overlay_reserved, my_argc, my_argv): New vars.
5 (spu_before_allocation): Warn on --auto-overlay and existing overlays.
6 (struct tflist, clean_tmp): Move.
7 (new_tmp_file): New function, extracted from..
8 (embedded_spu_file): ..here.
9 (spu_elf_open_overlay_script, spu_elf_relink): New function.
10 (gld${EMULATION_NAME}_finish): Pass a bunch of --auto-overlay params.
11 Warn on --auto-overlay and zero local store.
12 (gld${EMULATION_NAME}_choose_target): New function to stash argv.
13 (OPTION_SPU_AUTO_OVERLAY, OPTION_SPU_AUTO_RELINK,
14 OPTION_SPU_OVERLAY_RODATA, OPTION_SPU_FIXED_SPACE,
15 OPTION_SPU_RESERVED_SPACE, OPTION_SPU_NO_AUTO_OVERLAY): Define.
16 (PARSE_AND_LIST_LONGOPTS): Add entries for new options.
17 (PARSE_AND_LIST_OPTIONS): Likewise.
18 (PARSE_AND_LIST_ARGS_CASES): Likewise.
19 (LDEMUL_CHOOSE_TARGET): Define.
21 2008-04-03 Kai Tietz <kai.tietz@onevision.com>
24 * pe-dll.c (make_head): Fix iat and thunk addend offset.
26 2008-03-31 Nick Clifton <nickc@redhat.com>
28 * po/fr.po: Updated French translation.
30 2008-03-24 Ian Lance Taylor <iant@google.com>
32 The sha1 code is now in libiberty.
35 * Makefile.am (CFILES): Remove sha1.c.
36 (HFILES): Remove sha1.h.
37 (OFILES): Remove sha1.o.
38 (ld_new_SOURCES): Remove sha1.c.
39 (sha1.o): Remove target.
40 * Makefile.in: Rebuild.
42 2008-03-20 Alan Modra <amodra@bigpond.net.au>
44 * emultempl/spuelf.em: Update calls to elf32-spu.c funcs.
46 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
48 * aclocal.m4: Regenerate.
49 * configure: Likewise.
50 * Makefile.in: Likewise.
52 2008-03-14 Alan Modra <amodra@bigpond.net.au>
54 * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Protect
55 spu_elf_build_stubs with is_spu_target.
57 2008-03-13 Alan Modra <amodra@bigpond.net.au>
59 * Makefile.am: Run "make dep-am".
60 * Makefile.in: Regenerate.
61 * configure: Regenerate.
63 2008-03-06 Joseph Myers <joseph@codesourcery.com>
64 Roman Zippel <zippel@linux-m68k.org>
66 * emulparams/m68kelf.sh (GENERATE_PIE_SCRIPT): Define.
67 (COMMONPAGESIZE): Define.
69 2008-02-22 Nick Clifton <nickc@redhat.com>
72 * ldlang.c (lang_size_sections_1): Honour the setting of an
73 lma_region even if there is no vma region set, or the vma region
74 is the same as the lma region.
76 2008-02-18 Nick Clifton <nickc@redhat.com>
78 * scripttempl/armbpabi.sc (ENTRY): Do not define when performing a
80 * scripttempl/elf32cr16.sc: Likewise.
81 * scripttempl/elf32cr16c.sc: Likewise.
82 * scripttempl/elf32crx.sc: Likewise.
83 * scripttempl/elf32sh-symbian.sc: Likewise.
84 * scripttempl/elf_chaos.sc: Likewise.
85 * scripttempl/elfd10v.sc: Likewise.
86 * scripttempl/elfi370.sc: Likewise.
87 * scripttempl/elfm68hc11.sc: Likewise.
88 * scripttempl/elfm68hc12.sc: Likewise.
89 * scripttempl/ip2k.sc: Likewise.
90 * scripttempl/iq2000.sc: Likewise.
91 * scripttempl/mep.sc: Likewise.
92 * scripttempl/v850.sc: Likewise.
93 * scripttempl/xstormy16.sc: Likewise.
95 2008-02-16 Alan Modra <amodra@bigpond.net.au>
98 * ldexp.c (fold_name <LOADADDR>): Check result of evaluating
99 load_base before calling make_abs.
101 2008-02-15 Alan Modra <amodra@bigpond.net.au>
103 * emultempl/alphaelf.em (alpha_after_open): Use elf_object_id.
104 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
106 * emultempl/ppc64elf.em (ppc_create_output_section_statements):
108 * emultempl/ppc32elf.em (is_ppc_elf32_vec): Delete. Replace all
110 (is_ppc_elf): ..this new macro.
112 2008-02-15 Alan Modra <amodra@bigpond.net.au>
114 * ldmain.h (output_bfd): Delete.
115 * ldmain.c (output_bfd): Delete.
116 Replace all occurrences of output_bfd with link_info.output_bfd.
117 * ldcref.c: Likewise.
118 * ldctor.c: Likewise.
119 * ldemul.c: Likewise.
121 * ldfile.c: Likewise.
122 * ldlang.c: Likewise.
123 * ldmisc.c: Likewise.
124 * ldwrite.c: Likewise.
125 * pe-dll.c: Likewise.
126 * emultempl/aix.em: Likewise.
127 * emultempl/alphaelf.em: Likewise.
128 * emultempl/armcoff.em: Likewise.
129 * emultempl/armelf.em: Likewise.
130 * emultempl/avrelf.em: Likewise.
131 * emultempl/beos.em: Likewise.
132 * emultempl/elf-generic.em: Likewise.
133 * emultempl/elf32.em: Likewise.
134 * emultempl/gld960.em: Likewise.
135 * emultempl/hppaelf.em: Likewise.
136 * emultempl/irix.em: Likewise.
137 * emultempl/linux.em: Likewise.
138 * emultempl/lnk960.em: Likewise.
139 * emultempl/m68hc1xelf.em: Likewise.
140 * emultempl/mmix-elfnmmo.em: Likewise.
141 * emultempl/mmo.em: Likewise.
142 * emultempl/pe.em: Likewise.
143 * emultempl/pep.em: Likewise.
144 * emultempl/ppc32elf.em: Likewise.
145 * emultempl/ppc64elf.em: Likewise.
146 * emultempl/scoreelf.em: Likewise.
147 * emultempl/sh64elf.em: Likewise.
148 * emultempl/spuelf.em: Likewise.
149 * emultempl/sunos.em: Likewise.
150 * emultempl/vanilla.em: Likewise.
151 * emultempl/vxworks.em: Likewise.
152 * emultempl/xtensaelf.em: Likewise.
153 * emultempl/z80.em: Likewise.
154 * ldlang.c (open_output): Don't return output, instead write
155 link_info_output_bfd directly.
156 * emultempl/alphaelf.em: Replace occurrences of link_info.hash->creator
157 with link_info.output_bfd->xvec.
158 * emultempl/hppaelf.em: Likewise.
159 * emultempl/ppc32elf.em: Likewise.
160 * emultempl/ppc64elf.em: Likewise.
161 * emultempl/spuelf.em: Likewise.
163 2008-02-07 Alan Modra <amodra@bigpond.net.au>
165 * ldlang.c (new_afile): Don't pass unadorned NULL to concat.
166 * ldfile.c (ldfile_add_library_path): Likewise.
167 * emultempl/elf32.em (check_ld_elf_hints, check_ld_so_conf): Likewise.
168 * emultempl/lnk960.em (lnk960_before_parse): Likewise.
169 * emultempl/spuelf.em (embedded_spu_file): Likewise.
171 2008-02-07 Alan Modra <amodra@bigpond.net.au>
173 * emultempl/spu_ovl.S: Use low bit of _ovly_table.size as
174 a "present" bit rather than low bit of .buf. Correct indexing
175 into _ovly_buf_table. Use relative loads and stores to access
176 overlay manager local vars.
177 * emultempl/spu_ovl.o: Regenerate.
179 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
182 * configure: Regenerated.
184 2008-01-31 Marc Gauthier <marc@tensilica.com>
186 * configure.tgt (xtensa*-*-*): Recognize processor variants.
188 2008-01-28 Fabian Groffen <grobian@gentoo.org>
190 * configure.tgt (x86_64-*-solaris2): Add support for this target.
192 2008-01-28 Vincent Riviere <vincent.riviere@freesbee.fr>
195 * genscripts.sh: Check for the existence of BASH_LINENO not just
196 the BASH shell before generating line numbers in the emulation
199 2008-01-28 Alan Modra <amodra@bigpond.net.au>
201 * emultempl/spu_ovl.S: Rewrite.
202 * emultempl/spu_ovl.o: Regenerate.
203 * emultempl/spuelf.em (toe): Delete.
204 (spu_place_special_section): Add param to control section placement.
206 (spu_elf_load_ovl_mgr): Adjust for struct _spu_elf_section_data
208 (spu_before_allocation): Adjust spu_elf_size_stubs call.
209 (gld${EMULATION_NAME}_finish): Adjust spu_elf_build_stubs call.
211 2008-01-25 H.J. Lu <hongjiu.lu@intel.com>
214 * ldlang.c (process_insert_statements): Silence gcc 4.1 alias
217 2008-01-25 Alan Modra <amodra@bigpond.net.au>
219 * ld.texinfo (INSERT): Describe.
220 * ldgram.y (ldgram_in_script, ldgram_had_equals): Delete.
221 (INSERT_K, AFTER, BEFORE): Add as tokens.
222 (ifile_p1): Handle INSERT statements.
223 (saved_script_handle, force_make_executable): Move to..
225 (previous_script_handle): New global var.
226 * ldmain.h (saved_script_handle, force_make_executable): Declare.
227 (previous_script_handle): Likewise.
228 * ldlex.l (INSERT_K, AFTER, BEFORE): Add tokens.
229 * lexsup.c (parge_args <-T>): Set previous_script_handle.
230 * ldlang.c (lang_for_each_statement_worker): Handle insert statement.
231 (map_input_to_output_sections, print_statement): Likewise.
232 (lang_size_sections_1, lang_do_assignments_1): Likewise.
233 (insert_os_after): New function, extracted from..
234 (lang_insert_orphan): ..here.
235 (process_insert_statements): New function.
236 (lang_process): Call it.
237 (lang_add_insert): New function.
238 * ldlang.h (lang_insert_statement_enum): New.
239 (lang_insert_statement_type): New.
240 (lang_statement_union_type): Add insert_statement.
241 (lang_add_insert): Declare.
243 2008-01-18 Bob Wilson <bob.wilson@acm.org>
245 * scripttempl/elfxtensa.sc: Merge ENTRY and .note.gnu.build-id
248 2008-01-16 Alan Modra <amodra@bigpond.net.au>
250 * ldlang.c (lang_size_sections_1): Simplify SEC_NEVER_LOAD test.
252 2008-01-16 Alan Modra <amodra@bigpond.net.au>
254 * ldlang.h (lang_afile_asection_pair_statement_enum): Delete.
255 (lang_afile_asection_pair_statement_type): Delete.
256 (lang_statement_union_type): Delete afile_asection_pair_statement.
257 * ldlang.c (lang_insert_orphan): Delete case handling the above.
258 (map_input_to_output_sections, print_statement): Likewise.
260 2008-01-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
262 * emulparams/shlelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE
264 * emulparams/shelf_nbsd.sh (DATA_START_SYMBOLS): Likewise.
266 2008-01-15 Alan Modra <amodra@bigpond.net.au>
269 * ldlang.c (lang_gc_sections): Move code to set SEC_KEEP on entry
270 syms to _bfd_elf_gc_keep.
271 * emultempl/ppc64elf.em (ppc_before_allocation): Don't call
272 ppc64_elf_edit_opd if no_opd_opt.
274 2008-01-11 Tristan Gingold <gingold@adacore.com>
275 Eric Botcazou <ebotcazou@adacore.com>
277 * ldlang.c (lang_end): Warns if the entry point is not found when
279 Emit an error if no root is specified when --gc-sections -r.
280 * ld.texinfo (Options): Document that --gc-sections is compatible
282 * ldmain.c (main): Do not error out if -r and --gc-sections.
283 * scripttempl/elf.sc: Emit ENTRY command only if relocating.
285 2008-01-10 Daniel Jacobowitz <drow@sources.redhat.com>
288 * ldlang.c (lang_end): Issue a warning for a missing start symbol
289 of a shared library if the symbol was specified on the command
292 2008-01-10 Alan Modra <amodra@bigpond.net.au>
294 * ld.texinfo (--gc-sections): Describe linker behaviour.
296 For older changes see ChangeLog-2007
302 version-control: never