* grub-core/Makefile.core.def (lzma_decompress): Use

TARGET_IMG_BASE_LDOPT rather than hardcoding -Wl,-Ttext.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-02-29 16:28:26 +01:00
parent 31a12124a0
commit c4c48c541c
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2012-02-29 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/Makefile.core.def (lzma_decompress): Use
TARGET_IMG_BASE_LDOPT rather than hardcoding -Wl,-Ttext.
2012-02-29 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/genmod.sh.in: Rewrite the Apple part.

View file

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