aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/subsegs.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index c1baeed..0153d9e 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2005-08-11 Hans-Peter Nilsson <hp@axis.com>
+
+ * subsegs.c (subseg_change): Move declaration of seginfo to before
+ first statement.
+
2005-08-11 Alan Modra <amodra@bigpond.net.au>
* README-vms: Delete.
diff --git a/gas/subsegs.c b/gas/subsegs.c
index b1cb8e4..e0f721c 100644
--- a/gas/subsegs.c
+++ b/gas/subsegs.c
@@ -75,9 +75,9 @@ subsegs_begin (void)
void
subseg_change (register segT seg, register int subseg)
{
+ segment_info_type *seginfo;
now_seg = seg;
now_subseg = subseg;
- segment_info_type *seginfo;
if (now_seg == absolute_section)
return;