diff options
author | H. Peter Anvin <hpa@zytor.com> | 2016-03-07 22:02:17 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2016-03-07 22:03:50 -0800 |
commit | 5686a65fe93bf4946bb76fd37f9543851079bfe5 (patch) | |
tree | 6cb8c84c2379913cc5bc14a5d24a2d0bb7cdda0f | |
parent | fc0ff223b203c5e90cdf59707edb5ad965bc4b18 (diff) | |
download | nasm-5686a65fe93bf4946bb76fd37f9543851079bfe5.tar.gz |
outobj: no need to filter .. symbols in the debug format anymore
labels.c now filter ..[^@] special symbols from the debug backend, so
we don't have to open-code that everywhere.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Cc: Jim Kukunas <james.t.kukunas@linux.intel.com>
-rw-r--r-- | output/outobj.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/output/outobj.c b/output/outobj.c index 57738126..fd6c326a 100644 --- a/output/outobj.c +++ b/output/outobj.c @@ -1,6 +1,6 @@ /* ----------------------------------------------------------------------- * * - * Copyright 1996-2014 The NASM Authors - All Rights Reserved + * Copyright 1996-2016 The NASM Authors - All Rights Reserved * See the file AUTHORS included with the NASM distribution for * the specific copyright holders. * @@ -2500,18 +2500,14 @@ static void dbgbi_deflabel(char *name, int32_t segment, (void)special; /* - * If it's a special-retry from pass two, discard it. + * Note: ..[^@] special symbols are filtered in labels.c */ - if (is_global == 3) - return; /* - * First check for the double-period, signifying something - * unusual. + * If it's a special-retry from pass two, discard it. */ - if (name[0] == '.' && name[1] == '.' && name[2] != '@') { + if (is_global == 3) return; - } /* * Case (i): |