non-32bit-relocation

From: Andrew (andrew_at_carroll-tech.net)
Date: 06/27/03

  • Next message: John Baldwin: "Re: PLEASE REVIEW: Adding a pci_if method to facilitate specialized PCI bus drivers"
    To: <freebsd-hackers@freebsd.org>
    Date: Fri, 27 Jun 2003 12:49:35 -0600
    
    

    Hello,
    I hate to "interrupt" the current flow of messages but...got to.

    I wrote a small assembly program to send a string to the floppy.
    I'm not familiar with nasm, the assembly language compiler I'm using and
    even
    less familiar with the as program.

    basically, other code aside, the nasm compiler says, when using -f elf, that
    it does not support non-32-bit relocations. Ok, I'm not an assembly expert
    and less familiar with 'elf' so I need some help.

    The instructions were

    mov es, seg buffer
    mov bx, [buffer]
    int 13h.

    Can anyone tell me how to do this on a FreeBSD machine?

    Thanks.

    Andrew

    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"


  • Next message: John Baldwin: "Re: PLEASE REVIEW: Adding a pci_if method to facilitate specialized PCI bus drivers"