From: Vladimir 'phcoder' Serbinenko Date: Wed, 29 Feb 2012 15:28:26 +0000 (+0100) Subject: * grub-core/Makefile.core.def (lzma_decompress): Use X-Git-Tag: 2.00~468 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4c48c541c83514ca8ecc7eca5ae990ec9ce3d48;p=thirdparty%2Fgrub.git * grub-core/Makefile.core.def (lzma_decompress): Use TARGET_IMG_BASE_LDOPT rather than hardcoding -Wl,-Ttext. --- diff --git a/ChangeLog b/ChangeLog index 391e62658..bfc821c10 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-02-29 Vladimir Serbinenko + + * grub-core/Makefile.core.def (lzma_decompress): Use + TARGET_IMG_BASE_LDOPT rather than hardcoding -Wl,-Ttext. + 2012-02-29 Vladimir Serbinenko * grub-core/genmod.sh.in: Rewrite the Apple part. diff --git a/grub-core/Makefile.core.def b/grub-core/Makefile.core.def index 4139dd034..ff0174307 100644 --- a/grub-core/Makefile.core.def +++ b/grub-core/Makefile.core.def @@ -375,7 +375,7 @@ image = { i386_pc = boot/i386/pc/startup_raw.S; objcopyflags = '-O binary'; - ldflags = '$(TARGET_IMG_LDFLAGS) -Wl,-Ttext,0x8200'; + ldflags = '$(TARGET_IMG_LDFLAGS) $(TARGET_IMG_BASE_LDOPT),0x8200'; enable = i386_pc; };