projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d124654
)
[Ada] Combine system.ads files - arm and aarch64 qnx
author
Doug Rupp
<rupp@adacore.com>
Mon, 9 May 2022 18:37:17 +0000
(11:37 -0700)
committer
Pierre-Marie de Rodat
<derodat@adacore.com>
Wed, 1 Jun 2022 08:43:20 +0000
(08:43 +0000)
Systemitize Word_Size and Memory_Size declarations rather than hard code
with numerical values or OS specific Long_Integer size.
gcc/ada/
* libgnat/system-qnx-arm.ads (Memory_Size): Compute based on
Word_Size.
gcc/ada/libgnat/system-qnx-arm.ads
patch
|
blob
|
history
diff --git
a/gcc/ada/libgnat/system-qnx-arm.ads
b/gcc/ada/libgnat/system-qnx-arm.ads
index
5f4b90e
..
749384f
100644
(file)
--- a/
gcc/ada/libgnat/system-qnx-arm.ads
+++ b/
gcc/ada/libgnat/system-qnx-arm.ads
@@
-70,7
+70,7
@@
package System is
Storage_Unit : constant := 8;
Word_Size : constant := Standard'Word_Size;
- Memory_Size : constant := 2 **
Long_Integer'
Size;
+ Memory_Size : constant := 2 **
Word_
Size;
-- Address comparison