summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Archive/ArchiveInternals.h
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-11-20 07:29:40 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-11-20 07:29:40 +0000
commit7a324864834767c3ca092b89975bf0ac463bd252 (patch)
tree7fd86e2396a07a2779e0f4e0230bf483ec14c06f /llvm/lib/Bytecode/Archive/ArchiveInternals.h
parente1b2aabf101d0dc2c283bcaf9d669fa9dd224036 (diff)
downloadbcm5719-llvm-7a324864834767c3ca092b89975bf0ac463bd252.tar.gz
bcm5719-llvm-7a324864834767c3ca092b89975bf0ac463bd252.zip
Distinguish between BSD4.4 and SVR4 symbol tables
llvm-svn: 18044
Diffstat (limited to 'llvm/lib/Bytecode/Archive/ArchiveInternals.h')
-rw-r--r--llvm/lib/Bytecode/Archive/ArchiveInternals.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/lib/Bytecode/Archive/ArchiveInternals.h b/llvm/lib/Bytecode/Archive/ArchiveInternals.h
index 77d2d5481bc..c924c437b4b 100644
--- a/llvm/lib/Bytecode/Archive/ArchiveInternals.h
+++ b/llvm/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 #
OpenPOWER on IntegriCloud