public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* IEEE 695 What targets are supported?
@ 2012-06-30  7:43 John Darrington
  2012-06-30  9:42 ` Andreas Schwab
  0 siblings, 1 reply; 2+ messages in thread
From: John Darrington @ 2012-06-30  7:43 UTC (permalink / raw)
  To: binutils

[-- Attachment #1: Type: text/plain, Size: 1711 bytes --]

I heard that binutils was able to handle ieee-695 object files.  However I'm having trouble 
finding the correct configuration.

When I configure with (for example) --target=m68k-ieee  the build complains with 

 "This target is no longer supported in gas"  

It doesn't say if it is the m68k part or the ieee part which is no longer supported,
but common sense would imply the m68k bit since the latter has nothing to do with 
assembly.  However I also get a similar error if I choose --target=sparc-ieee :

 "GAS does not know what format to use for target sparc-unknown-ieee"

Why doesn't it know?  The format is ieee - I told it so. 


If I ignore the error  (using make -k) I do get the reset of binutils built.
However, the result doesn't seem to behave as I would expect.  For example, objdump
does not recognise such files:

./binutils/objdump -b ieee -x /home/john/ieee695/Examples/binary.abs 
./binutils/objdump: /home/john/ieee695/Examples/binary.abs: File format not recognized


So my questions are:

* Is there are list of supported targets?

* I understood that binutils used a canonical abstraction of objects (called BFD), so
  why is it that certain combinations of CPU and binary format seem not to be permitted?
  Even if there exists no hardware that can run such a combination, I don't see why 
  binutils should not be able to generate it.  It could always be run on a simulator.

* What cpu (if any) can be used with ieee binaries ?


Thanks for any enlightenment.

J'



-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://keys.gnupg.net or any PGP keyserver for public key.


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: IEEE 695 What targets are supported?
  2012-06-30  7:43 IEEE 695 What targets are supported? John Darrington
@ 2012-06-30  9:42 ` Andreas Schwab
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Schwab @ 2012-06-30  9:42 UTC (permalink / raw)
  To: John Darrington; +Cc: binutils

GAS does not support IEEE output (it was removed in 2006).  You should
configure for another format (preferrably ELF, eg. m68k-elf), which
allows you to inspect and convert IEEE objects with objdump/objcopy.

You can find the list of supported targets in bfd/config.bfd, look for
ieee_vec.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-06-30  9:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-30  7:43 IEEE 695 What targets are supported? John Darrington
2012-06-30  9:42 ` Andreas Schwab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).