This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: False syscall dependencies
2005/12/15, Dave Korn <dave.korn@artimi.com>:
...
> i.e. those >>> and <<< are dot's error markers and it's complaining
> about the period at the beginning of the symbol name. Does dot
> require these symbols (I assume they're treated as graph node
> identifiers?) to only have alphanumerics and underscores?
Exactly. Add a $symbol =~ y/./_/;
Cheers,
Shaun
--- /home/sjackman/bin/ldmdot- 2005-12-15 07:45:09.000000000 -0700
+++ /home/sjackman/bin/ldmdot 2005-12-15 07:45:02.000000000 -0700
@@ -19,6 +19,7 @@
} else {
my $symbol = $_;
$symbol =~ s/^.*\(([^)]*)\).*$/$1/;
+ $symbol =~ y/./_/;
my $file = $_;
if (/\) /) {
$file =~ s/^.*\(([^)]*)\) .*$/$1/;