mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-13 13:07:28 +08:00
unc_memops.ads: Comment out the alloc/free/realloc exports and document how these can be exercised.
2007-12-07 Olivier Hainque <hainque@adacore.com> testsuite/ * gnat.dg/unc_memops.ads: Comment out the alloc/free/realloc exports and document how these can be exercised. From-SVN: r130678
This commit is contained in:
parent
9cc11b58d2
commit
458440a9d0
@ -1,3 +1,8 @@
|
||||
2007-12-07 Olivier Hainque <hainque@adacore.com>
|
||||
|
||||
* gnat.dg/unc_memops.ads: Comment out the alloc/free/realloc
|
||||
exports and document how these can be exercised.
|
||||
|
||||
2007-12-07 Samuel Tardieu <sam@rfc1149.net>
|
||||
|
||||
PR ada/15805
|
||||
|
@ -17,8 +17,14 @@ package Unc_Memops is
|
||||
|
||||
private
|
||||
|
||||
pragma Export (C, Alloc, "__gnat_malloc");
|
||||
pragma Export (C, Free, "__gnat_free");
|
||||
pragma Export (C, Realloc, "__gnat_realloc");
|
||||
-- Uncomment the exports below to really exercise the alternate versions.
|
||||
|
||||
-- This only works when using an installed version of the tools which
|
||||
-- grabs the runtime library objects from an archive, hence doesn't force
|
||||
-- the inclusion of s-memory.o.
|
||||
|
||||
-- pragma Export (C, Alloc, "__gnat_malloc");
|
||||
-- pragma Export (C, Free, "__gnat_free");
|
||||
-- pragma Export (C, Realloc, "__gnat_realloc");
|
||||
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user