From 041d1ea37802bf7178a31a53f96c26efa6b8fb7b Mon Sep 17 00:00:00 2001 From: James Date: Fri, 16 Nov 2012 10:41:01 +0000 Subject: fish --- grub-core/gensymlist.sh | 71 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 grub-core/gensymlist.sh (limited to 'grub-core/gensymlist.sh') diff --git a/grub-core/gensymlist.sh b/grub-core/gensymlist.sh new file mode 100644 index 0000000..0ab56e9 --- /dev/null +++ b/grub-core/gensymlist.sh @@ -0,0 +1,71 @@ +#! /bin/sh +# +# Copyright (C) 2002,2006,2007,2008,2009,2010 Free Software Foundation, Inc. +# +# This gensymlist.sh.in is free software; the author +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +cat <. + */ + +EOF + +for i in $*; do + echo "#include <$i>" +done + +cat < sizeof (tab[0])); + for (p = tab; p->name; p++) + grub_dl_register_symbol (p->name, p->addr, 0); +} +EOF -- cgit v1.2.3