Mercurial > hg > CbC > CbC_llvm
view lld/test/ELF/sht-group-gold-r.test @ 192:d7606dcf6fce
Added tag llvm10 for changeset 0572611fdcc8
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 14 Dec 2020 18:01:34 +0900 |
parents | 0572611fdcc8 |
children |
line wrap: on
line source
# REQUIRES: x86 # GNU gold 1.14 (the newest version as of July 2017) seems to create # non-standard-compliant SHT_GROUP sections when the -r option is given. # # Such SHT_GROUP sections use section names as their signatures # instead of symbols pointed by sh_link field. Since it is prevalent, # we accept such nonstandard sections. # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o # RUN: ld.lld %p/Inputs/sht-group-gold-r.elf %t.o -o %t.exe # RUN: llvm-objdump -t %t.exe | FileCheck %s # CHECK: .text 0000000000000000 bar # CHECK: .text 0000000000000000 foo .globl _start _start: ret