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