X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=crypto%2Fperlasm%2Fx86gas.pl;h=2c8fce077939f4ad57ca99209a5a64b6909984bc;hb=c62ee12574e661a111238954b07ea1d5f0786bec;hp=63b2301fd1f096a13e00576af8238a81d124634d;hpb=ce876d8316409542283b356d331f90e1a1dfb853;p=oweals%2Fopenssl.git diff --git a/crypto/perlasm/x86gas.pl b/crypto/perlasm/x86gas.pl index 63b2301fd1..2c8fce0779 100644 --- a/crypto/perlasm/x86gas.pl +++ b/crypto/perlasm/x86gas.pl @@ -1,4 +1,11 @@ -#!/usr/bin/env perl +#! /usr/bin/env perl +# Copyright 2007-2016 The OpenSSL Project Authors. All Rights Reserved. +# +# Licensed under the OpenSSL license (the "License"). You may not use +# this file except in compliance with the License. You can obtain a copy +# in the file LICENSE in the source distribution or at +# https://www.openssl.org/source/license.html + package x86gas; @@ -17,7 +24,7 @@ sub opsize() { my $reg=shift; if ($reg =~ m/^%e/o) { "l"; } elsif ($reg =~ m/^%[a-d][hl]$/o) { "b"; } - elsif ($reg =~ m/^%[xm]/o) { undef; } + elsif ($reg =~ m/^%[yxm]/o) { undef; } else { "w"; } }