The attached patch enables building pa-c.d on all hppa targets. Tested on hppa64-linux-gnu, hppa64-hp-hpux11.11 and hppa2.0w-hp-hpux11.11.
https://gcc.gnu.org/ml/gcc-testresults/2018-12/msg03264.html https://gcc.gnu.org/ml/gcc-testresults/2018-12/msg02928.html As can be seen, the 64-bit test results are much better than the 32-bit results. Dave -- John David Anglin dave.ang...@bell.net
2018-12-29 John David Anglin <dang...@gcc.gnu.org> * config.gcc (hppa*64*-*-linux*): Add pa/t-pa to tmake_file. Define d_target_objs. (hppa*-*-openbsd*): Likewise. (hppa[12]*-*-hpux10*): Likewise. (hppa*64*-*-hpux11*): Likewise. (hppa[12]*-*-hpux11*): Likewise. Index: config.gcc =================================================================== --- config.gcc (revision 267418) +++ config.gcc (working copy) @@ -1436,6 +1436,8 @@ tm_file="pa/pa64-start.h ${tm_file} dbxelf.h elfos.h gnu-user.h linux.h \ glibc-stdint.h pa/pa-linux.h pa/pa64-regs.h pa/pa-64.h \ pa/pa64-linux.h" + tmake_file="${tmake_file} pa/t-pa pa/t-linux" + d_target_objs="${d_target_objs} pa-d.o" gas=yes gnu_ld=yes ;; hppa*-*-linux*) @@ -1450,6 +1452,8 @@ tm_file="${tm_file} dbxelf.h elfos.h openbsd.h openbsd-stdint.h openbsd-libpthread.h \ pa/pa-openbsd.h pa/pa32-regs.h pa/pa32-openbsd.h" extra_options="${extra_options} openbsd.opt" + tmake_file="pa/t-pa" + d_target_objs="${d_target_objs} pa-d.o" gas=yes gnu_ld=yes ;; @@ -1470,7 +1474,8 @@ esac use_gcc_stdint=provide tm_file="${tm_file} hpux-stdint.h" - tmake_file="t-slibgcc" + tmake_file="pa/t-pa t-slibgcc" + d_target_objs="${d_target_objs} pa-d.o" case ${enable_threads} in "") if test x$have_pthread_h = xyes ; then @@ -1512,7 +1517,8 @@ esac extra_options="${extra_options} pa/pa-hpux.opt \ pa/pa-hpux1010.opt pa/pa64-hpux.opt hpux11.opt" - tmake_file="t-slibgcc" + tmake_file="pa/t-pa t-slibgcc" + d_target_objs="${d_target_objs} pa-d.o" case x${enable_threads} in x | xyes | xposix ) thread_file=posix @@ -1550,7 +1556,8 @@ extra_options="${extra_options} pa/pa-hpux1131.opt" ;; esac - tmake_file="t-slibgcc" + tmake_file="pa/t-pa t-slibgcc" + d_target_objs="${d_target_objs} pa-d.o" case x${enable_threads} in x | xyes | xposix ) thread_file=posix