Shared library, function calling fixes for GNU/Linux PPC port.

This commit is contained in:
Kevin Buettner
2000-02-24 23:06:48 +00:00
parent 60f036a265
commit 482ca3f5dc
4 changed files with 59 additions and 4 deletions

View File

@@ -93,6 +93,13 @@ CORE_ADDR ppc_sysv_abi_push_arguments PARAMS ((int, struct value **, CORE_ADDR,
#define PROLOGUE_FIRSTLINE_OVERLAP
#endif
/* Needed to handled the self-modifying code situation due to the dynamic
linker. */
int ppc_linux_memory_remove_breakpoint (CORE_ADDR addr, char *contents_cache);
#undef MEMORY_REMOVE_BREAKPOINT
#define MEMORY_REMOVE_BREAKPOINT(addr, contents_cache) \
ppc_linux_memory_remove_breakpoint(addr, contents_cache)
/* N_FUN symbols in shared libaries have 0 for their values and need
to be relocated. */
#define SOFUN_ADDRESS_MAYBE_MISSING