This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/40790] plugin-api.h unconditionally includes stdint.h
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Oct 2009 14:44:28 -0000
- Subject: [Bug lto/40790] plugin-api.h unconditionally includes stdint.h
- References: <bug-40790-279@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #16 from joseph at codesourcery dot com 2009-10-09 14:44 -------
Subject: Re: plugin-api.h unconditionally includes stdint.h
On Fri, 9 Oct 2009, ro at techfak dot uni-bielefeld dot de wrote:
> > gold supports non-ELF hosts (or will once Andrew Pinski's MinGW host
> > patches are in), and in due course should support plugins on such hosts.
>
> Ok, but only as a cross-linker to ELF targets, I suppose?
Yes. Non-ELF targets only via converting from ELF to some other format
after linking (like uClinux targets using FLT, or arm-symbianelf, do right
now with a separate converter not included in binutils).
(Unlike gold, nothing in the design of LTO strongly links it to ELF; it
uses ELF as a container for bytecode streams but should be adaptable to be
able to use other formats - that allow arbitrary user-defined sections -
as well if someone wishes to do so, and all that should be needed is a
replacement of lto-elf.c for the other format or a generic version of it
using BFD.)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40790