aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2005-08-11 16:22:08 +0000
committerHans-Peter Nilsson <hp@axis.com>2005-08-11 16:22:08 +0000
commit4924bf8fd0a8f0851381cdfb6de2783da579c039 (patch)
tree62e236d355ba0a65fef029d2230701c720b994bd
parentd9c93bef2081e876008d1eebe7f177e7fff78add (diff)
downloadgdb-4924bf8fd0a8f0851381cdfb6de2783da579c039.zip
gdb-4924bf8fd0a8f0851381cdfb6de2783da579c039.tar.gz
gdb-4924bf8fd0a8f0851381cdfb6de2783da579c039.tar.bz2
* subsegs.c (subseg_change): Move declaration of seginfo to before
first statement.
-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;