> * tic80.h (TIC80_TARGET_ID): Add define.

>       * internal.h (struct internal_filehdr): Add f_target_id field.
This commit is contained in:
Fred Fish 1997-07-08 23:43:17 +00:00
parent 76fb6d2f2f
commit c8c854bd3f
2 changed files with 30 additions and 4 deletions

View File

@ -1,4 +1,19 @@
start-sanitize-tic80 start-sanitize-tic80
Tue Jul 8 12:23:55 1997 Fred Fish <fnf@cygnus.com>
* tic80.h (TIC80_TARGET_ID): Add define.
* internal.h (struct internal_filehdr): Add f_target_id field.
end-sanitize-tic80
Tue Jun 3 16:44:18 1997 Nick Clifton <nickc@cygnus.com>
* internal.h: Add storage classes for Thumb symbols
start-sanitize-tic80
Mon May 26 14:07:55 1997 Ian Lance Taylor <ian@cygnus.com>
* tic80.h (R_PPL16B): Correct value.
Sat May 3 08:24:59 1997 Fred Fish <fnf@cygnus.com> Sat May 3 08:24:59 1997 Fred Fish <fnf@cygnus.com>
* internal.h (C_UEXT, C_STATLAB, C_EXTLAB, C_SYSTEM): * internal.h (C_UEXT, C_STATLAB, C_EXTLAB, C_SYSTEM):

View File

@ -53,6 +53,7 @@ struct internal_filehdr
long f_nsyms; /* number of symtab entries */ long f_nsyms; /* number of symtab entries */
unsigned short f_opthdr; /* sizeof(optional hdr) */ unsigned short f_opthdr; /* sizeof(optional hdr) */
unsigned short f_flags; /* flags */ unsigned short f_flags; /* flags */
unsigned short f_target_id; /* (TIc80 specific) */
}; };
@ -215,6 +216,14 @@ struct internal_aouthdr
#define C_ALIAS 105 /* duplicate tag */ #define C_ALIAS 105 /* duplicate tag */
#define C_HIDDEN 106 /* ext symbol in dmert public lib */ #define C_HIDDEN 106 /* ext symbol in dmert public lib */
/* start-sanitize-tic80 */
/* New storage classes for TIc80 */
#define C_UEXT 19 /* Tentative external definition */
#define C_STATLAB 20 /* Static load time label */
#define C_EXTLAB 21 /* External load time label */
#define C_SYSTEM 23 /* System Wide variable */
/* end-sanitize-tic80 */
/* New storage classes for WINDOWS_NT */ /* New storage classes for WINDOWS_NT */
#define C_SECTION 104 /* section name */ #define C_SECTION 104 /* section name */
#define C_NT_WEAK 105 /* weak external */ #define C_NT_WEAK 105 /* weak external */
@ -258,6 +267,11 @@ struct internal_aouthdr
#define C_BSTAT (0x8f) #define C_BSTAT (0x8f)
#define C_ESTAT (0x90) #define C_ESTAT (0x90)
/* Storage classes for Thumb symbols */
#define C_THUMBEXT (128 + C_EXT)
#define C_THUMBSTAT (128 + C_STAT)
#define C_THUMBLABEL (128 + C_LABEL)
/********************** SECTION HEADER **********************/ /********************** SECTION HEADER **********************/
#define SCNNMLEN (8) #define SCNNMLEN (8)
@ -267,7 +281,7 @@ struct internal_scnhdr
char s_name[SCNNMLEN]; /* section name */ char s_name[SCNNMLEN]; /* section name */
/* Physical address, aliased s_nlib. /* Physical address, aliased s_nlib.
In the pe/pei format, this field is the virtual section size In the pei format, this field is the virtual section size
(the size of the section after being loaded int memory), (the size of the section after being loaded int memory),
NOT the physical address. */ NOT the physical address. */
bfd_vma s_paddr; bfd_vma s_paddr;
@ -587,10 +601,7 @@ struct internal_reloc
#define R_VRT32 133 #define R_VRT32 133
#define R_RELLONG (0x11) /* Direct 32-bit relocation */ #define R_RELLONG (0x11) /* Direct 32-bit relocation */
#define R_IPRSHORT (0x18) #define R_IPRSHORT (0x18)
#define R_IPRMED (0x19) /* 24-bit ip-relative relocation */
#define R_IPRLONG (0x1a) #define R_IPRLONG (0x1a)
#define R_OPTCALL (0x1b) /* 32-bit optimizable call (leafproc/sysproc) */
#define R_OPTCALLX (0x1c) /* 64-bit optimizable call (leafproc/sysproc) */
#define R_GETSEG (0x1d) #define R_GETSEG (0x1d)
#define R_GETPA (0x1e) #define R_GETPA (0x1e)
#define R_TAGWORD (0x1f) #define R_TAGWORD (0x1f)