Disable the inclusion of logical input files in the assembler listing output unless...
authorNick Clifton <nickc@redhat.com>
Wed, 11 Oct 2017 15:48:16 +0000 (16:48 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 11 Oct 2017 15:48:16 +0000 (16:48 +0100)
commit39865a7f420ab4ca4dec6ed27339618a5d5dc366
treeec453548e1ba8bfa3eaafcd0dfe9b5466b6182f4
parentfe22022617a7122491aa83c893a10a8d861cde73
Disable the inclusion of logical input files in the assembler listing output unless high level source listing has been enabled.

PR 21977
* listing.c (listing_newline): Use the name of the current
physical input file, rather than the current logical input file,
unless including high level source in the listing.
* input-scrub.c (as_where_physical): New function.  Returns the
name of the current physical input file.
* as.h: Add prototype for as_where_physical.
gas/ChangeLog
gas/as.h
gas/input-scrub.c
gas/listing.c