Messages in this thread | ![/](/images/icornerl.gif) | | Date | Fri, 6 Jun 2003 14:10:42 -0700 | From | Richard Henderson <> | Subject | Re: Shared Library starter, ld.so |
| |
On Fri, Jun 06, 2003 at 07:34:50AM -0400, Richard B. Johnson wrote: > .section .text > .global _start > .type _start,@function > _start: call *%edx > pushl $0 > call exit > .end ... > On the Red Hat 9 system, it will segfault.
[vsop:~] gcc -nostartfiles zz.s [vsop:~] ./a.out [vsop:~] echo $? 0 [vsop:~] cat /etc/redhat-release Red Hat Linux release 9 (Shrike)
Works For Me.
r~ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |