aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-hppa.c
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1993-11-07 09:15:13 +0000
committerJeff Law <law@redhat.com>1993-11-07 09:15:13 +0000
commit240cbc571fbb493aa62300cf44ca5f829d8cee80 (patch)
treea8ec5fd777a71be4a8ede70c1949a265cd6d9bd0 /gas/config/tc-hppa.c
parent163aac84bec07e12b9310313816131c6cc96a3dc (diff)
downloadgdb-240cbc571fbb493aa62300cf44ca5f829d8cee80.zip
gdb-240cbc571fbb493aa62300cf44ca5f829d8cee80.tar.gz
gdb-240cbc571fbb493aa62300cf44ca5f829d8cee80.tar.bz2
* config/tc-hppa.c (create_new_subspace): Initialize subspace_defined.
Diffstat (limited to 'gas/config/tc-hppa.c')
-rw-r--r--gas/config/tc-hppa.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c
index d730b45..1c31bc1 100644
--- a/gas/config/tc-hppa.c
+++ b/gas/config/tc-hppa.c
@@ -6020,6 +6020,10 @@ create_new_subspace (space, name, loadable, code_only, common,
SUBSPACE_SPACE_INDEX (chain_entry) = space_index;
SUBSPACE_ZERO (chain_entry) = is_zero;
+ /* Initialize subspace_defined. When we hit a .subspace directive
+ we'll set it to 1 which "locks-in" the subspace attributes. */
+ SUBSPACE_DEFINED (chain_entry) = 0;
+
chain_entry->ssd_subseg = USE_ALIASES ? pa_next_subseg (space) : 0;
chain_entry->ssd_seg = seg;
chain_entry->ssd_last_align = 1;