diff options
Diffstat (limited to 'gas/stabs.c')
-rw-r--r-- | gas/stabs.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gas/stabs.c b/gas/stabs.c index 900826b..33b14c1 100644 --- a/gas/stabs.c +++ b/gas/stabs.c @@ -502,6 +502,15 @@ stabs_generate_asm_file () unsigned int lineno; as_where (&file, &lineno); + if (use_gnu_debug_info_extensions) + { + char *dir, *dir2; + + dir = getpwd (); + dir2 = alloca (strlen (dir) + 2); + sprintf (dir2, "%s%s", dir, "/"); + generate_asm_file (N_SO, dir2); + } generate_asm_file (N_SO, file); } |