]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
UBUNTU: [Packaging] retpoline -- elide %cs:0xNNNN constants on i386
authorAndy Whitcroft <apw@canonical.com>
Thu, 1 Mar 2018 16:56:26 +0000 (16:56 +0000)
committerJuerg Haefliger <juergh@canonical.com>
Tue, 3 Apr 2018 06:18:55 +0000 (08:18 +0200)
BugLink: http://bugs.launchpad.net/bugs/1752655
Signed-off-by: Andy Whitcroft <apw@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Juerg Haefliger <juergh@canonical.com>
debian/scripts/retpoline-extract

index 3bdc8b5a463147e1547728ac2557bfb28f0b800e..5baa35e74cc54bcf67d306dfc08c9884703281f9 100755 (executable)
@@ -10,4 +10,5 @@ awk -F'       ' '
        /^.\//                          { file=$1; sub(":.*", "", file); sub("^.*/", "", file); }
        /^[0-9a-f][0-9a-f]* <.*>:/      { tag=$1; sub(".*<", "", tag); sub(">.*", "", tag); tag=file " " tag; }
        $3 ~ /(call|jmp)q?  *\*%/       { print(tag " " $3); }
-'
+' | \
+       grep -v " \*%cs:0x"             # elide 32bit code-segment absolute offsets.