[all-commits] [llvm/llvm-project] 9753ea: MC, test: Migrate away from the .reloc constant hack
Fangrui Song via All-commits
all-commits at lists.llvm.org
Wed Jul 16 22:53:41 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9753ea83dd34bfb169fbed3995cc79e621ca6963
https://github.com/llvm/llvm-project/commit/9753ea83dd34bfb169fbed3995cc79e621ca6963
Author: Fangrui Song <i at maskray.me>
Date: 2025-07-16 (Wed, 16 Jul 2025)
Changed paths:
M llvm/test/MC/AArch64/directives-case_insensitive.s
M llvm/test/MC/AArch64/reloc-directive-err.s
M llvm/test/MC/AArch64/reloc-directive.s
M llvm/test/MC/AMDGPU/reloc-directive.s
M llvm/test/MC/ARM/reloc-directive-err.s
M llvm/test/MC/ARM/reloc-directive.s
M llvm/test/MC/AVR/reloc-directive-err.s
M llvm/test/MC/AVR/reloc-directive.s
M llvm/test/MC/LoongArch/Relocations/reloc-directive-err.s
M llvm/test/MC/LoongArch/Relocations/reloc-directive.s
M llvm/test/MC/Mips/reloc-directive-bad.s
M llvm/test/MC/Mips/reloc-directive.s
M llvm/test/MC/PowerPC/ppc32-reloc-directive.s
M llvm/test/MC/PowerPC/ppc64-reloc-directive.s
M llvm/test/MC/RISCV/reloc-directive-err.s
M llvm/test/MC/RISCV/reloc-directive.s
M llvm/test/MC/Sparc/Relocations/reloc-directive.s
M llvm/test/MC/SystemZ/reloc-directive.s
M llvm/test/MC/X86/reloc-directive-elf-32.s
M llvm/test/MC/X86/reloc-directive-elf-64.s
M llvm/test/MC/X86/reloc-directive.s
Log Message:
-----------
MC,test: Migrate away from the .reloc constant hack
The initial .reloc support for MIPS incorrectly interpreted .reloc 0 as .reloc .+0 .
I was misled when porting .reloc to other targets in 2019 and 2020.
Many PRINT: prefixes are unnecessary. The MCAsmStreamer implementation
is generic, and it is unnecessary to test too many variants.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list