Module: gas-preprocessor Branch: master Commit: d6487e2aad4ca20e4f38f25c776d2f5edbdfe95a
Author: Martin Storsjo <[email protected]> Committer: Martin Storsjo <[email protected]> Date: Tue Dec 23 23:28:42 2014 +0200 Increase the default alignment of text sections for armasm to 16 bytes This allows using alignment up to 16 bytes for e.g. tables within the text section. --- gas-preprocessor.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gas-preprocessor.pl b/gas-preprocessor.pl index fbf0853..202ce78 100755 --- a/gas-preprocessor.pl +++ b/gas-preprocessor.pl @@ -989,7 +989,7 @@ sub handle_serialized_line { $line =~ s/\.thumb/THUMB/x; $line =~ s/\.arm/ARM/x; # The alignment in AREA is the power of two, just as .align in gas - $line =~ s/\.text/AREA |.text|, CODE, READONLY, ALIGN=2, CODEALIGN/; + $line =~ s/\.text/AREA |.text|, CODE, READONLY, ALIGN=4, CODEALIGN/; $line =~ s/(\s*)(.*)\.rodata/$1AREA |.rodata|, DATA, READONLY, ALIGN=5/; $line =~ s/fmxr/vmsr/; _______________________________________________ libav-commits mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-commits
