* elf32-spu.c (process_stubs, spu_elf_relocate_section): Move
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
50e7d84b
AM
12008-03-13 Alan Modra <amodra@bigpond.net.au>
2
3 * Makefile.am: Run "make dep-am".
4 * Makefile.in: Regenerate.
5 * configure: Regenerate.
6
9e448631
NC
72008-03-06 Joseph Myers <joseph@codesourcery.com>
8 Roman Zippel <zippel@linux-m68k.org>
9
10 * emulparams/m68kelf.sh (GENERATE_PIE_SCRIPT): Define.
11 (COMMONPAGESIZE): Define.
12
07dfcf38
NC
132008-02-22 Nick Clifton <nickc@redhat.com>
14
15 PR ld/5785
16 * ldlang.c (lang_size_sections_1): Honour the setting of an
17 lma_region even if there is no vma region set, or the vma region
18 is the same as the lma region.
19
b34c1498
NC
202008-02-18 Nick Clifton <nickc@redhat.com>
21
22 * scripttempl/armbpabi.sc (ENTRY): Do not define when performing a
23 relocatable link.
24 * scripttempl/elf32cr16.sc: Likewise.
25 * scripttempl/elf32cr16c.sc: Likewise.
26 * scripttempl/elf32crx.sc: Likewise.
27 * scripttempl/elf32sh-symbian.sc: Likewise.
28 * scripttempl/elf_chaos.sc: Likewise.
29 * scripttempl/elfd10v.sc: Likewise.
30 * scripttempl/elfi370.sc: Likewise.
31 * scripttempl/elfm68hc11.sc: Likewise.
32 * scripttempl/elfm68hc12.sc: Likewise.
33 * scripttempl/ip2k.sc: Likewise.
34 * scripttempl/iq2000.sc: Likewise.
35 * scripttempl/mep.sc: Likewise.
36 * scripttempl/v850.sc: Likewise.
37 * scripttempl/xstormy16.sc: Likewise.
38
819da74e
AM
392008-02-16 Alan Modra <amodra@bigpond.net.au>
40
41 PR ld/5761
42 * ldexp.c (fold_name <LOADADDR>): Check result of evaluating
43 load_base before calling make_abs.
44
5503fea1
AM
452008-02-15 Alan Modra <amodra@bigpond.net.au>
46
47 * emultempl/alphaelf.em (alpha_after_open): Use elf_object_id.
48 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
49 Likewise.
50 * emultempl/ppc64elf.em (ppc_create_output_section_statements):
51 Likewise.
52 * emultempl/ppc32elf.em (is_ppc_elf32_vec): Delete. Replace all
53 uses with..
54 (is_ppc_elf): ..this new macro.
55
f13a99db
AM
562008-02-15 Alan Modra <amodra@bigpond.net.au>
57
58 * ldmain.h (output_bfd): Delete.
59 * ldmain.c (output_bfd): Delete.
60 Replace all occurrences of output_bfd with link_info.output_bfd.
61 * ldcref.c: Likewise.
62 * ldctor.c: Likewise.
63 * ldemul.c: Likewise.
64 * ldexp.c: Likewise.
65 * ldfile.c: Likewise.
66 * ldlang.c: Likewise.
67 * ldmisc.c: Likewise.
68 * ldwrite.c: Likewise.
69 * pe-dll.c: Likewise.
70 * emultempl/aix.em: Likewise.
71 * emultempl/alphaelf.em: Likewise.
72 * emultempl/armcoff.em: Likewise.
73 * emultempl/armelf.em: Likewise.
74 * emultempl/avrelf.em: Likewise.
75 * emultempl/beos.em: Likewise.
76 * emultempl/elf-generic.em: Likewise.
77 * emultempl/elf32.em: Likewise.
78 * emultempl/gld960.em: Likewise.
79 * emultempl/hppaelf.em: Likewise.
80 * emultempl/irix.em: Likewise.
81 * emultempl/linux.em: Likewise.
82 * emultempl/lnk960.em: Likewise.
83 * emultempl/m68hc1xelf.em: Likewise.
84 * emultempl/mmix-elfnmmo.em: Likewise.
85 * emultempl/mmo.em: Likewise.
86 * emultempl/pe.em: Likewise.
87 * emultempl/pep.em: Likewise.
88 * emultempl/ppc32elf.em: Likewise.
89 * emultempl/ppc64elf.em: Likewise.
90 * emultempl/scoreelf.em: Likewise.
91 * emultempl/sh64elf.em: Likewise.
92 * emultempl/spuelf.em: Likewise.
93 * emultempl/sunos.em: Likewise.
94 * emultempl/vanilla.em: Likewise.
95 * emultempl/vxworks.em: Likewise.
96 * emultempl/xtensaelf.em: Likewise.
97 * emultempl/z80.em: Likewise.
98 * ldlang.c (open_output): Don't return output, instead write
99 link_info_output_bfd directly.
100 * emultempl/alphaelf.em: Replace occurrences of link_info.hash->creator
101 with link_info.output_bfd->xvec.
102 * emultempl/hppaelf.em: Likewise.
103 * emultempl/ppc32elf.em: Likewise.
104 * emultempl/ppc64elf.em: Likewise.
105 * emultempl/spuelf.em: Likewise.
106
ff7a0acf
AM
1072008-02-07 Alan Modra <amodra@bigpond.net.au>
108
109 * ldlang.c (new_afile): Don't pass unadorned NULL to concat.
110 * ldfile.c (ldfile_add_library_path): Likewise.
111 * emultempl/elf32.em (check_ld_elf_hints, check_ld_so_conf): Likewise.
112 * emultempl/lnk960.em (lnk960_before_parse): Likewise.
113 * emultempl/spuelf.em (embedded_spu_file): Likewise.
114
2e444bea
AM
1152008-02-07 Alan Modra <amodra@bigpond.net.au>
116
117 * emultempl/spu_ovl.S: Use low bit of _ovly_table.size as
118 a "present" bit rather than low bit of .buf. Correct indexing
119 into _ovly_buf_table. Use relative loads and stores to access
120 overlay manager local vars.
121 * emultempl/spu_ovl.o: Regenerate.
122
bb8541b9
L
1232008-02-04 H.J. Lu <hongjiu.lu@intel.com>
124
125 PR 5715
126 * configure: Regenerated.
127
f8a52b59
BW
1282008-01-31 Marc Gauthier <marc@tensilica.com>
129
130 * configure.tgt (xtensa*-*-*): Recognize processor variants.
131
00b2bfc1
NC
1322008-01-28 Fabian Groffen <grobian@gentoo.org>
133
134 * configure.tgt (x86_64-*-solaris2): Add support for this target.
135
6e73d595
NC
1362008-01-28 Vincent Riviere <vincent.riviere@freesbee.fr>
137
138 PR ld/5652
139 * genscripts.sh: Check for the existence of BASH_LINENO not just
140 the BASH shell before generating line numbers in the emulation
141 file.
142
47f6dab9
AM
1432008-01-28 Alan Modra <amodra@bigpond.net.au>
144
145 * emultempl/spu_ovl.S: Rewrite.
146 * emultempl/spu_ovl.o: Regenerate.
147 * emultempl/spuelf.em (toe): Delete.
148 (spu_place_special_section): Add param to control section placement.
149 Adjust callers.
150 (spu_elf_load_ovl_mgr): Adjust for struct _spu_elf_section_data
151 changes.
152 (spu_before_allocation): Adjust spu_elf_size_stubs call.
153 (gld${EMULATION_NAME}_finish): Adjust spu_elf_build_stubs call.
154
29183214
L
1552008-01-25 H.J. Lu <hongjiu.lu@intel.com>
156
157 PR ld/5670
158 * ldlang.c (process_insert_statements): Silence gcc 4.1 alias
159 warning.
160
53d25da6
AM
1612008-01-25 Alan Modra <amodra@bigpond.net.au>
162
163 * ld.texinfo (INSERT): Describe.
164 * ldgram.y (ldgram_in_script, ldgram_had_equals): Delete.
165 (INSERT_K, AFTER, BEFORE): Add as tokens.
166 (ifile_p1): Handle INSERT statements.
167 (saved_script_handle, force_make_executable): Move to..
168 * ldmain.c: ..here.
169 (previous_script_handle): New global var.
170 * ldmain.h (saved_script_handle, force_make_executable): Declare.
171 (previous_script_handle): Likewise.
172 * ldlex.l (INSERT_K, AFTER, BEFORE): Add tokens.
173 * lexsup.c (parge_args <-T>): Set previous_script_handle.
174 * ldlang.c (lang_for_each_statement_worker): Handle insert statement.
175 (map_input_to_output_sections, print_statement): Likewise.
176 (lang_size_sections_1, lang_do_assignments_1): Likewise.
177 (insert_os_after): New function, extracted from..
178 (lang_insert_orphan): ..here.
179 (process_insert_statements): New function.
180 (lang_process): Call it.
181 (lang_add_insert): New function.
182 * ldlang.h (lang_insert_statement_enum): New.
183 (lang_insert_statement_type): New.
184 (lang_statement_union_type): Add insert_statement.
185 (lang_add_insert): Declare.
186
c19f06f2
BW
1872008-01-18 Bob Wilson <bob.wilson@acm.org>
188
189 * scripttempl/elfxtensa.sc: Merge ENTRY and .note.gnu.build-id
190 changes from elf.sc.
191
14ac84b4
AM
1922008-01-16 Alan Modra <amodra@bigpond.net.au>
193
194 * ldlang.c (lang_size_sections_1): Simplify SEC_NEVER_LOAD test.
195
3d00b095
AM
1962008-01-16 Alan Modra <amodra@bigpond.net.au>
197
198 * ldlang.h (lang_afile_asection_pair_statement_enum): Delete.
199 (lang_afile_asection_pair_statement_type): Delete.
200 (lang_statement_union_type): Delete afile_asection_pair_statement.
201 * ldlang.c (lang_insert_orphan): Delete case handling the above.
202 (map_input_to_output_sections, print_statement): Likewise.
203
58da7b1b
KK
2042008-01-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
205
206 * emulparams/shlelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE
207 with __data_start.
208 * emulparams/shelf_nbsd.sh (DATA_START_SYMBOLS): Likewise.
209
74f0fb50
AM
2102008-01-15 Alan Modra <amodra@bigpond.net.au>
211
212 PR 5604
213 * ldlang.c (lang_gc_sections): Move code to set SEC_KEEP on entry
214 syms to _bfd_elf_gc_keep.
215 * emultempl/ppc64elf.em (ppc_before_allocation): Don't call
216 ppc64_elf_edit_opd if no_opd_opt.
217
ac69cbc6
TG
2182008-01-11 Tristan Gingold <gingold@adacore.com>
219 Eric Botcazou <ebotcazou@adacore.com>
220
221 * ldlang.c (lang_end): Warns if the entry point is not found when
222 --gc-sections.
223 Emit an error if no root is specified when --gc-sections -r.
224 * ld.texinfo (Options): Document that --gc-sections is compatible
225 with -r and -q.
226 * ldmain.c (main): Do not error out if -r and --gc-sections.
227 * scripttempl/elf.sc: Emit ENTRY command only if relocating.
228
71934f94
NC
2292008-01-10 Daniel Jacobowitz <drow@sources.redhat.com>
230
231 PR ld/5533
232 * ldlang.c (lang_end): Issue a warning for a missing start symbol
233 of a shared library if the symbol was specified on the command
234 line.
235
d5465ba2
AM
2362008-01-10 Alan Modra <amodra@bigpond.net.au>
237
238 * ld.texinfo (--gc-sections): Describe linker behaviour.
239
6c7ac64e 240For older changes see ChangeLog-2007
252b5132
RH
241\f
242Local Variables:
243mode: change-log
244left-margin: 8
245fill-column: 74
246version-control: never
247End:
This page took 0.460278 seconds and 4 git commands to generate.