brintos

brintos / llvm-project-archived public Read only

0
0
Text · 31.8 KiB · c7142d2 Raw
788 lines · plain
1## Handle RISCV extensions.2## Encode an zbc arch feature into an object file and try to decode it.3##4## The object file was created with -march=rv32imafdc_zbc5 6# Fail as unsupported extension is provided7# RUN: yaml2obj %s -D BITS=32 -o %t.32.o8# RUN: llvm-objdump -d --no-show-raw-insn %t.32.o \9# RUN:   | FileCheck %s --check-prefixes=DISASM10 11# DISASM-LABEL: <clmul>12# DISASM: clmul	a0, a0, a113 14# DISASM-LABEL: <clmulh>15# DISASM: clmulh	a0, a0, a116 17# DISASM-LABEL: <clmulr>18# DISASM: clmulr	a0, a0, a119 20--- !ELF21FileHeader:22  Class:           ELFCLASS3223  Data:            ELFDATA2LSB24  Type:            ET_DYN25  Machine:         EM_RISCV26  Flags:           [ EF_RISCV_RVC, EF_RISCV_FLOAT_ABI_DOUBLE ]27  Entry:           0x38028ProgramHeaders:29  - Type:            PT_PHDR30    Flags:           [ PF_R ]31    VAddr:           0x3432    Align:           0x433  - Type:            PT_INTERP34    Flags:           [ PF_R ]35    FirstSec:        .interp36    LastSec:         .interp37    VAddr:           0x17438  - Type:            0x7000000339    Flags:           [ PF_R ]40    FirstSec:        .riscv.attributes41    LastSec:         .riscv.attributes42  - Type:            PT_LOAD43    Flags:           [ PF_X, PF_R ]44    FirstSec:        .interp45    LastSec:         .eh_frame46    Align:           0x100047  - Type:            PT_LOAD48    Flags:           [ PF_W, PF_R ]49    FirstSec:        .preinit_array50    LastSec:         .bss51    VAddr:           0x1F0452    Align:           0x100053  - Type:            PT_DYNAMIC54    Flags:           [ PF_W, PF_R ]55    FirstSec:        .dynamic56    LastSec:         .dynamic57    VAddr:           0x1F1058    Align:           0x459  - Type:            PT_NOTE60    Flags:           [ PF_R ]61    FirstSec:        .note.ABI-tag62    LastSec:         .note.ABI-tag63    VAddr:           0x19864    Align:           0x465  - Type:            PT_GNU_EH_FRAME66    Flags:           [ PF_R ]67    FirstSec:        .eh_frame_hdr68    LastSec:         .eh_frame_hdr69    VAddr:           0x56070    Align:           0x471  - Type:            PT_GNU_STACK72    Flags:           [ PF_W, PF_R ]73    Align:           0x1074  - Type:            PT_GNU_RELRO75    Flags:           [ PF_R ]76    FirstSec:        .preinit_array77    LastSec:         .dynamic78    VAddr:           0x1F0479Sections:80  - Name:            .interp81    Type:            SHT_PROGBITS82    Flags:           [ SHF_ALLOC ]83    Address:         0x17484    AddressAlign:    0x185    Content:         2F6C69622F6C642D6C696E75782D726973637633322D696C703332642E736F2E310086  - Name:            .note.ABI-tag87    Type:            SHT_NOTE88    Flags:           [ SHF_ALLOC ]89    Address:         0x19890    AddressAlign:    0x491    Notes:92      - Name:            GNU93        Desc:            '00000000050000000400000000000000'94        Type:            NT_VERSION95  - Name:            .gnu.hash96    Type:            SHT_GNU_HASH97    Flags:           [ SHF_ALLOC ]98    Address:         0x1B899    Link:            .dynsym100    AddressAlign:    0x4101    EntSize:         0x4102    Header:103      SymNdx:          0x6104      Shift2:          0x5105    BloomFilter:     [ 0x8000400 ]106    HashBuckets:     [ 0x6, 0x0 ]107    HashValues:      [ 0x7C9A7F6B ]108  - Name:            .dynsym109    Type:            SHT_DYNSYM110    Flags:           [ SHF_ALLOC ]111    Address:         0x1D8112    Link:            .dynstr113    AddressAlign:    0x4114  - Name:            .dynstr115    Type:            SHT_STRTAB116    Flags:           [ SHF_ALLOC ]117    Address:         0x248118    AddressAlign:    0x1119  - Name:            .gnu.version120    Type:            SHT_GNU_versym121    Flags:           [ SHF_ALLOC ]122    Address:         0x2B6123    Link:            .dynsym124    AddressAlign:    0x2125    Entries:         [ 0, 0, 1, 2, 2, 1, 1 ]126  - Name:            .gnu.version_r127    Type:            SHT_GNU_verneed128    Flags:           [ SHF_ALLOC ]129    Address:         0x2C4130    Link:            .dynstr131    AddressAlign:    0x4132    Dependencies:133      - Version:         1134        File:            libc.so.6135        Entries:136          - Name:            GLIBC_2.33137            Hash:            110530995138            Flags:           0139            Other:           2140  - Name:            .rela.dyn141    Type:            SHT_RELA142    Flags:           [ SHF_ALLOC ]143    Address:         0x2E4144    Link:            .dynsym145    AddressAlign:    0x4146    Relocations:147      - Offset:          0x1F04148        Type:            R_RISCV_RELATIVE149        Addend:          938150      - Offset:          0x1F08151        Type:            R_RISCV_RELATIVE152        Addend:          1132153      - Offset:          0x1F0C154        Type:            R_RISCV_RELATIVE155        Addend:          1052156      - Offset:          0x2000157        Type:            R_RISCV_RELATIVE158        Addend:          8192159      - Offset:          0x201C160        Type:            R_RISCV_RELATIVE161        Addend:          1244162      - Offset:          0x2014163        Symbol:          _ITM_deregisterTMCloneTable164        Type:            R_RISCV_32165      - Offset:          0x2018166        Symbol:          __cxa_finalize167        Type:            R_RISCV_32168      - Offset:          0x2020169        Symbol:          _ITM_registerTMCloneTable170        Type:            R_RISCV_32171  - Name:            .rela.plt172    Type:            SHT_RELA173    Flags:           [ SHF_ALLOC, SHF_INFO_LINK ]174    Address:         0x344175    Link:            .dynsym176    AddressAlign:    0x4177    Info:            .got178    Relocations:179      - Offset:          0x200C180        Symbol:          __libc_start_main181        Type:            R_RISCV_JUMP_SLOT182  - Name:            .plt183    Type:            SHT_PROGBITS184    Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]185    Address:         0x350186    AddressAlign:    0x10187    EntSize:         0x10188    Content:         972300003303C34103AE43CB130343FD938243CB1353230083A2420067000E00172E0000032ECEC967030E0013000000189  - Name:            .text190    Type:            SHT_PROGBITS191    Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]192    Address:         0x380193    AddressAlign:    0x4194    Content:         2D20AA8717250000032585C982455000137101FF9706000093862617170700001307271C0A88E93702909721000093816145828000000000172500001305C5C497270000938747C4638AA7009727000083A787C463840700678007006780000017250000130545C2972500009385C5C1B385A54093D7254093D5F501B385F50093D51540638A05009727000083A787C1638407006780070067800000130101FF2324810017240000130444C08347040023261100639407029727000083A707BE63880700172500000325C5BBE7800700EFF09FF6930710002300F4008320C1000324810013010101678000006FF05FF7411106C622C40008232AA4FE2328B4FE032544FF832504FF3315B50AB240224441018280411106C622C40008232AA4FE2328B4FE032544FF832504FF3335B50AB240224441018280411106C622C40008232AA4FE2328B4FE032544FF832504FF3325B50AB240224441018280011106CE22CC001001452326A4FE232AA4FE05458945BD3FAA850325C4FE2328B4FEF240624405618280011122CC4AC8172400001304C49F172900001309899F3309894006CE26CA4EC652C456C213592940630F0900AA892E8AB28A81441C405686D2854E85850482971104E31999FEF2406244D2444249B249224A924A056182808280195  - Name:            .eh_frame_hdr196    Type:            SHT_PROGBITS197    Flags:           [ SHF_ALLOC ]198    Address:         0x560199    AddressAlign:    0x4200    Content:         011B033B100000000100000020FEFFFF28000000201  - Name:            .eh_frame202    Type:            SHT_PROGBITS203    Flags:           [ SHF_ALLOC ]204    Address:         0x574205    AddressAlign:    0x4206    Content:         1000000000000000037A5200017C01011B0D02001000000018000000F0FDFFFF2A0000000007010000000000207  - Name:            .preinit_array208    Type:            SHT_PREINIT_ARRAY209    Flags:           [ SHF_WRITE, SHF_ALLOC ]210    Address:         0x1F04211    AddressAlign:    0x1212    EntSize:         0x4213    Offset:          0xF04214    Content:         '00000000'215  - Name:            .init_array216    Type:            SHT_INIT_ARRAY217    Flags:           [ SHF_WRITE, SHF_ALLOC ]218    Address:         0x1F08219    AddressAlign:    0x4220    EntSize:         0x4221    Content:         '00000000'222  - Name:            .fini_array223    Type:            SHT_FINI_ARRAY224    Flags:           [ SHF_WRITE, SHF_ALLOC ]225    Address:         0x1F0C226    AddressAlign:    0x4227    EntSize:         0x4228    Content:         '00000000'229  - Name:            .dynamic230    Type:            SHT_DYNAMIC231    Flags:           [ SHF_WRITE, SHF_ALLOC ]232    Address:         0x1F10233    Link:            .dynstr234    AddressAlign:    0x4235    Entries:236      - Tag:             DT_NEEDED237        Value:           0x22238      - Tag:             DT_PREINIT_ARRAY239        Value:           0x1F04240      - Tag:             DT_PREINIT_ARRAYSZ241        Value:           0x4242      - Tag:             DT_INIT_ARRAY243        Value:           0x1F08244      - Tag:             DT_INIT_ARRAYSZ245        Value:           0x4246      - Tag:             DT_FINI_ARRAY247        Value:           0x1F0C248      - Tag:             DT_FINI_ARRAYSZ249        Value:           0x4250      - Tag:             DT_GNU_HASH251        Value:           0x1B8252      - Tag:             DT_STRTAB253        Value:           0x248254      - Tag:             DT_SYMTAB255        Value:           0x1D8256      - Tag:             DT_STRSZ257        Value:           0x6D258      - Tag:             DT_SYMENT259        Value:           0x10260      - Tag:             DT_DEBUG261        Value:           0x0262      - Tag:             DT_PLTGOT263        Value:           0x2004264      - Tag:             DT_PLTRELSZ265        Value:           0xC266      - Tag:             DT_PLTREL267        Value:           0x7268      - Tag:             DT_JMPREL269        Value:           0x344270      - Tag:             DT_RELA271        Value:           0x2E4272      - Tag:             DT_RELASZ273        Value:           0x6C274      - Tag:             DT_RELAENT275        Value:           0xC276      - Tag:             DT_FLAGS_1277        Value:           0x8000000278      - Tag:             DT_VERNEED279        Value:           0x2C4280      - Tag:             DT_VERNEEDNUM281        Value:           0x1282      - Tag:             DT_VERSYM283        Value:           0x2B6284      - Tag:             DT_RELACOUNT285        Value:           0x5286      - Tag:             DT_NULL287        Value:           0x0288      - Tag:             DT_NULL289        Value:           0x0290      - Tag:             DT_NULL291        Value:           0x0292      - Tag:             DT_NULL293        Value:           0x0294      - Tag:             DT_NULL295        Value:           0x0296  - Name:            .data297    Type:            SHT_PROGBITS298    Flags:           [ SHF_WRITE, SHF_ALLOC ]299    Address:         0x2000300    AddressAlign:    0x4301    Content:         '00000000'302  - Name:            .got303    Type:            SHT_PROGBITS304    Flags:           [ SHF_WRITE, SHF_ALLOC ]305    Address:         0x2004306    AddressAlign:    0x4307    EntSize:         0x4308    Content:         FFFFFFFF0000000050030000101F000000000000000000000000000000000000309  - Name:            .sdata310    Type:            SHT_PROGBITS311    Flags:           [ SHF_WRITE, SHF_ALLOC ]312    Address:         0x2024313    AddressAlign:    0x4314    Content:         '01000200'315  - Name:            .bss316    Type:            SHT_NOBITS317    Flags:           [ SHF_WRITE, SHF_ALLOC ]318    Address:         0x2028319    AddressAlign:    0x1320    Size:            0x4321  - Name:            .comment322    Type:            SHT_PROGBITS323    Flags:           [ SHF_MERGE, SHF_STRINGS ]324    AddressAlign:    0x1325    EntSize:         0x1326    Content:         4743433A2028474E55292031312E312E3000636C616E672076657273696F6E2031362E302E302028687474703A2F2F6769746C61622E6465762E73796E7461636F72652E636F6D2F746F6F6C732F6C6C766D2F6C6C766D2D70726F6A6563742E67697420396233353161663039623966333866393266376334343862643631663531336166663363306135322900327  - Name:            .riscv.attributes328    Type:            SHT_RISCV_ATTRIBUTES329    AddressAlign:    0x1330    Content:         413B000000726973637600013100000004100572763332693270305F6D3270305F613270305F663270305F643270305F633270305F7A626331703000331  - Name:            .debug_aranges332    Type:            SHT_PROGBITS333    AddressAlign:    0x8334  - Name:            .debug_info335    Type:            SHT_PROGBITS336    AddressAlign:    0x1337    Content:         200000000500010400000000010000000080030000420000000008000000410000000180A904000005000104140000000D350100001D52000000000000009200000004010863020000040207BE020000040407120100000404070D01000004010665020000052B0100000126171E000000040205A7000000059C00000001281C25000000053A0300000129146C0000000E0405696E74000577000000012A162C000000040805FA00000004080708010000040405FF0000000F040401086C020000053C030000021A1360000000052D01000003181341000000059E000000031914540000000579000000031A14730000000550000000041F12C1000000100C04D304090E010000087A02000004D5040ECD00000000089002000004D6040ECD00000004081403000004D7040ECD0000000800115803000004D80403D900000009960000002B0100000A2C0000000300040804500200000410044B0200001206030000091E10940000000557020000051C1C250000000B900300001006B278010000064E03000006B405450100000006B602000006B50A7D0100000200035101000009960000008D0100000A2C0000000D000151010000028D01000007FA0200000397010000019701000002A1010000079903000003AB01000001AB01000002B501000007D102000003BF01000001BF01000002C901000007ED02000003D301000001D301000002DD0100000B840300001007F22802000006CC00000007F4054501000000062803000007F50FBB03000002063103000007F614A103000004067102000007F9133C040000080003E701000001E7010000022D02000013830200001C070101088C02000008A002000007030105450100000008DC0000000704010FBB0300000208820000000705010EC10000000408AC02000007060115220400000808BE0000000707010EC100000018000337020000013702000002910200000768000000039B020000019B02000002A502000007B100000003AF02000001AF02000002B9020000075B00000003C302000001C302000002CD02000007EE00000003D702000001D702000002E1020000079000000003EB02000001EB02000002F5020000071B03000003FF02000001FF020000020903000001780100000213030000019C010000021D03000001B0010000022703000001C4010000023103000001D8010000023B03000001280200000245030000018C020000024F03000001A0020000025903000001B4020000026303000001C8020000026D03000001DC020000027703000001F002000002810300000104030000028B03000005E3020000071E12C10000000B3203000004071FBB030000069902000007210F9503000000000544030000077B12B5000000141007DA05F20300000C6F030000DC0AF20300000C1F010000DD0B020400000C63030000DE0B120400000009A9000000020400000A2C0000000F0009B5000000120400000A2C000000070009C1000000220400000A2C00000003000BAD0200001007D83C04000006E600000007DF09C70300000000091E0000004C0400000A2C0000000700040102DD020000152008420E8404000006D700000008440E0E0100000006460200000845081B0100000C06A703000008460B8904000010000353040000099D000000990400000A2C0000000300167A03000008470384040000040503980100000039000000050001043901000001350100001D0E010000000000000801000002AC03000001170B37000000050324200000030405696E740004300000000029010000050001046E01000007CE0300001D0A01000000000000060500005A0000003E010000080405696E740009E504000002D1173E0000000A2D00000001040712010000010805FA0000000110044B0200000B5E0000005E0000000C0002630000000D7800000003260000000378000000037800000000027D00000002820000000101086C02000006BB0300002D5300000006200500002F530000000EEC0400000160015E05000002000000019C0F0B0500000144010605000058000000019C040105000016260000000C000000041B05000023780000003100000004FC0400003078000000560000001006050000015710390000007B000000112E0500001E00000012690001580F2D00000087000000134605000005015A02830005015B02840005015C02850000000000338  - Name:            .debug_abbrev339    Type:            SHT_PROGBITS340    AddressAlign:    0x1341    Content:         01110010171101120F030E1B0E250E1305000000010F000B21044913000002370049130000032600491300000424000B0B3E0B030E0000051600030E3A0B3B0B390B49130000060D00030E3A0B3B0B390B4913380B0000071300030E3C190000080D00030E3A0B3B05390B4913380B00000901014913011300000A210049132F0B00000B1301030E0B0B3A0B3B0B392108011300000C0D00030E3A21073B0B390B491300000D1101250E130B031F1B1F101700000E24000B0B3E0B030800000F0F000B0B00001013010B0B3A0B3B05390B01130000111600030E3A0B3B05390B49130000123400030E3A0B3B0B390B49133F190000131301030E0B0B3A0B3B05390B011300001417010B0B3A0B3B0B390B011300001513010B0B3A0B3B0B390B01130000163400030E3A0B3B0B390B491388010B0218000000011101250E130B031F1B1F10170000023400030E3A0B3B0B390B49133F19021800000324000B0B3E0B0308000004260049130000000124000B0B3E0B030E0000020F000B21044913000003050049130000040500030E3A21013B21C400390B49130217000005490002187E180000063400030E3A21013B0B39210F49133F193C190000071101250E130B031F1B1F11011206101700000824000B0B3E0B03080000091600030E3A0B3B0B390B491300000A2600491300000B01014913011300000C210000000D15012719011300000E2E003F19030E3A0B3B0B390B27191101120640187A1900000F2E013F19030E3A0B3B0B390B27191101120640187A190000103400030E3A0B3B0B390B491302170000110B0111011206000012340003083A0B3B0B390B4913021700001348017D01000000342  - Name:            .debug_line343    Type:            SHT_PROGBITS344    AddressAlign:    0x1345    Content:         8E000000050004002E000000010101FB0E0D00010101010000000100000101011F02000000003900000002011F020F024A000000004A0000000100050280030000033101030109020001030209020001030109080001030109020001030109020001030109040001030109080001030109080001030209020001030109020001030C0902000103020908000109020000010172000000050004006A000000010101FB0E0D00010101010000000100000101011F07000000005D0000006B000000730000007A0000009A000000AA00000002011F020F0A5200000000C000000001C800000002D600000002E500000003EB00000002F600000004FF000000055200000000040100000632000000050004002A000000010101FB0E0D00010101010000000100000101011F010000000002011F020F020E010000000E01000000FA0000000500040033000000010101FB0E0D00010101010000000100000101011F02000000001501000002011F020F030A010000000A01000000850100000105010005020605000003C400010503031209000001050106036E0900000105280312090600010501036E0914000105280312090A000105030603010904000105080300090000010518030009000001050F060300090A00010507000204030603010902000105080002040306030009000001052100020403037F0908000105080002040303010902000105210002040306037F0902000105180002040303000900000105010603020906000106030709120001030A09000001090200000101346  - Name:            .debug_frame347    Type:            SHT_PROGBITS348    AddressAlign:    0x4349    Content:         0C000000FFFFFFFF0300017C010D020030000000000000000605000058000000420E2044880292045E8101890393059406950764C142C842C942D242D342D442D5420E000C000000000000005E05000002000000350  - Name:            .debug_line_str351    Type:            SHT_PROGBITS352    Flags:           [ SHF_MERGE, SHF_STRINGS ]353    AddressAlign:    0x1354    EntSize:         0x1355    Content:         2F686F6D652F6275696C6465722F73632D6964652F72697363762D676E752D746F6F6C636861696E2F72697363762D676C6962632F637375002E2E2F737973646570732F72697363760073746172742E53006162692D6E6F74652E63002E2E2F706F7369782F62697473002E2E2F62697473002E2E2F656C66002E2E2F737973646570732F756E69782F737973762F6C696E75782F62697473002E2E2F696E65742F6E6574696E6574002E2E2F737973646570732F72697363762F6E70746C0074797065732E6800737464696E742D696E746E2E6800737464696E742D75696E746E2E6800656C662E6800736F636B616464722E6800736F636B65742E6800696E2E6800746C732E6800656C662D696E69742E63002F686F6D652F6275696C6465722F73632D6964652F6F75742F72697363762D6763632D31312E312E302D67343737343433652D32313132333054313035362F6C69622F6763632F726973637636342D756E6B6E6F776E2D6C696E75782D676E752F31312E312E302F696E636C756465007374646465662E6800356  - Name:            .debug_loclists357    Type:            SHT_PROGBITS358    AddressAlign:    0x1359    Content:         B3000000050004000000000007060500003A050000015A073A0500004C0500000163074C0500005E05000004A3015A9F0007060500003A050000015B073A0500004C0500000164074C0500005E05000004A3015B9F0007060500003A050000015C073A0500004C0500000165074C0500005E05000004A3015C9F00072E05000054050000016200072E0500003A05000002309F073A05000044050000015907440500004605000003797F9F07460500004C050000015900360Symbols:361  - Name:            .interp362    Type:            STT_SECTION363    Section:         .interp364    Value:           0x174365  - Name:            .note.ABI-tag366    Type:            STT_SECTION367    Section:         .note.ABI-tag368    Value:           0x198369  - Name:            .gnu.hash370    Type:            STT_SECTION371    Section:         .gnu.hash372    Value:           0x1B8373  - Name:            .dynsym374    Type:            STT_SECTION375    Section:         .dynsym376    Value:           0x1D8377  - Name:            .dynstr378    Type:            STT_SECTION379    Section:         .dynstr380    Value:           0x248381  - Name:            .gnu.version382    Type:            STT_SECTION383    Section:         .gnu.version384    Value:           0x2B6385  - Name:            .gnu.version_r386    Type:            STT_SECTION387    Section:         .gnu.version_r388    Value:           0x2C4389  - Name:            .rela.dyn390    Type:            STT_SECTION391    Section:         .rela.dyn392    Value:           0x2E4393  - Name:            .rela.plt394    Type:            STT_SECTION395    Section:         .rela.plt396    Value:           0x344397  - Name:            .plt398    Type:            STT_SECTION399    Section:         .plt400    Value:           0x350401  - Name:            .text402    Type:            STT_SECTION403    Section:         .text404    Value:           0x380405  - Name:            .eh_frame_hdr406    Type:            STT_SECTION407    Section:         .eh_frame_hdr408    Value:           0x560409  - Name:            .eh_frame410    Type:            STT_SECTION411    Section:         .eh_frame412    Value:           0x574413  - Name:            .preinit_array414    Type:            STT_SECTION415    Section:         .preinit_array416    Value:           0x1F04417  - Name:            .init_array418    Type:            STT_SECTION419    Section:         .init_array420    Value:           0x1F08421  - Name:            .fini_array422    Type:            STT_SECTION423    Section:         .fini_array424    Value:           0x1F0C425  - Name:            .dynamic426    Type:            STT_SECTION427    Section:         .dynamic428    Value:           0x1F10429  - Name:            .data430    Type:            STT_SECTION431    Section:         .data432    Value:           0x2000433  - Name:            .got434    Type:            STT_SECTION435    Section:         .got436    Value:           0x2004437  - Name:            .sdata438    Type:            STT_SECTION439    Section:         .sdata440    Value:           0x2024441  - Name:            .bss442    Type:            STT_SECTION443    Section:         .bss444    Value:           0x2028445  - Name:            .comment446    Type:            STT_SECTION447    Section:         .comment448  - Name:            .riscv.attributes449    Type:            STT_SECTION450    Section:         .riscv.attributes451  - Name:            .debug_aranges452    Type:            STT_SECTION453    Section:         .debug_aranges454  - Name:            .debug_info455    Type:            STT_SECTION456    Section:         .debug_info457  - Name:            .debug_abbrev458    Type:            STT_SECTION459    Section:         .debug_abbrev460  - Name:            .debug_line461    Type:            STT_SECTION462    Section:         .debug_line463  - Name:            .debug_frame464    Type:            STT_SECTION465    Section:         .debug_frame466  - Name:            .debug_str467    Type:            STT_SECTION468    Section:         .debug_str469  - Name:            .debug_line_str470    Type:            STT_SECTION471    Section:         .debug_line_str472  - Name:            .debug_loclists473    Type:            STT_SECTION474    Section:         .debug_loclists475  - Name:            abi-note.c476    Type:            STT_FILE477    Index:           SHN_ABS478  - Name:            __abi_tag479    Type:            STT_OBJECT480    Section:         .note.ABI-tag481    Value:           0x198482    Size:            0x20483  - Name:            start.os484    Type:            STT_FILE485    Index:           SHN_ABS486  - Name:            '$x'487    Section:         .text488    Value:           0x380489  - Name:            load_gp490    Section:         .text491    Value:           0x3AA492  - Name:            init.c493    Type:            STT_FILE494    Index:           SHN_ABS495  - Name:            crtstuff.c496    Type:            STT_FILE497    Index:           SHN_ABS498  - Name:            deregister_tm_clones499    Type:            STT_FUNC500    Section:         .text501    Value:           0x3B8502  - Name:            '$x (1)'503    Section:         .text504    Value:           0x3B8505  - Name:            register_tm_clones506    Type:            STT_FUNC507    Section:         .text508    Value:           0x3E0509  - Name:            __do_global_dtors_aux510    Type:            STT_FUNC511    Section:         .text512    Value:           0x41C513  - Name:            completed.0514    Type:            STT_OBJECT515    Section:         .bss516    Value:           0x2028517    Size:            0x1518  - Name:            __do_global_dtors_aux_fini_array_entry519    Type:            STT_OBJECT520    Section:         .fini_array521    Value:           0x1F0C522  - Name:            frame_dummy523    Type:            STT_FUNC524    Section:         .text525    Value:           0x46C526  - Name:            __frame_dummy_init_array_entry527    Type:            STT_OBJECT528    Section:         .init_array529    Value:           0x1F08530  - Name:            riscv32-zbc.c531    Type:            STT_FILE532    Index:           SHN_ABS533  - Name:            elf-init.c534    Type:            STT_FILE535    Index:           SHN_ABS536  - Name:            '$x (2)'537    Section:         .text538    Value:           0x506539  - Name:            'crtstuff.c (1)'540    Type:            STT_FILE541    Index:           SHN_ABS542  - Name:            __FRAME_END__543    Type:            STT_OBJECT544    Section:         .eh_frame545    Value:           0x59C546  - Type:            STT_FILE547    Index:           SHN_ABS548  - Name:            _PROCEDURE_LINKAGE_TABLE_549    Type:            STT_OBJECT550    Index:           SHN_ABS551    Value:           0x350552  - Name:            __init_array_end553    Section:         .init_array554    Value:           0x1F0C555  - Name:            _DYNAMIC556    Type:            STT_OBJECT557    Index:           SHN_ABS558    Value:           0x1F10559  - Name:            __init_array_start560    Section:         .init_array561    Value:           0x1F08562  - Name:            __GNU_EH_FRAME_HDR563    Section:         .eh_frame_hdr564    Value:           0x560565  - Name:            _GLOBAL_OFFSET_TABLE_566    Type:            STT_OBJECT567    Index:           SHN_ABS568    Value:           0x2010569  - Name:            clmulh570    Type:            STT_FUNC571    Section:         .text572    Binding:         STB_GLOBAL573    Value:           0x494574    Size:            0x24575  - Name:            __libc_csu_fini576    Type:            STT_FUNC577    Section:         .text578    Binding:         STB_GLOBAL579    Value:           0x55E580    Size:            0x2581  - Name:            _ITM_deregisterTMCloneTable582    Binding:         STB_WEAK583  - Name:            data_start584    Section:         .data585    Binding:         STB_WEAK586    Value:           0x2000587  - Name:            __BSS_END__588    Section:         .bss589    Binding:         STB_GLOBAL590    Value:           0x202C591  - Name:            _edata592    Section:         .sdata593    Binding:         STB_GLOBAL594    Value:           0x2028595  - Name:            __SDATA_BEGIN__596    Section:         .sdata597    Binding:         STB_GLOBAL598    Value:           0x2024599  - Name:            __DATA_BEGIN__600    Section:         .data601    Binding:         STB_GLOBAL602    Value:           0x2000603  - Name:            clmul604    Type:            STT_FUNC605    Section:         .text606    Binding:         STB_GLOBAL607    Value:           0x470608    Size:            0x24609  - Name:            clmulr610    Type:            STT_FUNC611    Section:         .text612    Binding:         STB_GLOBAL613    Value:           0x4B8614    Size:            0x24615  - Name:            __data_start616    Section:         .data617    Binding:         STB_GLOBAL618    Value:           0x2000619  - Name:            '__cxa_finalize@GLIBC_2.33'620    Type:            STT_FUNC621    Binding:         STB_WEAK622  - Name:            __dso_handle623    Type:            STT_OBJECT624    Section:         .data625    Binding:         STB_GLOBAL626    Value:           0x2000627    Other:           [ STV_HIDDEN ]628  - Name:            _IO_stdin_used629    Type:            STT_OBJECT630    Section:         .sdata631    Binding:         STB_GLOBAL632    Value:           0x2024633    Size:            0x4634  - Name:            '__libc_start_main@GLIBC_2.33'635    Type:            STT_FUNC636    Binding:         STB_GLOBAL637  - Name:            __libc_csu_init638    Type:            STT_FUNC639    Section:         .text640    Binding:         STB_GLOBAL641    Value:           0x506642    Size:            0x58643  - Name:            _end644    Section:         .bss645    Binding:         STB_GLOBAL646    Value:           0x202C647  - Name:            _start648    Type:            STT_FUNC649    Section:         .text650    Binding:         STB_GLOBAL651    Value:           0x380652    Size:            0x2A653  - Name:            '__global_pointer$'654    Index:           SHN_ABS655    Binding:         STB_GLOBAL656    Value:           0x2800657  - Name:            __bss_start658    Section:         .bss659    Binding:         STB_GLOBAL660    Value:           0x2028661  - Name:            main662    Type:            STT_FUNC663    Section:         .text664    Binding:         STB_GLOBAL665    Value:           0x4DC666    Size:            0x2A667  - Name:            __TMC_END__668    Type:            STT_OBJECT669    Section:         .got670    Binding:         STB_GLOBAL671    Value:           0x2004672    Other:           [ STV_HIDDEN ]673  - Name:            _ITM_registerTMCloneTable674    Binding:         STB_WEAK675DynamicSymbols:676  - Name:            .text677    Type:            STT_SECTION678    Section:         .text679    Value:           0x380680  - Name:            _ITM_deregisterTMCloneTable681    Binding:         STB_WEAK682  - Name:            __cxa_finalize683    Type:            STT_FUNC684    Binding:         STB_WEAK685  - Name:            __libc_start_main686    Type:            STT_FUNC687    Binding:         STB_GLOBAL688  - Name:            _ITM_registerTMCloneTable689    Binding:         STB_WEAK690  - Name:            main691    Type:            STT_FUNC692    Section:         .text693    Binding:         STB_GLOBAL694    Value:           0x4DC695    Size:            0x2A696DWARF:697  debug_str:698    - start.S699    - '/home/builder/sc-ide/riscv-gnu-toolchain/riscv-glibc/csu'700    - GNU AS 2.37.50701    - Elf32_Word702    - sockaddr_iso703    - sockaddr_inarp704    - __uint32_t705    - sin6_flowinfo706    - sockaddr_un707    - __uint16_t708    - short int709    - sockaddr_ipx710    - sin6_scope_id711    - sin_family712    - nhdr713    - sin6_port714    - __in6_u715    - sockaddr_ns716    - long long int717    - long long unsigned int718    - __u6_addr16719    - __uint8_t720    - 'GNU C11 11.1.0 -march=rv32imafdc -mabi=ilp32d -mcmodel=medany -march=rv32imafdc -mabi=ilp32d -mtune=rocket -march=rv32imafdc -march=rv32imafdc -g -O2 -std=gnu11 -fgnu89-inline -fmerge-all-constants -frounding-math -fmath-errno -fno-stack-protector -ftls-model=initial-exec'721    - name722    - long double723    - sa_family_t724    - unsigned char725    - sin_zero726    - n_namesz727    - sockaddr_in6728    - n_descsz729    - s_addr730    - sin6_family731    - sin6_addr732    - sa_data733    - short unsigned int734    - sockaddr_dl735    - _Bool736    - in_addr_t737    - sockaddr_eon738    - sockaddr_at739    - __thread_self740    - n_type741    - sockaddr_x25742    - sin_port743    - sin_addr744    - __int32_t745    - in_port_t746    - sa_family747    - Elf32_Nhdr748    - __u6_addr32749    - __u6_addr8750    - __abi_tag751    - sockaddr_in752    - sockaddr753    - sockaddr_ax25754    - desc755    - _IO_stdin_used756    - __init_array_start757    - 'GNU C11 11.1.0 -march=rv32imafdc -mabi=ilp32d -mcmodel=medany -march=rv32imafdc -mabi=ilp32d -mtune=rocket -march=rv32imafdc -march=rv32imafdc -g -O2 -std=gnu11 -fgnu89-inline -fmerge-all-constants -frounding-math -fmath-errno -fPIC -fno-stack-protector -ftls-model=initial-exec'758    - size_t759    - __libc_csu_fini760    - envp761    - argc762    - size763    - __libc_csu_init764    - argv765    - __init_array_end766  debug_aranges:767    - Length:          0x1C768      Version:         2769      CuOffset:        0x0770      AddressSize:     0x4771      Descriptors:772        - Address:         0x380773          Length:          0x34774    - Length:          0x14775      Version:         2776      CuOffset:        0x24777      AddressSize:     0x4778    - Length:          0x14779      Version:         2780      CuOffset:        0x4D1781      AddressSize:     0x4782    - Length:          0x1C783      Version:         2784      CuOffset:        0x50E785      AddressSize:     0x4786      Descriptors:787        - Address:         0x506788          Length:          0x5A