~vcs-imports/qemu/git

« back to all changes in this revision

Viewing changes to elf.h

  • Committer: Blue Swirl
  • Date: 2009-08-31 15:14:40 UTC
  • Revision ID: git-v1:528e93a9787ccfc59582a44035f5f342caf5b84f
Fix breakage due to __thread

Thread-local storage is not supported on all hosts.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
119
119
 */
120
120
#define EM_S390_OLD     0xA390
121
121
 
 
122
#define EM_XILINX_MICROBLAZE    0xBAAB
 
123
 
122
124
/* This is the info that is needed to parse the dynamic section of the file */
123
125
#define DT_NULL         0
124
126
#define DT_NEEDED       1
452
454
#define R_PPC_SECTOFF_HI        35
453
455
#define R_PPC_SECTOFF_HA        36
454
456
/* Keep this the last entry.  */
 
457
#ifndef R_PPC_NUM
455
458
#define R_PPC_NUM               37
 
459
#endif
456
460
 
457
461
/* ARM specific declarations */
458
462
 
1079
1083
#define EI_CLASS        4
1080
1084
#define EI_DATA         5
1081
1085
#define EI_VERSION      6
1082
 
#define EI_PAD          7
 
1086
#define EI_OSABI        7
 
1087
#define EI_PAD          8
 
1088
 
 
1089
#define ELFOSABI_NONE           0       /* UNIX System V ABI */
 
1090
#define ELFOSABI_SYSV           0       /* Alias.  */
 
1091
#define ELFOSABI_HPUX           1       /* HP-UX */
 
1092
#define ELFOSABI_NETBSD         2       /* NetBSD.  */
 
1093
#define ELFOSABI_LINUX          3       /* Linux.  */
 
1094
#define ELFOSABI_SOLARIS        6       /* Sun Solaris.  */
 
1095
#define ELFOSABI_AIX            7       /* IBM AIX.  */
 
1096
#define ELFOSABI_IRIX           8       /* SGI Irix.  */
 
1097
#define ELFOSABI_FREEBSD        9       /* FreeBSD.  */
 
1098
#define ELFOSABI_TRU64          10      /* Compaq TRU64 UNIX.  */
 
1099
#define ELFOSABI_MODESTO        11      /* Novell Modesto.  */
 
1100
#define ELFOSABI_OPENBSD        12      /* OpenBSD.  */
 
1101
#define ELFOSABI_ARM            97      /* ARM */
 
1102
#define ELFOSABI_STANDALONE     255     /* Standalone (embedded) application */
1083
1103
 
1084
1104
#define ELFMAG0         0x7f            /* EI_MAG */
1085
1105
#define ELFMAG1         'E'
1106
1126
#define NT_PRFPREG      2
1107
1127
#define NT_PRPSINFO     3
1108
1128
#define NT_TASKSTRUCT   4
 
1129
#define NT_AUXV         6
1109
1130
#define NT_PRXFPREG     0x46e62b7f      /* copied from gdb5.1/include/elf/common.h */
1110
1131
 
1111
1132
 
1123
1144
  Elf64_Word n_type;    /* Content type */
1124
1145
} Elf64_Nhdr;
1125
1146
 
 
1147
#ifdef ELF_CLASS
1126
1148
#if ELF_CLASS == ELFCLASS32
1127
1149
 
1128
1150
#define elfhdr          elf32_hdr
1165
1187
# endif
1166
1188
#endif
1167
1189
 
 
1190
#endif /* ELF_CLASS */
 
1191
 
1168
1192
 
1169
1193
#endif /* _QEMU_ELF_H */