From: nasm-bot f. H. P. A. <hp...@zy...> - 2016-03-08 06:09:17
|
Commit-ID: 5686a65fe93bf4946bb76fd37f9543851079bfe5 Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=5686a65fe93bf4946bb76fd37f9543851079bfe5 Author: H. Peter Anvin <hp...@zy...> AuthorDate: Mon, 7 Mar 2016 22:02:17 -0800 Committer: H. Peter Anvin <hp...@zy...> CommitDate: Mon, 7 Mar 2016 22:03:50 -0800 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 <hp...@zy...> Cc: Jim Kukunas <jam...@li...> --- output/outobj.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/output/outobj.c b/output/outobj.c index 5773812..fd6c326 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): |