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