x86_64/i386 fenv: Replace symlink with include fenv_stub.c
Having symlinks for these files led to an issue reported to the RTEMS Project that showed up using some tar for native Windows to unpack the newlib sources. It creates symlinks in the tar file as copies of the files the symlinks point to. If the links appear in the tar file before the source exists, it cannot copy the file. The solution in this patch is to convert the files that are symbolic links into simple files which include the file they were linked to. This should be more portable and avoids the symbolinc link problem.
This commit is contained in:
parent
17528b9d2c
commit
fbaa096772
|
@ -1 +0,0 @@
|
|||
../../fenv/fenv_stub.c
|
|
@ -0,0 +1,7 @@
|
|||
/*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*
|
||||
* (c) Copyright 2019 Joel Sherrill <joel@rtems.org>
|
||||
*/
|
||||
|
||||
#include "../../fenv/fenv_stub.c"
|
|
@ -1 +0,0 @@
|
|||
../../fenv/fenv_stub.c
|
|
@ -0,0 +1,7 @@
|
|||
/*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*
|
||||
* (c) Copyright 2019 Joel Sherrill <joel@rtems.org>
|
||||
*/
|
||||
|
||||
#include "../../fenv/fenv_stub.c"
|
|
@ -1 +0,0 @@
|
|||
../../fenv/fenv_stub.c
|
|
@ -0,0 +1,7 @@
|
|||
/*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*
|
||||
* (c) Copyright 2019 Joel Sherrill <joel@rtems.org>
|
||||
*/
|
||||
|
||||
#include "../../fenv/fenv_stub.c"
|
|
@ -1 +0,0 @@
|
|||
../../fenv/fenv_stub.c
|
|
@ -0,0 +1,7 @@
|
|||
/*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*
|
||||
* (c) Copyright 2019 Joel Sherrill <joel@rtems.org>
|
||||
*/
|
||||
|
||||
#include "../../fenv/fenv_stub.c"
|
|
@ -1 +0,0 @@
|
|||
../../fenv/fenv_stub.c
|
|
@ -0,0 +1,7 @@
|
|||
/*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*
|
||||
* (c) Copyright 2019 Joel Sherrill <joel@rtems.org>
|
||||
*/
|
||||
|
||||
#include "../../fenv/fenv_stub.c"
|
|
@ -1 +0,0 @@
|
|||
../x86_64/fenv.c
|
|
@ -0,0 +1,7 @@
|
|||
/*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*
|
||||
* (c) Copyright 2019 Joel Sherrill <joel@rtems.org>
|
||||
*/
|
||||
|
||||
#include "../../fenv/fenv_stub.c"
|
|
@ -1 +0,0 @@
|
|||
../../fenv/fenv_stub.c
|
|
@ -0,0 +1,7 @@
|
|||
/*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*
|
||||
* (c) Copyright 2019 Joel Sherrill <joel@rtems.org>
|
||||
*/
|
||||
|
||||
#include "../../fenv/fenv_stub.c"
|
|
@ -1 +0,0 @@
|
|||
../../fenv/fenv_stub.c
|
|
@ -0,0 +1,7 @@
|
|||
/*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*
|
||||
* (c) Copyright 2019 Joel Sherrill <joel@rtems.org>
|
||||
*/
|
||||
|
||||
#include "../../fenv/fenv_stub.c"
|
|
@ -1 +0,0 @@
|
|||
../../fenv/fenv_stub.c
|
|
@ -0,0 +1,7 @@
|
|||
/*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*
|
||||
* (c) Copyright 2019 Joel Sherrill <joel@rtems.org>
|
||||
*/
|
||||
|
||||
#include "../../fenv/fenv_stub.c"
|
|
@ -1 +0,0 @@
|
|||
../../fenv/fenv_stub.c
|
|
@ -0,0 +1,7 @@
|
|||
/*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*
|
||||
* (c) Copyright 2019 Joel Sherrill <joel@rtems.org>
|
||||
*/
|
||||
|
||||
#include "../../fenv/fenv_stub.c"
|
|
@ -1 +0,0 @@
|
|||
../../fenv/fenv_stub.c
|
|
@ -0,0 +1,7 @@
|
|||
/*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*
|
||||
* (c) Copyright 2019 Joel Sherrill <joel@rtems.org>
|
||||
*/
|
||||
|
||||
#include "../../fenv/fenv_stub.c"
|
|
@ -1 +0,0 @@
|
|||
../../fenv/fenv_stub.c
|
|
@ -0,0 +1,7 @@
|
|||
/*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*
|
||||
* (c) Copyright 2019 Joel Sherrill <joel@rtems.org>
|
||||
*/
|
||||
|
||||
#include "../../fenv/fenv_stub.c"
|
|
@ -1 +0,0 @@
|
|||
../../fenv/fenv_stub.c
|
|
@ -0,0 +1,7 @@
|
|||
/*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*
|
||||
* (c) Copyright 2019 Joel Sherrill <joel@rtems.org>
|
||||
*/
|
||||
|
||||
#include "../../fenv/fenv_stub.c"
|
|
@ -1 +0,0 @@
|
|||
../../fenv/fenv_stub.c
|
|
@ -0,0 +1,7 @@
|
|||
/*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*
|
||||
* (c) Copyright 2019 Joel Sherrill <joel@rtems.org>
|
||||
*/
|
||||
|
||||
#include "../../fenv/fenv_stub.c"
|
|
@ -1 +0,0 @@
|
|||
../../fenv/fenv_stub.c
|
|
@ -0,0 +1,7 @@
|
|||
/*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*
|
||||
* (c) Copyright 2019 Joel Sherrill <joel@rtems.org>
|
||||
*/
|
||||
|
||||
#include "../../fenv/fenv_stub.c"
|
|
@ -1 +0,0 @@
|
|||
../../fenv/fenv_stub.c
|
|
@ -0,0 +1,7 @@
|
|||
/*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*
|
||||
* (c) Copyright 2019 Joel Sherrill <joel@rtems.org>
|
||||
*/
|
||||
|
||||
#include "../../fenv/fenv_stub.c"
|
|
@ -1 +0,0 @@
|
|||
../../fenv/fenv_stub.c
|
|
@ -0,0 +1,7 @@
|
|||
/*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*
|
||||
* (c) Copyright 2019 Joel Sherrill <joel@rtems.org>
|
||||
*/
|
||||
|
||||
#include "../../fenv/fenv_stub.c"
|
|
@ -1 +0,0 @@
|
|||
../../fenv/fenv_stub.c
|
|
@ -0,0 +1,7 @@
|
|||
/*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*
|
||||
* (c) Copyright 2019 Joel Sherrill <joel@rtems.org>
|
||||
*/
|
||||
|
||||
#include "../../fenv/fenv_stub.c"
|
|
@ -1 +0,0 @@
|
|||
../../fenv/fenv_stub.c
|
|
@ -0,0 +1,7 @@
|
|||
/*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*
|
||||
* (c) Copyright 2019 Joel Sherrill <joel@rtems.org>
|
||||
*/
|
||||
|
||||
#include "../../fenv/fenv_stub.c"
|
|
@ -1 +0,0 @@
|
|||
../../fenv/fenv_stub.c
|
|
@ -0,0 +1,7 @@
|
|||
/*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*
|
||||
* (c) Copyright 2019 Joel Sherrill <joel@rtems.org>
|
||||
*/
|
||||
|
||||
#include "../../fenv/fenv_stub.c"
|
|
@ -1 +0,0 @@
|
|||
../../fenv/fenv_stub.c
|
|
@ -0,0 +1,7 @@
|
|||
/*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*
|
||||
* (c) Copyright 2019 Joel Sherrill <joel@rtems.org>
|
||||
*/
|
||||
|
||||
#include "../../fenv/fenv_stub.c"
|
|
@ -1 +0,0 @@
|
|||
../../fenv/fenv_stub.c
|
|
@ -0,0 +1,7 @@
|
|||
/*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*
|
||||
* (c) Copyright 2019 Joel Sherrill <joel@rtems.org>
|
||||
*/
|
||||
|
||||
#include "../../fenv/fenv_stub.c"
|
|
@ -1 +0,0 @@
|
|||
../../fenv/fenv_stub.c
|
|
@ -0,0 +1,7 @@
|
|||
/*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*
|
||||
* (c) Copyright 2019 Joel Sherrill <joel@rtems.org>
|
||||
*/
|
||||
|
||||
#include "../../fenv/fenv_stub.c"
|
Loading…
Reference in New Issue