[Info-vax] Non-portable code
Roger Ivie
rivie at ridgenet.net
Wed Jan 6 23:59:53 EST 2010
On 2010-01-07, Michael Moroney <moroney at world.std.spaamtrap.com> wrote:
> I had to convert
> some VAX code to Itanium which used the macro assembler and linker in a
> semi-trivial way to "compile" data (which were in the form of macros) into
> a binary file. The old procedure used a $ LINK/NOHEADER (or similar) to
> produce a data-only .EXE that could be used as-is as binary data. No such
> qualifier on Itanium... I had to code up a little program that interpreted
> the ELF format and extract the binary...
I usually drop the generated data into a .PSECT that I link with another
program that runs through the .PSECT to extract the data. No problem
porting that approach from VAX all the way to Itanium.
I've coerced MACRO32 into assembling 2910/29116 microcode and ARM code,
among others, that way.
--
roger ivie
rivie at ridgenet.net
More information about the Info-vax
mailing list