OSDN Git Service

The sha1 code is now in libiberty.
[pf3gnuchains/pf3gnuchains4x.git] / ld / ChangeLog
1 2008-03-24  Ian Lance Taylor  <iant@google.com>
2
3         The sha1 code is now in libiberty.
4         * sha1.c: Remove.
5         * sha1.h: Remove.
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.
12
13 2008-03-20  Alan Modra  <amodra@bigpond.net.au>
14
15         * emultempl/spuelf.em: Update calls to elf32-spu.c funcs.
16
17 2008-03-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
18
19         * aclocal.m4: Regenerate.
20         * configure: Likewise.
21         * Makefile.in: Likewise.
22
23 2008-03-14  Alan Modra  <amodra@bigpond.net.au>
24
25         * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Protect
26         spu_elf_build_stubs with is_spu_target.
27
28 2008-03-13  Alan Modra  <amodra@bigpond.net.au>
29
30         * Makefile.am: Run "make dep-am".
31         * Makefile.in: Regenerate.
32         * configure: Regenerate.
33
34 2008-03-06  Joseph Myers  <joseph@codesourcery.com>
35             Roman Zippel  <zippel@linux-m68k.org>
36
37         * emulparams/m68kelf.sh (GENERATE_PIE_SCRIPT): Define.
38         (COMMONPAGESIZE): Define.
39
40 2008-02-22  Nick Clifton  <nickc@redhat.com>
41
42         PR ld/5785
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.
46
47 2008-02-18  Nick Clifton  <nickc@redhat.com>
48
49         * scripttempl/armbpabi.sc (ENTRY): Do not define when performing a
50         relocatable link.
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.
65
66 2008-02-16  Alan Modra  <amodra@bigpond.net.au>
67
68         PR ld/5761
69         * ldexp.c (fold_name <LOADADDR>): Check result of evaluating
70         load_base before calling make_abs.
71
72 2008-02-15  Alan Modra  <amodra@bigpond.net.au>
73
74         * emultempl/alphaelf.em (alpha_after_open): Use elf_object_id.
75         * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
76         Likewise.
77         * emultempl/ppc64elf.em (ppc_create_output_section_statements):
78         Likewise.
79         * emultempl/ppc32elf.em (is_ppc_elf32_vec): Delete.  Replace all
80         uses with..
81         (is_ppc_elf): ..this new macro.
82
83 2008-02-15  Alan Modra  <amodra@bigpond.net.au>
84
85         * ldmain.h (output_bfd): Delete.
86         * ldmain.c (output_bfd): Delete.
87         Replace all occurrences of output_bfd with link_info.output_bfd.
88         * ldcref.c: Likewise.
89         * ldctor.c: Likewise.
90         * ldemul.c: Likewise.
91         * ldexp.c: Likewise.
92         * ldfile.c: Likewise.
93         * ldlang.c: Likewise.
94         * ldmisc.c: Likewise.
95         * ldwrite.c: Likewise.
96         * pe-dll.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.
133
134 2008-02-07  Alan Modra  <amodra@bigpond.net.au>
135
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.
141
142 2008-02-07  Alan Modra  <amodra@bigpond.net.au>
143
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.
149
150 2008-02-04  H.J. Lu  <hongjiu.lu@intel.com>
151
152         PR 5715
153         * configure: Regenerated.
154
155 2008-01-31  Marc Gauthier  <marc@tensilica.com>
156
157         * configure.tgt (xtensa*-*-*): Recognize processor variants.
158
159 2008-01-28  Fabian Groffen  <grobian@gentoo.org>
160
161         * configure.tgt (x86_64-*-solaris2): Add support for this target.
162
163 2008-01-28  Vincent Riviere  <vincent.riviere@freesbee.fr>
164
165         PR ld/5652
166         * genscripts.sh: Check for the existence of BASH_LINENO not just
167         the BASH shell before generating line numbers in the emulation
168         file.
169
170 2008-01-28  Alan Modra  <amodra@bigpond.net.au>
171
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.
176         Adjust callers.
177         (spu_elf_load_ovl_mgr): Adjust for struct _spu_elf_section_data
178         changes.
179         (spu_before_allocation): Adjust spu_elf_size_stubs call.
180         (gld${EMULATION_NAME}_finish): Adjust spu_elf_build_stubs call.
181
182 2008-01-25  H.J. Lu  <hongjiu.lu@intel.com>
183
184         PR ld/5670
185         * ldlang.c (process_insert_statements): Silence gcc 4.1 alias
186         warning.
187
188 2008-01-25  Alan Modra  <amodra@bigpond.net.au>
189
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..
195         * ldmain.c: ..here.
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.
213
214 2008-01-18  Bob Wilson  <bob.wilson@acm.org>
215
216         * scripttempl/elfxtensa.sc: Merge ENTRY and .note.gnu.build-id
217         changes from elf.sc.
218         
219 2008-01-16  Alan Modra  <amodra@bigpond.net.au>
220
221         * ldlang.c (lang_size_sections_1): Simplify SEC_NEVER_LOAD test.
222
223 2008-01-16  Alan Modra  <amodra@bigpond.net.au>
224
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.
230
231 2008-01-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
232
233         * emulparams/shlelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE
234         with __data_start.
235         * emulparams/shelf_nbsd.sh (DATA_START_SYMBOLS): Likewise.
236
237 2008-01-15  Alan Modra  <amodra@bigpond.net.au>
238
239         PR 5604
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.
244
245 2008-01-11  Tristan Gingold  <gingold@adacore.com>
246             Eric Botcazou  <ebotcazou@adacore.com>
247
248         * ldlang.c (lang_end): Warns if the entry point is not found when
249         --gc-sections.
250         Emit an error if no root is specified when --gc-sections -r.
251         * ld.texinfo (Options): Document that --gc-sections is compatible
252         with -r and -q.
253         * ldmain.c (main): Do not error out if -r and --gc-sections.
254         * scripttempl/elf.sc: Emit ENTRY command only if relocating.
255
256 2008-01-10  Daniel Jacobowitz  <drow@sources.redhat.com>
257
258         PR ld/5533
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
261         line.
262
263 2008-01-10  Alan Modra  <amodra@bigpond.net.au>
264
265         * ld.texinfo (--gc-sections): Describe linker behaviour.
266
267 For older changes see ChangeLog-2007
268 \f
269 Local Variables:
270 mode: change-log
271 left-margin: 8
272 fill-column: 74
273 version-control: never
274 End: