Module Name:    src
Committed By:   jkoshy
Date:           Mon Feb 10 18:52:26 UTC 2025

Modified Files:
        src/external/bsd/elftoolchain/dist/common/sys: elfconstants.m4

Log Message:
Use a numeric value for a relocation type synonym.

This should fix a build failure on x86.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 \
    src/external/bsd/elftoolchain/dist/common/sys/elfconstants.m4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/elftoolchain/dist/common/sys/elfconstants.m4
diff -u src/external/bsd/elftoolchain/dist/common/sys/elfconstants.m4:1.8 src/external/bsd/elftoolchain/dist/common/sys/elfconstants.m4:1.9
--- src/external/bsd/elftoolchain/dist/common/sys/elfconstants.m4:1.8	Mon Feb 10 15:54:16 2025
+++ src/external/bsd/elftoolchain/dist/common/sys/elfconstants.m4	Mon Feb 10 18:52:26 2025
@@ -1,4 +1,4 @@
-dnl 	$NetBSD: elfconstants.m4,v 1.8 2025/02/10 15:54:16 jkoshy Exp $
+dnl 	$NetBSD: elfconstants.m4,v 1.9 2025/02/10 18:52:26 jkoshy Exp $
 # Copyright (c) 2010,2021 Joseph Koshy
 # All rights reserved.
 
@@ -1767,7 +1767,7 @@ _(R_386_GOT32X,		43)
 ')
 
 define(`DEFINE_386_RELOCATION_TYPE_SYNONYMS',`
-_(R_386_JMP_SLOT, R_386_JUMP_SLOT)
+_(R_386_JMP_SLOT, 7)
 ')
 
 define(`DEFINE_AARCH64_RELOCATION_TYPES',`

Reply via email to