]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/Makefile.core.def (lzma_decompress): Use
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 29 Feb 2012 15:28:26 +0000 (16:28 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 29 Feb 2012 15:28:26 +0000 (16:28 +0100)
TARGET_IMG_BASE_LDOPT rather than hardcoding -Wl,-Ttext.

ChangeLog
grub-core/Makefile.core.def

index 391e62658e5194df26ced348277271ef128f392e..bfc821c10ca38f1ecd8256742c93a5a9a5da0807 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 4139dd0342f808e93050f4bc98dd81854505c50f..ff017430775f3413f6c844a76d5821a7c304a929 100644 (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;
 };