1 .data 2data_label: 3 .extern big_external_data_label,0x4000 4 .extern small_external_data_label,4 5 .comm big_external_common,0x4000 6 .comm small_external_common,4 7 .lcomm big_local_common,0x4000 8 .lcomm small_local_common,4 9 10# the small symbols should have space allocated in the sbss section 11# but this is not yet supported in the assembler, so space is allocated 12# in the .bss section and the relocations are not gp-relative. this will 13# be updated when gp-relative relocations are added 14 .text 15 sth r4,0(r0) 16 sth r4,4(r0) 17 sth r4,0x7ffc(r0) 18 sth r4,-0x8000(r0) 19 sth r4,0(r5) 20 sth r4,4(r5) 21 sth r4,0x7ffc(r5) 22 sth r4,-0x8000(r5) 23 sth r4,data_label(r0) 24 sth r4,big_external_data_label(r0) 25 sth r4,small_external_data_label(r0) 26 sth r4,big_external_common(r0) 27 sth r4,small_external_common(r0) 28 sth r4,big_local_common(r0) 29 sth r4,small_local_common(r0) 30 sth r4,data_label+4(r0) 31 sth r4,big_external_data_label+4(r0) 32 sth r4,small_external_data_label+4(r0) 33 sth r4,big_external_common+4(r0) 34 sth r4,small_external_common+4(r0) 35 sth r4,big_local_common+4(r0) 36 sth r4,small_local_common+4(r0) 37 sth r4,data_label-0x8000(r0) 38 sth r4,big_external_data_label-0x8000(r0) 39 sth r4,small_external_data_label-0x8000(r0) 40 sth r4,big_external_common-0x8000(r0) 41 sth r4,small_external_common-0x8000(r0) 42 sth r4,big_local_common-0x8000(r0) 43 sth r4,small_local_common-0x8000(r0) 44 sth r4,data_label+0x10000(r0) 45 sth r4,data_label(r5) 46 sth r4,big_external_data_label(r5) 47 sth r4,small_external_data_label(r5) 48 sth r4,big_external_common(r5) 49 sth r4,small_external_common(r5) 50 sth r4,big_local_common(r5) 51 sth r4,small_local_common(r5) 52 sth r4,data_label+4(r5) 53 sth r4,big_external_data_label+4(r5) 54 sth r4,small_external_data_label+4(r5) 55 sth r4,big_external_common+4(r5) 56 sth r4,small_external_common+4(r5) 57 sth r4,big_local_common+4(r5) 58 sth r4,small_local_common+4(r5) 59 sth r4,data_label-0x8000(r5) 60 sth r4,big_external_data_label-0x8000(r5) 61 sth r4,small_external_data_label-0x8000(r5) 62 sth r4,big_external_common-0x8000(r5) 63 sth r4,small_external_common-0x8000(r5) 64 sth r4,big_local_common-0x8000(r5) 65 sth r4,small_local_common-0x8000(r5) 66 67 sthio r4,0(r0) 68 sthio r4,4(r0) 69 sthio r4,0x7ffc(r0) 70 sthio r4,-0x8000(r0) 71 sthio r4,0(r5) 72 sthio r4,4(r5) 73 sthio r4,0x7ffc(r5) 74 sthio r4,-0x8000(r5) 75 sthio r4,data_label(r0) 76 sthio r4,big_external_data_label(r0) 77 sthio r4,small_external_data_label(r0) 78 sthio r4,big_external_common(r0) 79 sthio r4,small_external_common(r0) 80 sthio r4,big_local_common(r0) 81 sthio r4,small_local_common(r0) 82 sthio r4,data_label+4(r0) 83 sthio r4,big_external_data_label+4(r0) 84 sthio r4,small_external_data_label+4(r0) 85 sthio r4,big_external_common+4(r0) 86 sthio r4,small_external_common+4(r0) 87 sthio r4,big_local_common+4(r0) 88 sthio r4,small_local_common+4(r0) 89 sthio r4,data_label-0x8000(r0) 90 sthio r4,big_external_data_label-0x8000(r0) 91 sthio r4,small_external_data_label-0x8000(r0) 92 sthio r4,big_external_common-0x8000(r0) 93 sthio r4,small_external_common-0x8000(r0) 94 sthio r4,big_local_common-0x8000(r0) 95 sthio r4,small_local_common-0x8000(r0) 96 sthio r4,data_label+0x10000(r0) 97 sthio r4,data_label(r5) 98 sthio r4,big_external_data_label(r5) 99 sthio r4,small_external_data_label(r5) 100 sthio r4,big_external_common(r5) 101 sthio r4,small_external_common(r5) 102 sthio r4,big_local_common(r5) 103 sthio r4,small_local_common(r5) 104 sthio r4,data_label+4(r5) 105 sthio r4,big_external_data_label+4(r5) 106 sthio r4,small_external_data_label+4(r5) 107 sthio r4,big_external_common+4(r5) 108 sthio r4,small_external_common+4(r5) 109 sthio r4,big_local_common+4(r5) 110 sthio r4,small_local_common+4(r5) 111 sthio r4,data_label-0x8000(r5) 112 sthio r4,big_external_data_label-0x8000(r5) 113 sthio r4,small_external_data_label-0x8000(r5) 114 sthio r4,big_external_common-0x8000(r5) 115 sthio r4,small_external_common-0x8000(r5) 116 sthio r4,big_local_common-0x8000(r5) 117 sthio r4,small_local_common-0x8000(r5) 118