diff options
author | Alan Modra <amodra@gmail.com> | 2016-12-21 19:13:52 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2016-12-21 19:18:46 +1030 |
commit | 4e25adb3956f880efc28bfebabe79be7338b413f (patch) | |
tree | 9e8b41dbf37bac5ab3c6c78abdd26ff6c59019fc /gold | |
parent | 9962fe293d16e1e1e4d05154e751fc7576226954 (diff) | |
download | gdb-4e25adb3956f880efc28bfebabe79be7338b413f.zip gdb-4e25adb3956f880efc28bfebabe79be7338b413f.tar.gz gdb-4e25adb3956f880efc28bfebabe79be7338b413f.tar.bz2 |
Remove high bit set characters
gas/
* doc/c-lm32.texi: Fix chars with high bit set.
* testsuite/gas/bfin/vector2.s: Likewise.
gold/
* arm.cc: Fix comment chars with high bit set.
include/
* coff/pe.h: Fix comment chars with high bit set.
* opcode/xgate.h: Likewise.
ld/
* testsuite/ld-scripts/sysroot-prefix.exp: Fix chars with high bit set.
Diffstat (limited to 'gold')
-rw-r--r-- | gold/ChangeLog | 4 | ||||
-rw-r--r-- | gold/arm.cc | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index 4ecc6b8..c953031 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,7 @@ +2016-12-21 Alan Modra <amodra@gmail.com> + + * arm.cc: Fix comment chars with high bit set. + 2016-12-20 Cary Coutant <ccoutant@gmail.com> * testsuite/Makefile.am: Add missing dependencies on gcctestdir/ld diff --git a/gold/arm.cc b/gold/arm.cc index d1361aa..43714a5 100644 --- a/gold/arm.cc +++ b/gold/arm.cc @@ -3424,7 +3424,7 @@ class Arm_relocate_functions : public Relocate_functions<32, big_endian> const Symbol_value<32>* psymval, Arm_address address, Arm_address thumb_bit); - // R_ARM_THM_JUMP6: S + A – P + // R_ARM_THM_JUMP6: S + A - P static inline typename This::Status thm_jump6(unsigned char* view, const Sized_relobj_file<32, big_endian>* object, @@ -3435,7 +3435,7 @@ class Arm_relocate_functions : public Relocate_functions<32, big_endian> typedef typename elfcpp::Swap<16, big_endian>::Valtype Reltype; Valtype* wv = reinterpret_cast<Valtype*>(view); Valtype val = elfcpp::Swap<16, big_endian>::readval(wv); - // bit[9]:bit[7:3]:’0’ (mask: 0x02f8) + // bit[9]:bit[7:3]:'0' (mask: 0x02f8) Reltype addend = (((val & 0x0200) >> 3) | ((val & 0x00f8) >> 2)); Reltype x = (psymval->value(object, addend) - address); val = (val & 0xfd07) | ((x & 0x0040) << 3) | ((val & 0x003e) << 2); @@ -3446,7 +3446,7 @@ class Arm_relocate_functions : public Relocate_functions<32, big_endian> : This::STATUS_OKAY); } - // R_ARM_THM_JUMP8: S + A – P + // R_ARM_THM_JUMP8: S + A - P static inline typename This::Status thm_jump8(unsigned char* view, const Sized_relobj_file<32, big_endian>* object, @@ -3466,7 +3466,7 @@ class Arm_relocate_functions : public Relocate_functions<32, big_endian> : This::STATUS_OKAY); } - // R_ARM_THM_JUMP11: S + A – P + // R_ARM_THM_JUMP11: S + A - P static inline typename This::Status thm_jump11(unsigned char* view, const Sized_relobj_file<32, big_endian>* object, |