diff options
author | John van Groningen | 2013-12-04 16:19:07 +0000 |
---|---|---|
committer | John van Groningen | 2013-12-04 16:19:07 +0000 |
commit | ad8e442f3f11e2b807a064237825f3ce96b76e25 (patch) | |
tree | f9da2576b065d892b4a8f73121b69eac3e8608f0 /scon.c | |
parent | support position independent code on 64 bit linux, (diff) |
make global_argc and global_argv globally visible
for position independent code on 64 bit linux,
otherwise ArgEnv can't access these variables
Diffstat (limited to 'scon.c')
-rw-r--r-- | scon.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -752,7 +752,13 @@ static long parse_integer (register char *s) } #endif +#ifdef PIC +__attribute__ ((visibility("default"))) +#endif int global_argc; +#ifdef PIC +__attribute__ ((visibility("default"))) +#endif char **global_argv; #ifdef TIME_PROFILE |