[Bug 231790] mips64: attempting to load a module results in relocation errors and crash

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Oct 1 13:12:01 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231790

--- Comment #4 from Ed Maste <emaste at freebsd.org> ---
>From another module,

  [ 3] .rela.text        RELA             0000000000000000  00004400
       00000000000095b8  0000000000000018   I      21     2     8

-00004400: 0000 0000 0000 0028 0000 0002 0000 0003  .......(........
+00004400: 0000 0000 0000 0028 0000 0001 0000 0004  .......(........
           -offset------------ -sym ndx- 

 00004410: 0000 0000 0000 0420 0000 0000 0000 0034  ....... .......4
           -addend------------ -offset------------

The symbol index and relocation type info is corrupt, but note that the sum of
the symbol index and the following 32-bit word is equal: it appears we're
adjusting the symbol index (i.e., because we've removed symbols) at the wrong
time relative to endianness conversion.

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


More information about the freebsd-mips mailing list