bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #28335] [configure.ac] link error due to bad -Wl options


From: Vladimir Serbinenko
Subject: [bug #28335] [configure.ac] link error due to bad -Wl options
Date: Sat, 19 Dec 2009 20:35:59 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.6) Gecko/20091216 Iceweasel/3.5.6 (like Firefox/3.5.6; Debian-3.5.6-1)

Follow-up Comment #1, bug #28335 (project grub):

Does following fixes problem:
=== modified file 'configure.ac'
--- configure.ac        2009-12-11 21:12:57 +0000
+++ configure.ac        2009-12-19 20:34:59 +0000
@@ -456,7 +456,7 @@
 if test "x$target_cpu" = xi386; then
   if test ! -z "$TARGET_IMG_LDSCRIPT"; then
     # Check symbols provided by linker script.
-    CFLAGS="$TARGET_CFLAGS -nostdlib $TARGET_IMG_LDFLAGS_AC
-Wl,-Ttext,8000,--defsym,___main=0x8100"
+    CFLAGS="$TARGET_CFLAGS -nostdlib
${TARGET_IMG_LDFLAGS_AC}8000,--defsym,___main=0x8100"
   fi
   if test "x$TARGET_APPLE_CC" != x1 ; then
     grub_CHECK_BSS_START_SYMBOL



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?28335>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]