Go to file
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
bfd Add support for thin archives. 2008-03-28 06:49:44 +00:00
binutils Add support for thin archives. 2008-03-28 06:49:44 +00:00
config 2008-03-27 Paolo Bonzini <bonzini@gnu.org> 2008-03-27 14:16:55 +00:00
cpu * mt.opc (parse_imm16): Apply 2007-09-26 opcodes/mt-asm.c change 2008-01-29 03:50:23 +00:00
elfcpp * elfcpp.h (NT_VERSION, NT_ARCH): Define as enum constants. 2008-03-25 05:00:01 +00:00
etc * standards.texi: Import 22 July 2007 version. 2007-08-13 09:45:22 +00:00
gas * config/tc-avr.c (mcu_types): Add atmega32m1. 2008-03-27 14:52:35 +00:00
gdb *** empty log message *** 2008-03-28 00:00:03 +00:00
gold * common.cc (Sort_commons::operator): Correct sorting algorithm. 2008-03-27 19:57:41 +00:00
gprof * configure.ac: m4_include config/proginstall.m4. 2008-03-17 22:17:33 +00:00
include Add support for thin archives. 2008-03-28 06:49:44 +00:00
intl * configure.ac: m4_include config/proginstall.m4. 2008-03-17 22:17:33 +00:00
ld * ld-elfcomm/elfcomm.exp: Run $READELF not readelf. 2008-03-28 01:12:56 +00:00
libdecnumber merge from gcc 2008-01-25 19:05:44 +00:00
libiberty 2008-03-27 Paolo Bonzini <bonzini@gnu.org> 2008-03-27 14:16:55 +00:00
opcodes gas/testsuite/: 2008-03-26 16:48:32 +00:00
readline PR gdb/544 2008-03-24 12:59:51 +00:00
sim * configure.ac: Pass ../../intl to ZW_GNU_GETTEXT_SISTER_DIR. 2008-03-14 20:26:49 +00:00
texinfo
.cvsignore add autom4te.cache to .cvsignore 2007-02-13 15:25:58 +00:00
ChangeLog 2008-03-27 Paolo Bonzini <bonzini@gnu.org> 2008-03-27 14:16:55 +00:00
compile
config-ml.in 2007-11-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2007-11-29 15:36:39 +00:00
config.guess * config.sub, config.guess: Update from upstream sources. 2008-03-12 23:45:14 +00:00
config.rpath * config.rpath: Add AIX 6 support. 2008-03-13 19:27:44 +00:00
config.sub * config.sub, config.guess: Update from upstream sources. 2008-03-12 23:45:14 +00:00
configure Copy this patch over from master gcc repository: 2008-03-21 15:42:41 +00:00
configure.ac Copy this patch over from master gcc repository: 2008-03-21 15:42:41 +00:00
COPYING
COPYING3 * COPYING3: New file. Contains version 3 of the GNU General Public License. 2007-07-17 13:50:23 +00:00
COPYING3.LIB * COPYING3: New file. Contains version 3 of the GNU General Public License. 2007-07-17 13:50:23 +00:00
COPYING.LIB
COPYING.LIBGLOSS 2007-12-19 Jeff Johnston <jjohnstn@redhat.com> 2007-12-19 20:47:45 +00:00
COPYING.NEWLIB 2007-12-19 Jeff Johnston <jjohnstn@redhat.com> 2007-12-19 19:12:23 +00:00
depcomp
djunpack.bat
install-sh
libtool.m4 2008-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2008-03-16 06:49:28 +00:00
lt~obsolete.m4 2007-07-05 H.J. Lu <hongjiu.lu@intel.com> 2007-07-05 17:57:04 +00:00
ltgcc.m4 2007-05-31 Paolo Bonzini <bonzini@gnu.org> 2007-05-31 06:40:36 +00:00
ltmain.sh 2007-05-25 Andreas Tobler <a.tobler@schweiz.org> 2007-05-25 19:56:24 +00:00
ltoptions.m4 * ltmain.sh: Update from GCC. 2007-05-24 17:33:42 +00:00
ltsugar.m4 2008-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2008-03-16 06:49:28 +00:00
ltversion.m4 * ltmain.sh: Update from GCC. 2007-05-24 17:33:42 +00:00
MAINTAINERS Add elfcpp, gold directories. 2008-03-24 20:19:41 +00:00
Makefile.def Copy this patch over from master gcc repository: 2008-03-21 15:42:41 +00:00
Makefile.in 2008-03-27 Paolo Bonzini <bonzini@gnu.org> 2008-03-27 14:16:55 +00:00
Makefile.tpl 2008-03-27 Paolo Bonzini <bonzini@gnu.org> 2008-03-27 14:16:55 +00:00
makefile.vms
missing
mkdep
mkinstalldirs
move-if-change
README
README-maintainer-mode
setup.com
src-release * src-release (GDB_SUPPORT_DIRS): Add libdecnumber. 2007-10-11 18:15:02 +00:00
symlink-tree
ylwrap

		   README for GNU development tools

This directory contains various GNU compilers, assemblers, linkers, 
debuggers, etc., plus their support routines, definitions, and documentation.

If you are receiving this as part of a GDB release, see the file gdb/README.
If with a binutils release, see binutils/README;  if with a libg++ release,
see libg++/README, etc.  That'll give you info about this
package -- supported targets, how to use it, how to report bugs, etc.

It is now possible to automatically configure and build a variety of
tools with one command.  To build all of the tools contained herein,
run the ``configure'' script here, e.g.:

	./configure 
	make

To install them (by default in /usr/local/bin, /usr/local/lib, etc),
then do:
	make install

(If the configure script can't determine your type of computer, give it
the name as an argument, for instance ``./configure sun4''.  You can
use the script ``config.sub'' to test whether a name is recognized; if
it is, config.sub translates it to a triplet specifying CPU, vendor,
and OS.)

If you have more than one compiler on your system, it is often best to
explicitly set CC in the environment before running configure, and to
also set CC when running make.  For example (assuming sh/bash/ksh):

	CC=gcc ./configure
	make

A similar example using csh:

	setenv CC gcc
	./configure
	make

Much of the code and documentation enclosed is copyright by
the Free Software Foundation, Inc.  See the file COPYING or
COPYING.LIB in the various directories, for a description of the
GNU General Public License terms under which you can copy the files.

REPORTING BUGS: Again, see gdb/README, binutils/README, etc., for info
on where and how to report problems.