f6528abd64
* Makefile.in (RDYNAMIC): New. (SFILES): Add proc-service.list. * config/alpha/alpha-linux.mh (NAT_CDEPS): New. (LOADLIBES): Replace -rdynamic by $(RDYNAMIC). * config/arm/linux.mh: Likewise. * config/i386/linux.mh: Likewise. * config/i386/linux64.mh: Likewise. * config/ia64/linux.mh: Likewise. * config/m32r/linux.mh: Likewise. * config/m68k/linux.mh: Likewise. * config/mips/linux.mh: Likewise. * config/pa/linux.mh: Likewise. * config/powerpc/linux.mh: Likewise. * config/powerpc/ppc64-linux.mh: Likewise. * config/s390/s390.mh: Likewise. * config/sparc/linux.mh: Likewise. * config/sparc/linux64.mh: Likewise. * config/xtensa/linux.mh: Likewise. * configure.ac: New RDYNAMIC on native host and GCC. (solaris*): Replace -Wl,-export-dynamic by $RDYNAMIC. * configure: Regenerate. * proc-service.list: New. gdb/gdbserver/ * Makefile.in (SFILES): Add $(srcdir)/proc-service.list. (CDEPS): New. * configure.ac (RDYNAMIC): New AC_MSG_CHECKING wrapping. Test also -Wl,--dynamic-list. * configure: Regenerate. * proc-service.list: New.
19 lines
602 B
Text
19 lines
602 B
Text
# Host: PowerPC64, running Linux
|
|
|
|
XM_CLIBS=
|
|
|
|
NAT_FILE= config/nm-linux.h
|
|
NATDEPFILES= inf-ptrace.o fork-child.o \
|
|
ppc-linux-nat.o proc-service.o linux-thread-db.o \
|
|
linux-nat.o linux-fork.o
|
|
NAT_CDEPS = $(srcdir)/proc-service.list
|
|
|
|
# The PowerPC has severe limitations on TOC size, and uses them even
|
|
# for non-PIC code. GDB overflows those tables when compiling with
|
|
# -mfull-toc (the default), so we need to ask GCC to use as few TOC
|
|
# entries as possible.
|
|
MH_CFLAGS= -mminimal-toc
|
|
|
|
# The dynamically loaded libthread_db needs access to symbols in the
|
|
# gdb executable.
|
|
LOADLIBES= -ldl $(RDYNAMIC)
|