1bb6c193eSAndrew Turner /*- 2bb6c193eSAndrew Turner * Copyright (c) 2013 Andrew Turner <andrew@FreeBSD.ORG> 3bb6c193eSAndrew Turner * All rights reserved. 4bb6c193eSAndrew Turner * 5bb6c193eSAndrew Turner * Redistribution and use in source and binary forms, with or without 6bb6c193eSAndrew Turner * modification, are permitted provided that the following conditions 7bb6c193eSAndrew Turner * are met: 8bb6c193eSAndrew Turner * 1. Redistributions of source code must retain the above copyright 9bb6c193eSAndrew Turner * notice, this list of conditions and the following disclaimer. 10bb6c193eSAndrew Turner * 2. Redistributions in binary form must reproduce the above copyright 11bb6c193eSAndrew Turner * notice, this list of conditions and the following disclaimer in the 12bb6c193eSAndrew Turner * documentation and/or other materials provided with the distribution. 13bb6c193eSAndrew Turner * 14bb6c193eSAndrew Turner * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15bb6c193eSAndrew Turner * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16bb6c193eSAndrew Turner * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17bb6c193eSAndrew Turner * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18bb6c193eSAndrew Turner * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19bb6c193eSAndrew Turner * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20bb6c193eSAndrew Turner * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21bb6c193eSAndrew Turner * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22bb6c193eSAndrew Turner * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23bb6c193eSAndrew Turner * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24bb6c193eSAndrew Turner * SUCH DAMAGE. 25bb6c193eSAndrew Turner */ 26bb6c193eSAndrew Turner 27bb6c193eSAndrew Turner #define FENV_MANGLE(x) __vfp_ ##x 28bb6c193eSAndrew Turner #include "fenv-mangle.h" 29*2c0e9e2aSWarner Losh #ifndef __ARM_PCS_VFP 30*2c0e9e2aSWarner Losh #define __ARM_PCS_VFP 1 31*2c0e9e2aSWarner Losh #endif 32bb6c193eSAndrew Turner #include "fenv.c" 33bb6c193eSAndrew Turner 34