From 9decdd7bd105ff6a0973cc1f6652e0eb0625d640 Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Wed, 16 Sep 2015 21:20:46 -0400 Subject: Support i[456]86-pc{,-linux,-kfreebsd}-gnu.h * src/mkheader (canon_host_triplet): Add new entries. * src/syscfg/lock-obj-pub.i486-pc-gnu.h: Rename to ... * src/syscfg/lock-obj-pub.i686-pc-gnu.h: this. * src/syscfg/lock-obj-pub.i486-pc-kfreebsd-gnu.h: Rename to ... * src/syscfg/lock-obj-pub.i686-pc-kfreebsd-gnu.h: this. * src/syscfg/lock-obj-pub.i486-pc-linux-gnu.h: Remove. * src/Makefile.am (lock_obj_pub): Update. -- i486-pc, i586-pc, and i686-pc all use the same ABI given the GNU userland and a specific kernel. This changeset updates the arch-specific lock-obj header generation to treat the hardware aliases explicitly and should improve cross-building for anyone wanting to target any of these 9 architectures. It also removes src/syscfg/lock-obj-pub.i486-pc-linux-gnu.h, which should be handled by the alias to src/syscfg/lock-obj-pub.i686-pc-linux-gnu.h Debian-Bug-Id: 799177 --- src/mkheader.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mkheader.c') diff --git a/src/mkheader.c b/src/mkheader.c index b8fd783..875a0f5 100644 --- a/src/mkheader.c +++ b/src/mkheader.c @@ -77,6 +77,10 @@ canon_host_triplet (const char *triplet) } tbl[] = { {"i486-pc-linux-gnu", "i686-pc-linux-gnu" }, {"i586-pc-linux-gnu" }, + {"i486-pc-gnu", "i686-pc-gnu"}, + {"i586-pc-gnu"}, + {"i486-pc-kfreebsd-gnu", "i686-pc-kfreebsd-gnu"}, + {"i586-pc-kfreebsd-gnu"}, { NULL } }; -- cgit v1.2.3