I doubt there's any explicit support for it.  Position independent code is
mostly irrelevant in embedded systems where there won't be any dynamic
loading.  There are applications where one might replace code with overlays,
but those can be generally be handled with fixed addresses.  I believe
binutils has support for this, though I haven't used it myself.

If you care to file a tracker problem on mspgcc or mspgcc4, I'll eventually
make sure that, at the least, -fPIC doesn't silently generate non-PIC code.
If you have an application which actually does require position-independent
code, that warrants its own enhancement request.

Peter

2010/10/18 Frédéric Sureau <[email protected]>

> Hi all,
>
> Does MSPGCC support a way to produce position independent code ?
>
> The assembly generated using "-fPIC" argument seems to still be
> position dependent.
>
> Fred
>
>
> ------------------------------------------------------------------------------
> Download new Adobe(R) Flash(R) Builder(TM) 4
> The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
> Flex(R) Builder(TM)) enable the development of rich applications that run
> across multiple browsers and platforms. Download your free trials today!
> http://p.sf.net/sfu/adobe-dev2dev
> _______________________________________________
> Mspgcc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to