Made N_TXTADDR do the righ thing with shared libs.
This commit is contained in:
parent
6d88cc0622
commit
c1d02ec5a3
6
gnu/dist/include/aout/netbsd.h
vendored
6
gnu/dist/include/aout/netbsd.h
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user