summaryrefslogtreecommitdiffstats
path: root/build/linux
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-18 20:07:50 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-18 20:07:50 +0000
commit8279af57b7cffbc823f105b6b1115c15ff25658f (patch)
tree5ca115e798bcd892d0746f1351c6e30967405940 /build/linux
parent5598ba5a858b341b065909a34610d4bdf6b80596 (diff)
downloadchromium_src-8279af57b7cffbc823f105b6b1115c15ff25658f.zip
chromium_src-8279af57b7cffbc823f105b6b1115c15ff25658f.tar.gz
chromium_src-8279af57b7cffbc823f105b6b1115c15ff25658f.tar.bz2
Make symbol signatures upper-case.
Review URL: http://codereview.chromium.org/132034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18741 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/linux')
-rwxr-xr-xbuild/linux/dump_signature.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/linux/dump_signature.py b/build/linux/dump_signature.py
index 10bb2e0..9ba865a 100755
--- a/build/linux/dump_signature.py
+++ b/build/linux/dump_signature.py
@@ -25,6 +25,7 @@ signature = [0] * 16
for i in range(0, 4096):
signature[i % 16] ^= ord(data[i])
-out = ('%08x%04x%04x%02x%02x%02x%02x%02x%02x%02x%02x0' %
+# Append a 0 at the end for the generation number (always 0 on Linux)
+out = ('%08X%04X%04X%02X%02X%02X%02X%02X%02X%02X%02X0' %
struct.unpack('I2H8B', struct.pack('16B', *signature)))
sys.stdout.write(out)