Skip to content

Commit 4e25adb

Browse files
committed
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.
1 parent 9962fe2 commit 4e25adb

10 files changed

Lines changed: 40 additions & 22 deletions

File tree

‎gas/ChangeLog‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2016-12-21 Alan Modra <amodra@gmail.com>
2+
3+
* doc/c-lm32.texi: Fix chars with high bit set.
4+
* testsuite/gas/bfin/vector2.s: Likewise.
5+
16
2016-12-21 Alan Modra <amodra@gmail.com>
27

38
PR gas/10946

‎gas/doc/c-lm32.texi‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
@ifclear GENERIC
1212
@node Machine Dependencies
13-
@chapter LM£" Dependent Features
13+
@chapter LM32 Dependent Features
1414
@end ifclear
1515

1616
@cindex LM32 support

‎gas/testsuite/gas/bfin/vector2.s‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ r1=r2 +|+ r3 (SCO);
9393
r4=r3 +|+ r5 (SCO);
9494
r6=r3 +|+ r7 (SCO);
9595

96-
//Dreg = Dreg –|+ Dreg (opt_mode_0) ; /* subtract | add (b) */
96+
//Dreg = Dreg -|+ Dreg (opt_mode_0) ; /* subtract | add (b) */
9797
r6=r0 -|+ r1(s) ; /* same as above, subtract|add with saturation */
9898

9999
r0=r1 -|+ r2 ;
@@ -125,7 +125,7 @@ r4=r3 -|+ r5 (SCO);
125125
r6=r3 -|+ r7 (SCO);
126126

127127

128-
//Dreg = Dreg +|– Dreg (opt_mode_0) ; /* add | subtract (b) */
128+
//Dreg = Dreg +|- Dreg (opt_mode_0) ; /* add | subtract (b) */
129129
r0=r2 +|- r1(co) ; /* add|subtract with half-word results crossed over in the destination register */
130130

131131
r0=r1 +|- r2 ;
@@ -156,7 +156,7 @@ r1=r2 +|- r3 (SCO);
156156
r4=r3 +|- r5 (SCO);
157157
r6=r3 +|- r7 (SCO);
158158

159-
//Dreg = Dreg –|– Dreg (opt_mode_0) ; /* subtract | subtract (b) */
159+
//Dreg = Dreg -|- Dreg (opt_mode_0) ; /* subtract | subtract (b) */
160160
r7=r3 -|- r6(sco) ; /* subtract|subtract with saturation and half-word results crossed over in the destination register */
161161

162162
r0=r1 -|- r2 ;
@@ -188,7 +188,7 @@ r4=r3 -|- r5 (SCO);
188188
r6=r3 -|- r7 (SCO);
189189

190190
//Quad 16-Bit Operations
191-
//Dreg = Dreg +|+ Dreg, Dreg = Dreg –|– Dreg (opt_mode_0,opt_mode_2) ; /* add | add, subtract | subtract; the set of source registers must be the same for each operation (b) */
191+
//Dreg = Dreg +|+ Dreg, Dreg = Dreg -|- Dreg (opt_mode_0,opt_mode_2) ; /* add | add, subtract | subtract; the set of source registers must be the same for each operation (b) */
192192
r5=r3 +|+ r4, r7=r3-|-r4 ; /* quad 16-bit operations, add|add, subtract|subtract */
193193

194194
r0=r1 +|+ r2, r7=r1 -|- r2;
@@ -284,7 +284,7 @@ r4=r3 +|+ r5, r3=r3 -|- r5(SCO,ASL);
284284
r6=r3 +|+ r7, r2=r3 -|- r7(SCO,ASL);
285285

286286

287-
//Dreg = Dreg +|– Dreg, Dreg = Dreg –|+ Dreg (opt_mode_0,opt_mode_2) ; /* add | subtract, subtract | add; the set of source registers must be the same for each operation (b) */
287+
//Dreg = Dreg +|- Dreg, Dreg = Dreg -|+ Dreg (opt_mode_0,opt_mode_2) ; /* add | subtract, subtract | add; the set of source registers must be the same for each operation (b) */
288288
r5=r3 +|- r4, r7=r3 -|+ r4 ; /* quad 16-bit operations, add|subtract, subtract|add */
289289

290290
r0=r1 +|- r2, r7=r1 -|+ r2;

‎gold/ChangeLog‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2016-12-21 Alan Modra <amodra@gmail.com>
2+
3+
* arm.cc: Fix comment chars with high bit set.
4+
15
2016-12-20 Cary Coutant <ccoutant@gmail.com>
26

37
* testsuite/Makefile.am: Add missing dependencies on gcctestdir/ld

‎gold/arm.cc‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3424,7 +3424,7 @@ class Arm_relocate_functions : public Relocate_functions<32, big_endian>
34243424
const Symbol_value<32>* psymval, Arm_address address,
34253425
Arm_address thumb_bit);
34263426

3427-
// R_ARM_THM_JUMP6: S + A – P
3427+
// R_ARM_THM_JUMP6: S + A - P
34283428
static inline typename This::Status
34293429
thm_jump6(unsigned char* view,
34303430
const Sized_relobj_file<32, big_endian>* object,
@@ -3435,7 +3435,7 @@ class Arm_relocate_functions : public Relocate_functions<32, big_endian>
34353435
typedef typename elfcpp::Swap<16, big_endian>::Valtype Reltype;
34363436
Valtype* wv = reinterpret_cast<Valtype*>(view);
34373437
Valtype val = elfcpp::Swap<16, big_endian>::readval(wv);
3438-
// bit[9]:bit[7:3]:’0’ (mask: 0x02f8)
3438+
// bit[9]:bit[7:3]:'0' (mask: 0x02f8)
34393439
Reltype addend = (((val & 0x0200) >> 3) | ((val & 0x00f8) >> 2));
34403440
Reltype x = (psymval->value(object, addend) - address);
34413441
val = (val & 0xfd07) | ((x & 0x0040) << 3) | ((val & 0x003e) << 2);
@@ -3446,7 +3446,7 @@ class Arm_relocate_functions : public Relocate_functions<32, big_endian>
34463446
: This::STATUS_OKAY);
34473447
}
34483448

