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; };