Retro68/binutils/gas/testsuite/gas/elf/bignums.s
2017-04-10 13:32:00 +02:00

24 lines
859 B
ArmAsm

.data
# On a 64-bit host the two values below will be read into a simple
# 64-bit field in the expressionS structure and the type will be set
# to O_constant. On a 32-bit host however they will read into the
# generic_bignum array and the type set to O_bignum. Either way they
# should both evaluate without errors.
#
# Note - some targets place .hword values on a 16-bit boundary, so we
# declare a second, zero, .byte value in order to make the data
# consistent across all targets.
.byte 0xffffffffffffff98, 0
.hword 0xffffffffffff9876
# Check that on 64-bit hosts real bignum values also work.
.byte 0xffffffffffffffffffffffffffffff98, 0
.hword 0xffffffffffffffffffffffffffff9876
# Also check a ridiculously long bignum value.
.byte 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff98, 0