https://bugs.llvm.org/show_bug.cgi?id=40542

            Bug ID: 40542
           Summary: unsupported flag -n
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: ELF
          Assignee: unassignedb...@nondot.org
          Reporter: ndesaulni...@google.com
                CC: gri...@accesssoftek.com, llvm-bugs@lists.llvm.org,
                    peter.sm...@linaro.org, r...@google.com,
                    srhi...@google.com

The arm64 linux kernel vdso Makefile makes use of `$(CC) -Wl,-n` when linking. 
This produces an error when trying to link with ld.lld.

I can link without it, but I'm unsure of the implications of turning it off. 
The man page for bfd suggests that sections will be page aligned, so I'm
guessing that's going to create a larger object than needed?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to