Article View: gnu.gcc.help
Article #52346gas problem/question
From: Sal Quintanilla
Date: Wed, 25 Nov 1992 23:52
Date: Wed, 25 Nov 1992 23:52
21 lines
1256 bytes
1256 bytes
I'm porting some assembly source which works with an Intel
assembler to a sun running gas, and I've run into a slight
problem.
The Intel assembler has a directive which looks like
define(base_addr,r0) ; register r0
and simply does a macro substitution of the string
"base_addr" with r0 at compile time. It does not do
anything fancy (e.g. protect r0).
I can't find such a beast in the "Using GAS" section of the
GCC manual. Does anyone know if this type of macro exists
under gas? I've always got the option of editting the file
and making the substitutions, but I'd like to avoid losing
the original author's desired readibility.
Thanks in advance for any help/tips.
Sal
Technical Details
Message-ID:
<1992Nov25.235227.24043@pacdata.uucp>Path:
arc1-ca.pugleaf.net!sparky!uunet!pacdata!salShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,d06309afae3313c,start X-Google-Attributes: gid11318c,public X-Google-Thread: 1025b4,d06309afae3313c,start X-Google-Attributes: gid1025b4,public X-Google-ArrivalTime: 1992-11-25 16:55:28 PST Newsgroups: gnu.gcc.help,gnu.misc.discuss Path: arc1-ca.pugleaf.net!sparky!uunet!pacdata!sal From: sal@pacdata.uucp (Sal Quintanilla) Subject: gas problem/question Message-ID: <1992Nov25.235227.24043@pacdata.uucp> Organization: Pacific Data Products Date: Wed, 25 Nov 1992 23:52:27 GMT Lines: 22