mirror of
https://github.com/netwide-assembler/nasm
synced 2026-08-26 16:23:04 -04:00
outieee: 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. In the actual output format, don't treat ..@ symbols as special. Signed-off-by: H. Peter Anvin <hpa@zytor.com> Cc: Jim Kukunas <james.t.kukunas@linux.intel.com>
This commit is contained in:
parent
5686a65fe9
commit
3def9fcb59
1 changed files with 6 additions and 10 deletions
|
|
@ -1,6 +1,6 @@
|
|||
/* ----------------------------------------------------------------------- *
|
||||
*
|
||||
* Copyright 1996-2013 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.
|
||||
*
|
||||
|
|
@ -305,7 +305,7 @@ static void ieee_deflabel(char *name, int32_t segment,
|
|||
* First check for the double-period, signifying something
|
||||
* unusual.
|
||||
*/
|
||||
if (name[0] == '.' && name[1] == '.') {
|
||||
if (name[0] == '.' && name[1] == '.' && name[2] != '@') {
|
||||
if (!strcmp(name, "..start")) {
|
||||
ieee_entry_seg = segment;
|
||||
ieee_entry_ofs = offset;
|
||||
|
|
@ -1397,20 +1397,16 @@ static void dbgls_deflabel(char *name, int32_t segment,
|
|||
/* Keep compiler from warning about special */
|
||||
(void)special;
|
||||
|
||||
/*
|
||||
* Note: ..[^@] special symbols are filtered in labels.c
|
||||
*/
|
||||
|
||||
/*
|
||||
* If it's a special-retry from pass two, discard it.
|
||||
*/
|
||||
if (is_global == 3)
|
||||
return;
|
||||
|
||||
/*
|
||||
* First check for the double-period, signifying something
|
||||
* unusual.
|
||||
*/
|
||||
if (name[0] == '.' && name[1] == '.' && name[2] != '@') {
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
* Case (i):
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue