gas/hash.c: add new functions
[binutils-gdb.git] / include / aout / ar.h
index 0d0aad2d5e3de70dde4586158de92c6662bef8c5..471a859fc57c7d8207193718610980f6bf2f83b3 100644 (file)
@@ -1,10 +1,10 @@
 /* archive file definition for GNU software
 
-   Copyright 2001 Free Software Foundation, Inc.
+   Copyright (C) 2001-2020 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 2 of the License, or
+   the Free Software Foundation; either version 3 of the License, or
    (at your option) any later version.
    
    This program is distributed in the hope that it will be useful,
@@ -14,7 +14,8 @@
    
    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
-   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.  */
+   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+   MA 02110-1301, USA.  */
 
 /* So far this is correct for BSDish archives.  Don't forget that
    files must begin on an even byte boundary. */
@@ -26,8 +27,8 @@
    characters, as allowed by ANSI.  '\012' has a fixed value, and remains
    compatible with existing BSDish archives. */
 
-#define ARMAG  "!<arch>\012"   /* For COFF and a.out archives */
-#define ARMAGB "!<bout>\012"   /* For b.out archives */
+#define ARMAG  "!<arch>\012"   /* For COFF and a.out archives */
+#define ARMAGT "!<thin>\012"   /* For thin archives.  */
 #define SARMAG 8
 #define ARFMAG "`\012"
 
 
 #define ARMAP_TIME_OFFSET       60
 
-struct ar_hdr {
-  char ar_name[16];            /* name of this member */
-  char ar_date[12];            /* file mtime */
-  char ar_uid[6];              /* owner uid; printed as decimal */
-  char ar_gid[6];              /* owner gid; printed as decimal */
-  char ar_mode[8];             /* file mode, printed as octal   */
-  char ar_size[10];            /* file size, printed as decimal */
-  char ar_fmag[2];             /* should contain ARFMAG */
+struct ar_hdr
+{
+  char ar_name[16];            /* Name of this member.  */
+  char ar_date[12];            /* File mtime.  */
+  char ar_uid[6];              /* Owner uid; printed as decimal.  */
+  char ar_gid[6];              /* Owner gid; printed as decimal.  */
+  char ar_mode[8];             /* File mode, printed as octal.   */
+  char ar_size[10];            /* File size, printed as decimal.  */
+  char ar_fmag[2];             /* Should contain ARFMAG.  */
 };
 
 #endif /* __GNU_AR_H__ */