summaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-03-14 10:57:52 +0000
committerNick Clifton <nickc@redhat.com>2002-03-14 10:57:52 +0000
commit2bcf5aa6af66239ad1fdea375218ef13ffb11085 (patch)
treecd52684a82f8e9fcfe0dce0f8d181ffdfda6a28a /bfd
parent350c950d8b1be0ef9a4f8589223ff54d24d884e8 (diff)
downloadgdb-2bcf5aa6af66239ad1fdea375218ef13ffb11085.tar.gz
Set ar_max_namelen to 15
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elfxx-target.h14
2 files changed, 12 insertions, 7 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 6e0fe057e44..ff33b489731 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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>
* cpu-mips.c (mips_compatible): New. Don't check bits_per_word.
diff --git a/bfd/elfxx-target.h b/bfd/elfxx-target.h
index fda0f0d4b0b..25ddd0e0b3b 100644
--- a/bfd/elfxx-target.h
+++ b/bfd/elfxx-target.h
@@ -1,5 +1,5 @@
/* 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.
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
FIXME: this really has nothing to do with ELF, this is a characteristic
- of the archiver and should be independently tunable. This value is
- a WAG (wild a** guess) */
- 14,
+ of the archiver and should be independently tunable. The System V ABI,
+ Chapter 7 (Formats & Protocols), Archive section sets this as 15. */
+ 15,
/* Routines to byte-swap various sized integers from the data sections */
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
FIXME: this really has nothing to do with ELF, this is a characteristic
- of the archiver and should be independently tunable. This value is
- a WAG (wild a** guess) */
- 14,
+ of the archiver and should be independently tunable. The System V ABI,
+ Chapter 7 (Formats & Protocols), Archive section sets this as 15. */
+ 15,
/* Routines to byte-swap various sized integers from the data sections */
bfd_getl64, bfd_getl_signed_64, bfd_putl64,