Add support for the Z80 processor family
[deliverable/binutils-gdb.git] / include / coff / internal.h
index b9b6368f039a1ea5e910265c5b4429c41fc80d89..d7a83815aea1d0d67be12338743544614bcd0e3e 100644 (file)
@@ -1,7 +1,8 @@
 /* Internal format of COFF object file data structures, for GNU BFD.
    This file is part of BFD, the Binary File Descriptor library.
    
-   Copyright 2001 Free Software Foundation, Inc.
+   Copyright 1999, 2000, 2001, 2002, 2003, 2004. 2005
+   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
@@ -15,7 +16,7 @@
    
    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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
+   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.  */
 
 #ifndef GNU_COFF_INTERNAL_H
 #define GNU_COFF_INTERNAL_H 1
@@ -235,7 +236,11 @@ struct internal_aouthdr
 #define C_ALIAS                105     /* duplicate tag                */
 #define C_HIDDEN       106     /* ext symbol in dmert public lib */
 
-#define C_WEAKEXT      127     /* weak symbol -- GNU extension */
+#if defined _AIX52 || defined AIX_WEAK_SUPPORT
+#define C_WEAKEXT      111     /* weak symbol -- AIX standard.  */
+#else
+#define C_WEAKEXT      127     /* weak symbol -- GNU extension.  */
+#endif
 
 /* New storage classes for TI COFF */
 #define C_UEXT         19      /* Tentative external definition */
@@ -603,6 +608,7 @@ struct internal_reloc
 #define R_REL24          5
 #define R_DIR32         6
 #define R_IMAGEBASE     7
+#define R_SECREL32     11
 #define R_RELBYTE      15
 #define R_RELWORD      16
 #define R_RELLONG      17
@@ -709,6 +715,10 @@ struct internal_reloc
 #define R_IMM4H   0x24         /* high nibble */
 #define R_DISP7   0x25          /* djnz displacement */
 
+/* Z80 modes */
+#define R_OFF8    0x32         /* 8 bit signed abs, for (i[xy]+d) */
+/* R_JR, R_IMM8, R_IMM16, R_IMM32 - as for Z8k */
+
 /* H8500 modes */
 
 #define R_H8500_IMM8   1               /*  8 bit immediate     */
This page took 0.024255 seconds and 4 git commands to generate.