aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-11-05 04:54:52 +0000
committerIan Lance Taylor <ian@airs.com>1995-11-05 04:54:52 +0000
commita3d1c56107d456fdf4b0838b6d9ed46fddc42386 (patch)
treee081aba92090a95d8e651c51f21ca39412ec7b5b /gas/config
parentc93a17b7aba525ca857d7955d2a22dfafaf1c8b1 (diff)
downloadgdb-a3d1c56107d456fdf4b0838b6d9ed46fddc42386.zip
gdb-a3d1c56107d456fdf4b0838b6d9ed46fddc42386.tar.gz
gdb-a3d1c56107d456fdf4b0838b6d9ed46fddc42386.tar.bz2
* config/tc-ppc.c (ppc_biei): Force symbol into text_section.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-ppc.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c
index e0d6bd9..488f74b 100644
--- a/gas/config/tc-ppc.c
+++ b/gas/config/tc-ppc.c
@@ -2417,13 +2417,11 @@ ppc_biei (ei)
to do the right thing. */
sym = symbol_make (name);
- S_SET_SEGMENT (sym, now_seg);
- S_SET_VALUE (sym, coff_n_line_nos);
- sym->bsym->flags |= BSF_DEBUGGING;
-
/* obj-coff.c currently only handles line numbers correctly in the
.text section. */
- assert (now_seg == text_section);
+ S_SET_SEGMENT (sym, text_section);
+ S_SET_VALUE (sym, coff_n_line_nos);
+ sym->bsym->flags |= BSF_DEBUGGING;
S_SET_STORAGE_CLASS (sym, ei ? C_EINCL : C_BINCL);
sym->sy_tc.output = 1;