--- /tmp/bad.dis 2019-11-07 11:01:55.906890000 -0600 +++ /tmp/good.dis 2019-11-07 11:01:50.659083000 -0600 @@ -1,5 +1,5 @@ -/tmp/bad.ko: file format elf64-powerpc-freebsd +/tmp/good.ko: file format elf64-powerpc-freebsd Disassembly of section .note.gnu.build-id: @@ -8,11 +8,11 @@ Disassembly of section .note.gnu.build-id: 1cc: 00 00 00 14 .long 0x14 1d0: 00 00 00 03 .long 0x3 1d4: 47 4e 55 00 .long 0x474e5500 - 1d8: 6d e6 54 5b xoris r6,r15,21595 - 1dc: 16 73 bc 32 .long 0x1673bc32 - 1e0: f1 6e cb 7e .long 0xf16ecb7e - 1e4: 51 a9 00 41 rlwimi. r9,r13,0,1,0 - 1e8: 33 e5 8b 4f addic r31,r5,-29873 + 1d8: 93 88 97 37 stw r28,-26825(r8) + 1dc: d6 b6 8a 06 stfsu f21,-30202(r22) + 1e0: 9b 38 bd cf stb r25,-16945(r24) + 1e4: d4 b3 78 a7 stfsu f5,30887(r19) + 1e8: 59 d4 cc 9e rlmi r20,r14,r25,18,15 Disassembly of section .dynsym: 00000000000001f0 <.dynsym>: @@ -155,77 +155,77 @@ Disassembly of section .rela.dyn: 0000000000000460 <.rela.dyn>: 460: 00 00 00 00 .long 0x0 - 464: 00 02 00 08 .long 0x20008 + 464: 00 02 01 70 .long 0x20170 468: 00 00 00 00 .long 0x0 46c: 00 00 00 16 .long 0x16 470: 00 00 00 00 .long 0x0 - 474: 00 02 00 48 .long 0x20048 + 474: 00 02 00 88 .long 0x20088 478: 00 00 00 00 .long 0x0 - 47c: 00 02 00 10 .long 0x20010 + 47c: 00 02 01 78 .long 0x20178 480: 00 00 00 00 .long 0x0 484: 00 00 00 16 .long 0x16 488: 00 00 00 00 .long 0x0 - 48c: 00 00 05 fb .long 0x5fb + 48c: 00 02 00 8c .long 0x2008c 490: 00 00 00 00 .long 0x0 - 494: 00 02 00 20 .long 0x20020 + 494: 00 02 00 08 .long 0x20008 498: 00 00 00 00 .long 0x0 49c: 00 00 00 16 .long 0x16 4a0: 00 00 00 00 .long 0x0 - 4a4: 00 02 00 58 .long 0x20058 + 4a4: 00 02 00 48 .long 0x20048 4a8: 00 00 00 00 .long 0x0 - 4ac: 00 02 00 28 .long 0x20028 + 4ac: 00 02 00 10 .long 0x20010 4b0: 00 00 00 00 .long 0x0 4b4: 00 00 00 16 .long 0x16 4b8: 00 00 00 00 .long 0x0 - 4bc: 00 00 05 ed .long 0x5ed + 4bc: 00 00 05 fb .long 0x5fb 4c0: 00 00 00 00 .long 0x0 - 4c4: 00 02 00 40 .long 0x20040 + 4c4: 00 02 00 20 .long 0x20020 4c8: 00 00 00 00 .long 0x0 4cc: 00 00 00 16 .long 0x16 4d0: 00 00 00 00 .long 0x0 4d4: 00 02 00 58 .long 0x20058 4d8: 00 00 00 00 .long 0x0 - 4dc: 00 02 00 58 .long 0x20058 + 4dc: 00 02 00 28 .long 0x20028 4e0: 00 00 00 00 .long 0x0 4e4: 00 00 00 16 .long 0x16 4e8: 00 00 00 00 .long 0x0 4ec: 00 00 05 ed .long 0x5ed 4f0: 00 00 00 00 .long 0x0 - 4f4: 00 02 00 60 .long 0x20060 + 4f4: 00 02 00 40 .long 0x20040 4f8: 00 00 00 00 .long 0x0 4fc: 00 00 00 16 .long 0x16 500: 00 00 00 00 .long 0x0 - 504: 00 01 00 00 .long 0x10000 + 504: 00 02 00 58 .long 0x20058 508: 00 00 00 00 .long 0x0 - 50c: 00 02 00 70 .long 0x20070 + 50c: 00 02 00 58 .long 0x20058 510: 00 00 00 00 .long 0x0 514: 00 00 00 16 .long 0x16 518: 00 00 00 00 .long 0x0 - 51c: 00 02 00 00 .long 0x20000 + 51c: 00 00 05 ed .long 0x5ed 520: 00 00 00 00 .long 0x0 - 524: 00 02 00 78 .long 0x20078 + 524: 00 02 00 60 .long 0x20060 528: 00 00 00 00 .long 0x0 52c: 00 00 00 16 .long 0x16 530: 00 00 00 00 .long 0x0 - 534: 00 02 00 18 .long 0x20018 + 534: 00 01 00 00 .long 0x10000 538: 00 00 00 00 .long 0x0 - 53c: 00 02 00 80 .long 0x20080 + 53c: 00 02 00 70 .long 0x20070 540: 00 00 00 00 .long 0x0 544: 00 00 00 16 .long 0x16 548: 00 00 00 00 .long 0x0 - 54c: 00 02 00 30 .long 0x20030 + 54c: 00 02 00 00 .long 0x20000 550: 00 00 00 00 .long 0x0 - 554: 00 02 01 70 .long 0x20170 + 554: 00 02 00 78 .long 0x20078 558: 00 00 00 00 .long 0x0 55c: 00 00 00 16 .long 0x16 560: 00 00 00 00 .long 0x0 - 564: 00 02 00 88 .long 0x20088 + 564: 00 02 00 18 .long 0x20018 568: 00 00 00 00 .long 0x0 - 56c: 00 02 01 78 .long 0x20178 + 56c: 00 02 00 80 .long 0x20080 570: 00 00 00 00 .long 0x0 574: 00 00 00 16 .long 0x16 578: 00 00 00 00 .long 0x0 - 57c: 00 02 00 8c .long 0x2008c + 57c: 00 02 00 30 .long 0x20030 580: 00 00 00 00 .long 0x0 584: 00 02 00 38 .long 0x20038 588: 00 00 00 03 .long 0x3 @@ -278,20 +278,20 @@ Disassembly of section .text: 10030: 28 04 00 00 cmplwi r4,0 10034: 40 82 00 54 bne- 10088 10038: 60 00 00 00 nop - 1003c: 3c 62 ff ff addis r3,r2,-1 + 1003c: 60 00 00 00 nop 10040: f8 41 00 18 std r2,24(r1) 10044: eb c2 80 08 ld r30,-32760(r2) - 10048: 38 83 7f 28 addi r4,r3,32552 + 10048: e8 82 80 10 ld r4,-32752(r2) 1004c: 3c 62 ff fe addis r3,r2,-2 10050: 38 63 84 6b addi r3,r3,-31637 10054: 7f c9 03 a6 mtctr r30 10058: 7f cc f3 78 mr r12,r30 1005c: 4e 80 04 21 bctrl 10060: e8 41 00 18 ld r2,24(r1) - 10064: 3c 62 ff ff addis r3,r2,-1 + 10064: 60 00 00 00 nop 10068: 7f c9 03 a6 mtctr r30 1006c: 7f cc f3 78 mr r12,r30 - 10070: 38 83 7f 2c addi r4,r3,32556 + 10070: e8 82 80 18 ld r4,-32744(r2) 10074: 3c 62 ff fe addis r3,r2,-2 10078: 38 63 84 50 addi r3,r3,-31664 1007c: 4e 80 04 21 bctrl @@ -415,32 +415,26 @@ Disassembly of section .comment: 0: 4c 69 6e 6b .long 0x4c696e6b 4: 65 72 3a 20 oris r18,r11,14880 8: 4c 4c 44 20 .long 0x4c4c4420 - c: 39 2e 30 2e addi r9,r14,12334 - 10: 30 20 28 46 addic r1,r0,10310 - 14: 72 65 65 42 andi. r5,r19,25922 - 18: 53 44 20 33 rlwimi. r4,r26,4,0,25 - 1c: 37 32 33 31 addic. r25,r18,13105 - 20: 36 2d 31 33 addic. r17,r13,12595 - 24: 30 30 30 30 addic r1,r16,12336 - 28: 35 29 00 46 addic. r9,r9,70 - 2c: 72 65 65 42 andi. r5,r19,25922 - 30: 53 44 20 63 rlwimi. r4,r26,4,1,17 - 34: 6c 61 6e 67 xoris r1,r3,28263 - 38: 20 76 65 72 subfic r3,r22,25970 - 3c: 73 69 6f 6e andi. r9,r27,28526 - 40: 20 39 2e 30 subfic r1,r25,11824 - 44: 2e 30 20 28 cmpdi cr4,r16,8232 - 48: 74 61 67 73 andis. r1,r3,26483 - 4c: 2f 52 45 4c cmpwi cr6,r18,17740 - 50: 45 41 53 45 .long 0x45415345 - 54: 5f 39 30 30 rlwnm r25,r25,r6,0,24 - 58: 2f 66 69 6e cmpdi cr6,r6,26990 - 5c: 61 6c 20 33 ori r12,r11,8243 - 60: 37 32 33 31 addic. r25,r18,13105 - 64: 36 29 20 28 addic. r17,r9,8232 - 68: 62 61 73 65 ori r1,r19,29541 - 6c: 64 20 6f 6e oris r0,r1,28526 - 70: 20 4c 4c 56 subfic r2,r12,19542 - 74: 4d 20 39 2e .long 0x4d20392e - 78: 30 2e 30 29 addic r1,r14,12329 + c: 38 2e 30 2e addi r1,r14,12334 + 10: 31 00 46 72 addic r8,r0,18034 + 14: 65 65 42 53 oris r5,r11,16979 + 18: 44 20 63 6c .long 0x4420636c + 1c: 61 6e 67 20 ori r14,r11,26400 + 20: 76 65 72 73 andis. r5,r19,29299 + 24: 69 6f 6e 20 xori r15,r11,28192 + 28: 39 2e 30 2e addi r9,r14,12334 + 2c: 30 20 28 74 addic r1,r0,10356 + 30: 61 67 73 2f ori r7,r11,29487 + 34: 52 45 4c 45 rlwimi. r5,r18,9,17,2 + 38: 41 53 45 5f bdztla- 4*cr4+so,455c + 3c: 39 30 30 2f addi r9,r16,12335 + 40: 66 69 6e 61 oris r9,r19,28257 + 44: 6c 20 33 37 xoris r0,r1,13111 + 48: 32 33 31 36 addic r17,r19,12598 + 4c: 29 20 28 62 cmpldi cr2,r0,10338 + 50: 61 73 65 64 ori r19,r11,25956 + 54: 20 6f 6e 20 subfic r3,r15,28192 + 58: 4c 4c 56 4d .long 0x4c4c564d + 5c: 20 39 2e 30 subfic r1,r25,11824 + 60: 2e 30 29 00 cmpdi cr4,r16,10496 ...