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