ELF Tool Chain/elftoolchain 3647 — trunk/readelf readelf.c
readelf: avoid printing directory in front of absolute path Fix CU: output of the --debug-dump=decodedline, the problem there is that both file name and current directory is recorded, however file name sometimes already contains absolute path. In which case prefixing it with directory name results in an invalid pathname. Only prepend directory name if the file name does not start with '/'. Submitted by: Maxim Sobolev <sobomax at FreeBSD.org> Obtained from: FreeBSD r340745
Delta | File | |
---|---|---|
+1 | -1 | trunk/readelf/readelf.c |
+1 | -1 | 1 files |