sim: Provide MODULESTRIP for macOS

This commit is contained in:
YAMAMOTO Takashi 2020-04-16 21:18:02 +09:00 committed by patacongo
parent c61d959655
commit 366c446003
3 changed files with 3 additions and 0 deletions

View File

@ -96,6 +96,7 @@ ifeq ($(CONFIG_HOST_MACOS),y)
# eg. brew install x86_64-elf-gcc
MODULECC = x86_64-elf-gcc
MODULELD = x86_64-elf-ld
MODULESTRIP = x86_64-elf-strip --strip-unneeded
# It seems macOS/x86_64 loads the program text around 00000001_xxxxxxxx.
# The gcc default (-mcmodel=small) would produce out-of-range 32-bit
# relocations.

View File

@ -88,6 +88,7 @@ ifeq ($(CONFIG_HOST_MACOS),y)
# eg. brew install x86_64-elf-gcc
MODULECC = x86_64-elf-gcc
MODULELD = x86_64-elf-ld
MODULESTRIP = x86_64-elf-strip --strip-unneeded
# It seems macOS/x86_64 loads the program text around 00000001_xxxxxxxx.
# The gcc default (-mcmodel=small) would produce out-of-range 32-bit
# relocations.

View File

@ -98,6 +98,7 @@ ifeq ($(CONFIG_HOST_MACOS),y)
# eg. brew install x86_64-elf-gcc
MODULECC = x86_64-elf-gcc
MODULELD = x86_64-elf-ld
MODULESTRIP = x86_64-elf-strip --strip-unneeded
# It seems macOS/x86_64 loads the program text around 00000001_xxxxxxxx.
# The gcc default (-mcmodel=small) would produce out-of-range 32-bit
# relocations.