[Info-vax] Non-portable code

Michael Moroney moroney at world.std.spaamtrap.com
Thu Jan 7 08:29:40 EST 2010


Roger Ivie <rivie at ridgenet.net> writes:

>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.

Normally I'd agree, but they didn't want to change the executable the next 
time a new set of data was generated (required additional testing etc. 
according to their rules).



More information about the Info-vax mailing list