1 .data 2data_label: 3 .extern big_external_data_label,0x400 4 .extern small_external_data_label,4 5 .comm big_external_common,0x400 6 .comm small_external_common,4 7 .lcomm big_local_common,0x400 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 ldw r4,0(r0) 16 ldw r4,4(r0) 17 ldw r4,0x7fc(r0) 18 ldw r4,-0x800(r0) 19 ldw r4,0(r5) 20 ldw r4,4(r5) 21 ldw r4,0x7fc(r5) 22 ldw r4,-0x800(r5) 23 ldw r4,data_label(r0) 24 ldw r4,big_external_data_label(r0) 25 ldw r4,small_external_data_label(r0) 26 ldw r4,big_external_common(r0) 27 ldw r4,small_external_common(r0) 28 ldw r4,big_local_common(r0) 29 ldw r4,small_local_common(r0) 30 ldw r4,data_label+4(r0) 31 ldw r4,big_external_data_label+4(r0) 32 ldw r4,small_external_data_label+4(r0) 33 ldw r4,big_external_common+4(r0) 34 ldw r4,small_external_common+4(r0) 35 ldw r4,big_local_common+4(r0) 36 ldw r4,small_local_common+4(r0) 37 ldw r4,data_label-0x800(r0) 38 ldw r4,big_external_data_label-0x800(r0) 39 ldw r4,small_external_data_label-0x800(r0) 40 ldw r4,big_external_common-0x800(r0) 41 ldw r4,small_external_common-0x800(r0) 42 ldw r4,big_local_common-0x800(r0) 43 ldw r4,small_local_common-0x800(r0) 44 ldw r4,data_label+0x10000(r0) 45 ldw r4,data_label(r5) 46 ldw r4,big_external_data_label(r5) 47 ldw r4,small_external_data_label(r5) 48 ldw r4,big_external_common(r5) 49 ldw r4,small_external_common(r5) 50 ldw r4,big_local_common(r5) 51 ldw r4,small_local_common(r5) 52 ldw r4,data_label+4(r5) 53 ldw r4,big_external_data_label+4(r5) 54 ldw r4,small_external_data_label+4(r5) 55 ldw r4,big_external_common+4(r5) 56 ldw r4,small_external_common+4(r5) 57 ldw r4,big_local_common+4(r5) 58 ldw r4,small_local_common+4(r5) 59 ldw r4,data_label-0x800(r5) 60 ldw r4,big_external_data_label-0x800(r5) 61 ldw r4,small_external_data_label-0x800(r5) 62 ldw r4,big_external_common-0x800(r5) 63 ldw r4,small_external_common-0x800(r5) 64 ldw r4,big_local_common-0x800(r5) 65 ldw r4,small_local_common-0x800(r5) 66 67 ldwio r4,0(r0) 68 ldwio r4,4(r0) 69 ldwio r4,0x7fc(r0) 70 ldwio r4,-0x800(r0) 71 ldwio r4,0(r5) 72 ldwio r4,4(r5) 73 ldwio r4,0x7fc(r5) 74 ldwio r4,-0x800(r5) 75 ldwio r4,data_label(r0) 76 ldwio r4,big_external_data_label(r0) 77 ldwio r4,small_external_data_label(r0) 78 ldwio r4,big_external_common(r0) 79 ldwio r4,small_external_common(r0) 80 ldwio r4,big_local_common(r0) 81 ldwio r4,small_local_common(r0) 82 ldwio r4,data_label+4(r0) 83 ldwio r4,big_external_data_label+4(r0) 84 ldwio r4,small_external_data_label+4(r0) 85 ldwio r4,big_external_common+4(r0) 86 ldwio r4,small_external_common+4(r0) 87 ldwio r4,big_local_common+4(r0) 88 ldwio r4,small_local_common+4(r0) 89 ldwio r4,data_label-0x800(r0) 90 ldwio r4,big_external_data_label-0x800(r0) 91 ldwio r4,small_external_data_label-0x800(r0) 92 ldwio r4,big_external_common-0x800(r0) 93 ldwio r4,small_external_common-0x800(r0) 94 ldwio r4,big_local_common-0x800(r0) 95 ldwio r4,small_local_common-0x800(r0) 96 ldwio r4,data_label+0x10000(r0) 97 ldwio r4,data_label(r5) 98 ldwio r4,big_external_data_label(r5) 99 ldwio r4,small_external_data_label(r5) 100 ldwio r4,big_external_common(r5) 101 ldwio r4,small_external_common(r5) 102 ldwio r4,big_local_common(r5) 103 ldwio r4,small_local_common(r5) 104 ldwio r4,data_label+4(r5) 105 ldwio r4,big_external_data_label+4(r5) 106 ldwio r4,small_external_data_label+4(r5) 107 ldwio r4,big_external_common+4(r5) 108 ldwio r4,small_external_common+4(r5) 109 ldwio r4,big_local_common+4(r5) 110 ldwio r4,small_local_common+4(r5) 111 ldwio r4,data_label-0x800(r5) 112 ldwio r4,big_external_data_label-0x800(r5) 113 ldwio r4,small_external_data_label-0x800(r5) 114 ldwio r4,big_external_common-0x800(r5) 115 ldwio r4,small_external_common-0x800(r5) 116 ldwio r4,big_local_common-0x800(r5) 117 ldwio r4,small_local_common-0x800(r5) 118