* aout64.h (N_SHARED_LIB): Define as 0 if TEXT_START_ADDR is
authorIan Lance Taylor <ian@airs.com>
Mon, 12 Jul 1999 11:12:37 +0000 (11:12 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 12 Jul 1999 11:12:37 +0000 (11:12 +0000)
defined as 0.

include/aout/ChangeLog
include/aout/aout64.h

index 854cfd5b5cb26263432ab5528325bc96c3308222..63f17ec830da0a54763dc4e4c48b5bea550a23a2 100644 (file)
@@ -1,3 +1,8 @@
+1999-07-12  Ian Lance Taylor  <ian@zembu.com>
+
+       * aout64.h (N_SHARED_LIB): Define as 0 if TEXT_START_ADDR is
+       defined as 0.
+
 Sun Jun 28 11:33:48 1998  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
 
        * stab.def:  Add N_ALIAS from SunPro F77.
index 76f1140b68269e20e969f18f87b4e95912f56fb0..bf743c48666aca8d60ac2839ac49d13817ea84df 100644 (file)
@@ -121,8 +121,12 @@ struct external_exec
 /* Sun shared libraries, not linux.  This macro is only relevant for ZMAGIC
    files.  */
 #ifndef N_SHARED_LIB
+#if defined (TEXT_START_ADDR) && TEXT_START_ADDR == 0
+#define N_SHARED_LIB(x) (0)
+#else
 #define N_SHARED_LIB(x) ((x).a_entry < TEXT_START_ADDR)
 #endif
+#endif
 
 /* Returning 0 not TEXT_START_ADDR for OMAGIC and NMAGIC is based on
    the assumption that we are dealing with a .o file, not an
This page took 0.024962 seconds and 4 git commands to generate.