Fix build breakage in rs6000-aix-tdep.c

A recent change to rs6000-aix-tdep.c broke the build.  This patch
fixes it by declaring a few target descriptions in ppc-tdep.h and then
not including the various features .c files in rs6000-aix-tdep.c.
This commit is contained in:
Tom Tromey 2023-03-16 07:48:22 -06:00
parent 74975df62c
commit 5a9affd7b8
2 changed files with 6 additions and 5 deletions

View File

@ -450,4 +450,10 @@ struct ppc_inferior_data
extern ppc_inferior_data * get_ppc_per_inferior (inferior *inf);
extern const struct target_desc *tdesc_powerpc_vsx64l;
extern const struct target_desc *tdesc_powerpc_vsx64;
extern const struct target_desc *tdesc_powerpc_vsx32;
extern const struct target_desc *tdesc_powerpc_altivec64;
extern const struct target_desc *tdesc_powerpc_altivec32;
#endif /* ppc-tdep.h */

View File

@ -40,11 +40,6 @@
#include "trad-frame.h"
#include "frame-unwind.h"
#include "features/rs6000/powerpc-altivec32.c"
#include "features/rs6000/powerpc-vsx32.c"
#include "features/rs6000/powerpc-altivec64.c"
#include "features/rs6000/powerpc-vsx64.c"
/* If the kernel has to deliver a signal, it pushes a sigcontext
structure on the stack and then calls the signal handler, passing
the address of the sigcontext in an argument register. Usually