aboutsummaryrefslogtreecommitdiff
path: root/gold/testsuite/Makefile.am
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2012-01-25 07:34:55 +0000
committerCary Coutant <ccoutant@google.com>2012-01-25 07:34:55 +0000
commitc2c7840a42aaab8354bb1997d141149d30316603 (patch)
treed9314a7c096f70d4c290eb753c80bf372498901d /gold/testsuite/Makefile.am
parent21abe33a9bdebefa7f917bcc99e946eb464cc67f (diff)
downloadfsf-binutils-gdb-c2c7840a42aaab8354bb1997d141149d30316603.zip
fsf-binutils-gdb-c2c7840a42aaab8354bb1997d141149d30316603.tar.gz
fsf-binutils-gdb-c2c7840a42aaab8354bb1997d141149d30316603.tar.bz2
* int_encoding.cc (read_unsigned_LEB_128): Replaced with inline
definition and ... (read_unsigned_LEB_128_x): ... this new function. (read_signed_LEB_128): Replaced with inline definition and ... (read_signed_LEB_128_x): ... this new function. * int_encoding.h (read_unsigned_LEB_128_x): New function. (read_unsigned_LEB_128): Add inline definition. (read_signed_LEB_128_x): New function. (read_signed_LEB_128): Add inline definition. * testsuite/Makefile.am (leb128_unittest): New unit test. * testsuite/Makefile.in: Regenerate. * testsuite/leb128_unittest.cc: New unit test.
Diffstat (limited to 'gold/testsuite/Makefile.am')
-rw-r--r--gold/testsuite/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/gold/testsuite/Makefile.am b/gold/testsuite/Makefile.am
index 794dac8..c7209f3 100644
--- a/gold/testsuite/Makefile.am
+++ b/gold/testsuite/Makefile.am
@@ -94,6 +94,9 @@ object_unittest_SOURCES = object_unittest.cc
check_PROGRAMS += binary_unittest
binary_unittest_SOURCES = binary_unittest.cc
+check_PROGRAMS += leb128_unittest
+leb128_unittest_SOURCES = leb128_unittest.cc
+
endif NATIVE_OR_CROSS_LINKER
# ---------------------------------------------------------------------