diff options
author | Alan Modra <amodra@gmail.com> | 2001-01-16 13:06:14 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2001-01-16 13:06:14 +0000 |
commit | 1d3d5051d1ed664e87708905372b2465024bc6c5 (patch) | |
tree | 3b28a0eee6ab87a276de1a8ae3224f5369d347d9 /gas/config/tc-hppa.c | |
parent | 7770f16a5734f4eca7eeb5d5f533b70b99cc19e4 (diff) | |
download | gdb-1d3d5051d1ed664e87708905372b2465024bc6c5.zip gdb-1d3d5051d1ed664e87708905372b2465024bc6c5.tar.gz gdb-1d3d5051d1ed664e87708905372b2465024bc6c5.tar.bz2 |
Build unwind info for more than just .text section.
Diffstat (limited to 'gas/config/tc-hppa.c')
-rw-r--r-- | gas/config/tc-hppa.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c index ab45da6..ac258ce 100644 --- a/gas/config/tc-hppa.c +++ b/gas/config/tc-hppa.c @@ -6053,7 +6053,9 @@ pa_build_unwind_subspace (call_info) int reloc; char c, *p; - if (now_seg != text_section) + if ((bfd_get_section_flags (stdoutput, now_seg) + & (SEC_ALLOC | SEC_LOAD | SEC_READONLY)) + != (SEC_ALLOC | SEC_LOAD | SEC_READONLY)) return; reloc = R_PARISC_SEGREL32; |