[lld] r177604 - [ELF][Hexagon][test] check .got.plt order

Shankar Easwaran shankare at codeaurora.org
Wed Mar 20 16:39:43 PDT 2013


Author: shankare
Date: Wed Mar 20 18:39:43 2013
New Revision: 177604

URL: http://llvm.org/viewvc/llvm-project?rev=177604&view=rev
Log:
[ELF][Hexagon][test] check .got.plt order

Added:
    lld/trunk/test/elf/Hexagon/Inputs/got-plt-order.c
    lld/trunk/test/elf/Hexagon/Inputs/got-plt-order.o   (with props)
    lld/trunk/test/elf/Hexagon/hexagon-got-plt-order.test

Added: lld/trunk/test/elf/Hexagon/Inputs/got-plt-order.c
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/Hexagon/Inputs/got-plt-order.c?rev=177604&view=auto
==============================================================================
--- lld/trunk/test/elf/Hexagon/Inputs/got-plt-order.c (added)
+++ lld/trunk/test/elf/Hexagon/Inputs/got-plt-order.c Wed Mar 20 18:39:43 2013
@@ -0,0 +1,6 @@
+int c = 10;
+int fn() { c = 20; return 0; }
+
+int fn1() {
+  return fn();
+}

Added: lld/trunk/test/elf/Hexagon/Inputs/got-plt-order.o
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/Hexagon/Inputs/got-plt-order.o?rev=177604&view=auto
==============================================================================
Binary file - no diff available.

Propchange: lld/trunk/test/elf/Hexagon/Inputs/got-plt-order.o
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: lld/trunk/test/elf/Hexagon/hexagon-got-plt-order.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/Hexagon/hexagon-got-plt-order.test?rev=177604&view=auto
==============================================================================
--- lld/trunk/test/elf/Hexagon/hexagon-got-plt-order.test (added)
+++ lld/trunk/test/elf/Hexagon/hexagon-got-plt-order.test Wed Mar 20 18:39:43 2013
@@ -0,0 +1,6 @@
+RUN: lld -core -target hexagon %p/Inputs/got-plt-order.o \
+RUN: -output=%t -noinhibit-exec -output-type=shared
+RUN: llvm-objdump -section-headers %t | FileCheck %s
+
+CHECK: .got
+CHECK-NEXT: .got.plt





More information about the llvm-commits mailing list