[PATCH] D26795: [ELF] Better error reporting for linker scripts

Eugene Leviant via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 18 00:03:04 PST 2016


evgeny777 added a comment.

Looks like I found few projects which use INCLUDE directive:

http://libopencm3.org/wiki/Run_From_RAM
https://github.com/cobyism/edimax-br-6528n/blob/master/AP/mkimg/RTL8196C_1200_tools/libstrip/libstrip
https://github.com/RIOT-OS/RIOT/blob/master/cpu/stm32f4/ldscripts/stm32f415rg.ld
https://chromium.googlesource.com/chromiumos/third_party/coreboot/+/firmware-uboot_v2-1299.B/src/arch/x86/Makefile.bootblock.inc

The last one seems to be a chromebook boot loader: it includes script files in auto-generated linker script ldscript.ld

I don't know how important is to support those in lld, but please confirm that you want to get rid of **INCLUDE**


Repository:
  rL LLVM

https://reviews.llvm.org/D26795





More information about the llvm-commits mailing list