aboutsummaryrefslogtreecommitdiff
path: root/gas/dwarf2dbg.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2022-04-12 09:04:15 +0200
committerJan Beulich <jbeulich@suse.com>2022-04-12 09:04:15 +0200
commitc39e89c3aaa3a6790f85e80f2da5022bc4bce38b (patch)
tree075b73ce63b3483c6f6a0756479e1d45011040a0 /gas/dwarf2dbg.c
parent657edeab3857130ddc005a88104711dd9e339ff0 (diff)
downloadgdb-c39e89c3aaa3a6790f85e80f2da5022bc4bce38b.zip
gdb-c39e89c3aaa3a6790f85e80f2da5022bc4bce38b.tar.gz
gdb-c39e89c3aaa3a6790f85e80f2da5022bc4bce38b.tar.bz2
gas: drop .appfile and .appline
These were used originally to represent "# <line> <file>" constructs inserted by (typically) compilers when pre-processing. Quite some time ago they were replaced by .linefile though. Since the original directives were never documented, we ought to be able to remove support for them. As a result in a number of case function parameter aren't used anymore and can hence be dropped.
Diffstat (limited to 'gas/dwarf2dbg.c')
-rw-r--r--gas/dwarf2dbg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c
index 44d7d9e..185d57c 100644
--- a/gas/dwarf2dbg.c
+++ b/gas/dwarf2dbg.c
@@ -1128,7 +1128,7 @@ dwarf2_emit_label (symbolS *label)
}
/* Handle two forms of .file directive:
- - Pass .file "source.c" to s_app_file
+ - Pass .file "source.c" to s_file
- Handle .file 1 "source.c" by adding an entry to the DWARF-2 file table
If an entry is added to the file table, return a pointer to the filename. */
@@ -1146,7 +1146,7 @@ dwarf2_directive_filename (void)
SKIP_WHITESPACE ();
if (*input_line_pointer == '"')
{
- s_app_file (0);
+ s_file (0);
return NULL;
}