This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: linking files with 16 and 32 bit code


On Tue, Jul 30, 2002 at 12:03:11PM +0100, Mike Lerwill wrote:
> Are you meaning that the problem is with the assembler not with the linker.

Exactly.  Compare this output with the one you posted, and compare
with a similar .code32 call.

$ objdump -b pe-i386 -mi8086 -dr rtest2.o

rtest2.o:     file format pe-i386

Disassembly of section .text:

0000000000000000 <.text>:
   0:   e8 fd ff                call   0x0
                        1: DISP16       l1
        ...

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]