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