diff options
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 6 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/cmse-veneers.rd | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/cmse-veneers.s | 10 |
3 files changed, 18 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 2a3db2c..4bae998 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2016-09-14 Thomas Preud'homme <thomas.preudhomme@arm.com> + + * testsuite/ld-arm/cmse-veneers.s: Add a test for ARMv8-M Security + Extensions entry functions in absolute section. + * testsuite/ld-arm/cmse-veneers.rd: Adapt expected output accordingly. + 2016-09-14 Claudiu Zissulescu <claziss@synopsys.com> * testsuite/ld-arc/tls-dtpoff.dd: New file. diff --git a/ld/testsuite/ld-arm/cmse-veneers.rd b/ld/testsuite/ld-arm/cmse-veneers.rd index 20fad96..2f0fa5f 100644 --- a/ld/testsuite/ld-arm/cmse-veneers.rd +++ b/ld/testsuite/ld-arm/cmse-veneers.rd @@ -1,4 +1,6 @@ #... +[0-9a-f]+ A abs_entry_fct +#... [0-9a-f]+ T glob_entry_fct #... [0-9a-f]+ T glob_entry_veneer1 diff --git a/ld/testsuite/ld-arm/cmse-veneers.s b/ld/testsuite/ld-arm/cmse-veneers.s index d5c57f6..8346888 100644 --- a/ld/testsuite/ld-arm/cmse-veneers.s +++ b/ld/testsuite/ld-arm/cmse-veneers.s @@ -53,6 +53,16 @@ __acle_se_\name: @ Valid setup for entry function without SG veneer entry glob_entry_fct, function, global, entry_fct=nop + @ Valid setup for entry function with absolute address + .align 2 + .global __acle_se_abs_entry_fct + .global abs_entry_fct + .type __acle_se_abs_entry_fct, %function + .type abs_entry_fct, %function +__acle_se_abs_entry_fct = 0x10000 +abs_entry_fct = 0x10004 + .size abs_entry_fct, 0 + .size __acle_se_abs_entry_fct, 0 .else @ Invalid setups for veneer generation (visibility) entry loc_entry_veneer1, function, local |