aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-rx.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/tc-rx.c')
-rw-r--r--gas/config/tc-rx.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gas/config/tc-rx.c b/gas/config/tc-rx.c
index 4345d58..8e99fa3 100644
--- a/gas/config/tc-rx.c
+++ b/gas/config/tc-rx.c
@@ -400,7 +400,7 @@ parse_rx_section (char * name)
asection * sec;
int type;
int attr = SHF_ALLOC | SHF_EXECINSTR;
- int align = 2;
+ int align = 1;
char end_char;
do
@@ -428,9 +428,9 @@ parse_rx_section (char * name)
p++;
switch (*p)
{
- case '2': align = 2; break;
- case '4': align = 4; break;
- case '8': align = 8; break;
+ case '2': align = 1; break;
+ case '4': align = 2; break;
+ case '8': align = 3; break;
default:
as_bad (_("unrecognised alignment value in .SECTION directive: %s"), p);
ignore_rest_of_line ();