Remove unnecessary function type directives for ifuncs.
authorPeter Collingbourne <peter@pcc.me.uk>
Tue, 26 Apr 2016 16:50:02 +0000 (16:50 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Tue, 26 Apr 2016 16:50:02 +0000 (16:50 +0000)
llvm-svn: 267569

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

index 96dd3e8..bb3a0b8 100644 (file)
 .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
 
index a0bef34..351d0ed 100644 (file)
 .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
 
index dbf365a..bc2d0f9 100644 (file)
 .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
 
index 99cac25..d22cedb 100644 (file)
 .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
 
index fb844ac..08e498e 100644 (file)
 .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
 
index 94c76a8..dc35102 100644 (file)
@@ -5,7 +5,6 @@
 
 .type foo STT_GNU_IFUNC
 .globl foo
-.type foo, @function
 foo:
  ret
 
index c49d99f..5336c89 100644 (file)
 .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