emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/m/macppc.h


From: Andreas Schwab
Subject: [Emacs-diffs] Changes to emacs/src/m/macppc.h
Date: Sat, 23 Apr 2005 11:58:33 -0400

Index: emacs/src/m/macppc.h
diff -c emacs/src/m/macppc.h:1.9 emacs/src/m/macppc.h:1.10
*** emacs/src/m/macppc.h:1.9    Mon Sep  1 15:45:58 2003
--- emacs/src/m/macppc.h        Sat Apr 23 15:58:32 2005
***************
*** 86,96 ****
  
  #ifdef LINUX
  #define LINKER $(CC) -nostdlib
- #define LD_SWITCH_MACHINE -Xlinker -m -Xlinker elf32ppc
  /* s/gnu-linux.h defines this to `-z nocombreloc' which does not work here
     because prefix-args is not used.  */
  #undef LD_SWITCH_SYSTEM_TEMACS
  #define LD_SWITCH_MACHINE_TEMACS -Xlinker -znocombreloc
  #endif
  
  #if 0  /* This breaks things on PPC GNU/Linux ecept for Yellowdog,
--- 86,101 ----
  
  #ifdef LINUX
  #define LINKER $(CC) -nostdlib
  /* s/gnu-linux.h defines this to `-z nocombreloc' which does not work here
     because prefix-args is not used.  */
  #undef LD_SWITCH_SYSTEM_TEMACS
  #define LD_SWITCH_MACHINE_TEMACS -Xlinker -znocombreloc
+ #ifdef _ARCH_PPC64
+ #undef START_FILES
+ #define START_FILES pre-crt0.o /usr/lib64/crt1.o /usr/lib64/crti.o
+ #undef LIB_STANDARD
+ #define LIB_STANDARD -lgcc -lc -lgcc /usr/lib64/crtn.o
+ #endif
  #endif
  
  #if 0  /* This breaks things on PPC GNU/Linux ecept for Yellowdog,
***************
*** 105,109 ****
--- 110,120 ----
  #endif
  #endif /* 0 */
  
+ #ifdef _ARCH_PPC64
+ #ifndef _LP64
+ #define _LP64
+ #endif
+ #endif
+ 
  /* arch-tag: 41913e4e-e7d1-4023-aadb-210cc31712ed
     (do not change this comment) */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]