From a1aefc7694399abec29b3d0865b0e29dce6b2639 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 14 Mar 2002 10:57:52 +0000 Subject: [PATCH] Set ar_max_namelen to 15 --- bfd/ChangeLog | 5 +++++ bfd/elfxx-target.h | 14 +++++++------- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 6e0fe057e4..ff33b48973 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2002-03-14 Nick Clifton + + * 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 * 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 fda0f0d4b0..25ddd0e0b3 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, -- 2.34.1