[1928] * conf/powerpc-ieee1275.rmk (kernel_elf_LDFLAGS): Change link address

Robert Millan <[email protected]>
Newsgroups gmane.comp.boot-loaders.grub.cvs
Message-ID <[email protected]>
Revision: 1928
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=1928
Author:   robertmh
Date:     2008-11-22 20:13:22 +0000 (Sat, 22 Nov 2008)

Log Message:
-----------
        * conf/powerpc-ieee1275.rmk (kernel_elf_LDFLAGS): Change link address
        to 0x200000 (avoids trouble with some OFW implementations, and matches
        with the one in Yaboot).
        Reported by Manoel Abranches

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/conf/powerpc-ieee1275.mk
    trunk/grub2/conf/powerpc-ieee1275.rmk

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog	2008-11-22 15:00:39 UTC (rev 1927)
+++ trunk/grub2/ChangeLog	2008-11-22 20:13:22 UTC (rev 1928)
@@ -8,6 +8,11 @@
 	* kern/i386/loader.S (grub_multiboot_backward_relocator): Improve
 	comments.  Avoid copiing one more byte than necessary (just in case).
 
+	* conf/powerpc-ieee1275.rmk (kernel_elf_LDFLAGS): Change link address
+	to 0x200000 (avoids trouble with some OFW implementations, and matches
+	with the one in Yaboot).
+	Reported by Manoel Abranches
+
 2008-11-20  Robert Millan  <[email protected]>
 
 	* kern/i386/coreboot/init.c (grub_time_tics): Remove variable.

Modified: trunk/grub2/conf/powerpc-ieee1275.mk
===================================================================
--- trunk/grub2/conf/powerpc-ieee1275.mk	2008-11-22 15:00:39 UTC (rev 1927)
+++ trunk/grub2/conf/powerpc-ieee1275.mk	2008-11-22 20:13:22 UTC (rev 1928)
@@ -548,7 +548,7 @@
 kernel_elf_CFLAGS = $(COMMON_CFLAGS)
 kernel_elf_ASFLAGS = $(COMMON_ASFLAGS)
 kernel_elf_LDFLAGS = $(COMMON_LDFLAGS) -static-libgcc -lgcc \
-	-Wl,-N,-S,-Ttext,0x10000,-Bstatic
+	-Wl,-N,-S,-Ttext,0x200000,-Bstatic
 
 # Scripts.
 sbin_SCRIPTS = grub-install

Modified: trunk/grub2/conf/powerpc-ieee1275.rmk
===================================================================
--- trunk/grub2/conf/powerpc-ieee1275.rmk	2008-11-22 15:00:39 UTC (rev 1927)
+++ trunk/grub2/conf/powerpc-ieee1275.rmk	2008-11-22 20:13:22 UTC (rev 1928)
@@ -85,7 +85,7 @@
 kernel_elf_CFLAGS = $(COMMON_CFLAGS)
 kernel_elf_ASFLAGS = $(COMMON_ASFLAGS)
 kernel_elf_LDFLAGS = $(COMMON_LDFLAGS) -static-libgcc -lgcc \
-	-Wl,-N,-S,-Ttext,0x10000,-Bstatic
+	-Wl,-N,-S,-Ttext,0x200000,-Bstatic
 
 # Scripts.
 sbin_SCRIPTS = grub-install
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.