[llvm] [RISCV] Support Parsing Nonstandard Relocations (PR #119909)

Sam Elliott via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 6 02:22:11 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
----------------
lenary wrote:

Done

https://github.com/llvm/llvm-project/pull/119909


More information about the llvm-commits mailing list