gas/
2007-09-24 Carlos O'Donell <carlos@codesourcery.com> * config/tc-mips.c (s_align): Set max_alignment to 28. gas/testsuite/ 2007-09-24 Carlos O'Donell <carlos@codesourcery.com> * gas/mips/align.s, gas/mips/align.d: New test. * gas/mips/mips.exp: Run it.
This commit is contained in:
parent
28c32713ac
commit
49954fb49f
6 changed files with 32 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2007-09-24 Carlos O'Donell <carlos@codesourcery.com>
|
||||
|
||||
* config/tc-mips.c (s_align): Set max_alignment to 28.
|
||||
|
||||
2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR 658
|
||||
|
|
|
@ -12047,7 +12047,7 @@ s_align (int x ATTRIBUTE_UNUSED)
|
|||
{
|
||||
int temp;
|
||||
long temp_fill;
|
||||
long max_alignment = 15;
|
||||
long max_alignment = 28;
|
||||
|
||||
/* o Note that the assembler pulls down any immediately preceding label
|
||||
to the aligned address.
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
2007-09-24 Carlos O'Donell <carlos@codesourcery.com>
|
||||
|
||||
* gas/mips/align.s, gas/mips/align.d: New test.
|
||||
* gas/mips/mips.exp: Run it.
|
||||
|
||||
2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* gas/i386/sib.s: Add more eiz tests.
|
||||
|
|
14
gas/testsuite/gas/mips/align.d
Normal file
14
gas/testsuite/gas/mips/align.d
Normal file
|
@ -0,0 +1,14 @@
|
|||
#objdump: -dr
|
||||
#name: MIPS align maximum
|
||||
|
||||
# Test the align macro at maximum alignment.
|
||||
|
||||
.*: +file format .*mips.*
|
||||
|
||||
Disassembly of section .text:
|
||||
|
||||
[0]*00000000 <foo>:
|
||||
...
|
||||
|
||||
[0]*10000000 <bar>:
|
||||
...
|
7
gas/testsuite/gas/mips/align.s
Normal file
7
gas/testsuite/gas/mips/align.s
Normal file
|
@ -0,0 +1,7 @@
|
|||
# Test file used to verify maximum alignment value.
|
||||
foo:
|
||||
nop
|
||||
|
||||
.align 28
|
||||
bar:
|
||||
nop
|
|
@ -774,4 +774,5 @@ if { [istarget mips*-*-vxworks*] } {
|
|||
run_dump_test "vxworks1-xgot-el"
|
||||
|
||||
run_dump_test "noreorder"
|
||||
run_dump_test "align"
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue