]> sourceware.org Git - glibc.git/blame - scripts/gen-libc-abis
PowerPC: Update powerpc-fpu ULPs.
[glibc.git] / scripts / gen-libc-abis
CommitLineData
bf219bc6
UD
1#! /bin/sh
2triple="$1"
3
4printf "#ifndef _LIBC_ABIS_H\n#define _LIBC_ABIS_H 1\n\n"
5printf "enum\n{\n LIBC_ABI_DEFAULT = 0,\n"
6
7while read s t; do
8 if test "$s" = "#" || test -z "$s"; then continue; fi
9 if test -z "$t"; then
10 printf " LIBC_ABI_%s,\n" "$s"
11 features="$features $s"
12 else
13 case "$triple" in
14 $t) printf " LIBC_ABI_%s,\n" "$s"
15 features="$features $s" ;;
16 *) ;;
17 esac
18 fi
19done
20
21printf " LIBC_ABI_MAX\n};\n"
22printf "\n#endif\n"
23
24if test -n "$features"; then
25 printf "#define LIBC_ABIS_STRING \"libc ABIs:%s\\\\n\"\n" "$features"
26fi
This page took 0.12451 seconds and 5 git commands to generate.