From: subdino Date: Sun, 23 Oct 2005 21:38:12 +0000 (+0000) Subject: 2005-10-23 Vincent Pelletier X-Git-Tag: 1.98~2049 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d8f4b0e605b65429cba11d2349016a1b99c56c5;p=thirdparty%2Fgrub.git 2005-10-23 Vincent Pelletier * normal/sparc64/setjmp.S: New file. --- diff --git a/ChangeLog b/ChangeLog index 2202622c6..cfaf5e9c2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2005-10-23 Vincent Pelletier + + * normal/sparc64/setjmp.S: New file. + 2005-10-23 Vincent Pelletier * include/grub/sparc64/libgcc.h: New file. diff --git a/conf/sparc64-ieee1275.mk b/conf/sparc64-ieee1275.mk index 0510e6563..2eabce2a7 100644 --- a/conf/sparc64-ieee1275.mk +++ b/conf/sparc64-ieee1275.mk @@ -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 index 000000000..1ba4b91f0 --- /dev/null +++ b/normal/sparc64/setjmp.S @@ -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 + + .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 +