mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
65eaea2742
of aix4 need different handling than aix3. * configure: Updated. * config/powerpc/{aix4.mh,aix4.mt,tm-ppc-aix4.h}: New files specific to aix4 support on the power pc. * config/powerpc/tm-ppc-aix.h (DONT_RELOCATE_SYMFILE_OBJFILE): Do not defined. The aix4 specific target files will do that. * config/rs6000/{aix4,mh,aix4,mt,tm-rs6000-aix4.h}: New files specific to aix4 support on the rs6000. * config/rs6000/tm-rs6000.h (CONVERT_FROM_FUNC_PTR_ADDR): Don't do the conversion if the pointer is not a magic aix function pointer. * rs6000-tdep.c: Include objfiles.h and symtab.h. (is_magic_function_pointer): New function. * rs6000-tdep.c (skip_prologue): Refine check for frameless functions. Handle b .+4 emitted by aix4 compilers. Only allow one load of a minimal toc pointer. Handle aix4 compiler's code for alloca. * rs6000-tdep.c (find_toc_address): Report an error if no toc was found rather than possibly core dumping. * partial-stab.h: Handle extra field generated by the aix4 compiler for enumerations. * stabsread.c (read_enum_type): Likewise.
25 lines
776 B
Plaintext
25 lines
776 B
Plaintext
# Host: IBM PowerPC running AIX4
|
|
|
|
XM_FILE= xm-aix.h
|
|
XDEPFILES=
|
|
|
|
NAT_FILE= nm-aix.h
|
|
NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o rs6000-nat.o xcoffread.o
|
|
|
|
# When compiled with cc, for debugging, this argument should be passed.
|
|
# We have no idea who our current compiler is though, so we skip it.
|
|
# MH_CFLAGS = -bnodelcsect
|
|
|
|
# Because of shared libraries, we risk ending up with *two*
|
|
# incompatible versions of malloc if we use GNU malloc ...
|
|
MMALLOC =
|
|
MMALLOC_DISABLE = -DNO_MMALLOC
|
|
|
|
# A bug in the AIX 3.2 libc.a results in unresolved references for .scalb and
|
|
# .finite because we call ldexp via floatformat. Circumvent by adding -lm.
|
|
XM_CLIBS= -lm
|
|
|
|
# Rumor has it that libtermcap is "not really functional", and that
|
|
# -lcurses is better.
|
|
TERMCAP= -lcurses
|