[09/11] TI C6X binutils port: binutils/

DJ Delorie dj@redhat.com
Wed Mar 24 04:50:00 GMT 2010


-    case ELFOSABI_STANDALONE:	return _("Standalone App");
-    case ELFOSABI_ARM:		return "ARM";
     default:
+      if (osabi >= 64)
+	switch (elf_header.e_machine)

Is this really what we want to be doing here?  It seems inconsistent to
be handling these three ABIs in a machine-specific way, while the others
are all machine-independent.  I think it's misleading to return
"unknown" for known ABIs just because they're on the wrong chip,
especially as readelf is often used for debugging object files.



More information about the Binutils mailing list