This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: fix target/15700
- From: Eric Botcazou <ebotcazou at libertysurf dot fr>
- To: Richard Henderson <rth at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 24 Mar 2005 13:02:51 +0100
- Subject: Re: fix target/15700
- References: <20050316175425.GA1548@redhat.com>
> Tested on i686-linux, and against a patched version of glibc head.
> Still testing the application of this patch to the 4.0 branch.
gcc.c-torture/compile/20040323-1.c still cannot be assembled:
sunshine% gcc/xgcc -Bgcc -c 20040323-1.c
/usr/ccs/bin/as: "/var/tmp//ccZWwwwq.s", line 34: error: invalid operand
/usr/ccs/bin/as: "/var/tmp//ccZWwwwq.s", line 35: error: redefinition of
symbol "_rtld_local"
/usr/ccs/bin/as: "/var/tmp//ccZWwwwq.s", line 36: error: symbol
"_rtld_global" is used but not defined
/usr/ccs/bin/as: "/var/tmp//ccZWwwwq.s": , approx line 36: internal error:
evaluate_symbol_expression(): op 11?
sunshine% gcc/xgcc -Bgcc -c 20040323-1.c -fno-common
/usr/ccs/bin/as: "/var/tmp//cceFzSNO.s", line 40: error: invalid operand
/usr/ccs/bin/as: "/var/tmp//cceFzSNO.s", line 41: error: redefinition of
symbol "_rtld_local"
-fno-common is needed because you apparently cannot equate a common symbol
with the Sun assembler. The second problem seems to be more serious:
.global _rtld_global
.section ".bss"
.align 4
.type _rtld_global, #object
.size _rtld_global, 4
_rtld_global:
.skip 4
.global _rtld_local
_rtld_local = _rtld_global
.global _rtld_local
_rtld_local = _rtld_global
.ident "GCC: (GNU) 4.0.0 20050324 (prerelease)"
The assembler complains about the redefinition of _rtld_local.
--
Eric Botcazou