Lines Matching refs:name
21 my ($dir,$name,$type) = @_;
23 $TYPES{$name} = $type;
25 $name =~ s|^\.||;
26 ".type $name,$type";
33 my $name = shift;
34 my $global = \$GLOBALS{$name};
35 my $type = \$TYPES{$name};
38 $name =~ s|^\.||;
45 $name = ".$name";
49 /osx/ && do { $name = "_$name";
53 && do { $ret .= ".globl $name";
55 $ret .= "\n.type $name,\@function";
60 /linux.*64/ && do { $ret .= ".globl $name";
62 $ret .= "\n.type $name,\@function";
68 $ret .= "\n$name:";
69 $ret .= "\n.quad .$name,.TOC.\@tocbase,0";
71 $name = ".$name";
77 $ret = ".globl $name" if (!$ret);
78 $$global = $name;
102 my $name = shift;
103 my $real = $GLOBALS{$name} ? \$GLOBALS{$name} : \$name;
105 $name =~ s|^\.||;
106 if ($$real ne $name) {
107 $ret .= "\n.size $name,.-$$real";