You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
1.0 KiB
24 lines
1.0 KiB
Index: output/outelf32.c |
|
--- output/outelf32.c.orig 2008-06-17 06:31:16 +0200 |
|
+++ output/outelf32.c 2008-08-28 12:15:31 +0200 |
|
@@ -1781,7 +1781,7 @@ |
|
the source-file, the n_desc field should be set to the number |
|
of remaining stabs |
|
*/ |
|
- WRITE_STAB(sptr, fileidx[0], 0, 0, 0, strlen(allfiles[0] + 12)); |
|
+ WRITE_STAB(sptr, fileidx[0], 0, 0, 0, stabstrlen); |
|
|
|
/* this is the stab for the main source file */ |
|
WRITE_STAB(sptr, fileidx[mainfileindex], N_SO, 0, 0, 0); |
|
Index: output/outelf64.c |
|
--- output/outelf64.c.orig 2008-06-17 06:31:16 +0200 |
|
+++ output/outelf64.c 2008-08-28 12:15:31 +0200 |
|
@@ -1796,7 +1796,7 @@ |
|
the source-file, the n_desc field should be set to the number |
|
of remaining stabs |
|
*/ |
|
- WRITE_STAB(sptr, fileidx[0], 0, 0, 0, strlen(allfiles[0] + 12)); |
|
+ WRITE_STAB(sptr, fileidx[0], 0, 0, 0, stabstrlen); |
|
|
|
/* this is the stab for the main source file */ |
|
WRITE_STAB(sptr, fileidx[mainfileindex], N_SO, 0, 0, 0);
|
|
|