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: [PATCH 1/3] Add native ELF and LTO support in collect2


On 10-10-16 11:09 , Andi Kleen wrote:


* collect2.c: Add ifdefs for OBJECT_FORMAT_ELF. (main): Move use_plugin to top level. (scan_prog_file): Move switch statement to .. (handle_pass): Separate function here. (LTO_SYMTAB_NAME, scan_lto_symtab, scan_elf_symtab, is_ar, scan_prog_file): Add. * config.in: Regenerate. * config/i386/linux.h (OBJECT_FORMAT_ELF): Define. * configure: Regenerate. * configure.ac: Check for libelf.h and gelf.h. Adjust libelf test.

Hm, why not just force the use of a linker that has plugin support?



Diego.



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