]> Cypherpunks repositories - gostls13.git/commitdiff
libmach: use Go's ureg headers on Plan 9
authorDavid du Colombier <0intro@gmail.com>
Wed, 8 Jan 2014 22:34:11 +0000 (23:34 +0100)
committerDavid du Colombier <0intro@gmail.com>
Wed, 8 Jan 2014 22:34:11 +0000 (23:34 +0100)
    The CL 49090043 renamed Ureg structures to Ureg386,
    UregArm and UregAmd64. This broke build on Plan 9,
    since ureg_x86.h includes /386/include/ureg.h, which
    declares a structure named Ureg instead of Ureg386.

R=golang-codereviews, bradfitz
CC=golang-codereviews, rsc
https://golang.org/cl/49260043

include/plan9/ureg_amd64.h
include/plan9/ureg_arm.h
include/plan9/ureg_x86.h

index 8aaa83f526fcfaa27a535a7a35c020b001c83d5c..a7d6ed1fc613b2ad9949a2be38bfafe02021d2eb 100644 (file)
@@ -2,4 +2,4 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-#include "/amd64/include/ureg.h"
+#include "../ureg_amd64.h"
index f83c19a2f38d4301b8b4737bdc7f3e8fd681ef0b..fdb0d27ea3854944f26664fc985a167cb644769b 100644 (file)
@@ -2,4 +2,4 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-#include "/arm/include/ureg.h"
+#include "../ureg_arm.h"
index 7d73a486530680c5a6abbcdd449413996f4cf752..6fc4819324dfbdd9f300540e722a9cc45ad9d29b 100644 (file)
@@ -2,4 +2,4 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-#include "/386/include/ureg.h"
+#include "../ureg_x86.h"