diff options
Diffstat (limited to 'src/ortho/mcode')
-rw-r--r-- | src/ortho/mcode/binary_file.adb | 3 | ||||
-rw-r--r-- | src/ortho/mcode/binary_file.ads | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ortho/mcode/binary_file.adb b/src/ortho/mcode/binary_file.adb index 6043d7319..a9463ba11 100644 --- a/src/ortho/mcode/binary_file.adb +++ b/src/ortho/mcode/binary_file.adb @@ -31,8 +31,7 @@ package body Binary_File is (Source => System.Address, Target => Byte_Array_Acc); -- Resize a section to SIZE bytes. - procedure Resize (Sect : Section_Acc; Size : Pc_Type) - is + procedure Resize (Sect : Section_Acc; Size : Pc_Type) is begin Sect.Data_Max := Size; Memsegs.Resize (Sect.Seg, Natural (Size)); diff --git a/src/ortho/mcode/binary_file.ads b/src/ortho/mcode/binary_file.ads index 1a2bf588d..4618aebd0 100644 --- a/src/ortho/mcode/binary_file.ads +++ b/src/ortho/mcode/binary_file.ads @@ -154,6 +154,7 @@ private type Byte_Array_Base is array (Pc_Type range <>) of Byte; subtype Byte_Array is Byte_Array_Base (Pc_Type); type Byte_Array_Acc is access Byte_Array; + pragma No_Strict_Aliasing (Byte_Array_Acc); type String_Acc is access String; --type Section_Flags is new Unsigned_32; |