(all insn and peephole patterns): Rewrite without using arm_output_asm_insn.
[official-gcc.git] / gcc / just-fixinc
blobb11ed2e15020a4d0dc859e4ca679050d361ed07f
1 #!/bin/sh
2 # This script exists for use after installing
3 # the Solaris binaries from a distribution tape/CDROM.
4 # Use it *after* copying the directory of binaries
5 # to the proper installed location.
6 # It runs fixinc.svr4 to correct bugs in the Solaris header files.
8 # The corrected header files go in the GCC installation directory
9 # so that only GCC sees them.
10 # This script does not modify the original header files in /usr/include.
11 # It only modifies copies in the GCC installation directory.
13 installed=/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.0
14 cd $installed/include
16 rmdir tmpfoo > /dev/null 2>&1
17 mkdir tmpfoo
18 mv va-sparc.h varargs.h stdarg.h stddef.h limits.h float.h proto.h tmpfoo
20 $installed/fixinc.svr4 $installed/include /usr/include $installed
22 # Make sure fixed native limits.h gets renamed to syslimits.h before gcc's
23 # limits.h from tmpfoo is moved back.
24 rm -f syslimits.h
25 if test -f limits.h ; then
26 mv limits.h syslimits.h
27 else
28 cp $installed/gsyslimits.h syslimits.h
30 chmod a+r syslimits.h
32 mv tmpfoo/* .
33 rmdir tmpfoo
35 # eof