[llvm] [RISCV] Support Parsing Nonstandard Relocations (PR #119909)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 3 19:44:19 PST 2025
================
@@ -0,0 +1,30 @@
+//===--- RISC-V Nonstandard Relocation List ---------------------*- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef ELF_RISCV_NONSTANDARD_RELOC
+#error "ELF_RISCV_NONSTANDARD_RELOC must be defined"
+#endif
+
+/*
+ ELF_RISCV_NONSTANDARD_RELOC(VENDOR, NAME, ID) defines information about
----------------
MaskRay wrote:
Prefer `//`
https://github.com/llvm/llvm-project/pull/119909
More information about the llvm-commits
mailing list