This is used for embedding directives in COFF objects for the
linker (e.g. for dllexport).
---
Will push within a day or two, this is quite uncontroversial.
---
gas-preprocessor.pl | 1 +
1 file changed, 1 insertion(+)
diff --git a/gas-preprocessor.pl b/gas-preprocessor.pl
index 1ba0563..85ccf24 100755
--- a/gas-preprocessor.pl
+++ b/gas-preprocessor.pl
@@ -1209,6 +1209,7 @@ sub handle_serialized_line {
$line =~ s/\.text/AREA |.text|, CODE, READONLY, ALIGN=4, CODEALIGN/;
$line =~ s/(\s*)(.*)\.ro?data(\s*,\s*"\w+")?/$1AREA |.rdata|, DATA,
READONLY, ALIGN=5/;
$line =~ s/\.data/AREA |.data|, DATA, ALIGN=5/;
+ $line =~ s/\.section(.*)\.drectve(\s*,\s*"\w+")?/$1AREA |.drectve|,
DRECTVE, ALIGN=0/;
}
if ($as_type eq "armasm" and $arch eq "arm") {
$line =~ s/fmxr/vmsr/;
--
2.43.0
_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]