diff options
-rw-r--r-- | Makefile.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.mk b/Makefile.mk index b4532c399b..0123bd5544 100644 --- a/Makefile.mk +++ b/Makefile.mk @@ -603,6 +603,9 @@ LDFLAGS_common := --gc-sections LDFLAGS_common += -nostdlib LDFLAGS_common += --nmagic LDFLAGS_common += -static +# Disable warning on segments with RWX. +# All loadable sections are placed in the same segment for simplicity. +LDFLAGS_common += --no-warn-rwx-segments # Workaround for RISC-V linker bug, merge back into above line when fixed. # https://sourceware.org/bugzilla/show_bug.cgi?id=27180 |