3449-
// R_ARM_THM_JUMP8: S + A – P
3449+
// R_ARM_THM_JUMP8: S + A - P
34503450
static inline typename This::Status
34513451
thm_jump8(unsigned char* view,
34523452
const Sized_relobj_file<32, big_endian>* object,
@@ -3466,7 +3466,7 @@ class Arm_relocate_functions : public Relocate_functions<32, big_endian>
34663466
: This::STATUS_OKAY);
34673467
}
34683468

3469-
// R_ARM_THM_JUMP11: S + A – P
3469+
// R_ARM_THM_JUMP11: S + A - P
34703470
static inline typename This::Status
34713471
thm_jump11(unsigned char* view,
34723472
const Sized_relobj_file<32, big_endian>* object,

‎include/ChangeLog‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2016-12-21 Alan Modra <amodra@gmail.com>
2+
3+
* coff/pe.h: Fix comment chars with high bit set.
4+
* opcode/xgate.h: Likewise.
5+
16
2016-12-20 Maciej W. Rozycki <macro@imgtec.com>
27

38
* opcode/mips.h (mips_opcode_32bit_p): New inline function.

‎include/coff/pe.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ struct external_IMAGE_DEBUG_DIRECTORY
604604
#define CVINFO_PDB70_CVSIGNATURE 0x53445352 // "RSDS"
605605
#define CVINFO_PDB20_CVSIGNATURE 0x3031424e // "NB10"
606606
#define CVINFO_CV50_CVSIGNATURE 0x3131424e // "NB11"
607-
#define CVINFO_CV41_CVSIGNATURE 0x3930424e // âNB09"
607+
#define CVINFO_CV41_CVSIGNATURE 0x3930424e // "NB09"
608608

609609
typedef struct _CV_INFO_PDB70
610610
{

‎include/opcode/xgate.h‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@
2929
#define XGATE_C_BIT 0x01 /* XGC - Carry Flag */
3030

3131
/* Access Detail Notation
32-
V — Vector fetch: always an aligned word read, lasts for at least one RISC core cycle
33-
P — Program word fetch: always an aligned word read, lasts for at least one RISC core cycle
34-
r — 8-bit data read: lasts for at least one RISC core cycle
35-
R — 16-bit data read: lasts for at least one RISC core cycle
36-
w — 8-bit data write: lasts for at least one RISC core cycle
37-
W — 16-bit data write: lasts for at least one RISC core cycle
38-
A — Alignment cycle: no read or write, lasts for zero or one RISC core cycles
39-
f — Free cycle: no read or write, lasts for one RISC core cycles. */
32+
V - Vector fetch: always an aligned word read, lasts for at least one RISC core cycle
33+
P - Program word fetch: always an aligned word read, lasts for at least one RISC core cycle
34+
r - 8-bit data read: lasts for at least one RISC core cycle
35+
R - 16-bit data read: lasts for at least one RISC core cycle
36+
w - 8-bit data write: lasts for at least one RISC core cycle
37+
W - 16-bit data write: lasts for at least one RISC core cycle
38+
A - Alignment cycle: no read or write, lasts for zero or one RISC core cycles
39+
f - Free cycle: no read or write, lasts for one RISC core cycles. */
4040
#define XGATE_CYCLE_V 0x01
4141
#define XGATE_CYCLE_P 0x02
4242
#define XGATE_CYCLE_r 0x04

‎ld/ChangeLog‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2016-12-21 Alan Modra <amodra@gmail.com>
2+
3+
* testsuite/ld-scripts/sysroot-prefix.exp: Fix chars with high bit set.
4+
15
2016-12-16 fincs <fincs.alt1@gmail.com>
26

37
* ld.texinfo: Document --gc-keep-exported.

‎ld/testsuite/ld-scripts/sysroot-prefix.exp‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ proc sysroot_prefix_test_setup { } {
8181
global as gasopt srcdir subdir ar
8282

8383
if {![ld_assemble_flags $as $gasopt $srcdir/$subdir/pr14962a.s tmpdir/main.o]} {
84-
error "Error assembling a trivial file for sysroot-prefix tests�framework"
84+
error "Error assembling a trivial file for sysroot-prefix tests framework"
8585
return 0
8686
}
8787

@@ -106,13 +106,13 @@ proc sysroot_prefix_test_setup { } {
106106
set libnamebase [lindex $test_object 2]
107107

108108
if ![ld_assemble_flags $as $gasopt $srcdir/$subdir/$sname $oname] {
109-
error "Error assembling trivial file $sname for sysroot-prefix tests�framework"
109+
error "Error assembling trivial file $sname for sysroot-prefix tests framework"
110110
return 0
111111
}
112112

113113
if { [string length $libnamebase] != 0 &&
114114
![ar_simple_create $ar "" tmpdir/sysroot/tmp/ldtest-xyzzy/lib$libnamebase.a $oname] } {
115-
error "Error creating archive $libnamebase for sysroot-prefix tests�framework"
115+
error "Error creating archive $libnamebase for sysroot-prefix tests framework"
116116
return 0
117117
}
118118
}

0 commit comments

Comments
 (0)