aboutsummaryrefslogtreecommitdiff
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
parentc93a17b7aba525ca857d7955d2a22dfafaf1c8b1 (diff)
downloadgdb-a3d1c56107d456fdf4b0838b6d9ed46fddc42386.zip
gdb-a3d1c56107d456fdf4b0838b6d9ed46fddc42386.tar.gz
gdb-a3d1c56107d456fdf4b0838b6d9ed46fddc42386.tar.bz2
* config/tc-ppc.c (ppc_biei): Force symbol into text_section.
-rw-r--r--gas/ChangeLog2
-rw-r--r--gas/config/tc-ppc.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 5d5ec0d..79b7b98 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,7 @@
Sat Nov 4 00:51:21 1995 Ian Lance Taylor <ian@cygnus.com>
+ * config/tc-ppc.c (ppc_biei): Force symbol into text_section.
+
* config/tc-ppc.c (md_show_usage): Put backslash at end of line.
Fri Nov 3 13:02:59 1995 Ian Lance Taylor <ian@cygnus.com>
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;