Source-Changes-HG archive

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

[src/trunk]: src/gnu/dist/include/aout Made N_TXTADDR do the righ thing with ...



details:   https://anonhg.NetBSD.org/src/rev/b10141ed886f
branches:  trunk
changeset: 480071:b10141ed886f
user:      kristerw <kristerw%NetBSD.org@localhost>
date:      Sat Jan 01 20:52:57 2000 +0000

description:
Made N_TXTADDR do the righ thing with shared libs.

diffstat:

 gnu/dist/include/aout/netbsd.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (16 lines):

diff -r 107fcb129da2 -r b10141ed886f gnu/dist/include/aout/netbsd.h
--- a/gnu/dist/include/aout/netbsd.h    Sat Jan 01 19:56:59 2000 +0000
+++ b/gnu/dist/include/aout/netbsd.h    Sat Jan 01 20:52:57 2000 +0000
@@ -25,9 +25,9 @@
 #define N_TXTADDR(x) \
     (N_IS_QMAGIC (x) ? TARGET_PAGE_SIZE + EXEC_BYTES_SIZE : \
      N_MAGIC(x) != ZMAGIC ? 0 :                                    \
-     N_HEADER_IN_TEXT(x)  ?                                \
-           TEXT_START_ADDR + EXEC_BYTES_SIZE :             \
-           TEXT_START_ADDR                                 \
+     N_SHARED_LIB(x) ?                                      \
+           EXEC_BYTES_SIZE :                               \
+           TEXT_START_ADDR + EXEC_BYTES_SIZE               \
     )
 
 /* When a file is linked against a shared library on NetBSD, the



Home | Main Index | Thread Index | Old Index