diff options
author | Jeff Law <law@redhat.com> | 1993-10-30 23:00:34 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1993-10-30 23:00:34 +0000 |
commit | 0f3b419c4c71065885292f014fc14e8d86197cae (patch) | |
tree | acba38ea42e78f9a879d9224de43a5d606656710 | |
parent | 9a182533aa253dfdd7764c8aa3777409a9ded51b (diff) | |
download | gdb-0f3b419c4c71065885292f014fc14e8d86197cae.zip gdb-0f3b419c4c71065885292f014fc14e8d86197cae.tar.gz gdb-0f3b419c4c71065885292f014fc14e8d86197cae.tar.bz2 |
* config/tc-hppa.c (pa_parse_space_stmt): Get segment and sort key
for $TEXT$ and $PRIVATE$ from the default space structure.
-rw-r--r-- | gas/ChangeLog | 3 | ||||
-rw-r--r-- | gas/config/tc-hppa.c | 10 |
2 files changed, 8 insertions, 5 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index f6db367..373e196 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,8 @@ Sat Oct 30 14:26:20 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + * config/tc-hppa.c (pa_parse_space_stmt): Get segment and sort key + for $TEXT$ and $PRIVATE$ from the default space structure. + * config/tc-hppa.c (pa_export_args): Always set BSF_FUNCTION as appropriate for the given type. diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c index a2ed54a..4606325 100644 --- a/gas/config/tc-hppa.c +++ b/gas/config/tc-hppa.c @@ -5110,13 +5110,13 @@ pa_parse_space_stmt (space_name, create_flag) private = FALSE; if (strcasecmp (space_name, "$TEXT$") == 0) { - seg = text_section; - sort = 8; + seg = pa_def_spaces[0].segment; + sort = pa_def_spaces[0].sort; } - else + else if (strcasecmp (space_name, "$PRIVATE$") == 0) { - seg = data_section; - sort = 16; + seg = pa_def_spaces[1].segment; + sort = pa_def_spaces[1].sort; } if (!is_end_of_statement ()) |