This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] [hppa] add multiarch definitions for hppa-linux-gnu
- From: Matthias Klose <doko at ubuntu dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 14 Nov 2012 23:34:23 +0100
- Subject: [patch] [hppa] add multiarch definitions for hppa-linux-gnu
The following patch adds the multiarch definitions for hppa-linux-gnu. Tested
using a Debian/Ubuntu package build. Ok for the trunk?
Matthias
2012-11-14 Matthias Klose <doko@ubuntu.com>
* config/pa/t-linux: New file; define MULTIARCH_DIRNAME.
* config.gcc <hppa*64*-*-linux*, hppa*-*-linux*> (tmake_file):
Include pa/t-linux.
Index: config/pa/t-linux
===================================================================
--- config/pa/t-linux (revision 0)
+++ config/pa/t-linux (revision 0)
@@ -0,0 +1 @@
+MULTIARCH_DIRNAME = $(call if_multiarch,hppa-linux-gnu)
Index: config.gcc
===================================================================
--- config.gcc (revision 193508)
+++ config.gcc (working copy)
@@ -1047,6 +1048,7 @@
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-linux"
gas=yes gnu_ld=yes
need_64bit_hwint=yes
;;
@@ -1054,6 +1056,7 @@
target_cpu_default="MASK_PA_11|MASK_NO_SPACE_REGS"
tm_file="${tm_file} dbxelf.h elfos.h gnu-user.h linux.h glibc-stdint.h pa/pa-linux.h \
pa/pa32-regs.h pa/pa32-linux.h"
+ tmake_file="${tmake_file} pa/t-linux"
;;
hppa*-*-openbsd*)
target_cpu_default="MASK_PA_11"