summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorgwr <gwr@NetBSD.org>1997-09-24 18:08:08 +0000
committergwr <gwr@NetBSD.org>1997-09-24 18:08:08 +0000
commitdfe47bfbbbee82a9f849d488bc26c551a2eb7e9f (patch)
treea3ddd3f3565b8fb1db26e6e668cd9fa539516dee /gnu
parentc11a925750872e75e471b0c075afe25df926fe3c (diff)
Set MY_entry_is_text_address (so we can debug a SunOS kernel).
Diffstat (limited to 'gnu')
-rw-r--r--gnu/dist/bfd/sunos.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/dist/bfd/sunos.c b/gnu/dist/bfd/sunos.c
index 8e97bc553ef..d42c2acc9b4 100644
--- a/gnu/dist/bfd/sunos.c
+++ b/gnu/dist/bfd/sunos.c
@@ -77,6 +77,10 @@ static boolean sunos_finish_dynamic_link
#define MY_write_dynamic_symbol sunos_write_dynamic_symbol
#define MY_check_dynamic_reloc sunos_check_dynamic_reloc
#define MY_finish_dynamic_link sunos_finish_dynamic_link
+
+/* On SunOS, the entry point may be taken to be the start of the text
+ section. */
+#define MY_entry_is_text_address 1
/* ??? Where should this go? */
#define MACHTYPE_OK(mtype) \