aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@apple.com>2006-01-14 00:16:33 +0000
committerGeoffrey Keating <geoffk@apple.com>2006-01-14 00:16:33 +0000
commit52f10ed4d6861fb1633e32d2b9d0d3fba486fc78 (patch)
treef48e3414f30f3f1337c81d23bf7eef6941de4c7b
parentee2bf4991be35d798e068d08900b2415bd733b68 (diff)
Radar 4386531
* stab.def (N_OSO): New. * dbxout.c (dbxout_init): Output N_OSO stab always. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@109687 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog.apple-ppc6
-rw-r--r--gcc/dbxout.c5
-rw-r--r--gcc/stab.def5
3 files changed, 16 insertions, 0 deletions
diff --git a/gcc/ChangeLog.apple-ppc b/gcc/ChangeLog.apple-ppc
index 0b5601826a7..e6e9e7a22d0 100644
--- a/gcc/ChangeLog.apple-ppc
+++ b/gcc/ChangeLog.apple-ppc
@@ -1,3 +1,9 @@
+2006-01-13 Geoffrey Keating <geoffk@apple.com>
+
+ Radar 4386531
+ * stab.def (N_OSO): New.
+ * dbxout.c (dbxout_init): Output N_OSO stab always.
+
2006-01-13 Stuart Hastings <stuart@apple.com>
Radar 4386991
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index 512cd6704d7..351e9cade0b 100644
--- a/gcc/dbxout.c
+++ b/gcc/dbxout.c
@@ -1161,6 +1161,11 @@ dbxout_init (const char *input_file_name)
targetm.asm_out.internal_label (dbx_out_file, "Ltext", 0);
}
+ /* APPLE LOCAL begin symbol separation, dwarf 4386531 */
+ dbxout_begin_empty_stabs (N_OSO);
+ dbxout_stab_value_zero ();
+ /* APPLE LOCAL end symbol separation, dwarf 4386531 */
+
/* Emit an N_OPT stab to indicate that this file was compiled by GCC.
The string used is historical. */
#ifndef NO_DBX_GCC_MARKER
diff --git a/gcc/stab.def b/gcc/stab.def
index 043f197cb66..d06da72193a 100644
--- a/gcc/stab.def
+++ b/gcc/stab.def
@@ -116,6 +116,11 @@ __define_stab (N_SSYM, 0x60, "SSYM")
Value is starting text address of the compilation. */
__define_stab (N_SO, 0x64, "SO")
+/* APPLE LOCAL begin symbol separation, dwarf 4386531 */
+/* Used with Essential Symbols. */
+__define_stab (N_OSO, 0x66, "OSO")
+/* APPLE LOCAL end symbol separation, dwarf 4386531 */
+
/* Automatic variable in the stack. Value is offset from frame pointer.
Also used for type descriptions. */
__define_stab (N_LSYM, 0x80, "LSYM")