old-cross-binutils/binutils/testsuite/ChangeLog

416 lines
12 KiB
Text
Raw Normal View History

Add support for thin archives. * bfd/archive.c (_bfd_find_nested_archive): New function. (get_extended_arelt_filename): Add origin parameter. (_bfd_generic_read_ar_hdr_mag): Deal with extended name combined with a file offset. (append_relative_path): New function. (_bfd_get_elt_at_filepos): Deal with external members and nested archives. (bfd_generic_openr_next_archived_file): Thin archives. (bfd_generic_archive_p): Recognize new magic string. (adjust_relative_path): New function. (_bfd_construct_extended_name_table): Construct extended names for thin archive members. (_bfd_write_archive_contents): Emit new magic string, skip copying files for thin archives. * bfd/bfd-in.h (bfd_is_thin_archive): New macro. * bfd/bfd.c (struct bfd): New fields for thin archives. * bfd/libbfd-in.h (struct areltdata): New field for thin archives. * bfd/opncls.c (bfd_close): Delete BFDs for nested archives. * binutils/ar.c (make_thin_archive): New global flag. (map_over_members): Deal with full pathnames in thin archives. (usage, main): Add 'T' option for building thin archives. (replace_members): Pass thin archive flag to ar_emul_append. * binutils/arsup.c (ar_open): Initialize new flag. * binutils/binemul.c (ar_emul_append): Add new parameter for flattening nested archives. (do_ar_emul_default_append): New function. (ar_emul_default_append): Factored out recursive code. * binutils/binemul.h (ar_emul_default_append): Add new parameter. (struct bin_emulation_xfer_struct): New parameter for ar_append. * binutils/dlltool.c (gen_lib_file): Initialize thin archive flag. * binutils/emul_aix.c (ar_emul_aix_internal): Add new flatten parameter, currently unimplemented. All callers changed. * binutils/objcopy.c (copy_archive): Preserve thin archive flag. * binutils/doc/binutils.texi: Update ar documentation. * binutils/testsuite/binutils-all/ar.exp: Add thin archive tests. * include/aout/ar.h (ARMAGT): New magic string for thin archives.
2008-03-28 06:49:44 +00:00
2008-03-27 Cary Coutant <ccoutant@google.com>
* binutils-all/ar.exp: Add thin archive tests.
2008-02-26 Joseph Myers <joseph@codesourcery.com>
* config/default.exp (gcc_gas_flag, dlltool_gas_flag): Define to
empty for testing an installed toolchain.
2008-02-04 Bob Wilson <bob.wilson@acm.org>
* binutils-all/objdump.exp (cpus_expected): Add xtensa.
2007-10-26 Alan Modra <amodra@bigpond.net.au>
* binutils-all/windres/windres.exp: Don't xfail.
2007-10-16 Nick Clifton <nickc@redhat.com>
* binutils-all/readelf.ss: Accept COMMON in readelf's output.
* binutils-all/readelf.ss-64: Likewise.
* binutils-all/readelf.ss-mips: Likewise.
* binutils-all/readelf.ss-tmips: Likewise.
2007-08-30 Nick Clifton <nickc@redhat.com>
* binutils-all/dumptest.s: New test file.
* binutils-all/readelf.exp: Add test of readelf's -p switch.
bfd: 2007-08-28 Mark Shinwell <shinwell@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * elf32-arm.c (elf32_arm_compare_mapping): Compare first on vma, then on type. binutils/testsuite: 2007-08-28 Mark Shinwell <shinwell@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * binutils-all/ar.exp (long_filenames): Delete temporary files on the host. * binutils-all/arm/objdump.exp: Only check "which $OBJDUMP" if host is local. * binutils-all/objcopy.exp: Use ${srecfile} to get the name of the srec file to be passed to binutils_run. (objcopy_test_readelf): Use remote_exec. * binutils-all/readelf.exp (readelf_find_size): Use remote_exec. (readelf_test): Likewise. (readelf_wi_test): Likewise. * lib/utils-lib.exp (run_dump_test): Only check "which $binary" if host is local. Use remote_exec. Use $tempfile not tmpdir/bintest.o. gas: 2007-08-28 Mark Shinwell <shinwell@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * as.c (main): Flush stderr before printing listings to ensure consistent output order across platforms. gas/testsuite: 2007-08-28 Mark Shinwell <shinwell@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * lib/gas-defs.exp (gas_version): Use remote_* functions instead of exec. (gas_host_run): New. (gas_run): Use gas_host_run. (gas_start): Likewise. (run_dump_test): Likewise. (objdump): Use gas_host_run. (objdump_start_no_subdir): Likewise. * lib/gas-dg.exp (gas-dg-test): Use "remote_file host delete". * lib/run: Remove. * gas/macros/macros.exp: Download app4b.s to host. * gas/i386/i386.exp (gas_64_check): Use gas_host_run. (gas_32_check): Likewise. * gas/maxq10/maxq10.exp (gas_64_check): Likewise (gas_32_check): Likewise. * gas/maxq20/maxq20.exp (gas_64_check): Likewise (gas_32_check): Likewise. * gas/sparc/sparc.exp (gas_64_check): Likewise. * gas/cfi/cfi.exp: Likewise. * gas/elf/elf.exp (run_list_test): Likewise. Use temporary file for readelf output in place of pipe. * gas/all/gas.exp: Download incbin.dat to host. (do_comment): Allow \r\r\n. ld: 2007-08-28 Mark Shinwell <shinwell@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * ldlang.c (sort_sections_by_lma): Sort by internal id after lma for stable sort. ld/testsuite: 2007-08-28 Mark Shinwell <shinwell@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * ld-elfcomm/elfcomm.exp: Use run_host_cmd. Only check "which $CC" if host is local. * ld-checks/checks.exp: Use run_host_cmd. * ld-elf/exclude.exp: Likewise. * ld-elf/elf.exp: Download merge.ld if host is remote. * ld-elf/binutils.exp (binutils_test): Use remote_exec. * ld-elf/tls_common.exp: Use run_host_cmd. * lib/ld-lib.exp (ld_version): Only check "which $ld" if host is local. Use remote_exec. (run_host_cmd): New. (run_host_cmd_yesno): New. (default_ld_relocate): Use run_host_cmd_yesno. (default_ld_link): Likewise. (default_ld_simple_link): Use run_host_cmd. (default_ld_compile): Only check "which $ccprog" if host is local. Use remote_file and remote_exec. (default_ld_assemble): Only check "which $as" if host is local. Use run_host_cmd. (default_ld_nm): Use remote_exec, remote_upload and remote_file. (run_dump_test): Use remote_exec, remote_upload and remote_file. Only check "which $binary" if host is local. (run_ld_link_tests): Use remote_exec, remote_upload and remote_file. * ld-selective/selective.exp: Only check "which $CXX" if host is local. Use remote_exec. * ld-scripts/phdrs.exp: Only check "which $objdump" if host is local. Use run_host_cmd. * ld-scripts/phdrs2.exp: Likewise. * ld-scripts/weak.exp: Likewise. * ld-undefined/weak-undef.exp: Likewise. * ld-scripts/crossref.exp: Only check "which $CC" if host is local. Use run_host_cmd. * ld-scripts/map-address.exp: Upload map_address.map if host is remote. * ld-srec/srec.exp (run_srec_tests): Use run_host_cmd. Only check "which $CC" and "which $CXX" if host is local. * ld-undefined/undefined.exp: Only check "which $CC" if host is local. Use remote_file and run_host_cmd. * config/default.exp: Use remote_exec to create tmpdir.
2007-08-28 13:21:58 +00:00
2007-08-28 Mark Shinwell <shinwell@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
* binutils-all/ar.exp (long_filenames): Delete temporary files on
the host.
* binutils-all/arm/objdump.exp: Only check "which $OBJDUMP" if
host is local.
* binutils-all/objcopy.exp: Use ${srecfile} to get the name of the
srec file to be passed to binutils_run.
(objcopy_test_readelf): Use remote_exec.
* binutils-all/readelf.exp (readelf_find_size): Use remote_exec.
(readelf_test): Likewise.
(readelf_wi_test): Likewise.
* lib/utils-lib.exp (run_dump_test): Only check "which $binary" if
host is local. Use remote_exec. Use $tempfile not
tmpdir/bintest.o.
2007-08-09 Alan Modra <amodra@bigpond.net.au>
* binutils-all/copy-2.d (not-target): Match *-*-*aout.
* binutils-all/copy-3.d (not-target): Likewise.
* binutils-all/objcopy.exp (objcopy_test): Remove extraneous
setup_xfail.
* windres/windres.exp: Return unsupported rather than fail if
windows.h not found.
2007-07-05 16:54:46 +00:00
2007-07-05 Nick Clifton <nickc@redhat.com>
* lib/utils-lib.exp: Update copyright notice to refer to GPLv3.
* config/default.exp, binutils-all/ar.exp,
binutils-all/dlltool.exp, binutils-all/nm.exp,
binutils-all/objcopy.exp, binutils-all/arm/objdump.exp,
binutils-all/hppa/objdump.exp, binutils-all/m68k/objdump.exp,
binutils-all/vax/objdump.exp, binutils-all/windres/windres.exp,
binutils-all/windres/msupdate: Likewise.
2007-06-23 H.J. Lu <hongjiu.lu@intel.com>
* binutils-all/strip-3.d: Also strip .xtensa.info section.
2007-05-24 Kai Tietz <Kai.Tietz@onevision.com>
* binutils-all/windres/version_cat.rc: New.
* binutils-all/windres/version_cat.rsd: New.
2007-05-23 08:48:29 +00:00
2007-05-23 Kai Tietz <Kai.Tietz@onevision.com>
* binutils-all/windres/html.rc: New.
* binutils-all/windres/html.rsd: New.
* binutils-all/windres/html1.hm: New.
* binutils-all/windres/html2.hm: New.
* binutils-all/windres/messagetable.rc: New.
* binutils-all/windres/messagetable.rsd: New.
* binutils-all/windres/MSG00001.bin: New.
* binutils-all/windres/strtab2.rc: New.
* binutils-all/windres/strtab2.rsd: New.
* binutils-all/windres/version.rc: New.
* binutils-all/windres/version.rsd: New.
* binutils-all/windres/dialog.rsd: Fix expected results.
2007-05-17 Joseph Myers <joseph@codesourcery.com>
* binutils-all/strip-3.d: Strip .pdr section.
2007-05-15 Alan Modra <amodra@bigpond.net.au>
* binutils-all/objcopy.exp: Only run needed-by-reloc test for ELF.
2007-05-11 Alan Modra <amodra@bigpond.net.au>
* binutils-all/needed-by-reloc.s: Use .long rather than .4byte.
2007-05-08 Mark Shinwell <shinwell@codesourcery.com>
* binutils-all/strip-3.d: Strip .ARM.attributes and .reginfo
sections.
2007-05-02 Alan Modra <amodra@bigpond.net.au>
* binutils-all/objcopy.exp (copy_setup): Don't perror, use send_log.
(copy_executable): Return early if test2 is blank.
Return unsupported rather than unresolved if we can't run
executables. Do test1 if we can compile.
2007-04-24 Nathan Froyd <froydnj@codesourcery.com>
Phil Edwards <phil@codesourcery.com>
* binutils-all/objcopy.exp: Add test for stripping a symbol
used in a relocation.
* binutils-all/needed-by-reloc.s: New file.
2007-04-20 Nathan Froyd <froydnj@codesourcery.com>
Phil Edwards <phil@codesourcery.com>
Thomas de Lellis <tdel@windriver.com>
* binutils-all/objcopy.exp: Add test for --reverse-bytes.
2007-04-21 Richard Earnshaw <rearnsha@arm.com>
* binutils-all/readelf.exp (regexp_diff): Delete.
2007-04-20 Richard Earnshaw <rearnsha@arm.com>
* binutils-all/arm/thumb2-cond.s: Allow for tab expansion by the pty.
Rename the second test.
2007-04-12 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/4348
* binutils-all/empty.s: New file.
* binutils-all/strip-3.d: Likewise.
* binutils-all/objcopy.exp: Run strip-3 for ELF target.
2007-02-27 Nathan Sidwell <nathan@codesourcery.com>
* binutils-all/objcopy.exp: Skip for uclinux targets.
2007-02-14 Nick Clifton <nickc@redhat.com>
* binutils-all/readelf.exp (readelf_wi_test): Fix unexpected
output failure message.
2007-01-08 Kai Tietz <kai.tietz@onevision.com>
* copy-3.d: Renamed target x86_64-*-mingw64 to x86_64-*-mingw*
* dlltool.exp: Dito
* lang.rc: Dito
* strtab1.rc: Dito
* windres.exp: Dito
2006-09-20 11:35:11 +00:00
2006-09-20 Kai Tietz <Kai.Tietz@onevision.com>
* binutils-all/copy-3.d: Add support for target x86_64-pc-mingw64.
* binutils-all/dlltool.exp: Likewise.
* binutils-all/objcopy.exp: Likewise.
* binutils-all/windres/windres.exp: Likewise.
* binutils-all/windres/lang.rc: xfail it as long as there is no windows.h.
* binutils-all/windres/strtab1.rc: Likewise.
* lib/utils-lib.exp: Adjust executable prefix detection (as .exe).
2006-09-14 H.J. Lu <hongjiu.lu@intel.com>
2006-09-15 00:12:32 +00:00
PR binutils/3181
* binutils-all/objcopy.exp: Run strip-1 and strip-2 for ELF
targets.
* binutils-all/strip-1.d: New file.
* binutils-all/strip-2.d: Likewise.
* lib/utils-lib.exp (run_dump_test): Support strip.
2006-08-15 Thiemo Seufer <ths@mips.com>
Nigel Stephens <nigel@mips.com>
David Ung <davidu@mips.com>
* binutils-all/readelf.exp (readelf_test): Handle mips*-sde-elf*.
2006-06-24 Richard Sandiford <richard@codesourcery.com>
* binutils-all/localize-hidden-1.d: Use objdump --syms instead
of readelf.
2006-06-23 Richard Sandiford <richard@codesourcery.com>
* binutils-all/localize-hidden-1.s,
* binutils-all/localize-hidden-1.d,
* binutils-all/localize-hidden-2.s,
* binutils-all/localize-hidden-2.d: New tests.
* binutils-all/objcopy.exp: Run them.
2006-06-06 Paul Brook <paul@codesourcery.com>
* binutils-all/arm/objdump.exp: New file.
* binutils-all/arm/thumb2-cond.s: New test.
2006-05-03 H.J. Lu <hongjiu.lu@intel.com>
* binutils-all/copy-3.d: Fix a typo.
2006-05-03 H.J. Lu <hongjiu.lu@intel.com>
* binutils-all/copy-3.d: New.
* objcopy.exp: Run copy-3.
2006-05-02 Dave Korn <dave.korn@artimi.com>
* binutils-all/copy-1.d (name): Correct spelling of 'setting'.
* binutils-all/copy-1.d (name): Likewise.
2006-05-02 Nick Clifton <nickc@redhat.com>
* binutils-all/copy-2.d: Change the name of the section whose
flags are changed to "foo" so that the test will work with PE
based targets. Skip this test for AOUT based targeted.
* binutils-all/copytest.s: New file.
2006-05-01 H.J. Lu <hongjiu.lu@intel.com>
* binutils-all/objcopy.exp: Run "copy-1" for ELF only.
2006-05-01 Ben Elliston <bje@au.ibm.com>
* binutils-all/objcopy.exp (objcopy_test_readelf): Remove stray ;
2006-04-26 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/2593
* binutils-all/copy-1.d: New file.
* binutils-all/copy-1.s: Likewise.
* binutils-all/copy-2.d: Likewise.
* binutils-all/objcopy.exp: Add run_dump_test "copy-1" and
run_dump_test "copy-2".
* lib/utils-lib.exp (run_dump_test): New.
(slurp_options): Likewise.
(regexp_diff): Likewise.
(file_contents): Likewise.
(verbose_eval): Likewise.
2006-04-25 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/2467
* binutils-all/objcopy.exp (strip_test): Also test "strip -g"
on archive.
2006-04-10 H.J. Lu <hongjiu.lu@intel.com>
* lib/utils-lib.exp (default_binutils_run): Check exit status.
2005-12-24 Ben Elliston <bje@gnu.org>
* config/default.exp: Do not load the unneeded util-defs.exp.
2005-11-15 Jan Beulich <jbeulich@novell.com>
* config/default.exp (link_or_copy): New. Use it for setting
up assembler and linker for the compiler to use.
2005-10-20 H.J. Lu <hongjiu.lu@intel.com>
PR ld/251
* binutils-all/group.s: New file.
* binutils-all/objcopy.exp (objcopy_test_readelf): New
procedure.
Use it to test ELF group.
2005-10-19 H.J. Lu <hongjiu.lu@intel.com>
PR ld/1487
* binutils-all/objcopy.exp (objcopy_test): New procedure.
Use it to test simple copy, ia64 link order and ELF unknown
section type.
* binutils-all/unknown.s: New file.
2005-10-19 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/1321
* binutils-all/link-order.s: New.
* binutils-all/objcopy.exp: Check ia64 link order.
2005-10-11 Danny Smith <dannysmith@users.sourceforge.net>
* binutils-all/windres/escapex-2.rc: New file.
* binutils-all/windres/escapex-2.rsd: Generate.
2005-08-26 09:47:49 +00:00
2005-08-26 Christian Groessler <chris@groessler.org>
* binutils-all/objcopy.exp: Don't setup_xfail "z8*-*".
2005-08-18 03:51:51 +00:00
2005-08-18 Alan Modra <amodra@bigpond.net.au>
* binutils-all/objcopy.exp: Remove a29k support.
* binutils-all/objdump.exp: Likewise, alliant and convex too.
2005-05-08 14:17:41 +00:00
2005-05-07 Nick Clifton <nickc@redhat.com>
* Update the address and phone number of the FSF organization in
the GPL notices in the following files:
binutils-all/ar.exp, binutils-all/dlltool.exp,
binutils-all/nm.exp, binutils-all/objcopy.exp,
binutils-all/objdump.exp, binutils-all/readelf.exp,
binutils-all/size.exp, binutils-all/hppa/objdump.exp,
binutils-all/m68k/objdump.exp, binutils-all/vax/objdump.exp,
binutils-all/windres/msupdate, binutils-all/windres/windres.exp,
config/default.exp, lib/utils-lib.exp
2005-04-04 Jan-Benedict Glaw <jbglaw@lug-owl.>
* binutils-all/vax/objdump.exp: Condense the two tests into one
and add a "-M entry:" for the second label.
2005-03-29 Jan-Benedict Glaw <jbglaw@lug-owl.de>
* binutils-all/vax: New directory.
* binutils-all/vax/objdump.exp: New script. Test the -Mentry:
switch added to the VAX disassembler.
* binutils-all/vax/entrymask.s: New assembler source file.
2005-03-08 Ben Elliston <bje@au.ibm.com>
* config/default.exp: Remove send_user call for stray output.
2005-01-04 Martin Koegler <mkoegler@auto.tuwien.ac.at>
* binutils-all/testprog.c: Add prototype for printf() and make
type of "string" array be "char" in order to avoid compile time
warnings.
2004-12-31 Alan Modra <amodra@bigpond.net.au>
* binutils-all/readelf.ss: Allow for both .rel and .rela sections.
2004-11-04 Hans-Peter Nilsson <hp@axis.com>
* binutils-all/objdump.exp (cpus_expected): Append cris.
2004-10-28 H.J. Lu <hongjiu.lu@intel.com>
* binutils-all/dlltool.exp: Set XFAIL if $target_xfail is yes.
2004-10-23 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
* binutils-all/alias.def: New file.
* binutils-all/dlltool.exp: Two new -p tests.
* config/default.exp (dlltool_gas_flag): New variable.
Copy gas and lds executables into tmpdir/gas directory rather than
making symlinks which might not be supported by the host OS.
Attempt to handle the case where the host OS does not use the .exe
extension but the target OS does.
* lib/utils-lib.exp (exe_ext): New procedure.
2004-07-12 Nick Clifton <nickc@redhat.com>
* binutils-all/dlltool.exp: Check that the -p switch is not
rejected.
2004-07-09 Andreas Schwab <schwab@suse.de>
* binutils-all/m68k/movem.s: New file.
* binutils-all/m68k/objdump.exp: New file.
2004-05-15 14:09:08 +00:00
2004-05-15 Nick Clifton <nickc@redhat.com>
* binutils-all/readelf.ss: Allow for ARM mapping symbols.
2004-05-12 Ben Elliston <bje@au.ibm.com>
* binutils-all/ar.exp: Remove stray semicolons.
* binutils-all/dlltool.exp: Likewise.
* binutils-all/objcopy.exp: Likewise.
* binutils-all/readelf.exp: Likewise.
* binutils-all/windres/windres.exp: Likewise.
* lib/utils-lib.exp: Likewise.
2004-04-14 Richard Sandiford <rsandifo@redhat.com>
* binutils-all/readelf.ss-mips: Allow named section symbols.
2004-03-30 Jakub Jelinek <jakub@redhat.com>
* binutils-all/objcopy.exp: Accept main as a data symbol as well.
2004-02-27 Andreas Schwab <schwab@suse.de>
* binutils-all/ar.exp (argument_parsing): New test.
2004-02-20 Nathan Sidwell <nathan@codesourcery.com>
* binutils-all/objcopy.exp: Reorder arguments for POSIXLY_CORRECT
systems.
2004-01-02 11:16:21 +00:00
For older changes see ChangeLog-9303
Local Variables:
mode: change-log
left-margin: 8
fill-column: 74
version-control: never
End: