From 11b4fd555c8a016d02af89afadd6964fb23aa054 Mon Sep 17 00:00:00 2001 From: Joakim Tjernlund Date: Tue, 13 Mar 2007 11:02:33 +0000 Subject: 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). --- ldso/ldso/sh/dl-startup.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ldso') diff --git a/ldso/ldso/sh/dl-startup.h b/ldso/ldso/sh/dl-startup.h index 63a65940c..bd51cebe0 100644 --- a/ldso/ldso/sh/dl-startup.h +++ b/ldso/ldso/sh/dl-startup.h @@ -3,6 +3,7 @@ * needed for this architecture. */ asm( + " .text\n" " .globl _start\n" " .type _start,@function\n" "_start:\n" -- cgit v1.2.3