* ld.texinfo (--gc-sections): Describe linker behaviour.
[binutils.git] / binutils / testsuite / ChangeLog
blobd083e0097c37179586c703d304886d65ad147819
1 2007-10-26  Alan Modra  <amodra@bigpond.net.au>
3         * binutils-all/windres/windres.exp: Don't xfail.
5 2007-10-16  Nick Clifton  <nickc@redhat.com>
7         * binutils-all/readelf.ss: Accept COMMON in readelf's output.
8         * binutils-all/readelf.ss-64: Likewise.
9         * binutils-all/readelf.ss-mips: Likewise.
10         * binutils-all/readelf.ss-tmips: Likewise.
11         
12 2007-08-30  Nick Clifton  <nickc@redhat.com>
14         * binutils-all/dumptest.s: New test file.
15         * binutils-all/readelf.exp: Add test of readelf's -p switch.
17 2007-08-28  Mark Shinwell  <shinwell@codesourcery.com>
18             Joseph Myers  <joseph@codesourcery.com>
20         * binutils-all/ar.exp (long_filenames): Delete temporary files on
21         the host.
22         * binutils-all/arm/objdump.exp: Only check "which $OBJDUMP" if
23         host is local.
24         * binutils-all/objcopy.exp: Use ${srecfile} to get the name of the
25         srec file to be passed to binutils_run.
26         (objcopy_test_readelf): Use remote_exec.
27         * binutils-all/readelf.exp (readelf_find_size): Use remote_exec.
28         (readelf_test): Likewise.
29         (readelf_wi_test): Likewise.
30         * lib/utils-lib.exp (run_dump_test): Only check "which $binary" if
31         host is local.  Use remote_exec.  Use $tempfile not
32         tmpdir/bintest.o.
34 2007-08-09  Alan Modra  <amodra@bigpond.net.au>
36         * binutils-all/copy-2.d (not-target): Match *-*-*aout.
37         * binutils-all/copy-3.d (not-target): Likewise.
38         * binutils-all/objcopy.exp (objcopy_test): Remove extraneous
39         setup_xfail.
40         * windres/windres.exp: Return unsupported rather than fail if
41         windows.h not found.
43 2007-07-05  Nick Clifton  <nickc@redhat.com>
45         * lib/utils-lib.exp: Update copyright notice to refer to GPLv3.
46         * config/default.exp, binutils-all/ar.exp,
47         binutils-all/dlltool.exp, binutils-all/nm.exp,
48         binutils-all/objcopy.exp, binutils-all/arm/objdump.exp,
49         binutils-all/hppa/objdump.exp, binutils-all/m68k/objdump.exp,
50         binutils-all/vax/objdump.exp, binutils-all/windres/windres.exp,
51         binutils-all/windres/msupdate: Likewise.
53 2007-06-23  H.J. Lu  <hongjiu.lu@intel.com>
55         * binutils-all/strip-3.d: Also strip .xtensa.info section.
57 2007-05-24  Kai Tietz  <Kai.Tietz@onevision.com>
59         * binutils-all/windres/version_cat.rc: New.
60         * binutils-all/windres/version_cat.rsd: New.
62 2007-05-23  Kai Tietz  <Kai.Tietz@onevision.com>
64         * binutils-all/windres/html.rc: New.
65         * binutils-all/windres/html.rsd: New.
66         * binutils-all/windres/html1.hm: New.
67         * binutils-all/windres/html2.hm: New.
68         * binutils-all/windres/messagetable.rc: New.
69         * binutils-all/windres/messagetable.rsd: New.
70         * binutils-all/windres/MSG00001.bin: New.
71         * binutils-all/windres/strtab2.rc: New.
72         * binutils-all/windres/strtab2.rsd: New.
73         * binutils-all/windres/version.rc: New.
74         * binutils-all/windres/version.rsd: New.
75         * binutils-all/windres/dialog.rsd: Fix expected results.
77 2007-05-17  Joseph Myers  <joseph@codesourcery.com>
79         * binutils-all/strip-3.d: Strip .pdr section.
81 2007-05-15  Alan Modra  <amodra@bigpond.net.au>
83         * binutils-all/objcopy.exp: Only run needed-by-reloc test for ELF.
85 2007-05-11  Alan Modra  <amodra@bigpond.net.au>
87         * binutils-all/needed-by-reloc.s: Use .long rather than .4byte.
89 2007-05-08  Mark Shinwell  <shinwell@codesourcery.com>
91         * binutils-all/strip-3.d: Strip .ARM.attributes and .reginfo
92         sections.
94 2007-05-02  Alan Modra  <amodra@bigpond.net.au>
96         * binutils-all/objcopy.exp (copy_setup): Don't perror, use send_log.
97         (copy_executable): Return early if test2 is blank.
98         Return unsupported rather than unresolved if we can't run
99         executables.  Do test1 if we can compile.
101 2007-04-24  Nathan Froyd  <froydnj@codesourcery.com>
102             Phil Edwards  <phil@codesourcery.com>
104         * binutils-all/objcopy.exp: Add test for stripping a symbol
105         used in a relocation.
106         * binutils-all/needed-by-reloc.s: New file.
108 2007-04-20  Nathan Froyd  <froydnj@codesourcery.com>
109             Phil Edwards  <phil@codesourcery.com>
110             Thomas de Lellis <tdel@windriver.com>
112         * binutils-all/objcopy.exp: Add test for --reverse-bytes.
114 2007-04-21  Richard Earnshaw  <rearnsha@arm.com>
116         * binutils-all/readelf.exp (regexp_diff): Delete.
118 2007-04-20  Richard Earnshaw  <rearnsha@arm.com>
120         * binutils-all/arm/thumb2-cond.s: Allow for tab expansion by the pty.
121         Rename the second test.
123 2007-04-12  H.J. Lu  <hongjiu.lu@intel.com>
125         PR binutils/4348
126         * binutils-all/empty.s: New file.
127         * binutils-all/strip-3.d: Likewise.
129         * binutils-all/objcopy.exp: Run strip-3 for ELF target.
131 2007-02-27  Nathan Sidwell  <nathan@codesourcery.com>
133         * binutils-all/objcopy.exp: Skip for uclinux targets.
135 2007-02-14  Nick Clifton  <nickc@redhat.com>
137         * binutils-all/readelf.exp (readelf_wi_test): Fix unexpected
138         output failure message.
140 2007-01-08  Kai Tietz   <kai.tietz@onevision.com>
142         * copy-3.d: Renamed target x86_64-*-mingw64 to x86_64-*-mingw*
143         * dlltool.exp: Dito
144         * lang.rc: Dito
145         * strtab1.rc: Dito
146         * windres.exp: Dito
148 2006-09-20  Kai Tietz  <Kai.Tietz@onevision.com>
150         * binutils-all/copy-3.d: Add support for target x86_64-pc-mingw64.
151         * binutils-all/dlltool.exp: Likewise.
152         * binutils-all/objcopy.exp: Likewise.
153         * binutils-all/windres/windres.exp: Likewise.
154         * binutils-all/windres/lang.rc: xfail it as long as there is no windows.h.
155         * binutils-all/windres/strtab1.rc: Likewise.
156         * lib/utils-lib.exp: Adjust executable prefix detection (as .exe).
158 2006-09-14  H.J. Lu  <hongjiu.lu@intel.com>
160         PR binutils/3181
161         * binutils-all/objcopy.exp: Run strip-1 and strip-2 for ELF
162         targets.
164         * binutils-all/strip-1.d: New file.
165         * binutils-all/strip-2.d: Likewise.
167         * lib/utils-lib.exp (run_dump_test): Support strip.
169 2006-08-15  Thiemo Seufer  <ths@mips.com>
170             Nigel Stephens  <nigel@mips.com>
171             David Ung  <davidu@mips.com>
173         * binutils-all/readelf.exp (readelf_test): Handle mips*-sde-elf*.
175 2006-06-24  Richard Sandiford  <richard@codesourcery.com>
177         * binutils-all/localize-hidden-1.d: Use objdump --syms instead
178         of readelf.
180 2006-06-23  Richard Sandiford  <richard@codesourcery.com>
182         * binutils-all/localize-hidden-1.s,
183         * binutils-all/localize-hidden-1.d,
184         * binutils-all/localize-hidden-2.s,
185         * binutils-all/localize-hidden-2.d: New tests.
186         * binutils-all/objcopy.exp: Run them.
188 2006-06-06  Paul Brook  <paul@codesourcery.com>
190         * binutils-all/arm/objdump.exp: New file.
191         * binutils-all/arm/thumb2-cond.s: New test.
193 2006-05-03  H.J. Lu  <hongjiu.lu@intel.com>
195         * binutils-all/copy-3.d: Fix a typo.
197 2006-05-03  H.J. Lu  <hongjiu.lu@intel.com>
199         * binutils-all/copy-3.d: New.
201         * objcopy.exp: Run copy-3.
203 2006-05-02  Dave Korn  <dave.korn@artimi.com>
205         * binutils-all/copy-1.d (name):  Correct spelling of 'setting'.
206         * binutils-all/copy-1.d (name):  Likewise.
208 2006-05-02  Nick Clifton  <nickc@redhat.com>
210         * binutils-all/copy-2.d: Change the name of the section whose
211         flags are changed to "foo" so that the test will work with PE
212         based targets.  Skip this test for AOUT based targeted.
213         * binutils-all/copytest.s: New file.
215 2006-05-01  H.J. Lu  <hongjiu.lu@intel.com>
217         * binutils-all/objcopy.exp: Run "copy-1" for ELF only.
219 2006-05-01  Ben Elliston  <bje@au.ibm.com>
221         * binutils-all/objcopy.exp (objcopy_test_readelf): Remove stray ;
223 2006-04-26  H.J. Lu  <hongjiu.lu@intel.com>
225         PR binutils/2593
226         * binutils-all/copy-1.d: New file.
227         * binutils-all/copy-1.s: Likewise.
228         * binutils-all/copy-2.d: Likewise.
230         * binutils-all/objcopy.exp: Add run_dump_test "copy-1" and
231         run_dump_test "copy-2".
233         * lib/utils-lib.exp (run_dump_test): New.
234         (slurp_options): Likewise.
235         (regexp_diff): Likewise.
236         (file_contents): Likewise.
237         (verbose_eval): Likewise.
239 2006-04-25  H.J. Lu  <hongjiu.lu@intel.com>
241         PR binutils/2467
242         * binutils-all/objcopy.exp (strip_test): Also test "strip -g"
243         on archive.
245 2006-04-10  H.J. Lu  <hongjiu.lu@intel.com>
247         * lib/utils-lib.exp (default_binutils_run): Check exit status.
249 2005-12-24  Ben Elliston  <bje@gnu.org>
251         * config/default.exp: Do not load the unneeded util-defs.exp.
253 2005-11-15  Jan Beulich  <jbeulich@novell.com>
255         * config/default.exp (link_or_copy): New. Use it for setting
256         up assembler and linker for the compiler to use.
258 2005-10-20  H.J. Lu  <hongjiu.lu@intel.com>
260         PR ld/251
261         * binutils-all/group.s: New file.
263         * binutils-all/objcopy.exp (objcopy_test_readelf): New
264         procedure.
265         Use it to test ELF group.
267 2005-10-19  H.J. Lu  <hongjiu.lu@intel.com>
269         PR ld/1487
270         * binutils-all/objcopy.exp (objcopy_test): New procedure.
271         Use it to test simple copy, ia64 link order and ELF unknown
272         section type.
274         * binutils-all/unknown.s: New file.
276 2005-10-19  H.J. Lu  <hongjiu.lu@intel.com>
278         PR binutils/1321
279         * binutils-all/link-order.s: New.
281         * binutils-all/objcopy.exp: Check ia64 link order.
283 2005-10-11  Danny Smith  <dannysmith@users.sourceforge.net>
285         * binutils-all/windres/escapex-2.rc: New file.
286         * binutils-all/windres/escapex-2.rsd: Generate.
288 2005-08-26  Christian Groessler  <chris@groessler.org>
290         * binutils-all/objcopy.exp: Don't setup_xfail "z8*-*".
292 2005-08-18  Alan Modra  <amodra@bigpond.net.au>
294         * binutils-all/objcopy.exp: Remove a29k support.
295         * binutils-all/objdump.exp: Likewise, alliant and convex too.
297 2005-05-07  Nick Clifton  <nickc@redhat.com>
299         * Update the address and phone number of the FSF organization in
300         the GPL notices in the following files:
301         binutils-all/ar.exp, binutils-all/dlltool.exp,
302         binutils-all/nm.exp, binutils-all/objcopy.exp,
303         binutils-all/objdump.exp, binutils-all/readelf.exp,
304         binutils-all/size.exp, binutils-all/hppa/objdump.exp,
305         binutils-all/m68k/objdump.exp, binutils-all/vax/objdump.exp,
306         binutils-all/windres/msupdate, binutils-all/windres/windres.exp,
307         config/default.exp, lib/utils-lib.exp
309 2005-04-04  Jan-Benedict Glaw  <jbglaw@lug-owl.>
311         * binutils-all/vax/objdump.exp: Condense the two tests into one
312         and add a "-M entry:" for the second label.
314 2005-03-29  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
316         * binutils-all/vax: New directory.
317         * binutils-all/vax/objdump.exp: New script.  Test the -Mentry:
318         switch added to the VAX disassembler.
319         * binutils-all/vax/entrymask.s: New assembler source file.
321 2005-03-08  Ben Elliston  <bje@au.ibm.com>
323        * config/default.exp: Remove send_user call for stray output.
325 2005-01-04  Martin Koegler  <mkoegler@auto.tuwien.ac.at>
327         * binutils-all/testprog.c: Add prototype for printf() and make
328         type of "string" array be "char" in order to avoid compile time
329         warnings.
331 2004-12-31  Alan Modra  <amodra@bigpond.net.au>
333         * binutils-all/readelf.ss: Allow for both .rel and .rela sections.
335 2004-11-04  Hans-Peter Nilsson  <hp@axis.com>
337         * binutils-all/objdump.exp (cpus_expected): Append cris.
339 2004-10-28  H.J. Lu  <hongjiu.lu@intel.com>
341         * binutils-all/dlltool.exp: Set XFAIL if $target_xfail is yes.
343 2004-10-23  Aaron W. LaFramboise  <aaron98wiridge9@aaronwl.com>
345         * binutils-all/alias.def: New file.
346         * binutils-all/dlltool.exp: Two new -p tests.
347         * config/default.exp (dlltool_gas_flag): New variable.
348         Copy gas and lds executables into tmpdir/gas directory rather than
349         making symlinks which might not be supported by the host OS.
350         Attempt to handle the case where the host OS does not use the .exe
351         extension but the target OS does.
352         * lib/utils-lib.exp (exe_ext): New procedure.
354 2004-07-12  Nick Clifton  <nickc@redhat.com>
356         * binutils-all/dlltool.exp: Check that the -p switch is not
357         rejected.
359 2004-07-09  Andreas Schwab  <schwab@suse.de>
361         * binutils-all/m68k/movem.s: New file.
363         * binutils-all/m68k/objdump.exp: New file.
365 2004-05-15  Nick Clifton  <nickc@redhat.com>
367         * binutils-all/readelf.ss: Allow for ARM mapping symbols.
369 2004-05-12  Ben Elliston  <bje@au.ibm.com>
371         * binutils-all/ar.exp: Remove stray semicolons.
372         * binutils-all/dlltool.exp: Likewise.
373         * binutils-all/objcopy.exp: Likewise.
374         * binutils-all/readelf.exp: Likewise.
375         * binutils-all/windres/windres.exp: Likewise.
376         * lib/utils-lib.exp: Likewise.
378 2004-04-14  Richard Sandiford  <rsandifo@redhat.com>
380         * binutils-all/readelf.ss-mips: Allow named section symbols.
382 2004-03-30  Jakub Jelinek  <jakub@redhat.com>
384         * binutils-all/objcopy.exp: Accept main as a data symbol as well.
386 2004-02-27  Andreas Schwab  <schwab@suse.de>
388         * binutils-all/ar.exp (argument_parsing): New test.
390 2004-02-20  Nathan Sidwell  <nathan@codesourcery.com>
392         * binutils-all/objcopy.exp: Reorder arguments for POSIXLY_CORRECT
393         systems.
395 For older changes see ChangeLog-9303
397 Local Variables:
398 mode: change-log
399 left-margin: 8
400 fill-column: 74
401 version-control: never
402 End: