New elf section problem

Vinayak P Risbud
Fri Nov 15 04:47:00 GMT 2002

            Please find attatched a sample test file, to map "user
defined section"
            to "user defined location"
            The problem is, I want to map, my_foo function in "mysec"
            at location 0x5000

            But, my_foo function is getting mapped to location 0x0
(Please see
            the dump file.)

            My linker script (ldscript) seems to be OK...I am not able
to trace
            the problem, can any one help me ?

        Thanks in advance

-------------- next part --------------
A non-text attachment was scrubbed...
Name: section.tar.gz
Type: application/x-gzip
Size: 4594 bytes
Desc: not available
URL: <>
-------------- next part --------------
Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

More information about the crossgcc mailing list