+2015-05-05 Renlin Li <renlin.li@arm.com>
+
+ * config/tc-aarch64.c (aarch64_init_frag): Always generate mapping
+ symbols.
+
2015-05-05 Nick Clifton <nickc@redhat.com>
* config/tc-msp430.c (MAX_OP_LEN): Increase to 4096.
/* Record a mapping symbol for alignment frags. We will delete this
later if the alignment ends up empty. */
if (!fragP->tc_frag_data.recorded)
+ fragP->tc_frag_data.recorded = 1;
+
+ switch (fragP->fr_type)
{
- fragP->tc_frag_data.recorded = 1;
- switch (fragP->fr_type)
- {
- case rs_align:
- case rs_align_test:
- case rs_fill:
- mapping_state_2 (MAP_DATA, max_chars);
- break;
- case rs_align_code:
- mapping_state_2 (MAP_INSN, max_chars);
- break;
- default:
- break;
- }
+ case rs_align:
+ case rs_align_test:
+ case rs_fill:
+ mapping_state_2 (MAP_DATA, max_chars);
+ break;
+ case rs_align_code:
+ mapping_state_2 (MAP_INSN, max_chars);
+ break;
+ default:
+ break;
}
}
\f
+2015-05-05 Renlin Li <renlin.li@arm.com>
+
+ * gas/aarch64/mapping_5.d: New.
+ * gas/aarch64/mapping_5.s: New.
+ * gas/aarch64/mapping_6.d: New.
+ * gas/aarch64/mapping_6.s: New.
+
2015-05-01 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/i386.exp: Run note.
--- /dev/null
+#objdump: --syms --special-syms
+#name: AArch64 Mapping Symbols Test 5
+
+.*: +file format.*aarch64.*
+
+SYMBOL TABLE:
+[0]+00 l d .text [0]+00 .text
+[0]+00 l d .data [0]+00 .data
+[0]+00 l d .bss [0]+00 .bss
+[0]+00 l .text [0]+00 \$x
+[0]+04 l .text [0]+00 \$d
+[0]+08 l .text [0]+00 \$x
+[0]+10 l .text [0]+00 \$d
--- /dev/null
+ .text
+ nop
+ .long 0
+ .align 4
+ .word 0x12345678
--- /dev/null
+#objdump: --syms --special-syms
+#name: AArch64 Mapping Symbols Test 6
+
+.*: +file format.*aarch64.*
+
+SYMBOL TABLE:
+[0]+00 l d .text [0]+00 .text
+[0]+00 l d .data [0]+00 .data
+[0]+00 l d .bss [0]+00 .bss
+[0]+00 l .text [0]+00 \$x
+[0]+04 l .text [0]+00 \$d
+[0]+10 l .text [0]+00 \$d
+[0]+09 l .text [0]+00 \$d
+[0]+0c l .text [0]+00 \$x
--- /dev/null
+ .text
+ nop
+ .long 0
+ .byte 1
+ .align 4
+ .word 0x12345678