[tools-linking] relative relocation

2007-02-22 Thread Deepak Bhatia
Hi, Richard Earnshaw would be the right person to answer this. Regards Deepak Bhatia -Original Message- From: michael.s.walker at gmail.com [mailto:michael.s.wal...@gmail.com]on Behalf Of Michael Walker Sent: Thursday, February 22, 2007 10:21 PM To: Deepak Bhatia Cc: tools-linking at op

[tools-linking] relative relocation

2007-02-22 Thread Deepak Bhatia
Hi Michael, I see that you have written the TLS related stuff for Sparc and i386. Does the ARM has the same implications for various TLS models like General Dynamic, Local Dynamic, , Initial Exec and local-exec. Regards Deepak Bhatia -Original Message- From: tools-linking-boun...@openso

[tools-linking] Re: migrating from gcc to studio tools

2007-02-22 Thread Richard L. Hamilton
This is not an answer - perhaps just an intermediate step, and only for SPARC. http://www.sun.com/download/products.xml?id=43fb4c75 (gcc front end, command line options, and ABI (differs in the case of C++) combined with Studio code generator for generally better performance) This message pos

[tools-linking] migrating from gcc to studio tools

2007-02-22 Thread Brian Kolaci
I have a large customer looking for tips/tricks and documents that help with migrating from GCC to the Studio tools. Are there any papers out there that can be referenced or distributed? Thanks, bk

[tools-linking] relative relocation

2007-02-22 Thread Michael Walker
I'm not familiar with the ARM processor - so I can't say definitively one way or the other. But I would assume so - yes. Have TLS instruction sequences been defined for the ARM processor? That would answer your question I think. _Mike_ On 2/22/07, Deepak Bhatia wrote: > Hi Michael, > > I see

[tools-linking] relative relocation

2007-02-22 Thread Michael Walker
Here's a quick example: collage0021# elfdump -c data.so collage0021# more data.c static int local_var = 0; int *global_data = &local_var; collage0021# gcc -fpic -shared data.c -o data.so collage0021# elfdump -r data.so | grep RELATIVE R_386_RELATIVE 0x105cc .rel.data.rel