Patchwork [hppa] add multiarch definitions for hppa-linux-gnu

login
register
mail settings
Submitter Matthias Klose
Date Nov. 14, 2012, 10:34 p.m.
Message ID <50A41C6F.7040900@ubuntu.com>
Download mbox | patch
Permalink /patch/199046/
State New
Headers show

Comments

Matthias Klose - Nov. 14, 2012, 10:34 p.m.
The following patch adds the multiarch definitions for hppa-linux-gnu. Tested
using a Debian/Ubuntu package build. Ok for the trunk?

  Matthias

Patch

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"