|
|
@@ -4011,6 +4011,15 @@ aot_resolve_object_relocation_group(AOTObjectData *obj_data,
|
|
|
#if LLVM_VERSION_MAJOR >= 16
|
|
|
/* cf. https://reviews.llvm.org/D123264 */
|
|
|
|| str_starts_with(relocation->symbol_name, ".Lpcrel_hi")
|
|
|
+#endif
|
|
|
+#if LLVM_VERSION_MAJOR >= 19
|
|
|
+ /* cf.
|
|
|
+ * https://github.com/llvm/llvm-project/pull/95031
|
|
|
+ * https://github.com/llvm/llvm-project/pull/89693
|
|
|
+ *
|
|
|
+ * note: the trailing space in ".L0 " is intentional. */
|
|
|
+ || !strcmp(relocation->symbol_name, "")
|
|
|
+ || !strcmp(relocation->symbol_name, ".L0 ")
|
|
|
#endif
|
|
|
)) {
|
|
|
/* change relocation->relocation_addend and
|