[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Accept sh[12]eb in machine part of tuples
From: |
Rich Felker |
Subject: |
[PATCH] Accept sh[12]eb in machine part of tuples |
Date: |
Mon, 17 Aug 2015 12:11:33 -0400 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Most if not all actual sh2 hardware is big-endian, but since sh4-linux
was originally little-endian, the convention gcc uses is that
sh*-linux is considered little-endian unless there's a suffix to
override it. Thus it's presently impossible to get a big-endian
sh2-linux configuration. Reportedly passing sh2eb as the target worked
at some point in the past (gcc 4.2 era?) but was later broken. This
patch fixes it.
Rich
sh2eb.diff
Description: Text document
- [PATCH] Accept sh[12]eb in machine part of tuples,
Rich Felker <=