Discussion about merging Go frontend
H.J. Lu
hjl.tools@gmail.com
Tue Nov 2 17:43:00 GMT 2010
On Mon, Nov 1, 2010 at 3:27 PM, Ian Lance Taylor <iant@google.com> wrote:
> Tom Tromey <tromey@redhat.com> writes:
>
>> GDB already uses the name "objfile" for one of its modules.
>> I don't think we have any name clashes with this patch right now, but I
>> would prefer to avoid the eventual confusion.
>> So, if this is in libiberty, could it please have a different name?
>
> OK, I renamed objfile to simple_object.
>
> This is the current patch, incorporating all suggestions so far. There
> are still reportedly problems with the Mach-O code.
>
> Ian
>
>
> ChangeLog:
>
> 2010-11-01 Ian Lance Taylor <iant@google.com>
>
> * configure.ac: Don't set default_enable_lto. Remove libelf tests.
> * configure: Rebuild.
>
> include/ChangeLog:
>
> 2010-11-01 Ian Lance Taylor <iant@google.com>
>
> * simple-object.h: New file.
>
> libiberty/ChangeLog:
>
> 2010-11-01 Ian Lance Taylor <iant@google.com>
>
> * simple-object.c: New file.
> * simple-object-common.h: New file.
> * simple-object-elf.c: New file.
> * simple-object-mach-o.c: New file.
> * simple-object-coff.c: New file.
> * simple-object.txh: New file.
> * configure.ac: Add AC_TYPE_SSIZE_T.
> * Makefile.in: Rebuild dependencies.
> (CFILES): Add simple-object.c, simple-object-coff,
> simple-object-elf.c, and simple-object-mach-o.c.
> (REQUIRED_OFILES): Add corresponding object files.
> * configure: Rebuild.
> * config.in: Rebuild.
> * functions.texi: Rebuild.
>
> gcc/ChangeLog:
>
> 2010-11-01 Ian Lance Taylor <iant@google.com>
>
> * configure.ac: Remove elf_getshdrstrndx test. Don't substitute
> LTO_BINARY_READER or LTO_USE_LIBELF. Remove LIBELFLIBS and
> LIBELFINC. Remove HAVE_libelf.
> * gcc/config.gcc: Don't set lto_binary_reader.
> * gcc/Makefile.in (LIBELFLIBS, LIBELFINC): Remove variables.
> (LTO_BINARY_READER, LTO_USE_LIBELF): Remove variables.
> (LIBS): Remove $(LIBELFLIBS).
> (INCLUDES): Remove $(LIBELFINC).
> * doc/install.texi (Prerequisites): Remove libelf paragraphs.
> (Configuration): Mention --disable-lto. Remove --with-libelf
> paragraph.
> * configure: Rebuild.
> * config.in: Rebuild.
>
> gcc/lto/ChangeLog:
>
> 2010-11-01 Ian Lance Taylor <iant@google.com>
>
> * lto-object.c: New file.
> * lto-elf.c: Remove file.
> * lto-macho.c: Remove file.
> * lto-macho.h: Remove file.
> * lto-coff.c: Remove file.
> * lto-coff.h: Remove file.
> * Make-lang.in (LTO_OBJS): Change lto/$(LTO_BINARY_READER).o to
> lto/lto-object.o.
> ($(LTO_EXE)): Remove $(LTO_USE_LIBELF)
> (lto/lto-objfile.o): New target.
> (lto/lto-elf.o, lto/lto-coff.o, lto/lto-macho.o): Remove targets.
> (lto/lto.o): Remove $(LIBIBERTY_H).
>
>
>
This patch breaks gcc on Linux:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46273
--
H.J.
More information about the Gcc-patches
mailing list