[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] TCC linker symbols for section start and end

From: Joshua Phillips
Subject: Re: [Tinycc-devel] TCC linker symbols for section start and end
Date: Sat, 21 Feb 2009 18:31:38 +0000
User-agent: KMail/1.9.10

Generally, one defines such symbols in the linker script, for example:

        mysection : {
                _mysection_start = . ;
                _mysection_end = . ;

tcc only supports a very limited subset of the GNU ld linker script syntax, 

See the GNU Binutils documentation for GNU ld's linker script syntax.

On Friday 20 February 2009 23:44:10 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.
> Thank you very much in advance,
> Simon
> _______________________________________________
> Tinycc-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Attachment: signature.asc
Description: This is a digitally signed message part.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]