+ bloat-o-meter-gcc-4-fix.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     bloat-o-meter: gcc-4 fix

has been added to the -mm tree.  Its filename is

     bloat-o-meter-gcc-4-fix.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this


From: Rob Landley <rob@xxxxxxxxxxx>

Upgrade scripts/bloat-o-meter to handle the names gcc 4 gives static
symbols.

Signed-off-by: Rob Landley <rob@xxxxxxxxxxx>
Signed-off-by: Matt Mackall <mpm@xxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 scripts/bloat-o-meter |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

diff -puN scripts/bloat-o-meter~bloat-o-meter-gcc-4-fix scripts/bloat-o-meter
--- devel/scripts/bloat-o-meter~bloat-o-meter-gcc-4-fix	2006-05-10 23:22:53.000000000 -0700
+++ devel-akpm/scripts/bloat-o-meter	2006-05-10 23:22:53.000000000 -0700
@@ -18,7 +18,8 @@ def getsizes(file):
     for l in os.popen("nm --size-sort " + file).readlines():
         size, type, name = l[:-1].split()
         if type in "tTdDbB":
-            sym[name] = int(size, 16)
+            if "." in name: name = "static." + name.split(".")[0]
+            sym[name] = sym.get(name, 0) + int(size, 16)
     return sym
 
 old = getsizes(sys.argv[1])
_

Patches currently in -mm which might be from rob@xxxxxxxxxxx are

bloat-o-meter-gcc-4-fix.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux