This is the mail archive of the gcc-bugs@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]

[Bug testsuite/80759] gcc.target/x86_64/abi/ms-sysv FAILs


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80759

--- Comment #43 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- Comment #38 from Daniel Santos <daniel.santos at pobox dot com> ---
[...]
> I've only run check on RUNTESTFLAGS="ms-sysv.exp" so far and I have a full
> regression test running right now, but I *think* this is correct.  I'm
> presuming that using .hidden is a no-no as well, at least from what I can tell
> it's elf-specific, but I'm not sure what else to do with it other than #ifdef
> __ELF__.  (I googled 'hidden elf' and got a lot of interesting fiction...)  So
> I'm sorry to just ask you to see if it blows up on Solaris & Darwin w/o gas.

.hidden itself is indeed ELF specific (and was initially invented by Sun
IIRC), but libgcc already has provisions to handle similar concepts on
other targets (cf. asm_hidden_op in configure.ac and the .vis files).  I
haven't yet studied how this applies to Darwin (which supports
.private_extern instead).

> I'm also unsure about my changes to libtgcc/config.host as I just don't have a
> broad understanding of all of the *nix platforms out there.

As I said: I believe they are correct in principle, non-Unix targets
being ELF and using gas, so you're probably safe.  I guess the x86
maintainers will tell (or enraged target maintainers when they see
bootstrap failures ;-)

        Rainer

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