diff options
author | Roland McGrath <roland@gnu.org> | 2012-11-15 00:30:11 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2012-11-15 00:30:11 +0000 |
commit | edccdf7c8bac7e4d0d6750076dedc4884c1f127c (patch) | |
tree | 30d8bf1551f775f773cee225aeaf48ed8139fe65 /gold | |
parent | 5286fdef17e1307977f191a7d5e2e64816bd9f47 (diff) | |
download | gdb-edccdf7c8bac7e4d0d6750076dedc4884c1f127c.zip gdb-edccdf7c8bac7e4d0d6750076dedc4884c1f127c.tar.gz gdb-edccdf7c8bac7e4d0d6750076dedc4884c1f127c.tar.bz2 |
bfd/
* elf32-arm.c (elf32_arm_nacl_plt0_entry): Use bic rather than bfc
instruction for data sandboxing.
gold/
* arm.cc (Output_data_plt_arm_nacl::first_plt_entry): Use bic rather
than bfc instruction for data sandboxing.
Diffstat (limited to 'gold')
-rw-r--r-- | gold/ChangeLog | 5 | ||||
-rw-r--r-- | gold/arm.cc | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index 76cb658..d5cdd32 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,8 @@ +2012-11-14 Roland McGrath <mcgrathr@google.com> + + * arm.cc (Output_data_plt_arm_nacl::first_plt_entry): Use bic rather + than bfc instruction for data sandboxing. + 2012-11-08 Alan Modra <amodra@gmail.com> * po/POTFILES.in: Regenerate. diff --git a/gold/arm.cc b/gold/arm.cc index 1994329..a98004b 100644 --- a/gold/arm.cc +++ b/gold/arm.cc @@ -12218,7 +12218,7 @@ const uint32_t Output_data_plt_arm_nacl<big_endian>::first_plt_entry[16] = 0xe08cc00f, // add ip, ip, pc 0xe52dc008, // str ip, [sp, #-8]! // Second bundle: - 0xe7dfcf1f, // bfc ip, #30, #2 + 0xe3ccc103, // bic ip, ip, #0xc0000000 0xe59cc000, // ldr ip, [ip] 0xe3ccc13f, // bic ip, ip, #0xc000000f 0xe12fff1c, // bx ip @@ -12229,7 +12229,7 @@ const uint32_t Output_data_plt_arm_nacl<big_endian>::first_plt_entry[16] = // .Lplt_tail: 0xe50dc004, // str ip, [sp, #-4] // Fourth bundle: - 0xe7dfcf1f, // bfc ip, #30, #2 + 0xe3ccc103, // bic ip, ip, #0xc0000000 0xe59cc000, // ldr ip, [ip] 0xe3ccc13f, // bic ip, ip, #0xc000000f 0xe12fff1c, // bx ip |