1 2008-03-24 Ian Lance Taylor <iant@google.com>
3 The sha1 code is now in libiberty.
6 * Makefile.am (CFILES): Remove sha1.c.
7 (HFILES): Remove sha1.h.
8 (OFILES): Remove sha1.o.
9 (ld_new_SOURCES): Remove sha1.c.
10 (sha1.o): Remove target.
11 * Makefile.in: Rebuild.
13 2008-03-20 Alan Modra <amodra@bigpond.net.au>
15 * emultempl/spuelf.em: Update calls to elf32-spu.c funcs.
17 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
19 * aclocal.m4: Regenerate.
20 * configure: Likewise.
21 * Makefile.in: Likewise.
23 2008-03-14 Alan Modra <amodra@bigpond.net.au>
25 * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Protect
26 spu_elf_build_stubs with is_spu_target.
28 2008-03-13 Alan Modra <amodra@bigpond.net.au>
30 * Makefile.am: Run "make dep-am".
31 * Makefile.in: Regenerate.
32 * configure: Regenerate.
34 2008-03-06 Joseph Myers <joseph@codesourcery.com>
35 Roman Zippel <zippel@linux-m68k.org>
37 * emulparams/m68kelf.sh (GENERATE_PIE_SCRIPT): Define.
38 (COMMONPAGESIZE): Define.
40 2008-02-22 Nick Clifton <nickc@redhat.com>
43 * ldlang.c (lang_size_sections_1): Honour the setting of an
44 lma_region even if there is no vma region set, or the vma region
45 is the same as the lma region.
47 2008-02-18 Nick Clifton <nickc@redhat.com>
49 * scripttempl/armbpabi.sc (ENTRY): Do not define when performing a
51 * scripttempl/elf32cr16.sc: Likewise.
52 * scripttempl/elf32cr16c.sc: Likewise.
53 * scripttempl/elf32crx.sc: Likewise.
54 * scripttempl/elf32sh-symbian.sc: Likewise.
55 * scripttempl/elf_chaos.sc: Likewise.
56 * scripttempl/elfd10v.sc: Likewise.
57 * scripttempl/elfi370.sc: Likewise.
58 * scripttempl/elfm68hc11.sc: Likewise.
59 * scripttempl/elfm68hc12.sc: Likewise.
60 * scripttempl/ip2k.sc: Likewise.
61 * scripttempl/iq2000.sc: Likewise.
62 * scripttempl/mep.sc: Likewise.
63 * scripttempl/v850.sc: Likewise.
64 * scripttempl/xstormy16.sc: Likewise.
66 2008-02-16 Alan Modra <amodra@bigpond.net.au>
69 * ldexp.c (fold_name <LOADADDR>): Check result of evaluating
70 load_base before calling make_abs.
72 2008-02-15 Alan Modra <amodra@bigpond.net.au>
74 * emultempl/alphaelf.em (alpha_after_open): Use elf_object_id.
75 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
77 * emultempl/ppc64elf.em (ppc_create_output_section_statements):
79 * emultempl/ppc32elf.em (is_ppc_elf32_vec): Delete. Replace all
81 (is_ppc_elf): ..this new macro.
83 2008-02-15 Alan Modra <amodra@bigpond.net.au>
85 * ldmain.h (output_bfd): Delete.
86 * ldmain.c (output_bfd): Delete.
87 Replace all occurrences of output_bfd with link_info.output_bfd.
95 * ldwrite.c: Likewise.
97 * emultempl/aix.em: Likewise.
98 * emultempl/alphaelf.em: Likewise.
99 * emultempl/armcoff.em: Likewise.
100 * emultempl/armelf.em: Likewise.
101 * emultempl/avrelf.em: Likewise.
102 * emultempl/beos.em: Likewise.
103 * emultempl/elf-generic.em: Likewise.
104 * emultempl/elf32.em: Likewise.
105 * emultempl/gld960.em: Likewise.
106 * emultempl/hppaelf.em: Likewise.
107 * emultempl/irix.em: Likewise.
108 * emultempl/linux.em: Likewise.
109 * emultempl/lnk960.em: Likewise.
110 * emultempl/m68hc1xelf.em: Likewise.
111 * emultempl/mmix-elfnmmo.em: Likewise.
112 * emultempl/mmo.em: Likewise.
113 * emultempl/pe.em: Likewise.
114 * emultempl/pep.em: Likewise.
115 * emultempl/ppc32elf.em: Likewise.
116 * emultempl/ppc64elf.em: Likewise.
117 * emultempl/scoreelf.em: Likewise.
118 * emultempl/sh64elf.em: Likewise.
119 * emultempl/spuelf.em: Likewise.
120 * emultempl/sunos.em: Likewise.
121 * emultempl/vanilla.em: Likewise.
122 * emultempl/vxworks.em: Likewise.
123 * emultempl/xtensaelf.em: Likewise.
124 * emultempl/z80.em: Likewise.
125 * ldlang.c (open_output): Don't return output, instead write
126 link_info_output_bfd directly.
127 * emultempl/alphaelf.em: Replace occurrences of link_info.hash->creator
128 with link_info.output_bfd->xvec.
129 * emultempl/hppaelf.em: Likewise.
130 * emultempl/ppc32elf.em: Likewise.
131 * emultempl/ppc64elf.em: Likewise.
132 * emultempl/spuelf.em: Likewise.
134 2008-02-07 Alan Modra <amodra@bigpond.net.au>
136 * ldlang.c (new_afile): Don't pass unadorned NULL to concat.
137 * ldfile.c (ldfile_add_library_path): Likewise.
138 * emultempl/elf32.em (check_ld_elf_hints, check_ld_so_conf): Likewise.
139 * emultempl/lnk960.em (lnk960_before_parse): Likewise.
140 * emultempl/spuelf.em (embedded_spu_file): Likewise.
142 2008-02-07 Alan Modra <amodra@bigpond.net.au>
144 * emultempl/spu_ovl.S: Use low bit of _ovly_table.size as
145 a "present" bit rather than low bit of .buf. Correct indexing
146 into _ovly_buf_table. Use relative loads and stores to access
147 overlay manager local vars.
148 * emultempl/spu_ovl.o: Regenerate.
150 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
153 * configure: Regenerated.
155 2008-01-31 Marc Gauthier <marc@tensilica.com>
157 * configure.tgt (xtensa*-*-*): Recognize processor variants.
159 2008-01-28 Fabian Groffen <grobian@gentoo.org>
161 * configure.tgt (x86_64-*-solaris2): Add support for this target.
163 2008-01-28 Vincent Riviere <vincent.riviere@freesbee.fr>
166 * genscripts.sh: Check for the existence of BASH_LINENO not just
167 the BASH shell before generating line numbers in the emulation
170 2008-01-28 Alan Modra <amodra@bigpond.net.au>
172 * emultempl/spu_ovl.S: Rewrite.
173 * emultempl/spu_ovl.o: Regenerate.
174 * emultempl/spuelf.em (toe): Delete.
175 (spu_place_special_section): Add param to control section placement.
177 (spu_elf_load_ovl_mgr): Adjust for struct _spu_elf_section_data
179 (spu_before_allocation): Adjust spu_elf_size_stubs call.
180 (gld${EMULATION_NAME}_finish): Adjust spu_elf_build_stubs call.
182 2008-01-25 H.J. Lu <hongjiu.lu@intel.com>
185 * ldlang.c (process_insert_statements): Silence gcc 4.1 alias
188 2008-01-25 Alan Modra <amodra@bigpond.net.au>
190 * ld.texinfo (INSERT): Describe.
191 * ldgram.y (ldgram_in_script, ldgram_had_equals): Delete.
192 (INSERT_K, AFTER, BEFORE): Add as tokens.
193 (ifile_p1): Handle INSERT statements.
194 (saved_script_handle, force_make_executable): Move to..
196 (previous_script_handle): New global var.
197 * ldmain.h (saved_script_handle, force_make_executable): Declare.
198 (previous_script_handle): Likewise.
199 * ldlex.l (INSERT_K, AFTER, BEFORE): Add tokens.
200 * lexsup.c (parge_args <-T>): Set previous_script_handle.
201 * ldlang.c (lang_for_each_statement_worker): Handle insert statement.
202 (map_input_to_output_sections, print_statement): Likewise.
203 (lang_size_sections_1, lang_do_assignments_1): Likewise.
204 (insert_os_after): New function, extracted from..
205 (lang_insert_orphan): ..here.
206 (process_insert_statements): New function.
207 (lang_process): Call it.
208 (lang_add_insert): New function.
209 * ldlang.h (lang_insert_statement_enum): New.
210 (lang_insert_statement_type): New.
211 (lang_statement_union_type): Add insert_statement.
212 (lang_add_insert): Declare.
214 2008-01-18 Bob Wilson <bob.wilson@acm.org>
216 * scripttempl/elfxtensa.sc: Merge ENTRY and .note.gnu.build-id
219 2008-01-16 Alan Modra <amodra@bigpond.net.au>
221 * ldlang.c (lang_size_sections_1): Simplify SEC_NEVER_LOAD test.
223 2008-01-16 Alan Modra <amodra@bigpond.net.au>
225 * ldlang.h (lang_afile_asection_pair_statement_enum): Delete.
226 (lang_afile_asection_pair_statement_type): Delete.
227 (lang_statement_union_type): Delete afile_asection_pair_statement.
228 * ldlang.c (lang_insert_orphan): Delete case handling the above.
229 (map_input_to_output_sections, print_statement): Likewise.
231 2008-01-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
233 * emulparams/shlelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE
235 * emulparams/shelf_nbsd.sh (DATA_START_SYMBOLS): Likewise.
237 2008-01-15 Alan Modra <amodra@bigpond.net.au>
240 * ldlang.c (lang_gc_sections): Move code to set SEC_KEEP on entry
241 syms to _bfd_elf_gc_keep.
242 * emultempl/ppc64elf.em (ppc_before_allocation): Don't call
243 ppc64_elf_edit_opd if no_opd_opt.
245 2008-01-11 Tristan Gingold <gingold@adacore.com>
246 Eric Botcazou <ebotcazou@adacore.com>
248 * ldlang.c (lang_end): Warns if the entry point is not found when
250 Emit an error if no root is specified when --gc-sections -r.
251 * ld.texinfo (Options): Document that --gc-sections is compatible
253 * ldmain.c (main): Do not error out if -r and --gc-sections.
254 * scripttempl/elf.sc: Emit ENTRY command only if relocating.
256 2008-01-10 Daniel Jacobowitz <drow@sources.redhat.com>
259 * ldlang.c (lang_end): Issue a warning for a missing start symbol
260 of a shared library if the symbol was specified on the command
263 2008-01-10 Alan Modra <amodra@bigpond.net.au>
265 * ld.texinfo (--gc-sections): Describe linker behaviour.
267 For older changes see ChangeLog-2007
273 version-control: never