]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2005-10-23 Vincent Pelletier <subdino2004@yahoo.fr>
authorsubdino <subdino@localhost>
Sun, 23 Oct 2005 21:38:12 +0000 (21:38 +0000)
committersubdino <subdino@localhost>
Sun, 23 Oct 2005 21:38:12 +0000 (21:38 +0000)
        * normal/sparc64/setjmp.S: New file.

ChangeLog
conf/sparc64-ieee1275.mk
normal/sparc64/setjmp.S [new file with mode: 0644]

index 2202622c6ef8512776547a450925c52a47a2f523..cfaf5e9c20ae89b81917db1d95af8eb886197bf7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-10-23  Vincent Pelletier  <subdino2004@yahoo.fr>
+
+       * normal/sparc64/setjmp.S: New file.
+
 2005-10-23  Vincent Pelletier  <subdino2004@yahoo.fr>
 
        * include/grub/sparc64/libgcc.h: New file.
index 0510e656350a9b75b33f5d8433d1272d1ec7a9ee..2eabce2a776d3447e7856a12ef9e8f97dbac794d 100644 (file)
@@ -1,7 +1,7 @@
 
 # -*- makefile -*-
 
-COMMON_ASFLAGS = -nostdinc -Av9
+COMMON_ASFLAGS = -nostdinc
 COMMON_CFLAGS = -ggdb -ffreestanding -m64 -mno-app-regs
 COMMON_LDFLAGS = -melf64_sparc
 
diff --git a/normal/sparc64/setjmp.S b/normal/sparc64/setjmp.S
new file mode 100644 (file)
index 0000000..1ba4b91
--- /dev/null
@@ -0,0 +1,39 @@
+/*
+ *  GRUB  --  GRand Unified Bootloader
+ *  Copyright (C) 2005  Free Software Foundation, Inc.
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#include <grub/symbol.h>
+
+        .file   "setjmp.S"
+
+        .text
+
+/*
+ * int grub_setjmp (grub_jmp_buf env)
+ */
+FUNCTION(grub_setjmp)
+        ret
+         nop
+
+/*
+ * int grub_longjmp (grub_jmp_buf env, int val)
+ */
+FUNCTION(grub_longjmp)
+        ret
+         nop
+