binutils-gdb/binutils/testsuite/binutils-all
Nick Clifton a8da640382 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
..
arm bfd: 2007-08-28 13:21:58 +00:00
hppa Change sources over to using GPLv3 2007-07-05 16:54:46 +00:00
m68k Change sources over to using GPLv3 2007-07-05 16:54:46 +00:00
vax Change sources over to using GPLv3 2007-07-05 16:54:46 +00:00
windres * binutils-all/windres/windres.exp: Don't xfail. 2007-10-26 06:45:07 +00:00
alias.def
ar.exp Add support for thin archives. 2008-03-28 06:49:44 +00:00
bintest.s
copy-1.d 2006-05-02 Dave Korn <dave.korn@artimi.com> 2006-05-02 17:46:41 +00:00
copy-1.s 2006-04-26 H.J. Lu <hongjiu.lu@intel.com> 2006-04-26 13:37:05 +00:00
copy-2.d binutils/testsuite/ 2007-08-09 11:25:58 +00:00
copy-3.d binutils/testsuite/ 2007-08-09 11:25:58 +00:00
copytest.s * binutils-all/copy-2.d: Change the name of the section whose flags are 2006-05-02 12:17:30 +00:00
dlltool.exp Change sources over to using GPLv3 2007-07-05 16:54:46 +00:00
dumptest.s * readelf.c (dump_type): New type used to classify the kinds of dump requested by the user. 2007-08-30 13:47:35 +00:00
empty.s 2007-04-12 H.J. Lu <hongjiu.lu@intel.com> 2007-04-12 19:20:46 +00:00
fastcall.def
group.s binutils/testsuite/ 2005-10-20 17:06:41 +00:00
link-order.s 2005-10-19 H.J. Lu <hongjiu.lu@intel.com> 2005-10-19 17:39:43 +00:00
localize-hidden-1.d binutils/testsuite/ 2006-06-24 09:10:04 +00:00
localize-hidden-1.s binutils/ 2006-06-23 16:23:09 +00:00
localize-hidden-2.d binutils/ 2006-06-23 16:23:09 +00:00
localize-hidden-2.s binutils/ 2006-06-23 16:23:09 +00:00
needed-by-reloc.s * binutils-all/needed-by-reloc.s: Use .long rather than .4byte. 2007-05-11 07:16:28 +00:00
nm.exp Change sources over to using GPLv3 2007-07-05 16:54:46 +00:00
objcopy.exp bfd: 2007-08-28 13:21:58 +00:00
objdump.exp binutils/testsuite/ 2008-02-04 23:41:54 +00:00
readelf.exp * readelf.c (dump_type): New type used to classify the kinds of dump requested by the user. 2007-08-30 13:47:35 +00:00
readelf.h
readelf.r
readelf.r-64
readelf.s
readelf.s-64
readelf.ss Support the use of the STT_COMMON type. (In source and object files only at the moment) 2007-10-16 14:42:15 +00:00
readelf.ss-64 Support the use of the STT_COMMON type. (In source and object files only at the moment) 2007-10-16 14:42:15 +00:00
readelf.ss-mips Support the use of the STT_COMMON type. (In source and object files only at the moment) 2007-10-16 14:42:15 +00:00
readelf.ss-tmips Support the use of the STT_COMMON type. (In source and object files only at the moment) 2007-10-16 14:42:15 +00:00
size.exp Change sources over to using GPLv3 2007-07-05 16:54:46 +00:00
strip-1.d binutils/ 2006-09-14 23:37:35 +00:00
strip-2.d binutils/ 2006-09-14 23:37:35 +00:00
strip-3.d 2007-06-23 H.J. Lu <hongjiu.lu@intel.com> 2007-06-23 16:15:53 +00:00
testprog.c
unknown.s binutils/testsuite/ 2005-10-19 20:49:03 +00:00