From 3fd4045fdb1f0ccff7cca0c6604648d0e0cb8d48 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Mon, 1 Nov 1993 20:41:35 +0000 Subject: * paread.c (pa_symtab_read): Change comments to say ignoring labels really should be handled by the assembler/compiler. * Makefile.in: Add -O to CXXFLAGS. * TODO: Expand comments on fast watchpoints. --- gdb/paread.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'gdb/paread.c') diff --git a/gdb/paread.c b/gdb/paread.c index 6399378..11246ff 100644 --- a/gdb/paread.c +++ b/gdb/paread.c @@ -182,11 +182,13 @@ pa_symtab_read (abfd, addr, objfile) bufp->symbol_value &= ~0x3; /* clear out permission bits */ check_strange_names: - /* GAS leaves symbols with the prefixes "LS$", "LBB$", - and "LBE$" in .o files after assembling. And thus - they appear in the final executable. This can - cause problems if these special symbols have the - same value as real symbols. So ignore them. Also "LC$". */ + /* GAS leaves labels in .o files after assembling. At + least labels starting with "LS$", "LBB$", "LBE$", + "LC$", and "L$" can happen. This should be fixed in + the assembler and/or compiler, to save space in the + executable (and because having GDB make gross + distinctions based on the name is kind of ugly), but + until then, just ignore them. */ if (*symname == 'L' && (symname[1] == '$' || symname[2] == '$' || symname[3] == '$')) -- cgit v1.1