summaryrefslogtreecommitdiff
path: root/sysdeps/kernel/kernel.s
diff options
context:
space:
mode:
authorCarlos Perelló Marín <carlos@gnome.org>2003-10-19 16:55:56 +0000
committerCarlos Perelló Marín <carlos@src.gnome.org>2003-10-19 16:55:56 +0000
commit4c8ae9e25c1940d8876ca3f2330426863cae4737 (patch)
treec43f97bc0647546b0ed87022db0749c137f24edc /sysdeps/kernel/kernel.s
parentbae16b467f90df94d80feae41dceb7e816f16c61 (diff)
downloadlibgtop-4c8ae9e25c1940d8876ca3f2330426863cae4737.tar.gz
Reverted libgtop changes. It's a common module and I should not modify it.
2003-10-19 Carlos Perelló Marín <carlos@gnome.org> * support/*: Reverted libgtop changes. It's a common module and I should not modify it. * Added/removed files. Now the move should be done.
Diffstat (limited to 'sysdeps/kernel/kernel.s')
-rw-r--r--sysdeps/kernel/kernel.s42
1 files changed, 42 insertions, 0 deletions
diff --git a/sysdeps/kernel/kernel.s b/sysdeps/kernel/kernel.s
new file mode 100644
index 00000000..d6b368c1
--- /dev/null
+++ b/sysdeps/kernel/kernel.s
@@ -0,0 +1,42 @@
+ .file "test.c"
+ .version "01.01"
+/ GNU C version egcs-2.90.29 980515 (egcs-1.0.3 release) (i686-pc-linux-gnu) compiled by GNU C version egcs-2.90.29 980515 (egcs-1.0.3 release).
+/ options passed: -O2 -Wall -W
+/ options enabled: -fdefer-pop -fcse-follow-jumps -fcse-skip-blocks
+/ -fexpensive-optimizations -fthread-jumps -fstrength-reduce -fpeephole
+/ -fforce-mem -ffunction-cse -finline -fkeep-static-consts -fcaller-saves
+/ -fpcc-struct-return -frerun-cse-after-loop -frerun-loop-opt
+/ -fschedule-insns2 -fcommon -fverbose-asm -fgnu-linker -fregmove
+/ -falias-check -fargument-alias -m80387 -mhard-float -mno-soft-float
+/ -mieee-fp -mfp-ret-in-387 -mschedule-prologue -mcpu=pentiumpro
+/ -march=pentium
+
+gcc2_compiled.:
+.text
+ .align 4
+.globl table
+ .type table,@function
+table:
+ pushl %ebp
+ movl %esp,%ebp
+ movl $190,%eax
+ pushl %ebx
+ movl 8(%ebp),%ebx
+ movl 12(%ebp),%ecx
+ movl 16(%ebp),%edx
+#APP
+ int $0x80
+#NO_APP
+ testl %eax,%eax
+ jge .L3
+ negl %eax
+ movl %eax,errno
+ movl $-1,%eax
+.L3:
+ movl -4(%ebp),%ebx
+ movl %ebp,%esp
+ popl %ebp
+ ret
+.Lfe1:
+ .size table,.Lfe1-table
+ .ident "GCC: (GNU) egcs-2.90.29 980515 (egcs-1.0.3 release)"