Subject: Re: audio/flac broken with 2.0
To: Matt Thomas <matt@3am-software.com>
From: Michael <macallan18@earthlink.net>
List: port-macppc
Date: 10/19/2004 23:54:46
Hello,

> The following commands for ex(1) will fix the asm:
> 
> g/;/ s//#/
> g/[^a-z]r[0-9]/ s/\([^a-z]\)r\([0-9]\)/\1%r\2/g
> g/[^a-z]cr[0-9]/ s/\([^a-z]\)cr\([0-9]\)/\1%cr\2/g
> g/[^a-z]v[0-9]/ s/\([^a-z]\)v\([0-9]\)/\1%v\2/g
> g/hi16(.*)/ s;hi16(\(.*\));\1@h;
> g/lo16(.*)/ s;lo16(\(.*\));\1@l;
> wq
> 
> and make it assemble with the NetBSD gas.  Feel free to adapt
> them to sed or whatever method make you happy. :)

Tried it on NetBSD/macppc with gas 2.14 - works fine. No idea why gas 2.15 on AIX doesn't like it ( for some reason it barfs about operand@l and @h and doesn't understand hi16(operand) or lo16() either )

have fun
Michael