bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/16259] New: ld testsuite uses the wrong crtend for -pie


From: hjl.tools at gmail dot com
Subject: [Bug ld/16259] New: ld testsuite uses the wrong crtend for -pie
Date: Tue, 26 Nov 2013 18:52:52 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=16259

            Bug ID: 16259
           Summary: ld testsuite uses the wrong crtend for -pie
           Product: binutils
           Version: 2.25 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com

configure.host has

*-*-linux*)
  HOSTING_CRT0='-dynamic-linker `${CC} --help --verbose 2>&1 | egrep "ld[^
]*\.so" | sed -e "s,.*-dynamic-linker[       ][      ]*\(.*/ld[^
]*\.so..\).*,\1,"` `${CC} --print-file-name=crt1.o` `${CC}
--print-file-name=crti.o` `if [ -f ../gcc/crtbegin.o ]; then echo
../gcc/crtbegin.o; else ${CC} --print-file-name=crtbegin.o; fi`'
  HOSTING_SCRT0='-dynamic-linker `${CC} --help --verbose 2>&1 | egrep "ld[^
]*\.so" | sed -e "s,.*-dynamic-linker[      ][      ]*\(.*/ld[^
]*\.so..\).*,\1,"` `${CC} --print-file-name=Scrt1.o` `${CC}
--print-file-name=crti.o` `if [ -f ../gcc/crtbeginS.o ]; then echo
../gcc/crtbeginS.o; else ${CC} --print-file-name=crtbeginS.o; fi`'
  HOSTING_LIBS='-L`dirname \`${CC} --print-file-name=libc.so\``
'"$HOSTING_LIBS"' `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else
${CC} --print-file-name=crtend.o; fi` `${CC} --print-file-name=crtn.o`'
  ;;  

But it fails to handle crtendS.o.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

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