bfd:
authorJoseph Myers <joseph@codesourcery.com>
Thu, 30 Apr 2009 00:01:11 +0000 (00:01 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Thu, 30 Apr 2009 00:01:11 +0000 (00:01 +0000)
commit96c23d596607cc7143e0ea1f4fee260977aec18b
treea6aaee3c724f2263c5716d07fd5aeee75d76c6f5
parent00ee36855d9d2c2258f983e3ada347ed978a0552
bfd:
* elf32-arm.c (elf32_arm_check_relocs): Give errors for absolute
MOVW and MOVT relocations in a shared library link.

ld/testsuite:
* ld-arm/movw-shared-1.d, ld-arm/movw-shared-1.s,
ld-arm/movw-shared-2.d, ld-arm/movw-shared-2.s,
ld-arm/movw-shared-3.d, ld-arm/movw-shared-3.s,
ld-arm/movw-shared-4.d, ld-arm/movw-shared-4.s: New tests.
* ld-arm/arm-elf.exp: Run these new tests.
12 files changed:
bfd/ChangeLog
bfd/elf32-arm.c
ld/testsuite/ChangeLog
ld/testsuite/ld-arm/arm-elf.exp
ld/testsuite/ld-arm/movw-shared-1.d [new file with mode: 0644]
ld/testsuite/ld-arm/movw-shared-1.s [new file with mode: 0644]
ld/testsuite/ld-arm/movw-shared-2.d [new file with mode: 0644]
ld/testsuite/ld-arm/movw-shared-2.s [new file with mode: 0644]
ld/testsuite/ld-arm/movw-shared-3.d [new file with mode: 0644]
ld/testsuite/ld-arm/movw-shared-3.s [new file with mode: 0644]
ld/testsuite/ld-arm/movw-shared-4.d [new file with mode: 0644]
ld/testsuite/ld-arm/movw-shared-4.s [new file with mode: 0644]