diff options
author | Christophe Lyon <christophe.lyon@st.com> | 2009-03-06 08:57:58 +0000 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@st.com> | 2009-03-06 08:57:58 +0000 |
commit | 8cd931b713e8ef36bdedb6015562c9f0fd1b8e4f (patch) | |
tree | 721be252e02b29c125acf2567292b0f0a45f87bc /ld/testsuite/ld-arm/farcall-group3.s | |
parent | f0da3b538d1fec3f9e4707409ea200e3b625f12a (diff) | |
download | gdb-8cd931b713e8ef36bdedb6015562c9f0fd1b8e4f.zip gdb-8cd931b713e8ef36bdedb6015562c9f0fd1b8e4f.tar.gz gdb-8cd931b713e8ef36bdedb6015562c9f0fd1b8e4f.tar.bz2 |
09-03-05 Christophe Lyon <christophe.lyon@st.com>
bfd/
* elf32-arm.c (group_sections): Take next section size into
account before accepting to group it.
testsuite/
* ld-arm/arm-elf.exp: Add new farcall-group-limit test.
* ld-arm/farcall-group-limit.d: New file.
* ld-arm/farcall-group3.s: New file.
* ld-arm/farcall-group4.s: New file.
Diffstat (limited to 'ld/testsuite/ld-arm/farcall-group3.s')
-rw-r--r-- | ld/testsuite/ld-arm/farcall-group3.s | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-arm/farcall-group3.s b/ld/testsuite/ld-arm/farcall-group3.s new file mode 100644 index 0000000..ea2ce7f --- /dev/null +++ b/ld/testsuite/ld-arm/farcall-group3.s @@ -0,0 +1,9 @@ +@ Test to ensure that ARM calls exceeding 32Mb generate stubs, +@ and that stubs are correctly inserted between input sections +@ when one contribution size exceeds the limit. + + .text + .global bar + .global _start +_start: + bl bar |