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_zbc 5 6# Fail as unsupported extension is provided 7# RUN: yaml2obj %s -D BITS=32 -o %t.32.o 8# RUN: llvm-objdump -d --no-show-raw-insn %t.32.o \ 9# RUN: | FileCheck %s --check-prefixes=DISASM 10 11# DISASM-LABEL: <clmul> 12# DISASM: clmul a0, a0, a1 13 14# DISASM-LABEL: <clmulh> 15# DISASM: clmulh a0, a0, a1 16 17# DISASM-LABEL: <clmulr> 18# DISASM: clmulr a0, a0, a1 19 20--- !ELF 21FileHeader: 22 Class: ELFCLASS32 23 Data: ELFDATA2LSB 24 Type: ET_DYN 25 Machine: EM_RISCV 26 Flags: [ EF_RISCV_RVC, EF_RISCV_FLOAT_ABI_DOUBLE ] 27 Entry: 0x380 28ProgramHeaders: 29 - Type: PT_PHDR 30 Flags: [ PF_R ] 31 VAddr: 0x34 32 Align: 0x4 33 - Type: PT_INTERP 34 Flags: [ PF_R ] 35 FirstSec: .interp 36 LastSec: .interp 37 VAddr: 0x174 38 - Type: 0x70000003 39 Flags: [ PF_R ] 40 FirstSec: .riscv.attributes 41 LastSec: .riscv.attributes 42 - Type: PT_LOAD 43 Flags: [ PF_X, PF_R ] 44 FirstSec: .interp 45 LastSec: .eh_frame 46 Align: 0x1000 47 - Type: PT_LOAD 48 Flags: [ PF_W, PF_R ] 49 FirstSec: .preinit_array 50 LastSec: .bss 51 VAddr: 0x1F04 52 Align: 0x1000 53 - Type: PT_DYNAMIC 54 Flags: [ PF_W, PF_R ] 55 FirstSec: .dynamic 56 LastSec: .dynamic 57 VAddr: 0x1F10 58 Align: 0x4 59 - Type: PT_NOTE 60 Flags: [ PF_R ] 61 FirstSec: .note.ABI-tag 62 LastSec: .note.ABI-tag 63 VAddr: 0x198 64 Align: 0x4 65 - Type: PT_GNU_EH_FRAME 66 Flags: [ PF_R ] 67 FirstSec: .eh_frame_hdr 68 LastSec: .eh_frame_hdr 69 VAddr: 0x560 70 Align: 0x4 71 - Type: PT_GNU_STACK 72 Flags: [ PF_W, PF_R ] 73 Align: 0x10 74 - Type: PT_GNU_RELRO 75 Flags: [ PF_R ] 76 FirstSec: .preinit_array 77 LastSec: .dynamic 78 VAddr: 0x1F04 79Sections: 80 - Name: .interp 81 Type: SHT_PROGBITS 82 Flags: [ SHF_ALLOC ] 83 Address: 0x174 84 AddressAlign: 0x1 85 Content: 2F6C69622F6C642D6C696E75782D726973637633322D696C703332642E736F2E3100 86 - Name: .note.ABI-tag 87 Type: SHT_NOTE 88 Flags: [ SHF_ALLOC ] 89 Address: 0x198 90 AddressAlign: 0x4 91 Notes: 92 - Name: GNU 93 Desc: '00000000050000000400000000000000' 94 Type: NT_VERSION 95 - Name: .gnu.hash 96 Type: SHT_GNU_HASH 97 Flags: [ SHF_ALLOC ] 98 Address: 0x1B8 99 Link: .dynsym 100 AddressAlign: 0x4 101 EntSize: 0x4 102 Header: 103 SymNdx: 0x6 104 Shift2: 0x5 105 BloomFilter: [ 0x8000400 ] 106 HashBuckets: [ 0x6, 0x0 ] 107 HashValues: [ 0x7C9A7F6B ] 108 - Name: .dynsym 109 Type: SHT_DYNSYM 110 Flags: [ SHF_ALLOC ] 111 Address: 0x1D8 112 Link: .dynstr 113 AddressAlign: 0x4 114 - Name: .dynstr 115 Type: SHT_STRTAB 116 Flags: [ SHF_ALLOC ] 117 Address: 0x248 118 AddressAlign: 0x1 119 - Name: .gnu.version 120 Type: SHT_GNU_versym 121 Flags: [ SHF_ALLOC ] 122 Address: 0x2B6 123 Link: .dynsym 124 AddressAlign: 0x2 125 Entries: [ 0, 0, 1, 2, 2, 1, 1 ] 126 - Name: .gnu.version_r 127 Type: SHT_GNU_verneed 128 Flags: [ SHF_ALLOC ] 129 Address: 0x2C4 130 Link: .dynstr 131 AddressAlign: 0x4 132 Dependencies: 133 - Version: 1 134 File: libc.so.6 135 Entries: 136 - Name: GLIBC_2.33 137 Hash: 110530995 138 Flags: 0 139 Other: 2 140 - Name: .rela.dyn 141 Type: SHT_RELA 142 Flags: [ SHF_ALLOC ] 143 Address: 0x2E4 144 Link: .dynsym 145 AddressAlign: 0x4 146 Relocations: 147 - Offset: 0x1F04 148 Type: R_RISCV_RELATIVE 149 Addend: 938 150 - Offset: 0x1F08 151 Type: R_RISCV_RELATIVE 152 Addend: 1132 153 - Offset: 0x1F0C 154 Type: R_RISCV_RELATIVE 155 Addend: 1052 156 - Offset: 0x2000 157 Type: R_RISCV_RELATIVE 158 Addend: 8192 159 - Offset: 0x201C 160 Type: R_RISCV_RELATIVE 161 Addend: 1244 162 - Offset: 0x2014 163 Symbol: _ITM_deregisterTMCloneTable 164 Type: R_RISCV_32 165 - Offset: 0x2018 166 Symbol: __cxa_finalize 167 Type: R_RISCV_32 168 - Offset: 0x2020 169 Symbol: _ITM_registerTMCloneTable 170 Type: R_RISCV_32 171 - Name: .rela.plt 172 Type: SHT_RELA 173 Flags: [ SHF_ALLOC, SHF_INFO_LINK ] 174 Address: 0x344 175 Link: .dynsym 176 AddressAlign: 0x4 177 Info: .got 178 Relocations: 179 - Offset: 0x200C 180 Symbol: __libc_start_main 181 Type: R_RISCV_JUMP_SLOT 182 - Name: .plt 183 Type: SHT_PROGBITS 184 Flags: [ SHF_ALLOC, SHF_EXECINSTR ] 185 Address: 0x350 186 AddressAlign: 0x10 187 EntSize: 0x10 188 Content: 972300003303C34103AE43CB130343FD938243CB1353230083A2420067000E00172E0000032ECEC967030E0013000000 189 - Name: .text 190 Type: SHT_PROGBITS 191 Flags: [ SHF_ALLOC, SHF_EXECINSTR ] 192 Address: 0x380 193 AddressAlign: 0x4 194 Content: 2D20AA8717250000032585C982455000137101FF9706000093862617170700001307271C0A88E93702909721000093816145828000000000172500001305C5C497270000938747C4638AA7009727000083A787C463840700678007006780000017250000130545C2972500009385C5C1B385A54093D7254093D5F501B385F50093D51540638A05009727000083A787C1638407006780070067800000130101FF2324810017240000130444C08347040023261100639407029727000083A707BE63880700172500000325C5BBE7800700EFF09FF6930710002300F4008320C1000324810013010101678000006FF05FF7411106C622C40008232AA4FE2328B4FE032544FF832504FF3315B50AB240224441018280411106C622C40008232AA4FE2328B4FE032544FF832504FF3335B50AB240224441018280411106C622C40008232AA4FE2328B4FE032544FF832504FF3325B50AB240224441018280011106CE22CC001001452326A4FE232AA4FE05458945BD3FAA850325C4FE2328B4FEF240624405618280011122CC4AC8172400001304C49F172900001309899F3309894006CE26CA4EC652C456C213592940630F0900AA892E8AB28A81441C405686D2854E85850482971104E31999FEF2406244D2444249B249224A924A056182808280 195 - Name: .eh_frame_hdr 196 Type: SHT_PROGBITS 197 Flags: [ SHF_ALLOC ] 198 Address: 0x560 199 AddressAlign: 0x4 200 Content: 011B033B100000000100000020FEFFFF28000000 201 - Name: .eh_frame 202 Type: SHT_PROGBITS 203 Flags: [ SHF_ALLOC ] 204 Address: 0x574 205 AddressAlign: 0x4 206 Content: 1000000000000000037A5200017C01011B0D02001000000018000000F0FDFFFF2A0000000007010000000000 207 - Name: .preinit_array 208 Type: SHT_PREINIT_ARRAY 209 Flags: [ SHF_WRITE, SHF_ALLOC ] 210 Address: 0x1F04 211 AddressAlign: 0x1 212 EntSize: 0x4 213 Offset: 0xF04 214 Content: '00000000' 215 - Name: .init_array 216 Type: SHT_INIT_ARRAY 217 Flags: [ SHF_WRITE, SHF_ALLOC ] 218 Address: 0x1F08 219 AddressAlign: 0x4 220 EntSize: 0x4 221 Content: '00000000' 222 - Name: .fini_array 223 Type: SHT_FINI_ARRAY 224 Flags: [ SHF_WRITE, SHF_ALLOC ] 225 Address: 0x1F0C 226 AddressAlign: 0x4 227 EntSize: 0x4 228 Content: '00000000' 229 - Name: .dynamic 230 Type: SHT_DYNAMIC 231 Flags: [ SHF_WRITE, SHF_ALLOC ] 232 Address: 0x1F10 233 Link: .dynstr 234 AddressAlign: 0x4 235 Entries: 236 - Tag: DT_NEEDED 237 Value: 0x22 238 - Tag: DT_PREINIT_ARRAY 239 Value: 0x1F04 240 - Tag: DT_PREINIT_ARRAYSZ 241 Value: 0x4 242 - Tag: DT_INIT_ARRAY 243 Value: 0x1F08 244 - Tag: DT_INIT_ARRAYSZ 245 Value: 0x4 246 - Tag: DT_FINI_ARRAY 247 Value: 0x1F0C 248 - Tag: DT_FINI_ARRAYSZ 249 Value: 0x4 250 - Tag: DT_GNU_HASH 251 Value: 0x1B8 252 - Tag: DT_STRTAB 253 Value: 0x248 254 - Tag: DT_SYMTAB 255 Value: 0x1D8 256 - Tag: DT_STRSZ 257 Value: 0x6D 258 - Tag: DT_SYMENT 259 Value: 0x10 260 - Tag: DT_DEBUG 261 Value: 0x0 262 - Tag: DT_PLTGOT 263 Value: 0x2004 264 - Tag: DT_PLTRELSZ 265 Value: 0xC 266 - Tag: DT_PLTREL 267 Value: 0x7 268 - Tag: DT_JMPREL 269 Value: 0x344 270 - Tag: DT_RELA 271 Value: 0x2E4 272 - Tag: DT_RELASZ 273 Value: 0x6C 274 - Tag: DT_RELAENT 275 Value: 0xC 276 - Tag: DT_FLAGS_1 277 Value: 0x8000000 278 - Tag: DT_VERNEED 279 Value: 0x2C4 280 - Tag: DT_VERNEEDNUM 281 Value: 0x1 282 - Tag: DT_VERSYM 283 Value: 0x2B6 284 - Tag: DT_RELACOUNT 285 Value: 0x5 286 - Tag: DT_NULL 287 Value: 0x0 288 - Tag: DT_NULL 289 Value: 0x0 290 - Tag: DT_NULL 291 Value: 0x0 292 - Tag: DT_NULL 293 Value: 0x0 294 - Tag: DT_NULL 295 Value: 0x0 296 - Name: .data 297 Type: SHT_PROGBITS 298 Flags: [ SHF_WRITE, SHF_ALLOC ] 299 Address: 0x2000 300 AddressAlign: 0x4 301 Content: '00000000' 302 - Name: .got 303 Type: SHT_PROGBITS 304 Flags: [ SHF_WRITE, SHF_ALLOC ] 305 Address: 0x2004 306 AddressAlign: 0x4 307 EntSize: 0x4 308 Content: FFFFFFFF0000000050030000101F000000000000000000000000000000000000 309 - Name: .sdata 310 Type: SHT_PROGBITS 311 Flags: [ SHF_WRITE, SHF_ALLOC ] 312 Address: 0x2024 313 AddressAlign: 0x4 314 Content: '01000200' 315 - Name: .bss 316 Type: SHT_NOBITS 317 Flags: [ SHF_WRITE, SHF_ALLOC ] 318 Address: 0x2028 319 AddressAlign: 0x1 320 Size: 0x4 321 - Name: .comment 322 Type: SHT_PROGBITS 323 Flags: [ SHF_MERGE, SHF_STRINGS ] 324 AddressAlign: 0x1 325 EntSize: 0x1 326 Content: 4743433A2028474E55292031312E312E3000636C616E672076657273696F6E2031362E302E302028687474703A2F2F6769746C61622E6465762E73796E7461636F72652E636F6D2F746F6F6C732F6C6C766D2F6C6C766D2D70726F6A6563742E67697420396233353161663039623966333866393266376334343862643631663531336166663363306135322900 327 - Name: .riscv.attributes 328 Type: SHT_RISCV_ATTRIBUTES 329 AddressAlign: 0x1 330 Content: 413B000000726973637600013100000004100572763332693270305F6D3270305F613270305F663270305F643270305F633270305F7A626331703000 331 - Name: .debug_aranges 332 Type: SHT_PROGBITS 333 AddressAlign: 0x8 334 - Name: .debug_info 335 Type: SHT_PROGBITS 336 AddressAlign: 0x1 337 Content: 200000000500010400000000010000000080030000420000000008000000410000000180A904000005000104140000000D350100001D52000000000000009200000004010863020000040207BE020000040407120100000404070D01000004010665020000052B0100000126171E000000040205A7000000059C00000001281C25000000053A0300000129146C0000000E0405696E74000577000000012A162C000000040805FA00000004080708010000040405FF0000000F040401086C020000053C030000021A1360000000052D01000003181341000000059E000000031914540000000579000000031A14730000000550000000041F12C1000000100C04D304090E010000087A02000004D5040ECD00000000089002000004D6040ECD00000004081403000004D7040ECD0000000800115803000004D80403D900000009960000002B0100000A2C0000000300040804500200000410044B0200001206030000091E10940000000557020000051C1C250000000B900300001006B278010000064E03000006B405450100000006B602000006B50A7D0100000200035101000009960000008D0100000A2C0000000D000151010000028D01000007FA0200000397010000019701000002A1010000079903000003AB01000001AB01000002B501000007D102000003BF01000001BF01000002C901000007ED02000003D301000001D301000002DD0100000B840300001007F22802000006CC00000007F4054501000000062803000007F50FBB03000002063103000007F614A103000004067102000007F9133C040000080003E701000001E7010000022D02000013830200001C070101088C02000008A002000007030105450100000008DC0000000704010FBB0300000208820000000705010EC10000000408AC02000007060115220400000808BE0000000707010EC100000018000337020000013702000002910200000768000000039B020000019B02000002A502000007B100000003AF02000001AF02000002B9020000075B00000003C302000001C302000002CD02000007EE00000003D702000001D702000002E1020000079000000003EB02000001EB02000002F5020000071B03000003FF02000001FF020000020903000001780100000213030000019C010000021D03000001B0010000022703000001C4010000023103000001D8010000023B03000001280200000245030000018C020000024F03000001A0020000025903000001B4020000026303000001C8020000026D03000001DC020000027703000001F002000002810300000104030000028B03000005E3020000071E12C10000000B3203000004071FBB030000069902000007210F9503000000000544030000077B12B5000000141007DA05F20300000C6F030000DC0AF20300000C1F010000DD0B020400000C63030000DE0B120400000009A9000000020400000A2C0000000F0009B5000000120400000A2C000000070009C1000000220400000A2C00000003000BAD0200001007D83C04000006E600000007DF09C70300000000091E0000004C0400000A2C0000000700040102DD020000152008420E8404000006D700000008440E0E0100000006460200000845081B0100000C06A703000008460B8904000010000353040000099D000000990400000A2C0000000300167A03000008470384040000040503980100000039000000050001043901000001350100001D0E010000000000000801000002AC03000001170B37000000050324200000030405696E740004300000000029010000050001046E01000007CE0300001D0A01000000000000060500005A0000003E010000080405696E740009E504000002D1173E0000000A2D00000001040712010000010805FA0000000110044B0200000B5E0000005E0000000C0002630000000D7800000003260000000378000000037800000000027D00000002820000000101086C02000006BB0300002D5300000006200500002F530000000EEC0400000160015E05000002000000019C0F0B0500000144010605000058000000019C040105000016260000000C000000041B05000023780000003100000004FC0400003078000000560000001006050000015710390000007B000000112E0500001E00000012690001580F2D00000087000000134605000005015A02830005015B02840005015C02850000000000 338 - Name: .debug_abbrev 339 Type: SHT_PROGBITS 340 AddressAlign: 0x1 341 Content: 01110010171101120F030E1B0E250E1305000000010F000B21044913000002370049130000032600491300000424000B0B3E0B030E0000051600030E3A0B3B0B390B49130000060D00030E3A0B3B0B390B4913380B0000071300030E3C190000080D00030E3A0B3B05390B4913380B00000901014913011300000A210049132F0B00000B1301030E0B0B3A0B3B0B392108011300000C0D00030E3A21073B0B390B491300000D1101250E130B031F1B1F101700000E24000B0B3E0B030800000F0F000B0B00001013010B0B3A0B3B05390B01130000111600030E3A0B3B05390B49130000123400030E3A0B3B0B390B49133F190000131301030E0B0B3A0B3B05390B011300001417010B0B3A0B3B0B390B011300001513010B0B3A0B3B0B390B01130000163400030E3A0B3B0B390B491388010B0218000000011101250E130B031F1B1F10170000023400030E3A0B3B0B390B49133F19021800000324000B0B3E0B0308000004260049130000000124000B0B3E0B030E0000020F000B21044913000003050049130000040500030E3A21013B21C400390B49130217000005490002187E180000063400030E3A21013B0B39210F49133F193C190000071101250E130B031F1B1F11011206101700000824000B0B3E0B03080000091600030E3A0B3B0B390B491300000A2600491300000B01014913011300000C210000000D15012719011300000E2E003F19030E3A0B3B0B390B27191101120640187A1900000F2E013F19030E3A0B3B0B390B27191101120640187A190000103400030E3A0B3B0B390B491302170000110B0111011206000012340003083A0B3B0B390B4913021700001348017D01000000 342 - Name: .debug_line 343 Type: SHT_PROGBITS 344 AddressAlign: 0x1 345 Content: 8E000000050004002E000000010101FB0E0D00010101010000000100000101011F02000000003900000002011F020F024A000000004A0000000100050280030000033101030109020001030209020001030109080001030109020001030109020001030109040001030109080001030109080001030209020001030109020001030C0902000103020908000109020000010172000000050004006A000000010101FB0E0D00010101010000000100000101011F07000000005D0000006B000000730000007A0000009A000000AA00000002011F020F0A5200000000C000000001C800000002D600000002E500000003EB00000002F600000004FF000000055200000000040100000632000000050004002A000000010101FB0E0D00010101010000000100000101011F010000000002011F020F020E010000000E01000000FA0000000500040033000000010101FB0E0D00010101010000000100000101011F02000000001501000002011F020F030A010000000A01000000850100000105010005020605000003C400010503031209000001050106036E0900000105280312090600010501036E0914000105280312090A000105030603010904000105080300090000010518030009000001050F060300090A00010507000204030603010902000105080002040306030009000001052100020403037F0908000105080002040303010902000105210002040306037F0902000105180002040303000900000105010603020906000106030709120001030A09000001090200000101 346 - Name: .debug_frame 347 Type: SHT_PROGBITS 348 AddressAlign: 0x4 349 Content: 0C000000FFFFFFFF0300017C010D020030000000000000000605000058000000420E2044880292045E8101890393059406950764C142C842C942D242D342D442D5420E000C000000000000005E05000002000000 350 - Name: .debug_line_str 351 Type: SHT_PROGBITS 352 Flags: [ SHF_MERGE, SHF_STRINGS ] 353 AddressAlign: 0x1 354 EntSize: 0x1 355 Content: 2F686F6D652F6275696C6465722F73632D6964652F72697363762D676E752D746F6F6C636861696E2F72697363762D676C6962632F637375002E2E2F737973646570732F72697363760073746172742E53006162692D6E6F74652E63002E2E2F706F7369782F62697473002E2E2F62697473002E2E2F656C66002E2E2F737973646570732F756E69782F737973762F6C696E75782F62697473002E2E2F696E65742F6E6574696E6574002E2E2F737973646570732F72697363762F6E70746C0074797065732E6800737464696E742D696E746E2E6800737464696E742D75696E746E2E6800656C662E6800736F636B616464722E6800736F636B65742E6800696E2E6800746C732E6800656C662D696E69742E63002F686F6D652F6275696C6465722F73632D6964652F6F75742F72697363762D6763632D31312E312E302D67343737343433652D32313132333054313035362F6C69622F6763632F726973637636342D756E6B6E6F776E2D6C696E75782D676E752F31312E312E302F696E636C756465007374646465662E6800 356 - Name: .debug_loclists 357 Type: SHT_PROGBITS 358 AddressAlign: 0x1 359 Content: B3000000050004000000000007060500003A050000015A073A0500004C0500000163074C0500005E05000004A3015A9F0007060500003A050000015B073A0500004C0500000164074C0500005E05000004A3015B9F0007060500003A050000015C073A0500004C0500000165074C0500005E05000004A3015C9F00072E05000054050000016200072E0500003A05000002309F073A05000044050000015907440500004605000003797F9F07460500004C050000015900 360Symbols: 361 - Name: .interp 362 Type: STT_SECTION 363 Section: .interp 364 Value: 0x174 365 - Name: .note.ABI-tag 366 Type: STT_SECTION 367 Section: .note.ABI-tag 368 Value: 0x198 369 - Name: .gnu.hash 370 Type: STT_SECTION 371 Section: .gnu.hash 372 Value: 0x1B8 373 - Name: .dynsym 374 Type: STT_SECTION 375 Section: .dynsym 376 Value: 0x1D8 377 - Name: .dynstr 378 Type: STT_SECTION 379 Section: .dynstr 380 Value: 0x248 381 - Name: .gnu.version 382 Type: STT_SECTION 383 Section: .gnu.version 384 Value: 0x2B6 385 - Name: .gnu.version_r 386 Type: STT_SECTION 387 Section: .gnu.version_r 388 Value: 0x2C4 389 - Name: .rela.dyn 390 Type: STT_SECTION 391 Section: .rela.dyn 392 Value: 0x2E4 393 - Name: .rela.plt 394 Type: STT_SECTION 395 Section: .rela.plt 396 Value: 0x344 397 - Name: .plt 398 Type: STT_SECTION 399 Section: .plt 400 Value: 0x350 401 - Name: .text 402 Type: STT_SECTION 403 Section: .text 404 Value: 0x380 405 - Name: .eh_frame_hdr 406 Type: STT_SECTION 407 Section: .eh_frame_hdr 408 Value: 0x560 409 - Name: .eh_frame 410 Type: STT_SECTION 411 Section: .eh_frame 412 Value: 0x574 413 - Name: .preinit_array 414 Type: STT_SECTION 415 Section: .preinit_array 416 Value: 0x1F04 417 - Name: .init_array 418 Type: STT_SECTION 419 Section: .init_array 420 Value: 0x1F08 421 - Name: .fini_array 422 Type: STT_SECTION 423 Section: .fini_array 424 Value: 0x1F0C 425 - Name: .dynamic 426 Type: STT_SECTION 427 Section: .dynamic 428 Value: 0x1F10 429 - Name: .data 430 Type: STT_SECTION 431 Section: .data 432 Value: 0x2000 433 - Name: .got 434 Type: STT_SECTION 435 Section: .got 436 Value: 0x2004 437 - Name: .sdata 438 Type: STT_SECTION 439 Section: .sdata 440 Value: 0x2024 441 - Name: .bss 442 Type: STT_SECTION 443 Section: .bss 444 Value: 0x2028 445 - Name: .comment 446 Type: STT_SECTION 447 Section: .comment 448 - Name: .riscv.attributes 449 Type: STT_SECTION 450 Section: .riscv.attributes 451 - Name: .debug_aranges 452 Type: STT_SECTION 453 Section: .debug_aranges 454 - Name: .debug_info 455 Type: STT_SECTION 456 Section: .debug_info 457 - Name: .debug_abbrev 458 Type: STT_SECTION 459 Section: .debug_abbrev 460 - Name: .debug_line 461 Type: STT_SECTION 462 Section: .debug_line 463 - Name: .debug_frame 464 Type: STT_SECTION 465 Section: .debug_frame 466 - Name: .debug_str 467 Type: STT_SECTION 468 Section: .debug_str 469 - Name: .debug_line_str 470 Type: STT_SECTION 471 Section: .debug_line_str 472 - Name: .debug_loclists 473 Type: STT_SECTION 474 Section: .debug_loclists 475 - Name: abi-note.c 476 Type: STT_FILE 477 Index: SHN_ABS 478 - Name: __abi_tag 479 Type: STT_OBJECT 480 Section: .note.ABI-tag 481 Value: 0x198 482 Size: 0x20 483 - Name: start.os 484 Type: STT_FILE 485 Index: SHN_ABS 486 - Name: '$x' 487 Section: .text 488 Value: 0x380 489 - Name: load_gp 490 Section: .text 491 Value: 0x3AA 492 - Name: init.c 493 Type: STT_FILE 494 Index: SHN_ABS 495 - Name: crtstuff.c 496 Type: STT_FILE 497 Index: SHN_ABS 498 - Name: deregister_tm_clones 499 Type: STT_FUNC 500 Section: .text 501 Value: 0x3B8 502 - Name: '$x (1)' 503 Section: .text 504 Value: 0x3B8 505 - Name: register_tm_clones 506 Type: STT_FUNC 507 Section: .text 508 Value: 0x3E0 509 - Name: __do_global_dtors_aux 510 Type: STT_FUNC 511 Section: .text 512 Value: 0x41C 513 - Name: completed.0 514 Type: STT_OBJECT 515 Section: .bss 516 Value: 0x2028 517 Size: 0x1 518 - Name: __do_global_dtors_aux_fini_array_entry 519 Type: STT_OBJECT 520 Section: .fini_array 521 Value: 0x1F0C 522 - Name: frame_dummy 523 Type: STT_FUNC 524 Section: .text 525 Value: 0x46C 526 - Name: __frame_dummy_init_array_entry 527 Type: STT_OBJECT 528 Section: .init_array 529 Value: 0x1F08 530 - Name: riscv32-zbc.c 531 Type: STT_FILE 532 Index: SHN_ABS 533 - Name: elf-init.c 534 Type: STT_FILE 535 Index: SHN_ABS 536 - Name: '$x (2)' 537 Section: .text 538 Value: 0x506 539 - Name: 'crtstuff.c (1)' 540 Type: STT_FILE 541 Index: SHN_ABS 542 - Name: __FRAME_END__ 543 Type: STT_OBJECT 544 Section: .eh_frame 545 Value: 0x59C 546 - Type: STT_FILE 547 Index: SHN_ABS 548 - Name: _PROCEDURE_LINKAGE_TABLE_ 549 Type: STT_OBJECT 550 Index: SHN_ABS 551 Value: 0x350 552 - Name: __init_array_end 553 Section: .init_array 554 Value: 0x1F0C 555 - Name: _DYNAMIC 556 Type: STT_OBJECT 557 Index: SHN_ABS 558 Value: 0x1F10 559 - Name: __init_array_start 560 Section: .init_array 561 Value: 0x1F08 562 - Name: __GNU_EH_FRAME_HDR 563 Section: .eh_frame_hdr 564 Value: 0x560 565 - Name: _GLOBAL_OFFSET_TABLE_ 566 Type: STT_OBJECT 567 Index: SHN_ABS 568 Value: 0x2010 569 - Name: clmulh 570 Type: STT_FUNC 571 Section: .text 572 Binding: STB_GLOBAL 573 Value: 0x494 574 Size: 0x24 575 - Name: __libc_csu_fini 576 Type: STT_FUNC 577 Section: .text 578 Binding: STB_GLOBAL 579 Value: 0x55E 580 Size: 0x2 581 - Name: _ITM_deregisterTMCloneTable 582 Binding: STB_WEAK 583 - Name: data_start 584 Section: .data 585 Binding: STB_WEAK 586 Value: 0x2000 587 - Name: __BSS_END__ 588 Section: .bss 589 Binding: STB_GLOBAL 590 Value: 0x202C 591 - Name: _edata 592 Section: .sdata 593 Binding: STB_GLOBAL 594 Value: 0x2028 595 - Name: __SDATA_BEGIN__ 596 Section: .sdata 597 Binding: STB_GLOBAL 598 Value: 0x2024 599 - Name: __DATA_BEGIN__ 600 Section: .data 601 Binding: STB_GLOBAL 602 Value: 0x2000 603 - Name: clmul 604 Type: STT_FUNC 605 Section: .text 606 Binding: STB_GLOBAL 607 Value: 0x470 608 Size: 0x24 609 - Name: clmulr 610 Type: STT_FUNC 611 Section: .text 612 Binding: STB_GLOBAL 613 Value: 0x4B8 614 Size: 0x24 615 - Name: __data_start 616 Section: .data 617 Binding: STB_GLOBAL 618 Value: 0x2000 619 - Name: '__cxa_finalize@GLIBC_2.33' 620 Type: STT_FUNC 621 Binding: STB_WEAK 622 - Name: __dso_handle 623 Type: STT_OBJECT 624 Section: .data 625 Binding: STB_GLOBAL 626 Value: 0x2000 627 Other: [ STV_HIDDEN ] 628 - Name: _IO_stdin_used 629 Type: STT_OBJECT 630 Section: .sdata 631 Binding: STB_GLOBAL 632 Value: 0x2024 633 Size: 0x4 634 - Name: '__libc_start_main@GLIBC_2.33' 635 Type: STT_FUNC 636 Binding: STB_GLOBAL 637 - Name: __libc_csu_init 638 Type: STT_FUNC 639 Section: .text 640 Binding: STB_GLOBAL 641 Value: 0x506 642 Size: 0x58 643 - Name: _end 644 Section: .bss 645 Binding: STB_GLOBAL 646 Value: 0x202C 647 - Name: _start 648 Type: STT_FUNC 649 Section: .text 650 Binding: STB_GLOBAL 651 Value: 0x380 652 Size: 0x2A 653 - Name: '__global_pointer$' 654 Index: SHN_ABS 655 Binding: STB_GLOBAL 656 Value: 0x2800 657 - Name: __bss_start 658 Section: .bss 659 Binding: STB_GLOBAL 660 Value: 0x2028 661 - Name: main 662 Type: STT_FUNC 663 Section: .text 664 Binding: STB_GLOBAL 665 Value: 0x4DC 666 Size: 0x2A 667 - Name: __TMC_END__ 668 Type: STT_OBJECT 669 Section: .got 670 Binding: STB_GLOBAL 671 Value: 0x2004 672 Other: [ STV_HIDDEN ] 673 - Name: _ITM_registerTMCloneTable 674 Binding: STB_WEAK 675DynamicSymbols: 676 - Name: .text 677 Type: STT_SECTION 678 Section: .text 679 Value: 0x380 680 - Name: _ITM_deregisterTMCloneTable 681 Binding: STB_WEAK 682 - Name: __cxa_finalize 683 Type: STT_FUNC 684 Binding: STB_WEAK 685 - Name: __libc_start_main 686 Type: STT_FUNC 687 Binding: STB_GLOBAL 688 - Name: _ITM_registerTMCloneTable 689 Binding: STB_WEAK 690 - Name: main 691 Type: STT_FUNC 692 Section: .text 693 Binding: STB_GLOBAL 694 Value: 0x4DC 695 Size: 0x2A 696DWARF: 697 debug_str: 698 - start.S 699 - '/home/builder/sc-ide/riscv-gnu-toolchain/riscv-glibc/csu' 700 - GNU AS 2.37.50 701 - Elf32_Word 702 - sockaddr_iso 703 - sockaddr_inarp 704 - __uint32_t 705 - sin6_flowinfo 706 - sockaddr_un 707 - __uint16_t 708 - short int 709 - sockaddr_ipx 710 - sin6_scope_id 711 - sin_family 712 - nhdr 713 - sin6_port 714 - __in6_u 715 - sockaddr_ns 716 - long long int 717 - long long unsigned int 718 - __u6_addr16 719 - __uint8_t 720 - '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 - name 722 - long double 723 - sa_family_t 724 - unsigned char 725 - sin_zero 726 - n_namesz 727 - sockaddr_in6 728 - n_descsz 729 - s_addr 730 - sin6_family 731 - sin6_addr 732 - sa_data 733 - short unsigned int 734 - sockaddr_dl 735 - _Bool 736 - in_addr_t 737 - sockaddr_eon 738 - sockaddr_at 739 - __thread_self 740 - n_type 741 - sockaddr_x25 742 - sin_port 743 - sin_addr 744 - __int32_t 745 - in_port_t 746 - sa_family 747 - Elf32_Nhdr 748 - __u6_addr32 749 - __u6_addr8 750 - __abi_tag 751 - sockaddr_in 752 - sockaddr 753 - sockaddr_ax25 754 - desc 755 - _IO_stdin_used 756 - __init_array_start 757 - '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_t 759 - __libc_csu_fini 760 - envp 761 - argc 762 - size 763 - __libc_csu_init 764 - argv 765 - __init_array_end 766 debug_aranges: 767 - Length: 0x1C 768 Version: 2 769 CuOffset: 0x0 770 AddressSize: 0x4 771 Descriptors: 772 - Address: 0x380 773 Length: 0x34 774 - Length: 0x14 775 Version: 2 776 CuOffset: 0x24 777 AddressSize: 0x4 778 - Length: 0x14 779 Version: 2 780 CuOffset: 0x4D1 781 AddressSize: 0x4 782 - Length: 0x1C 783 Version: 2 784 CuOffset: 0x50E 785 AddressSize: 0x4 786 Descriptors: 787 - Address: 0x506 788 Length: 0x5A