aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1998-06-02 17:33:07 +0000
committerIan Lance Taylor <ian@airs.com>1998-06-02 17:33:07 +0000
commitd05d27a9d16f999077d76a1a6887f9069ef6bb24 (patch)
tree40391c34597fc3ca5c245bb3fffa4847b873abc9 /gas
parentdfe2482a89ae1543db089ea062804a80c3941fcc (diff)
downloadgdb-d05d27a9d16f999077d76a1a6887f9069ef6bb24.zip
gdb-d05d27a9d16f999077d76a1a6887f9069ef6bb24.tar.gz
gdb-d05d27a9d16f999077d76a1a6887f9069ef6bb24.tar.bz2
Tue Jun 2 13:32:22 1998 Klaus Kaempf <kkaempf@progis.de>
* config/tc-alpha.c (s_alpha_comm): Allow alignment parameter in OBJ_EVAX case.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-alpha.c12
2 files changed, 17 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 0ca18f1..144033c 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+Tue Jun 2 13:32:22 1998 Klaus Kaempf <kkaempf@progis.de>
+
+ * config/tc-alpha.c (s_alpha_comm): Allow alignment parameter in
+ OBJ_EVAX case.
+
Tue Jun 2 13:11:13 1998 Pat Rankin <rankin@eql.caltech.edu>
* 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 89b4f1a..70aaec8 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"));