We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c73eb21 commit f083272Copy full SHA for f083272
lld/test/ELF/lto/arm-rtlibcall.ll
@@ -36,6 +36,9 @@
36
PIE-ERROR: ld.lld: error: relocation R_ARM_CALL cannot refer to absolute symbol: __divmoddi4
37
PIE-ERROR-NEXT: >>> defined in divmoddi4.bc
38
PIE-ERROR-NEXT: >>> referenced by aeabi_ldivmod.o:(__aeabi_ldivmod)
39
+;; Removing --start-lib/--end-lib also ensures that the reference is retained
40
+; RUN: ld.lld main-implicit-ldivmod.bc aeabi_ldivmod.o divmoddi4.bc -o test.exe -Bstatic
41
+; RUN: llvm-objdump -d -r -t test.exe | FileCheck %s --check-prefix=GOOD-DUMP
42
43
;; Interestingly, just declaring __aeabi_ldivmod is sufficient to not run into this issue.
44
; RUN: llvm-as main-declared.ll -o main-declared-ldivmod.bc
0 commit comments