1 #objdump: -r 2 #name: weakref tests, relocations 3 # ecoff (OSF/alpha) lacks .weak support 4 # pdp11 lacks .long 5 # darwin (mach-o) reverses the order of relocs. 6 # the following must be present in all weakref1*.d 7 #notarget: alpha*-*-osf* *-*-ecoff pdp11-*-aout *-*-darwin* 8 #xfail: nds32*-*-* 9 10 #... 11 RELOCATION RECORDS FOR \[(\.text|\$CODE\$)\]: 12 OFFSET +TYPE +VALUE * 13 # the rest of this file is generated with the following script: 14 # # script begin 15 # echo \#... 16 # sed -n 's:^[ ]*\.long \(W\|\)\(.*[^a-z]\)[a-z]*\(\| - .*\)$:\2:p' weakref1.s | sed -e 's,^[lg].*,(&|\\.text)(\\+0x[0-9a-f]+)?,' | sed 's,^,[0-9a-f]+ [^ ]* +,' 17 # # script output: 18 #... 19 [0-9a-f]+ [^ ]* +wa1 20 [0-9a-f]+ [^ ]* +ua2 21 [0-9a-f]+ [^ ]* +ua3 22 [0-9a-f]+ [^ ]* +ua3 23 [0-9a-f]+ [^ ]* +ua4 24 [0-9a-f]+ [^ ]* +ua4 25 [0-9a-f]+ [^ ]* +wb1 26 [0-9a-f]+ [^ ]* +ub2 27 [0-9a-f]+ [^ ]* +ub3 28 [0-9a-f]+ [^ ]* +ub3 29 [0-9a-f]+ [^ ]* +ub4 30 [0-9a-f]+ [^ ]* +ub4 31 [0-9a-f]+ [^ ]* +wc1 32 [0-9a-f]+ [^ ]* +wc1 33 [0-9a-f]+ [^ ]* +uc2 34 [0-9a-f]+ [^ ]* +uc2 35 [0-9a-f]+ [^ ]* +uc3 36 [0-9a-f]+ [^ ]* +uc3 37 [0-9a-f]+ [^ ]* +uc3 38 [0-9a-f]+ [^ ]* +uc3 39 [0-9a-f]+ [^ ]* +uc4 40 [0-9a-f]+ [^ ]* +uc4 41 [0-9a-f]+ [^ ]* +uc4 42 [0-9a-f]+ [^ ]* +uc4 43 [0-9a-f]+ [^ ]* +uc5 44 [0-9a-f]+ [^ ]* +uc5 45 [0-9a-f]+ [^ ]*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