diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-11-20 07:29:40 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-11-20 07:29:40 +0000 |
commit | 9a29db43a7a906162b0fde012b5d16f3b0895023 (patch) | |
tree | 06fa06b97a97438781c98d21ac2bb84dcb7ac447 /lib/Bytecode/Archive/ArchiveInternals.h | |
parent | e651c954aade4d23f4976af6ade3f767ca387976 (diff) |
Distinguish between BSD4.4 and SVR4 symbol tables
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18044 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode/Archive/ArchiveInternals.h')
-rw-r--r-- | lib/Bytecode/Archive/ArchiveInternals.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/Bytecode/Archive/ArchiveInternals.h b/lib/Bytecode/Archive/ArchiveInternals.h index 77d2d5481b..c924c437b4 100644 --- a/lib/Bytecode/Archive/ArchiveInternals.h +++ b/lib/Bytecode/Archive/ArchiveInternals.h @@ -20,9 +20,10 @@ #define ARFILE_MAGIC "!<arch>\n" ///< magic string #define ARFILE_MAGIC_LEN (sizeof(ARFILE_MAGIC)-1) ///< length of magic string -#define ARFILE_SYMTAB_NAME "/ " ///< regular symtab entry -#define ARFILE_STRTAB_NAME "// " ///< Name of string table -#define ARFILE_LLVM_SYMTAB_NAME "#_LLVM_SYM_TAB_#" ///< LLVM's symtab entry +#define ARFILE_SVR4_SYMTAB_NAME "/ " ///< SVR4 symtab entry name +#define ARFILE_LLVM_SYMTAB_NAME "#_LLVM_SYM_TAB_#" ///< LLVM symtab entry name +#define ARFILE_BSD4_SYMTAB_NAME "__.SYMDEF SORTED" ///< BSD4 symtab entry name +#define ARFILE_STRTAB_NAME "// " ///< Name of string table #define ARFILE_PAD "\n" ///< inter-file align padding #define ARFILE_MEMBER_MAGIC "`\n" ///< fmag field magic # |