GOT and FIXUP data in the PowerPC Multilibs
Till Straumann
strauman at slac.stanford.edu
Mon Sep 15 16:34:44 UTC 2008
IMO there shouldn't be any got nor fixup. They
are produced due to -mrelocatable-lib (which IMO
should not be present) in MULTILIB_EXTRA_OPTS (gcc's t-rtems).
(Another curiosity is that the same options add -mno-eabi
but the powerpc-rtems configuration (config.gcc) adds
eabi.h to the tm_files which adds -meabi in the first place.)
I always use a modified t-rtems because the default
one doesn't make sense for me. YMMV
T.
Sebastian Huber wrote:
> Hi,
> there are GOT and FIXUP entries in the PowerPC multilibs (libc, libstdc++):
>
> powerpc-rtems4.9-objdump -h
> /opt/rtems-4.9/lib64/gcc/powerpc-rtems4.9/4.3.1/m603e/libstdc++.a | grep
> "fixup\|got" | wc
> 174 1218 10962
>
> powerpc-rtems4.9-objdump -h
> /opt/rtems-4.9/lib64/gcc/powerpc-rtems4.9/4.3.1/libstdc++.a | grep
> "fixup\|got" | wc
> 0 0 0
>
> powerpc-rtems4.9-objdump -h
> /opt/rtems-4.9/powerpc-rtems4.9/lib/m603e/libc.a | grep "fixup\|got" | wc
> 453 3171 28539
>
> powerpc-rtems4.9-objdump -h /opt/rtems-4.9/powerpc-rtems4.9/lib/libc.a |
> grep "fixup\|got" | wc
> 0 0 0
>
> Curiously there are not PLT entries.
>
> Is this a bug or a feature?
>
>
More information about the users
mailing list