Set ar_max_namelen to 15

This commit is contained in:
Nick Clifton 2002-03-14 10:57:52 +00:00
parent d35a52e2a7
commit a1aefc7694
2 changed files with 12 additions and 7 deletions

View File

@ -1,3 +1,8 @@
2002-03-14 Nick Clifton <nickc@cambridge.redhat.com>
* elfxx-target.h (TARGET_BIG_SYM): Set ar_max_namelen to 15.
(TARGET_LITTLE_SYM): Set ar_max_namelen to 15.
2002-03-14 Alan Modra <amodra@bigpond.net.au> 2002-03-14 Alan Modra <amodra@bigpond.net.au>
* cpu-mips.c (mips_compatible): New. Don't check bits_per_word. * cpu-mips.c (mips_compatible): New. Don't check bits_per_word.

View File

@ -1,5 +1,5 @@
/* Target definitions for NN-bit ELF /* Target definitions for NN-bit ELF
Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
Free Software Foundation, Inc. Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library. This file is part of BFD, the Binary File Descriptor library.
@ -523,9 +523,9 @@ const bfd_target TARGET_BIG_SYM =
/* ar_max_namelen: maximum number of characters in an archive header /* ar_max_namelen: maximum number of characters in an archive header
FIXME: this really has nothing to do with ELF, this is a characteristic FIXME: this really has nothing to do with ELF, this is a characteristic
of the archiver and should be independently tunable. This value is of the archiver and should be independently tunable. The System V ABI,
a WAG (wild a** guess) */ Chapter 7 (Formats & Protocols), Archive section sets this as 15. */
14, 15,
/* Routines to byte-swap various sized integers from the data sections */ /* Routines to byte-swap various sized integers from the data sections */
bfd_getb64, bfd_getb_signed_64, bfd_putb64, bfd_getb64, bfd_getb_signed_64, bfd_putb64,
@ -619,9 +619,9 @@ const bfd_target TARGET_LITTLE_SYM =
/* ar_max_namelen: maximum number of characters in an archive header /* ar_max_namelen: maximum number of characters in an archive header
FIXME: this really has nothing to do with ELF, this is a characteristic FIXME: this really has nothing to do with ELF, this is a characteristic
of the archiver and should be independently tunable. This value is of the archiver and should be independently tunable. The System V ABI,
a WAG (wild a** guess) */ Chapter 7 (Formats & Protocols), Archive section sets this as 15. */
14, 15,
/* Routines to byte-swap various sized integers from the data sections */ /* Routines to byte-swap various sized integers from the data sections */
bfd_getl64, bfd_getl_signed_64, bfd_putl64, bfd_getl64, bfd_getl_signed_64, bfd_putl64,