install hooks: Remove gold check

As the linker is LLD now, remove the hook checking
for gold.

BUG=chromium:979909
BUG=chromium:1005376

TEST=msg about gold no longer printed.

Change-Id: Ib8488f0ad6fd383b6a2baa2c8f0758a88a32d07d
Reviewed-on: https://chromium-review.googlesource.com/1830895
Tested-by: Manoj Gupta <manojgupta@chromium.org>
Commit-Ready: Manoj Gupta <manojgupta@chromium.org>
Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
diff --git a/hooks/install/qa-elf.sh b/hooks/install/qa-elf.sh
index 120a9d6..c166bdb 100755
--- a/hooks/install/qa-elf.sh
+++ b/hooks/install/qa-elf.sh
@@ -38,14 +38,10 @@
   local pie=false
   local relro=false
   local now=false
-  local gold=false
   ${readelf} -dlSW "${binary}" | \
   {
     while read line ; do
       case "${line}" in
-        *".note.gnu.gold-version"*)
-          gold=true
-          ;;
         *"Shared object file"*)
           pie=true
           ;;
@@ -61,7 +57,6 @@
     ${pie} || echo "File not PIE: ${binary}"
     ${relro} || echo "File not built with -Wl,-z,relro: ${binary}"
     ${now} || echo "File not built with -Wl,-z,now: ${binary}"
-    ${gold} || echo "File not built with gold: ${binary}"
   }
 }