1 .\" $NetBSD: aout2hux.1,v 1.4 2001/04/21 14:30:18 wiz Exp $
7 .Nd convert a.out/ELF executable to Human68k .x format
10 .Op Fl o Ar output_file
20 format executables with different load addresses
25 If the input files are a.out, they must be static
30 If the input files are ELF, they must be static m68k executables.
31 Two input executables must be created from the same objects,
32 and have different loading addresses.
33 Each of the load address is specified by a hexadecimal number.
34 Load address shall be multiple of 4 for
41 If the output file is not specified by
47 .Bl -tag -width out.xxxx -compact
52 The following command sequence creates a Human68k executable
58 .Bd -literal -offset indent
59 cc -N -nostdlib -static -Wl,-Text,0 -o aout1 a.o b.o
60 cc -N -nostdlib -static -Wl,-Text,10203040 -o aout2 a.o b.o
61 aout2hux -o foo.x aout1 0 aout2 10203040
64 This example uses 0x0 and 0x10203040 as the load addresses.
73 utility first appeared in
76 Symbol and debugging information is not converted.
78 The generated executable is not so effective as that of
79 Human68k native compiler.