f8b1e5f ubsan: alpha-vms: shift exponent 536874240 is too large

Authored and Committed by Alan Modra 3 months ago
    ubsan: alpha-vms: shift exponent 536874240 is too large
    
    C_OPR_ASH is supposed to be an arithmetic shift.  By the look of it,
    this operator implemented logical shifts since the original binutils
    support was added.  This patch corrects that and avoids some nonsense
    ubsan complaints.  I chose to implement infinite precision shifts
    rather than masking shift counts to the word size as the spec I had is
    silent on what is supposed to happen with overlarge shift counts.
    
    	* vms-alpha.c (_bfd_vms_slurp_etir <etir__c_opr_ash>): Implement
    	shifts without undefined behaviour.
    
        
file modified
+5 -0
file modified
+25 -4