diff options
author | John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | 2004-12-04 20:32:51 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2004-12-04 20:32:51 +0000 |
commit | bf842f624b988f57b1cdd72c3055190c35383e26 (patch) | |
tree | e81170feac4f6d60dfb8a92f9221f5bcd10c2edc | |
parent | 346424935e4288bbe4de8b454dad3c83cefeede6 (diff) | |
download | gcc-bf842f624b988f57b1cdd72c3055190c35383e26.zip gcc-bf842f624b988f57b1cdd72c3055190c35383e26.tar.gz gcc-bf842f624b988f57b1cdd72c3055190c35383e26.tar.bz2 |
re PR bootstrap/18804 (lib2funcs.vis:1: Error: unknown pseudo-op: `.hidden')
PR bootstrap/18804
* mklibgcc.in (vis_hide): Use implementation instead of declaration
for test function.
From-SVN: r91732
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/mklibgcc.in | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2b45485..3e609a3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-12-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + PR bootstrap/18804 + * mklibgcc.in (vis_hide): Use implementation instead of declaration + for test function. + 2004-12-04 Richard Henderson <rth@redhat.com> * config/alpha/alpha.c (alpha_expand_unaligned_load): Don't forget to diff --git a/gcc/mklibgcc.in b/gcc/mklibgcc.in index 9729f2b..535420b 100644 --- a/gcc/mklibgcc.in +++ b/gcc/mklibgcc.in @@ -99,7 +99,7 @@ if [ "$SHLIB_LINK" ]; then # overriding that with #pragmas. The dance with @ is to prevent # echo from seeing anything it might take for an option. echo "vis_hide := \$(strip \$(subst @,-,\\" - echo " \$(shell if echo 'void foo(void);' | \\" + echo " \$(shell if echo 'void foo(void) {}' | \\" echo " $gcc_compile -fvisibility=hidden -Werror \\" echo " -c -xc - -o /dev/null 2> /dev/null; \\" echo " then echo @fvisibility=hidden @DHIDE_EXPORTS; \\" |