[llvm] Do not replace dead constant references in metadata with undef
[llvm-project.git] / lld / test / ELF / global_offset_table.s
blob3b86f00ae3ab661a4e398058ec4b6343e06edfba
1 // REQUIRES: x86
2 // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t
3 // RUN: ld.lld %t -o /dev/null
4 .global _start
5 _start:
6 .long _GLOBAL_OFFSET_TABLE_