OSDN Git Service

Add position independent code for crt1.S.
authorCarmelo Amoroso <carmelo.amoroso@st.com>
Tue, 5 May 2009 17:07:03 +0000 (19:07 +0200)
committerCarmelo Amoroso <carmelo.amoroso@st.com>
Tue, 5 May 2009 17:07:03 +0000 (19:07 +0200)
commit299875982700738db39a0dccd1cd6a0f333e9994
tree37d00b0bc4a86d0ef45c7cd5f6f71df6a36a614f
parent4d1b93953f0a82732b8d9b8280a07730b78a2194
Add position independent code for crt1.S.
This will generate a Scrt1.o that is linked to executabled
when compiled as PIE code (position independent executable) without
requiring relocation in .text section (not allowed on uclibc/sh4).

Signed-off-by: Peter Griffin <pgriffin@mpc-data.co.uk>
Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
libc/sysdeps/linux/sh/crt1.S