2008-03-31 Markus Deuling <deuling@de.ibm.com>
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
f36d5d55
ILT
12008-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
c65be8d7
AM
132008-03-20 Alan Modra <amodra@bigpond.net.au>
14
15 * emultempl/spuelf.em: Update calls to elf32-spu.c funcs.
16
58c85be7
RW
172008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
18
19 * aclocal.m4: Regenerate.
20 * configure: Likewise.
21 * Makefile.in: Likewise.
22
771a9c5f
AM
232008-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
50e7d84b
AM
282008-03-13 Alan Modra <amodra@bigpond.net.au>
29
30 * Makefile.am: Run "make dep-am".
31 * Makefile.in: Regenerate.
32 * configure: Regenerate.
33
9e448631
NC
342008-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
07dfcf38
NC
402008-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
b34c1498
NC
472008-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
819da74e
AM
662008-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
5503fea1
AM
722008-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
f13a99db
AM
832008-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
ff7a0acf
AM
1342008-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
2e444bea
AM
1422008-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
bb8541b9
L
1502008-02-04 H.J. Lu <hongjiu.lu@intel.com>
151
152 PR 5715
153 * configure: Regenerated.
154
f8a52b59
BW
1552008-01-31 Marc Gauthier <marc@tensilica.com>
156
157 * configure.tgt (xtensa*-*-*): Recognize processor variants.
158
00b2bfc1
NC
1592008-01-28 Fabian Groffen <grobian@gentoo.org>
160
161 * configure.tgt (x86_64-*-solaris2): Add support for this target.
162
6e73d595
NC
1632008-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
47f6dab9
AM
1702008-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
29183214
L
1822008-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
53d25da6
AM
1882008-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
c19f06f2
BW
2142008-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
14ac84b4
AM
2192008-01-16 Alan Modra <amodra@bigpond.net.au>
220
221 * ldlang.c (lang_size_sections_1): Simplify SEC_NEVER_LOAD test.
222
3d00b095
AM
2232008-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
58da7b1b
KK
2312008-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
74f0fb50
AM
2372008-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
ac69cbc6
TG
2452008-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
71934f94
NC
2562008-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
d5465ba2
AM
2632008-01-10 Alan Modra <amodra@bigpond.net.au>
264
265 * ld.texinfo (--gc-sections): Describe linker behaviour.
266
6c7ac64e 267For older changes see ChangeLog-2007
252b5132
RH
268\f
269Local Variables:
270mode: change-log
271left-margin: 8
272fill-column: 74
273version-control: never
274End:
This page took 0.559448 seconds and 4 git commands to generate.