mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-03-02 15:26:29 +00:00

Also change some options that have different semantics (cause confusion) in llvm-readelf mode: -s => -S -t => --symbols -sd => --section-data llvm-svn: 359651
19 lines
435 B
Plaintext
19 lines
435 B
Plaintext
# Check that if input file contains .MIPS.options section and symbol
|
|
# points to the section and the linker generates a relocatable output,
|
|
# LLD does not crash.
|
|
#
|
|
# PR 27878
|
|
#
|
|
# Input object file created using the following script:
|
|
# % cat t.s
|
|
# .text
|
|
# nop
|
|
# % as -mabi=64 -mips64r2 t.s
|
|
|
|
# RUN: ld.lld -r %p/Inputs/mips-options.o -o %t.o
|
|
# RUN: llvm-readobj -S %t.o | FileCheck %s
|
|
|
|
# REQUIRES: mips
|
|
|
|
# CHECK: Name: .MIPS.options
|