From 7323035a896133faa886df468ae0d11b06484504 Mon Sep 17 00:00:00 2001 From: uz Date: Tue, 16 Aug 2011 11:37:19 +0000 Subject: [PATCH] Do also write the im-/export flags to the symbol flags in an object file. git-svn-id: svn://svn.cc65.org/cc65/trunk@5179 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/ca65/symentry.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/ca65/symentry.c b/src/ca65/symentry.c index a3f218342..81e63df98 100644 --- a/src/ca65/symentry.c +++ b/src/ca65/symentry.c @@ -692,6 +692,12 @@ unsigned GetSymInfoFlags (const SymEntry* S, long* ConstVal) Flags |= SymIsConst (S, ConstVal)? SYM_CONST : SYM_EXPR; Flags |= (S->Flags & SF_LABEL)? SYM_LABEL : SYM_EQUATE; Flags |= (S->Flags & SF_LOCAL)? SYM_CHEAP_LOCAL : SYM_STD; + if (S->Flags & SF_EXPORT) { + Flags |= SYM_EXPORT; + } + if (S->Flags & SF_IMPORT) { + Flags |= SYM_IMPORT; + } /* Return the result */ return Flags; -- 2.39.5