Re: Lab manual for SPARC
> The foo for iesm I guess sshould not run:
> $ file foo
> foo: sparc demand paged executable not stripped
> $ foo
> -bash: ./foo: cannot execute binary file
>
> I try this:
> $ ld -e start -m elf32_sparc -o foo foo.o
> ld: warning: cannot find entry symbol start; defaulting to 0000000000010074
>
> $ file foo
> foo: ELF 32-bit MSB executable, SPARC, version 1 (SYSV), statically linked,
> not stripped
It may not run as expected. The binary, when run in isem is running at a
system level. User level programs have to adhere to a more strict
environment.
--
Debian - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
WatchGuard - http://www.watchguard.com/
Reply to: