diff options
author | Jeff Law <law@redhat.com> | 1999-09-17 18:00:50 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1999-09-17 18:00:50 +0000 |
commit | 7acbfc6b56180ef7555d326d3b9735e9be0429de (patch) | |
tree | e6b1a92117e2c8f5fd9e0c740c1e5d5b026a8f16 /gas | |
parent | f68ca336122f3cc4cd16b02b4448c1d9b8a9781f (diff) | |
download | fsf-binutils-gdb-7acbfc6b56180ef7555d326d3b9735e9be0429de.zip fsf-binutils-gdb-7acbfc6b56180ef7555d326d3b9735e9be0429de.tar.gz fsf-binutils-gdb-7acbfc6b56180ef7555d326d3b9735e9be0429de.tar.bz2 |
* config/tc-hppa.c (pa_build_unwind_subspace): Do not build
unwinds unless the function is in the text space.
(pa_type_args): Set BSF_FUNCTION for an exproted data symbol.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 6 | ||||
-rw-r--r-- | gas/config/tc-hppa.c | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index cd141f2..e4bc208 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +Fri Sep 17 11:57:34 1999 Jeffrey A Law (law@cygnus.com) + + * config/tc-hppa.c (pa_build_unwind_subspace): Do not build + unwinds unless the function is in the text space. + (pa_type_args): Set BSF_FUNCTION for an exproted data symbol. + Wed Sep 15 05:14:32 1999 Jeffrey A Law (law@cygnus.com) * config/tc-hppa.c (pa_ip): Move dwarf2 stuff from here. diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c index 50a9f5a..c17fbd9 100644 --- a/gas/config/tc-hppa.c +++ b/gas/config/tc-hppa.c @@ -5120,6 +5120,9 @@ pa_build_unwind_subspace (call_info) int i, reloc; char c, *p; + if (seg != text_section) + return; + if (bfd_get_arch_info (stdoutput)->bits_per_address == 32) reloc = R_PARISC_DIR32; else @@ -5641,6 +5644,7 @@ pa_type_args (symbolP, is_export) { input_line_pointer += 4; symbol_get_bfdsym (symbolP)->flags &= ~BSF_FUNCTION; + symbol_get_bfdsym (symbolP)->flags |= BSF_OBJECT; type = SYMBOL_TYPE_DATA; } else if ((strncasecmp (input_line_pointer, "entry", 5) == 0)) |