From c4c48c541c83514ca8ecc7eca5ae990ec9ce3d48 Mon Sep 17 00:00:00 2001 From: Vladimir 'phcoder' Serbinenko Date: Wed, 29 Feb 2012 16:28:26 +0100 Subject: [PATCH] * grub-core/Makefile.core.def (lzma_decompress): Use TARGET_IMG_BASE_LDOPT rather than hardcoding -Wl,-Ttext. --- ChangeLog | 5 +++++ grub-core/Makefile.core.def | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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; };