svn commit: trunk/uClibc/ldso/ldso/sh
jocke at uclibc.org
jocke at uclibc.org
Tue Mar 13 04:02:35 PDT 2007
Author: jocke
Date: 2007-03-13 04:02:33 -0700 (Tue, 13 Mar 2007)
New Revision: 18083
Log:
Carmelo Amoroso writes:
I experiencied some problems while trying to debug the ld.so (sh4)
in debug mode. I found that the _start code was not placed into any
PT_LOAD segment causing a SIGSEV.
I solved this issue explicitely placing the _start code into
the .text section (see attached patch).
Modified:
trunk/uClibc/ldso/ldso/sh/dl-startup.h
Changeset:
Modified: trunk/uClibc/ldso/ldso/sh/dl-startup.h
===================================================================
--- trunk/uClibc/ldso/ldso/sh/dl-startup.h 2007-03-13 10:13:35 UTC (rev 18082)
+++ trunk/uClibc/ldso/ldso/sh/dl-startup.h 2007-03-13 11:02:33 UTC (rev 18083)
@@ -3,6 +3,7 @@
* needed for this architecture. */
asm(
+ " .text\n"
" .globl _start\n"
" .type _start, at function\n"
"_start:\n"
More information about the uClibc-cvs
mailing list