Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcvs2svn <>1999-07-17 19:40:18 +0400
committercvs2svn <>1999-07-17 19:40:18 +0400
commita5db69f1d05f0a2b4d17092ec60c53dc42b3f245 (patch)
treea8a8441058d4fa7fa6bbaa3303fb3883465cbcc1 /include/aout/aout64.h
parenta3acbf46947e52ff596461a4cf6f539884c9dbbd (diff)
This commit was manufactured by cvs2svn to create tag 'binu_ss_19990721'.binu_ss_19990721
Sprout from cygnus 1999-05-03 07:29:06 UTC Richard Henderson <rth@redhat.com> '19990502 sourceware import' Cherrypick from master 1999-07-17 15:40:17 UTC Nick Clifton <nickc@redhat.com> 'Rename F_SOFTFLOAt to F_SOFT_FLOAT for compatability with include/elf/arm.h': ChangeLog Makefile.in config.guess config.sub configure configure.in include/ChangeLog include/ansidecl.h include/aout/ChangeLog include/aout/aout64.h include/bfdlink.h include/coff/ChangeLog include/coff/arm.h include/coff/internal.h include/coff/mcore.h include/dis-asm.h include/elf/ChangeLog include/elf/arm.h include/elf/common.h include/elf/dwarf.h include/elf/dwarf2.h include/elf/hppa.h include/elf/i960.h include/elf/m68k.h include/elf/mcore.h include/elf/mips.h include/elf/reloc-macros.h include/elf/sparc.h include/opcode/ChangeLog include/opcode/hppa.h include/opcode/i386.h include/opcode/m68k.h include/opcode/ppc.h texinfo/texinfo.tex
Diffstat (limited to 'include/aout/aout64.h')
-rw-r--r--include/aout/aout64.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/aout/aout64.h b/include/aout/aout64.h
index 76f1140b6..bf743c486 100644
--- a/include/aout/aout64.h
+++ b/include/aout/aout64.h
@@ -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