openbsd-ports/devel/llvm/patches/patch-tools_lld_ELF_Config_h
ajacoutot 9b536d7f79 Sync with base:
- Accept both `--foo bar` and `--foo=bar` styles options.
- Add support for -z initfirst.
- Generate __data_start symbol that marks the start of .data when __data_start
  is referenced from code being linked.

From Brad (maintainer)
2018-10-25 09:25:38 +00:00

16 lines
392 B
Plaintext

$OpenBSD: patch-tools_lld_ELF_Config_h,v 1.4 2018/10/25 09:25:38 ajacoutot Exp $
Add support for -z initfirst.
Index: tools/lld/ELF/Config.h
--- tools/lld/ELF/Config.h.orig
+++ tools/lld/ELF/Config.h
@@ -151,6 +151,7 @@ struct Configuration {
bool WarnMissingEntry;
bool ZCombreloc;
bool ZExecstack;
+ bool ZInitfirst;
bool ZHazardplt;
bool ZNocopyreloc;
bool ZNodelete;