# HG changeset patch # User Gerd Moellmann # Date 1000726635 0 # Node ID ac26c99a7a0c4a687b4f4950cd82bb73d7233b1c # Parent a20fe977ce513723aa62db06b66517b72ab1359f (DATA_SEG_BITS) [__linux__]: Define for GCC versions >= 2.95. diff -r a20fe977ce51 -r ac26c99a7a0c src/m/macppc.h --- a/src/m/macppc.h Mon Sep 17 10:02:51 2001 +0000 +++ b/src/m/macppc.h Mon Sep 17 11:37:15 2001 +0000 @@ -1,5 +1,5 @@ /* machine description file For the powerpc Macintosh. - Copyright (C) 1994 Free Software Foundation, Inc. + Copyright (C) 1994, 2001 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -97,3 +97,8 @@ #define LINKER $(CC) -nostdlib #define LD_SWITCH_MACHINE -Xlinker -m -Xlinker elf32ppc #endif + +/* GCC 2.95 on GNU/Linux PPC changed the load address to 0x10000000. */ +#if defined(__linux__) && __GNUC__ == 2 && __GNUC_MINOR__ >= 95 +#define DATA_SEG_BITS 0x10000000 +#endif