summaryrefslogtreecommitdiff
path: root/gcc/mips-tfile.c
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1994-04-11 09:50:10 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1994-04-11 09:50:10 +0000
commitaf7a3f1a8a6ffd1aa87cab85662cfdbade2aad2e (patch)
treea35e2169271d07f82ecff1651ac313360f19f184 /gcc/mips-tfile.c
parente1abcbdde280e5ab9f8165a411d3ec3171d0485f (diff)
downloadgcc-af7a3f1a8a6ffd1aa87cab85662cfdbade2aad2e.tar.gz
(update_headers): Do not copy stStatic symbols that result from
internal labels. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7023 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/mips-tfile.c')
-rw-r--r--gcc/mips-tfile.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/mips-tfile.c b/gcc/mips-tfile.c
index efe3354966e..75336106e83 100644
--- a/gcc/mips-tfile.c
+++ b/gcc/mips-tfile.c
@@ -4011,6 +4011,9 @@ update_headers __proto((void))
register Size_t len = strlen (str);
register shash_t *hash_ptr;
+ /* Ignore internal labels. */
+ if (str[0] == '$' && str[1] == 'L')
+ continue;
hash_ptr = hash_string (str,
(Ptrdiff_t)len,
&file_ptr->shash_head[0],