On 2014-03-24 14:38:10 +0200, Martin Storsjö wrote:
> ---
> gas-preprocessor.pl | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/gas-preprocessor.pl b/gas-preprocessor.pl
> index 8864cfd..42e1c7f 100755
> --- a/gas-preprocessor.pl
> +++ b/gas-preprocessor.pl
> @@ -936,6 +936,8 @@ sub handle_serialized_line {
>
> $line =~ s/\.syntax/$comm$&/x if $as_type =~ /armasm/;
>
> + $line =~ s/\.hword/.short/x;
> +
> if ($as_type =~ /^apple-/) {
> # the syntax for these is a little different
> $line =~ s/\.global/.globl/x;
probably ok, even though gas manual on .hword is not really helpful:
| This directive is a synonym for `.short'; depending on the target
| architecture, it may also be a synonym for `.word'.
Janne
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel