Explorar o código

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).

Joakim Tjernlund %!s(int64=17) %!d(string=hai) anos
pai
achega
11b4fd555c
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      ldso/ldso/sh/dl-startup.h

+ 1 - 0
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"