This is the mail archive of the frysk-bugzilla@sourceware.org mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug general/4831] New: testNoSymbolAfterGlobal(frysk.rt.TestSymbol)junit.framework.ComparisonFailure: symbol [unknown] expected:<[unknown]> but was:<local_st_size_0>


3)
testNoSymbolAfterGlobal(frysk.rt.TestSymbol)junit.framework.ComparisonFailure:
symbol [unknown] expected:<[unknown]> but was:<local_st_size_0>
  at frysk.rt.TestSymbol.symbolTest(TestRunner)
  at frysk.rt.TestSymbol.testNoSymbolAfterGlobal(TestRunner)
  at frysk.junit.Runner.runCases(TestRunner)
  at frysk.junit.Runner.runArchCases(TestRunner)
  at frysk.junit.Runner.runTestCases(TestRunner)
  at TestRunner.main(TestRunner)
4) testNoSymbolAfterLocal(frysk.rt.TestSymbol)junit.framework.ComparisonFailure:
symbol [unknown] expected:<[unknown]> but was:<local_st_size_0>
  at frysk.rt.TestSymbol.symbolTest(TestRunner)
  at frysk.rt.TestSymbol.testNoSymbolAfterLocal(TestRunner)
  at frysk.junit.Runner.runCases(TestRunner)
  at frysk.junit.Runner.runArchCases(TestRunner)
  at frysk.junit.Runner.runTestCases(TestRunner)
  at TestRunner.main(TestRunner)

This is the no-symbol case, there is a hole in the memory where there is no
valid symbol vis:

   local_st_size_0: // this symbol has no size

   global_symbol:
      nop
      nop
      .size global_symbol, .-global_symbol

   << you are here >>

I'm guessing it should not get a symbol at all (the [unknown]).  It currently
gets the nearest unsized symbol.

-- 
           Summary: testNoSymbolAfterGlobal(frysk.rt.TestSymbol)junit.framew
                    ork.ComparisonFailure: symbol [unknown]
                    expected:<[unknown]> but was:<local_st_size_0>
           Product: frysk
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: frysk-bugzilla at sourceware dot org
        ReportedBy: cagney at redhat dot com
OtherBugsDependingO 2785
             nThis:


http://sourceware.org/bugzilla/show_bug.cgi?id=4831

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]