[PATCH][AArch64] libgloss ftruncate() and truncate() stubs

Marcus Shawcroft marcus.shawcroft@arm.com
Mon Nov 18 10:05:00 GMT 2013


Hi,

Following on from:
https://sourceware.org/ml/newlib/2013/msg00880.html

This patch adds the equivalent aarch64 stubs for ftruncate() and truncate().

Test aarch64-none-elf. Committed.

/Marcus

libgloss:

	* aarch64/ftruncate.c: New.
	* aarch64/truncate.c: New.
	* aarch64/Makefile.in (OBJS): Add ftruncate.o and truncate.o.
	(rdimon-ftruncate.o, rdimon-truncate.o): New rule:

newlib

	* libc/include/sys/unistd.h (ftruncate, truncate): Define
	for __aarch64__.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-AArch64-Implement-stubs-for-ftruncate-and-truncate.patch
Type: text/x-patch
Size: 5523 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20131118/e17a9c25/attachment.bin>


More information about the Newlib mailing list