diff options
| author | bellard <bellard> | 2003-05-24 15:46:29 +0000 |
|---|---|---|
| committer | bellard <bellard> | 2003-05-24 15:46:29 +0000 |
| commit | 98713a6be395ff75d93772722b8144e69990104f (patch) | |
| tree | f37d888b506ff8fae07ff07a2942f5d2089768a4 /tcc.c | |
| parent | fe3b68b087934c7cee531f1ea6bf072fa94594fa (diff) | |
| download | tinycc-98713a6be395ff75d93772722b8144e69990104f.tar.gz tinycc-98713a6be395ff75d93772722b8144e69990104f.tar.bz2 | |
added -rdynamic support
Diffstat (limited to 'tcc.c')
| -rw-r--r-- | tcc.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -398,6 +398,9 @@ struct TCCState { /* if true, static linking is performed */ int static_link; + /* if true, all symbols are exported */ + int rdynamic; + /* if true, only link in referenced objects from archive */ int alacarte_link; @@ -9653,7 +9656,7 @@ static const TCCOption tcc_options[] = { { "shared", TCC_OPTION_shared, 0 }, { "o", TCC_OPTION_o, TCC_OPTION_HAS_ARG }, { "run", TCC_OPTION_run, 0 }, - { "rdynamic", TCC_OPTION_rdynamic, 0 }, /* currently ignored */ + { "rdynamic", TCC_OPTION_rdynamic, 0 }, { "r", TCC_OPTION_r, 0 }, { "W", TCC_OPTION_W, TCC_OPTION_HAS_ARG | TCC_OPTION_NOSEP }, { "O", TCC_OPTION_O, TCC_OPTION_HAS_ARG | TCC_OPTION_NOSEP }, @@ -9838,6 +9841,9 @@ int main(int argc, char **argv) goto unsupported_option; } break; + case TCC_OPTION_rdynamic: + s->rdynamic = 1; + break; default: if (s->warn_unsupported) { unsupported_option: |
