From 4d3a162d001a93edd285fb6603a883c30ae553ba Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Thu, 17 Oct 2019 16:06:12 -0400 Subject: remove use of endian.h from arch reloc.h headers, clean up building on commit 97d35a552ec5b6ddf7923dd2f9a8eb973526acea, __BYTE_ORDER is now available wherever alltypes.h is included. since reloc.h is only used from src/internal/dynlink.h, it can be assumed that __BYTE_ORDER is exposed. reloc.h is not permitted to be included in other contexts, and generally, like most arch headers, lacks inclusion guards that would allow such usage. the mips64 version mistakenly included such guards; they are removed for consistency. --- arch/mips64/reloc.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'arch/mips64/reloc.h') diff --git a/arch/mips64/reloc.h b/arch/mips64/reloc.h index bbd9bd9d..7e61e225 100644 --- a/arch/mips64/reloc.h +++ b/arch/mips64/reloc.h @@ -1,9 +1,3 @@ -#ifndef __RELOC_H__ -#define __RELOC_H__ - -#define _GNU_SOURCE -#include - #if __mips_isa_rev >= 6 #define ISA_SUFFIX "r6" #else @@ -62,5 +56,3 @@ " daddu %0, %0, $ra \n" \ ".set pop \n" \ : "=r"(*(fp)) : : "memory", "ra" ) - -#endif -- cgit v1.2.1