All other ports have __scalbn* aliases pointing back to scalbn*, but
the ia64 code had omitted them. This didn't really matter as none
of the common code called them, but after a recent update, that's no
longer true. Add the aliases needed by some common code to fix link
errors with libm due to them missing.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
The main tree dropped support for !__STDC__ code, so drop it from the
few places in the ia64 code too.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
The ia64 math code stubs out the existing [er]_rem_*.c files, but the
main tree has added a new one since its removal. Stub out that new
file too.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
The main tree decided to change all these includes to <...>, so update
the ia64 code accordingly.
Processed with a simple sed script:
find `find sysdeps/ -name ia64` -type f -exec sed -i \
-r '/include/s:"(math.h|math_private.h)":<\1>:' {} +
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Processed with a simple sed script:
find `find sysdeps/ -name ia64` -type f -exec sed -i \
-e '/Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA/d' \
-e 's:License along with the GNU C Library; if not, write to the Free:License along with the GNU C Library; if not, see:' \
-e 's|02111-1307 USA.|<http://www.gnu.org/licenses/>.|' {} +
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Many ia64 files have trailing whitespace which gets in the way and
annoys me. So strip it away:
find `find sysdeps/ -name ia64` -type f -exec sed -i 's:[[:space:]]*$::' {} +
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This is a simple copy of the last version of ia64 in the main tree.
It does not work as-is, but serves as a basis for follow up changes
to restore it to working order.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>