Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Revert "namespace: add source file location exceptions"

This reverts commit 24a54f7.

Stephen Hemminger <shemminger@vyatta.com> writes:
> That patch should not be included. It causes more problems than it
> solves, since then there are duplicate file locations which causes
> false duplicate symbol reports.

Reported-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
  • Loading branch information...
commit 9231d9e02a1f92b52bbb1e4474bfd1903835a993 1 parent 062c182
michal42 michal42 authored

Showing 1 changed file with 0 additions and 24 deletions. Show diff stats Hide diff stats

  1. +0 24 scripts/namespace.pl
24 scripts/namespace.pl
@@ -141,26 +141,6 @@
141 141 'VDSO32_sigreturn' => 1,
142 142 );
143 143
144   -# Files with exceptions to source file location
145   -my %sourceloc = (
146   - 'net/dccp/dccp_probe.o' => 'probe',
147   - 'net/dccp/dccp_ipv4.o' => 'ipv4',
148   - 'net/dccp/dccp_ipv6.o' => 'ipv6',
149   - 'net/dccp/dccp_diag.o' => 'diag',
150   - 'drivers/char/hw_random/rng-core.o' => 'core',
151   - 'fs/fat/msdos.o' => 'namei_msdos',
152   - 'fs/fat/vfat.o' => 'namei_vfat',
153   - 'fs/nfs_common/nfs_acl.o' => 'nfsacl',
154   - 'sound/soundcore.o' => 'sound_core',
155   - 'drivers/md/dm-mirror.o' => 'dm-raid1',
156   - 'drivers/message/i2o/i2o_bus.o' => 'bus-osm',
157   - 'arch/x86/kvm/kvm-amd.o' => 'svm',
158   - 'arch/x86/kvm/kvm-intel.o' => 'vmx',
159   - 'arch/x86/crypto/twofish-x86_64.o' => 'twofish-x86_64-asm_64',
160   - 'arch/x86/crypto/aes-x86_64.o' => 'aes-x86_64-asm_64',
161   - 'arch/x86/crypto/aesni-intel.o' => 'aesni-intel_asm',
162   - 'arch/x86/crypto/salsa20-x86_64.o' => 'salsa20-x86_64-asm_64',
163   -);
164 144
165 145 &find(\&linux_objects, '.'); # find the objects and do_nm on them
166 146 &list_multiply_defined();
@@ -248,15 +228,11 @@ sub do_nm
248 228 return;
249 229 }
250 230 ($source = $basename) =~ s/\.o$//;
251   -
252   - $source = $sourceloc{$fullname} if ($sourceloc{$fullname});
253   -
254 231 if (-e "$source.c" || -e "$source.S") {
255 232 $source = "$objtree$File::Find::dir/$source";
256 233 } else {
257 234 $source = "$srctree$File::Find::dir/$source";
258 235 }
259   -
260 236 if (! -e "$source.c" && ! -e "$source.S") {
261 237 # No obvious source, exclude the object if it is conglomerate
262 238 open(my $objdumpdata, "$objdump $basename|")

0 comments on commit 9231d9e

Please sign in to comment.
Something went wrong with that request. Please try again.