[lld] r267569 - Remove unnecessary function type directives for ifuncs.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 26 09:50:02 PDT 2016


Author: pcc
Date: Tue Apr 26 11:50:02 2016
New Revision: 267569

URL: http://llvm.org/viewvc/llvm-project?rev=267569&view=rev
Log:
Remove unnecessary function type directives for ifuncs.

Modified:
    lld/trunk/test/ELF/aarch64-gnu-ifunc-nosym.s
    lld/trunk/test/ELF/aarch64-gnu-ifunc.s
    lld/trunk/test/ELF/gnu-ifunc-i386.s
    lld/trunk/test/ELF/gnu-ifunc-nosym-i386.s
    lld/trunk/test/ELF/gnu-ifunc-nosym.s
    lld/trunk/test/ELF/gnu-ifunc-relative.s
    lld/trunk/test/ELF/gnu-ifunc.s

Modified: lld/trunk/test/ELF/aarch64-gnu-ifunc-nosym.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/aarch64-gnu-ifunc-nosym.s?rev=267569&r1=267568&r2=267569&view=diff
==============================================================================
--- lld/trunk/test/ELF/aarch64-gnu-ifunc-nosym.s (original)
+++ lld/trunk/test/ELF/aarch64-gnu-ifunc-nosym.s Tue Apr 26 11:50:02 2016
@@ -13,13 +13,11 @@
 .text
 .type foo STT_GNU_IFUNC
 .globl foo
-.type foo, @function
 foo:
  ret
 
 .type bar STT_GNU_IFUNC
 .globl bar
-.type bar, @function
 bar:
  ret
 

Modified: lld/trunk/test/ELF/aarch64-gnu-ifunc.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/aarch64-gnu-ifunc.s?rev=267569&r1=267568&r2=267569&view=diff
==============================================================================
--- lld/trunk/test/ELF/aarch64-gnu-ifunc.s (original)
+++ lld/trunk/test/ELF/aarch64-gnu-ifunc.s Tue Apr 26 11:50:02 2016
@@ -130,13 +130,11 @@
 .text
 .type foo STT_GNU_IFUNC
 .globl foo
-.type foo, @function
 foo:
  ret
 
 .type bar STT_GNU_IFUNC
 .globl bar
-.type bar, @function
 bar:
  ret
 

Modified: lld/trunk/test/ELF/gnu-ifunc-i386.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/gnu-ifunc-i386.s?rev=267569&r1=267568&r2=267569&view=diff
==============================================================================
--- lld/trunk/test/ELF/gnu-ifunc-i386.s (original)
+++ lld/trunk/test/ELF/gnu-ifunc-i386.s Tue Apr 26 11:50:02 2016
@@ -116,13 +116,11 @@
 .text
 .type foo STT_GNU_IFUNC
 .globl foo
-.type foo, @function
 foo:
  ret
 
 .type bar STT_GNU_IFUNC
 .globl bar
-.type bar, @function
 bar:
  ret
 

Modified: lld/trunk/test/ELF/gnu-ifunc-nosym-i386.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/gnu-ifunc-nosym-i386.s?rev=267569&r1=267568&r2=267569&view=diff
==============================================================================
--- lld/trunk/test/ELF/gnu-ifunc-nosym-i386.s (original)
+++ lld/trunk/test/ELF/gnu-ifunc-nosym-i386.s Tue Apr 26 11:50:02 2016
@@ -13,13 +13,11 @@
 .text
 .type foo STT_GNU_IFUNC
 .globl foo
-.type foo, @function
 foo:
  ret
 
 .type bar STT_GNU_IFUNC
 .globl bar
-.type bar, @function
 bar:
  ret
 

Modified: lld/trunk/test/ELF/gnu-ifunc-nosym.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/gnu-ifunc-nosym.s?rev=267569&r1=267568&r2=267569&view=diff
==============================================================================
--- lld/trunk/test/ELF/gnu-ifunc-nosym.s (original)
+++ lld/trunk/test/ELF/gnu-ifunc-nosym.s Tue Apr 26 11:50:02 2016
@@ -13,13 +13,11 @@
 .text
 .type foo STT_GNU_IFUNC
 .globl foo
-.type foo, @function
 foo:
  ret
 
 .type bar STT_GNU_IFUNC
 .globl bar
-.type bar, @function
 bar:
  ret
 

Modified: lld/trunk/test/ELF/gnu-ifunc-relative.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/gnu-ifunc-relative.s?rev=267569&r1=267568&r2=267569&view=diff
==============================================================================
--- lld/trunk/test/ELF/gnu-ifunc-relative.s (original)
+++ lld/trunk/test/ELF/gnu-ifunc-relative.s Tue Apr 26 11:50:02 2016
@@ -5,7 +5,6 @@
 
 .type foo STT_GNU_IFUNC
 .globl foo
-.type foo, @function
 foo:
  ret
 

Modified: lld/trunk/test/ELF/gnu-ifunc.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/gnu-ifunc.s?rev=267569&r1=267568&r2=267569&view=diff
==============================================================================
--- lld/trunk/test/ELF/gnu-ifunc.s (original)
+++ lld/trunk/test/ELF/gnu-ifunc.s Tue Apr 26 11:50:02 2016
@@ -113,13 +113,11 @@
 .text
 .type foo STT_GNU_IFUNC
 .globl foo
-.type foo, @function
 foo:
  ret
 
 .type bar STT_GNU_IFUNC
 .globl bar
-.type bar, @function
 bar:
  ret
 




More information about the llvm-commits mailing list