]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
SVR4 names don't have underscores, according to the ABI.
authorJohn Gilmore <gnu@cygnus>
Sun, 5 Jul 1992 11:29:16 +0000 (11:29 +0000)
committerJohn Gilmore <gnu@cygnus>
Sun, 5 Jul 1992 11:29:16 +0000 (11:29 +0000)
gdb/ChangeLog
gdb/tm-sysv4.h

index ec10b00d2d721a290c8d8b337df5e9cc3fc170b9..f3b5d8e41ec390f7ff9a9f3abc34f0632b444b1a 100644 (file)
@@ -1,5 +1,7 @@
 Sun Jul  5 03:06:39 1992  John Gilmore  (gnu at cygnus.com)
 
+       * tm-sysv4.h (NAMES_HAVE_UNDERSCORE):  SVR4 systems don't.
+
        * buildsym.c (finish_block):  Fix thinko `inner block' complaints.
        * dbxread.c (process_one_symbol):  Parse N_OPT "gcc2_compiled.".
        * procfs.c (proc_set_exec_trap): Set run-on-last-close flag on
index 9e92d9217d617c014605f7b1d950e3765904018b..9348ec8edcbd36433eca8838253d17a7455e191c 100644 (file)
@@ -33,3 +33,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
    when we have stepped into one of these fragments. */
 
 #define IN_SOLIB_TRAMPOLINE(pc,name) ((name) && (strcmp ("_init", name) == 0))
+
+/* In SVR4 ELF files, the ABI defines (pg. 4-25) that "External C symbols
+   have the same names in C, assembly code, and object files' symbol
+   tables."  So... */
+
+#undef NAMES_HAVE_UNDERSCORE