diff options
Diffstat (limited to 'include/coff')
-rw-r--r-- | include/coff/internal.h | 7 | ||||
-rw-r--r-- | include/coff/xcoff.h | 3 |
2 files changed, 10 insertions, 0 deletions
diff --git a/include/coff/internal.h b/include/coff/internal.h index 69eb0a4..f12908b 100644 --- a/include/coff/internal.h +++ b/include/coff/internal.h @@ -536,6 +536,13 @@ struct internal_syment #define DECREF(x) \ ((((x) >> N_TSHIFT) & ~ N_BTMASK) | ((x) & N_BTMASK)) +/* Visibility flag, in XCOFF n_type. */ +#define SYM_V_INTERNAL 0x1000 +#define SYM_V_HIDDEN 0x2000 +#define SYM_V_PROTECTED 0x3000 +#define SYM_V_EXPORTED 0x4000 +#define SYM_V_MASK 0xF000 + union internal_auxent { struct diff --git a/include/coff/xcoff.h b/include/coff/xcoff.h index bf53ecd..acadf54 100644 --- a/include/coff/xcoff.h +++ b/include/coff/xcoff.h @@ -349,6 +349,9 @@ struct xcoff_link_hash_entry /* Some linker flags. */ unsigned long flags; + /* Symbol visibility, using the same define than n_type. */ + unsigned short visibility; + /* The storage mapping class. */ unsigned char smclas; }; |