* armnbsd-tdep.c (arm_netbsd_aout_in_solib_call_trampoline): New

function.
(arm_netbsd_aout_init_abi): Initialize IN_SOLIB_CALL_TRAMPOLINE.
* config/arm/tm-nbsd.h: Don't include config/tm-nbsd.h, it only
defines one thing and that is incorrect for this port.
(IN_SOLIB_CALL_TRAMPOLINE): Delete.
This commit is contained in:
Richard Earnshaw 2002-02-19 11:46:21 +00:00
parent e1195560f8
commit 41d39a95af
3 changed files with 21 additions and 6 deletions

View file

@ -22,12 +22,6 @@
#define TM_NBSD_H
#include "arm/tm-arm.h"
#include "tm-nbsd.h"
/* Return non-zero if inside a shared-library entry stub. */
#undef IN_SOLIB_CALL_TRAMPOLINE
#define IN_SOLIB_CALL_TRAMPOLINE(pc, name) \
STREQ ((name), "_PROCEDURE_LINKAGE_TABLE_")
/* By convention, NetBSD uses the "other" register names. */
#define DEFAULT_REGISTER_NAMES additional_register_names