Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Feb 2001 17:13:30 -0700
From:      Don Wilde <Don@Silver-Lynx.com>
To:        freebsd-small@freebsd.org
Subject:   asm interface
Message-ID:  <3A999FAA.D1675624@Silver-Lynx.com>

next in thread | raw e-mail | index | archive | help
I'm trying to link some asm routines I've converted from DOS/intel
format. Machine is running 4.2-S, compiler gcc.2.95, and the routines
are for accessing an MCSI PromDisk 32M flash. My problem is in my lack
of knowledge of gnu tools, I'm sure.

I have it successfully linking into a binary, and when I run it in gdb,
I can see the disassembled c code calling the location, and I see the
proper assembled code at that called location, but I get a SIGBUS
immediately upon stepping to that call.

I've HTMLified my code on http://www.silver-lynx.com/flash/flash.html
and derivatives. I know it's probably a really simple oh-sh*t, but can
anybody tell me what's wrong?

Thanks!
-- 
Don Wilde                  Don@Silver-Lynx.com
Silver Lynx   Embedded Microsystems Architects
2218 Southern Bl. Ste. 12 Rio Rancho, NM 87124
505-891-4175                      FAX 891-4185

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-small" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A999FAA.D1675624>