DragonFly BSD
DragonFly users List (threaded) for 2006-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Assembly in DragonFly


From: joerg@xxxxxxxxxxxxxxxxx
Date: Tue, 14 Mar 2006 13:01:18 +0100
Mail-followup-to: users@crater.dragonflybsd.org

On Tue, Mar 14, 2006 at 12:47:56PM +0530, Karthik Subramanian wrote:
> 2. Ran "as -o hello.o hello.s; ld -o hello hello.o; ./hello", and sawthis on the console:
> ELF binary type "0" not known.Abort trap

Sure. DragonFly uses the ELF ABI note as you found out later to decide
which kernel ABI to use. Using ld directly and not linking crt1.o
doesn't create the section. It would also be possible to use brandelf,
but that is a nasty hack which should die.

Joerg



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]