Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Oct 2018 11:57:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        mips@FreeBSD.org
Subject:   [Bug 231790] mips64: attempting to load a module results in relocation errors and crash
Message-ID:  <bug-231790-27794-5jkatKpQgN@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-231790-27794@https.bugs.freebsd.org/bugzilla/>
References:  <bug-231790-27794@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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

--- Comment #3 from Ed Maste <emaste@freebsd.org> ---
Parsing the bad one readelf emits very many errors:
readelf: Error:  bad symbol index: 0000011b in reloc

And relocation differences:

│ @@ -1,36543 +1,36543 @@                                                       
│                                                                               
│  Relocation section '.rela.text' at offset 0x21508 contains 11885 entries:    
│      Offset             Info             Type               Symbol's Value 
Symbol's Name + Addend
│ -0000000000000018  000000030000000b R_MIPS_CALL16          0000000000000000
.rodata.str1.8 + 0
│ +0000000000000018  000000020000001d R_MIPS_HIGHEST         0000000000000000
.rodata + 0
│                      Type2: R_MIPS_NONE                                       
│                      Type3: R_MIPS_NONE                                       
│ -000000000000001c  0000000300000000 R_MIPS_NONE            0000000000000000
.rodata.str1.8 + 0
│ +000000000000001c  0000000200000005 R_MIPS_HI16            0000000000000000
.rodata + 0
│                      Type2: R_MIPS_NONE                                       
│                      Type3: R_MIPS_NONE                                       
│ -0000000000000020  000000030000000a R_MIPS_PC16            0000000000000000
.rodata.str1.8 + 0
│ +0000000000000020  000000020000001c R_MIPS_HIGHER          0000000000000000
.rodata + 0
│                      Type2: R_MIPS_NONE                                       
│                      Type3: R_MIPS_NONE                                       
│ -0000000000000024  0000000300000000 R_MIPS_NONE            0000000000000000
.rodata.str1.8 + 0
│ +0000000000000024  0000000200000006 R_MIPS_LO16            0000000000000000
.rodata + 0
│                      Type2: R_MIPS_NONE                                       
│                      Type3: R_MIPS_NONE                                       
│ -0000000000000040  000000040000000b R_MIPS_CALL16          0000000000000000
.data + 0
│ +0000000000000040  000000030000001d R_MIPS_HIGHEST         0000000000000000
.rodata.str1.8 + 0
│                      Type2: R_MIPS_NONE                                       
│                      Type3: R_MIPS_NONE                                       
│ -0000000000000044  0000000400000000 R_MIPS_NONE            0000000000000000
.data + 0
│ +0000000000000044  0000000300000005 R_MIPS_HI16            0000000000000000
.rodata.str1.8 + 0
│                      Type2: R_MIPS_NONE                                       
│                      Type3: R_MIPS_NONE                                       
│ -0000000000000048  000000040000000a R_MIPS_PC16            0000000000000000
.data + 0
│ +0000000000000048  000000030000001c R_MIPS_HIGHER          0000000000000000
.rodata.str1.8 + 0
│                      Type2: R_MIPS_NONE                                       
│                      Type3: R_MIPS_NONE                                       
│ -000000000000004c  0000000400000000 R_MIPS_NONE            0000000000000000
.data + 0
│ +000000000000004c  0000000300000006 R_MIPS_LO16            0000000000000000
.rodata.str1.8 + 0
│                      Type2: R_MIPS_NONE                                       
│                      Type3: R_MIPS_NONE                                       
│ -0000000000000060  000000040000000b R_MIPS_CALL16          0000000000000000
.data + 8
│ +0000000000000060  000000030000001d R_MIPS_HIGHEST         0000000000000000
.rodata.str1.8 + 8
│                      Type2: R_MIPS_NONE                                       
│                      Type3: R_MIPS_NONE                                       
│ -0000000000000064  0000000400000000 R_MIPS_NONE            0000000000000000
.data + 8
│ +0000000000000064  0000000300000005 R_MIPS_HI16            0000000000000000
.rodata.str1.8 + 8
│                      Type2: R_MIPS_NONE                                       
│                      Type3: R_MIPS_NONE                                       
│ -0000000000000068  000000040000000a R_MIPS_PC16            0000000000000000
.data + 8
│ +0000000000000068  000000030000001c R_MIPS_HIGHER          0000000000000000
.rodata.str1.8 + 8
│                      Type2: R_MIPS_NONE                                       
│                      Type3: R_MIPS_NONE                                       
│ -000000000000006c  0000000400000000 R_MIPS_NONE            0000000000000000
.data + 8
│ +000000000000006c  0000000300000006 R_MIPS_LO16            0000000000000000
.rodata.str1.8 + 8
│                      Type2: R_MIPS_NONE                                       
│                      Type3: R_MIPS_NONE                                       
...

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

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-231790-27794-5jkatKpQgN>