From d05d27a9d16f999077d76a1a6887f9069ef6bb24 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 2 Jun 1998 17:33:07 +0000 Subject: [PATCH] Tue Jun 2 13:32:22 1998 Klaus Kaempf * config/tc-alpha.c (s_alpha_comm): Allow alignment parameter in OBJ_EVAX case. --- gas/ChangeLog | 5 +++++ gas/config/tc-alpha.c | 12 ++++++++++++ 2 files changed, 17 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index 0ca18f1e911..144033c8407 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +Tue Jun 2 13:32:22 1998 Klaus Kaempf + + * config/tc-alpha.c (s_alpha_comm): Allow alignment parameter in + OBJ_EVAX case. + Tue Jun 2 13:11:13 1998 Pat Rankin * config/tc-vax.c (md_create_short_jump): Fix off by two bug in diff --git a/gas/config/tc-alpha.c b/gas/config/tc-alpha.c index 89b4f1aee1b..70aaec8590f 100644 --- a/gas/config/tc-alpha.c +++ b/gas/config/tc-alpha.c @@ -3372,6 +3372,18 @@ s_alpha_comm (ignore) new_seg = subseg_new (xstrdup (name), 0); #endif +#ifdef OBJ_EVAX + /* alignment might follow */ + if (*input_line_pointer == ',') + { + offsetT align; + + input_line_pointer++; + align = get_absolute_expression (); + bfd_set_section_alignment (stdoutput, new_seg, align); + } +#endif + if (S_IS_DEFINED (symbolP) && ! S_IS_COMMON (symbolP)) { as_bad (_("Ignoring attempt to re-define symbol")); -- 2.30.2