[Bug other/19802] New: scan-not-hidden breaks with unknown object format

jsm28 at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Feb 7 14:04:00 GMT 2005


testsuite/lib/scanasm.exp:hidden-scan-for returns an empty string
for object formats other than elf and mach-o.  This causes any
tests using scan-not-hidden to fail.  Instead, they should be
UNRESOLVED when how to test for hidden symbols on that object format
is not known.  Likewise, scan-hidden should also yield UNRESOLVED
in this case.

The problem arises for systems where objdump is unavailable or
fails to identify the file format - which may in fact be ELF with
visibility support but no working ELF objdump.  It can also be reproduced
on ELF systems with working objdump by changing the regexp
in hidden-scan-for to "" for ELF.

-- 
           Summary: scan-not-hidden breaks with unknown object format
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jsm28 at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org,janis187 at us dot ibm
                    dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19802



More information about the Gcc-bugs mailing list