Re: [PATCH v4] x86_64/i386 fenv: Replace symlink with include fenv_stub.c
Corinna Vinschen <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <[email protected]> |
On Feb 25 07:38, Joel Sherrill wrote: > 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. > --- > newlib/libm/machine/i386/feclearexcept.c | 8 +++++++- > newlib/libm/machine/i386/fegetenv.c | 8 +++++++- > newlib/libm/machine/i386/fegetexceptflag.c | 8 +++++++- > newlib/libm/machine/i386/fegetround.c | 8 +++++++- > newlib/libm/machine/i386/feholdexcept.c | 8 +++++++- > newlib/libm/machine/i386/fenv.c | 8 +++++++- > newlib/libm/machine/i386/feraiseexcept.c | 8 +++++++- > newlib/libm/machine/i386/fesetenv.c | 8 +++++++- > newlib/libm/machine/i386/fesetexceptflag.c | 8 +++++++- > newlib/libm/machine/i386/fesetround.c | 8 +++++++- > newlib/libm/machine/i386/fetestexcept.c | 8 +++++++- > newlib/libm/machine/i386/feupdateenv.c | 8 +++++++- > newlib/libm/machine/x86_64/feclearexcept.c | 8 +++++++- > newlib/libm/machine/x86_64/fegetenv.c | 8 +++++++- > newlib/libm/machine/x86_64/fegetexceptflag.c | 8 +++++++- > newlib/libm/machine/x86_64/fegetround.c | 8 +++++++- > newlib/libm/machine/x86_64/feholdexcept.c | 8 +++++++- > newlib/libm/machine/x86_64/feraiseexcept.c | 8 +++++++- > newlib/libm/machine/x86_64/fesetenv.c | 8 +++++++- > newlib/libm/machine/x86_64/fesetexceptflag.c | 8 +++++++- > newlib/libm/machine/x86_64/fesetround.c | 8 +++++++- > newlib/libm/machine/x86_64/fetestexcept.c | 8 +++++++- > newlib/libm/machine/x86_64/feupdateenv.c | 8 +++++++- > 23 files changed, 161 insertions(+), 23 deletions(-) > mode change 120000 => 100644 newlib/libm/machine/i386/feclearexcept.c > mode change 120000 => 100644 newlib/libm/machine/i386/fegetenv.c > mode change 120000 => 100644 newlib/libm/machine/i386/fegetexceptflag.c > mode change 120000 => 100644 newlib/libm/machine/i386/fegetround.c > mode change 120000 => 100644 newlib/libm/machine/i386/feholdexcept.c > mode change 120000 => 100644 newlib/libm/machine/i386/fenv.c > mode change 120000 => 100644 newlib/libm/machine/i386/feraiseexcept.c > mode change 120000 => 100644 newlib/libm/machine/i386/fesetenv.c > mode change 120000 => 100644 newlib/libm/machine/i386/fesetexceptflag.c > mode change 120000 => 100644 newlib/libm/machine/i386/fesetround.c > mode change 120000 => 100644 newlib/libm/machine/i386/fetestexcept.c > mode change 120000 => 100644 newlib/libm/machine/i386/feupdateenv.c > mode change 120000 => 100644 newlib/libm/machine/x86_64/feclearexcept.c > mode change 120000 => 100644 newlib/libm/machine/x86_64/fegetenv.c > mode change 120000 => 100644 newlib/libm/machine/x86_64/fegetexceptflag.c > mode change 120000 => 100644 newlib/libm/machine/x86_64/fegetround.c > mode change 120000 => 100644 newlib/libm/machine/x86_64/feholdexcept.c > mode change 120000 => 100644 newlib/libm/machine/x86_64/feraiseexcept.c > mode change 120000 => 100644 newlib/libm/machine/x86_64/fesetenv.c > mode change 120000 => 100644 newlib/libm/machine/x86_64/fesetexceptflag.c > mode change 120000 => 100644 newlib/libm/machine/x86_64/fesetround.c > mode change 120000 => 100644 newlib/libm/machine/x86_64/fetestexcept.c > mode change 120000 => 100644 newlib/libm/machine/x86_64/feupdateenv.c Pushed. Thanks, Corinna -- Corinna Vinschen Cygwin Maintainer Red Hat
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAl5VQNoACgkQ9TYGna5E T6BlZg//Y31+9n/rgYfYkVKDOHaMhYWPmBzpPGfA47UuyUuxYxH7k+uR3qieHfhQ McL9ytHNGS1YIG7vTxg9ZZ5lldtN6lAuiWOTu1StuE08r9LlUr3bYIatgeHnFcP5 fIY9tmCP1oi1JQCzlqVpcY2qnmxaEHFNQnEGI3vovd2m7Q9uuiN8Z4U+y6D8xm/a 1eDmNHvdzSnRIlZBFzHqbJISk2+GfaSmTLr+2QbJSkdbQB1AtTLkiQOIitQcD5bn 1/IvQ97AkYSLR3MdnPipO0QmjP0CM6GZb/uLQnDc9qslbz9/gc18gkNY/gjbkpvC YeyxLdBptWuFFs5S5kaeFZytcvghuRhoRGPm/jLNpupD5awqjlf2JHX2yEIptP31 zSDR197zF0XxihPhconm1dFtfCZl+VvsxOWgRlVspVjCzBTGJ4ivVraJ0vKaYMQB U4ioIHJtVSnyGporIjF2eQq4OMw/Y+c/l3Emk4/4srDV3vEQJZBVC2jyT9eoopub FHbJw1DR1QFPVmBtaJMOvI/6H2UcaQM9+uE2kk+4BNfW9Z+Oa2dqV16CiS1Vi6x/ wfY8GZPbBiorAJhde/5srp6Ug4jwm2xwIJBg3bnUuSm+nD0QSTilPS/oCeuA9ULs wlRBz2XQFwnDcMzNLINRHCrWwv4RVu0895LLv9YctsjT/tgregs= =BvAU -----END PGP SIGNATURE-----