diff options
author | Joakim Tjernlund <joakim.tjernlund@transmode.se> | 2007-03-13 11:02:33 +0000 |
---|---|---|
committer | Joakim Tjernlund <joakim.tjernlund@transmode.se> | 2007-03-13 11:02:33 +0000 |
commit | 11b4fd555c8a016d02af89afadd6964fb23aa054 (patch) | |
tree | 5b2b850ce111e9ae0958818f79e6d911716469d4 /ldso | |
parent | 56450d6b9909e159ce4945b3711551cc34c1cddd (diff) |
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).
Diffstat (limited to 'ldso')
-rw-r--r-- | ldso/ldso/sh/dl-startup.h | 1 |
1 files changed, 1 insertions, 0 deletions
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" |