summaryrefslogtreecommitdiff
path: root/gcc/ada/g-sha256.ads
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2009-11-30 16:10:58 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2009-11-30 16:10:58 +0100
commitc5fdd4ad9799cac7701e9ba82901f84a30957082 (patch)
tree01ad137364b62365a4863ad5ac8f9130b5822119 /gcc/ada/g-sha256.ads
parent9cf032ef7dcf113d3ac0db470df9b813198624ad (diff)
downloadgcc-c5fdd4ad9799cac7701e9ba82901f84a30957082.tar.gz
[multiple changes]
2009-11-30 Robert Dewar <dewar@adacore.com> * g-sha256.ads, s-sehamd.ads, s-sehamd.adb, g-sha512.ads, g-sha224.ads, g-sha384.ads: Minor reformatting 2009-11-30 Emmanuel Briot <briot@adacore.com> * adaint.h (file_attributes): Reduce size of the structure, so that it is less costly to store in records. * makeutl.adb: (Check_Source_Info_In_ALI): use Full_Source_Name instead of a direct call to Find_File, since the former provides caching when appropriate, which limits the number of system calls in some cases. * osint.ads, prj.ads (Source_Data): do not store directly the timestamp, but the file attributes since we also need access to the size of the ALI file to parse it. This gives an opportunity for saving system calls on Unix systems. From-SVN: r154817
Diffstat (limited to 'gcc/ada/g-sha256.ads')
-rw-r--r--gcc/ada/g-sha256.ads1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/ada/g-sha256.ads b/gcc/ada/g-sha256.ads
index 3588d03abb2..ee8177fa2eb 100644
--- a/gcc/ada/g-sha256.ads
+++ b/gcc/ada/g-sha256.ads
@@ -31,6 +31,7 @@
with System.Secure_Hashes.SHA2_Common;
with System.Secure_Hashes.SHA2_32;
+
package GNAT.SHA256 is new System.Secure_Hashes.H
(Block_Words => System.Secure_Hashes.SHA2_Common.Block_Words,
State_Words => 8,