diff options
| author | Shinichiro Hamaji <shinichiro.hamaji _at_ gmail.com> | 2009-03-31 22:17:36 +0900 |
|---|---|---|
| committer | grischka <grischka> | 2009-04-18 15:07:09 +0200 |
| commit | 040ef000e486ac1e47cde85698878cb06ad34973 (patch) | |
| tree | 0cb8232d9b58e191052b0dc4be15facabd25c7e5 /boundtest.c | |
| parent | fe8f230ab6bc26ab0a9a61412594111d8df5971d (diff) | |
| download | tinycc-040ef000e486ac1e47cde85698878cb06ad34973.tar.gz tinycc-040ef000e486ac1e47cde85698878cb06ad34973.tar.bz2 | |
Better DLL support on x86-64.
- Add a macro TCC_OUTPUT_DLL_WITH_PLT.
-- Now, the DLL with PLT support works only on x86-64, but we may be able to support it on all architectures eventually.
- Define TCC_OUTPUT_DLL_WITH_PLT when target architecture is x86-64.
- Current status (x86-64):
-- Main program should be able to call functions in shared objects.
-- Main program should be able to use global variables in shared objects.
-- Shared objects should be able to call functions in main program.
-- Shared objects can NOT use global variables in main program.
- To fix the last issue, we may need to add support of -fPIC option in our code generator.
Diffstat (limited to 'boundtest.c')
0 files changed, 0 insertions, 0 deletions
