--- qemu/linux-user/ppc/syscall.h 2018/04/24 16:48:08 1.1.1.2 +++ qemu/linux-user/ppc/syscall.h 2018/04/24 17:22:56 1.1.1.4 @@ -14,8 +14,7 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library; if not, see . */ /* XXX: ABSOLUTELY BUGGY: @@ -51,6 +50,9 @@ struct target_revectored_struct { abi_ulong __map[8]; /* 256 bits */ }; +/* Nasty hack: define a fake errno value for use by sigreturn. */ +#define TARGET_QEMU_ESIGRETURN 255 + /* * flags masks */