mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-22 10:29:35 +00:00
llvm-mc: Fix tests for python variations in int printing, sigh.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80069 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e1f515ea59
commit
573e53627e
@ -244,25 +244,25 @@ sym_nlp_G:
|
||||
// CHECK: ('nlocrel', 0)
|
||||
// CHECK: ('_indirect_symbols', [
|
||||
// CHECK: # Indirect Symbol 0
|
||||
// CHECK: (('symbol_index', 5),),
|
||||
// CHECK: (('symbol_index', 0x5),),
|
||||
// CHECK: # Indirect Symbol 1
|
||||
// CHECK: (('symbol_index', 4),),
|
||||
// CHECK: (('symbol_index', 0x4),),
|
||||
// CHECK: # Indirect Symbol 2
|
||||
// CHECK: (('symbol_index', 0),),
|
||||
// CHECK: (('symbol_index', 0x0),),
|
||||
// CHECK: # Indirect Symbol 3
|
||||
// CHECK: (('symbol_index', 6),),
|
||||
// CHECK: (('symbol_index', 0x6),),
|
||||
// CHECK: # Indirect Symbol 4
|
||||
// CHECK: (('symbol_index', 2),),
|
||||
// CHECK: (('symbol_index', 0x2),),
|
||||
// CHECK: # Indirect Symbol 5
|
||||
// CHECK: (('symbol_index', 8),),
|
||||
// CHECK: (('symbol_index', 0x8),),
|
||||
// CHECK: # Indirect Symbol 6
|
||||
// CHECK: (('symbol_index', 7),),
|
||||
// CHECK: (('symbol_index', 0x7),),
|
||||
// CHECK: # Indirect Symbol 7
|
||||
// CHECK: (('symbol_index', 2147483648),),
|
||||
// CHECK: (('symbol_index', 0x80000000),),
|
||||
// CHECK: # Indirect Symbol 8
|
||||
// CHECK: (('symbol_index', 9),),
|
||||
// CHECK: (('symbol_index', 0x9),),
|
||||
// CHECK: # Indirect Symbol 9
|
||||
// CHECK: (('symbol_index', 3),),
|
||||
// CHECK: (('symbol_index', 0x3),),
|
||||
// CHECK: ])
|
||||
// CHECK: ),
|
||||
// CHECK: ])
|
||||
|
@ -198,7 +198,7 @@ def dumpDysymtabCommand(f, opts):
|
||||
print " ('_indirect_symbols', ["
|
||||
for i in range(nindirectsyms):
|
||||
print " # Indirect Symbol %r" % i
|
||||
print " (('symbol_index', %r),)," % f.read32()
|
||||
print " (('symbol_index', %#x),)," % f.read32()
|
||||
print " ])"
|
||||
|
||||
f.seek(prev_pos)
|
||||
|
Loading…
Reference in New Issue
Block a user