This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fix target/15700


> 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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]