* config/obj-coff.c (obj_coff_line): Call listing_source_line, in
both BFD_ASSEMBLER and non BFD_ASSEMBLER versions of the function. PR 7006.
This commit is contained in:
parent
56dc989a91
commit
3f8416d5e1
2 changed files with 14 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
|||
Wed Jul 5 12:01:49 1995 Ian Lance Taylor <ian@cygnus.com>
|
||||
|
||||
* config/obj-coff.c (obj_coff_line): Call listing_source_line, in
|
||||
both BFD_ASSEMBLER and non BFD_ASSEMBLER versions of the function.
|
||||
|
||||
* symbols.c (S_SET_EXTERNAL): Warn if symbol is weak.
|
||||
(S_CLEAR_EXTERNAL): Likewise.
|
||||
(S_SET_WEAK): Warn if symbol is global.
|
||||
|
|
|
@ -772,6 +772,16 @@ obj_coff_line (ignore)
|
|||
SA_SET_SYM_LNNO (def_symbol_in_progress, coff_line_base);
|
||||
|
||||
demand_empty_rest_of_line ();
|
||||
|
||||
#ifndef NO_LISTING
|
||||
if (strcmp (".bf", S_GET_NAME (def_symbol_in_progress)) == 0)
|
||||
{
|
||||
extern int listing;
|
||||
|
||||
if (listing)
|
||||
listing_source_line ((unsigned int) coff_line_base);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -2267,7 +2277,7 @@ obj_coff_line (ignore)
|
|||
#ifndef NO_LISTING
|
||||
{
|
||||
extern int listing;
|
||||
if (listing && 0)
|
||||
if (listing)
|
||||
{
|
||||
listing_source_line ((unsigned int) line_base);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue