From 686216945a7873237bf892bbe38a2eef23aadeba Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Wed, 15 Jun 2022 13:02:17 -0700 Subject: Remove remnant reference to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA This fixes nios2 build after commit de38b2a343e6d64b95c50004943d6107a9e380d0. --- sysdeps/nios2/dl-machine.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sysdeps/nios2') diff --git a/sysdeps/nios2/dl-machine.h b/sysdeps/nios2/dl-machine.h index 9a35cf4160..9d1c241792 100644 --- a/sysdeps/nios2/dl-machine.h +++ b/sysdeps/nios2/dl-machine.h @@ -166,8 +166,7 @@ _start:\n\ || (type) == R_NIOS2_TLS_DTPMOD \ || (type) == R_NIOS2_TLS_DTPREL \ || (type) == R_NIOS2_TLS_TPREL) * ELF_RTYPE_CLASS_PLT) \ - | (((type) == R_NIOS2_COPY) * ELF_RTYPE_CLASS_COPY) \ - | (((type) == R_NIOS2_GLOB_DAT) * ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA)) + | (((type) == R_NIOS2_COPY) * ELF_RTYPE_CLASS_COPY)) /* A reloc type used for ld.so cmdline arg lookups to reject PLT entries. */ #define ELF_MACHINE_JMP_SLOT R_NIOS2_JUMP_SLOT -- cgit 1.4.1