[llvm-bugs] [Bug 30814] New: linker script command line option handling
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Oct 27 18:35:29 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=30814
Bug ID: 30814
Summary: linker script command line option handling
Product: lld
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: ELF
Assignee: unassignedbugs at nondot.org
Reporter: brad at comstyle.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
While testing out linking the OpenBSD/amd64 boot blocks/loader with lld I
noticed what looks like an issue with the command line option handling for
linker scripts..
ld.lld -nostdlib -Ttext 0 -x -s -Bstatic -e start -nopie -melf_i386
-L/usr/libdata -o mbr mbr.o
ld.lld: error: cannot open text: No such file or directory
ld.lld: error: cannot open 0: No such file or directory
ld.lld -nostdlib -Ttext 0x0000 -x -s -Bstatic -e start -nopie -melf_i386
-L/usr/libdata -o cdbr cdbr.o
ld.lld: error: cannot open text: No such file or directory
ld.lld: error: cannot open 0x0000: No such file or directory
ld.lld -nostdlib -Bstatic -Ttext 0x40120 -x -nopie -melf_i386 -L/usr/libdata
-o boot.new srt0.o conf.o boot.o bootarg.o cmd.o vars.o gidt.o random_i386.o
cmd_i386.o dev_i386.o exec_i386.o gateA20.o machdep.o bioscons.o biosdev.o
diskprobe.o memprobe.o time.o softraid.o alloc.o ctime.o exit.o getchar.o
memcmp.o memcpy.o memset.o printf.o putchar.o snprintf.o strcmp.o strerror.o
strlen.o strncmp.o strncpy.o strtol.o strtoll.o close.o closeall.o cons.o
cread.o dev.o disklabel.o dkcksum.o fstat.o lseek.o open.o read.o readdir.o
stat.o elf32.o elf64.o loadfile.o ufs.o aes_xts.o explicit_bzero.o hmac_sha1.o
pbkdf2.o rijndael.o sha1.o divdi3.o moddi3.o qdivrem.o strlcpy.o adler32.o
crc32.o inflate.o inftrees.o
ld.lld: error: cannot open text: No such file or directory
ld.lld: error: cannot open 0x40120: No such file or directory
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20161028/3b982ca8/attachment.html>
More information about the llvm-bugs
mailing list