mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 02:50:08 +08:00
* 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:
@ -1,5 +1,8 @@
|
|||||||
Wed Jul 5 12:01:49 1995 Ian Lance Taylor <ian@cygnus.com>
|
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.
|
* symbols.c (S_SET_EXTERNAL): Warn if symbol is weak.
|
||||||
(S_CLEAR_EXTERNAL): Likewise.
|
(S_CLEAR_EXTERNAL): Likewise.
|
||||||
(S_SET_WEAK): Warn if symbol is global.
|
(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);
|
SA_SET_SYM_LNNO (def_symbol_in_progress, coff_line_base);
|
||||||
|
|
||||||
demand_empty_rest_of_line ();
|
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
|
static void
|
||||||
@ -2267,7 +2277,7 @@ obj_coff_line (ignore)
|
|||||||
#ifndef NO_LISTING
|
#ifndef NO_LISTING
|
||||||
{
|
{
|
||||||
extern int listing;
|
extern int listing;
|
||||||
if (listing && 0)
|
if (listing)
|
||||||
{
|
{
|
||||||
listing_source_line ((unsigned int) line_base);
|
listing_source_line ((unsigned int) line_base);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user