Re: [Tinycc-devel] TCC linker symbols for section start and end
Generally, one defines such symbols in the linker script, for example: SECTIONS { ... mysection : { _mysection_start = . ; *(mysection) _mysection_end = . ; } } tcc only supports a very limited subset of the GNU ld linker
Re: [Tinycc-devel] TCC linker symbols for section start and end
Simon Lehmayr wrote: Hello, I again need your help: How can I determine the start and end addresses of sections in my c program? I tried extern int mysection_start, _mysection_start and __mysection_start but it never linked. Might be __start/stop_mysection. See