summaryrefslogtreecommitdiff
path: root/ldso/util/lddstub.S
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-06-04 23:08:09 +0000
committerEric Andersen <andersen@codepoet.org>2001-06-04 23:08:09 +0000
commit2a115f6c06d812d7507e7df891ae994a8e731be8 (patch)
tree8bb42b11b371ae213b5558c8f2f363d6b47e2630 /ldso/util/lddstub.S
parentf68eb8d50b11310628f53a9378bf612e8d4bfa09 (diff)
Add a new 'readelf' util I wrote this weekend.
-Erik
Diffstat (limited to 'ldso/util/lddstub.S')
-rw-r--r--ldso/util/lddstub.S42
1 files changed, 0 insertions, 42 deletions
diff --git a/ldso/util/lddstub.S b/ldso/util/lddstub.S
deleted file mode 100644
index 33a67ee8d..000000000
--- a/ldso/util/lddstub.S
+++ /dev/null
@@ -1,42 +0,0 @@
- .text
-.globl main
-.globl exit
-main:
-exit:
-#if defined(__i386__)
- movl $1,%eax
- movl $0,%ebx
- int $0x80
-#elif defined(__mc68000__)
- movel #1,%d0
- clrl %d1
- trap #0
-#elif defined(__sparc__)
- mov 1,%g1
- mov 0,%o0
- t 0x10
-#else
-#error Only know how to support i386, m68k and sparc architectures
-#endif
-
-.globl atexit
-.globl __libc_init
-.globl __setfpucw
-atexit:
-__libc_init:
-__setfpucw:
-#if defined(__i386__)
- ret
-#elif defined(__mc68000__)
- rts
-#elif defined(__sparc__)
- ret
- nop
-#else
-#error Only know how to support i386, m68k and sparc architectures
-#endif
-
- .data
-.globl __fpu_control
-__fpu_control:
- .long 0