From 2749d28e1bd80262749657ee4a60e5b1f75b6cb8 Mon Sep 17 00:00:00 2001 From: Dan Nicolaescu Date: Thu, 17 Jul 2008 13:57:13 +0000 Subject: * ecrt0.c: Remove code depending on m68000, not used anymore. * fns.c (hash_remove): Make static. * lisp.h (hash_remove): Don't prototype. * m/ibmrs6000.h: * m/ibms390x.h: * m/macppc.h: Remove boilerplate comments. * m/sparc.h (A_TEXT_OFFSET, A_TEXT_SEEK): Remove, only used on Solaris, which does not need them. * m/vax.h: Remove comments about unsupported systems. * s/darwin.h: Reorganize ifdefs. --- src/m/sparc.h | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/m/sparc.h') diff --git a/src/m/sparc.h b/src/m/sparc.h index e75094fa7d..c4d7c0698f 100644 --- a/src/m/sparc.h +++ b/src/m/sparc.h @@ -55,21 +55,6 @@ NOTE-END */ #define SEGMENT_MASK (SEGSIZ - 1) -#if !defined (__NetBSD__) && !defined (__linux__) && !defined (__OpenBSD__) -/* This really belongs in s/sun.h. */ - -/* Say that the text segment of a.out includes the header; - the header actually occupies the first few bytes of the text segment - and is counted in hdr.a_text. */ - -#define A_TEXT_OFFSET(HDR) sizeof (HDR) - -/* This is the offset of the executable's text, from the start of the file. */ - -#define A_TEXT_SEEK(HDR) (N_TXTOFF (hdr) + sizeof (hdr)) - -#endif /* not __NetBSD__ and not __linux__ and not __OpenBSD__ */ - #ifdef __arch64__ /* GCC, 64-bit ABI. */ #define BITS_PER_LONG 64 #ifdef __linux__ -- cgit v1.2.3