[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/15178] New: Target "elf32-sparc-freebsd" appears to be fiction.
From: |
2DFA55KIL090P8HA6TI4CRPN05HLL6PU at cmx dot ietfng.org |
Subject: |
[Bug gas/15178] New: Target "elf32-sparc-freebsd" appears to be fiction. |
Date: |
Sat, 23 Feb 2013 03:12:07 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=15178
Bug #: 15178
Summary: Target "elf32-sparc-freebsd" appears to be fiction.
Product: binutils
Version: 2.23
Status: NEW
Severity: minor
Priority: P2
Component: gas
AssignedTo: address@hidden
ReportedBy: address@hidden
Classification: Unclassified
./gas/config/tc-sparc.h contains
> #ifdef TE_FreeBSD
> #define ELF_TARGET_FORMAT "elf32-sparc-freebsd"
> #define ELF64_TARGET_FORMAT "elf64-sparc-freebsd"
> #endif
But this is the only mention of "elf32-sparc-freebsd" in the entire tree.
Whereas ./bfd/elf64-sparc.c contains special handling that defines
"elf64-sparc-freebsd", there appears to be no similar handling in
"bfd/elf32-sparc.c".
The net result is that invoking "as -32" yields
> Fatal error: selected target format 'elf32-sparc-freebsd' unknown
"objdump -H" lists many supported targets, but elf32-sparc-freebsd is not among
them.
This is OK -- I do not think anybody seriously attempts to build 32-bit ELFs on
FreeBSD on sparc (except by accident, as in
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55308 which brought this to my
attention), so I am not sure if the #define of "ELF_TARGET_FORMAT" should be
removed or if the current behavior is intentional, in which case, can I please
have a better error message?
Thanks!
--nwf;
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug gas/15178] New: Target "elf32-sparc-freebsd" appears to be fiction.,
2DFA55KIL090P8HA6TI4CRPN05HLL6PU at cmx dot ietfng.org <=