forked from Imagelibrary/binutils-gdb
2000-10-30 Michael Snyder <msnyder@cleaver.cygnus.com>
* config/sh/tm-linux.h: New file. Include generic tm-linux.h, plus tm-sh.h, then define SVR4_FETCH_LINK_MAP_OFFSETS to use the sh target function instead of the default link map offsets. * config/sh/sh.mt: Add solib.o and solib-svr4.o to TDEPFILES. Use sh/tm-linux.h instead of sh/tm-sh.h. * sh-tdep.c (sh_linux_svr4_fetch_link_map_offsets): New function. Construct target-specific link map offsets. * i386-linux-tdep.c (i386_linux_svr4_fetch_link_map_offsets: New function. Construct target-specific link map offsets. * config/i386/tm-linux.h: Use above function instead of default. 2000-10-30 Michael Snyder <msnyder@cleaver.cygnus.com> * config/i386/tm-linux.h: Remove definition of SVR4_SHARED_LIBS, and inclusion of solib.h. Move up into ../tm-linux.h. config/tm-linux.h: Define SVR4_SHARED_LIBS, include solib.h.
This commit is contained in:
@@ -34,3 +34,12 @@
|
||||
/* We need this file for the SOLIB_TRAMPOLINE stuff. */
|
||||
|
||||
#include "tm-sysv4.h"
|
||||
|
||||
/* We define SVR4_SHARED_LIBS unconditionally, on the assumption that
|
||||
link.h is available on all linux platforms. For I386 and SH3/4,
|
||||
we hard-code the information rather than use link.h anyway (for
|
||||
the benefit of cross-debugging). We may move to doing that for
|
||||
other architectures as well. */
|
||||
|
||||
#define SVR4_SHARED_LIBS
|
||||
#include "solib.h" /* Support for shared libraries. */
|
||||
|
||||
Reference in New Issue
Block a user