Commit | Line | Data |
---|---|---|
f51d32e2 BJ |
1 | diff /usr/dist3/src/cmd/pcc/code.c ./code.c |
2 | 158a159,161 | |
3 | > #ifdef STABDOT | |
4 | > pstabdot(N_SLINE, lineno); | |
5 | > #else | |
6 | 161a165 | |
7 | > #endif | |
8 | 242a247,260 | |
9 | > #ifdef ASSTRINGS | |
10 | > i &= 077; | |
11 | > if ( t < 0 ){ | |
12 | > if ( i != 0 ) printf( "\"\n" ); | |
13 | > } else { | |
14 | > if ( i == 0 ) printf("\t.ascii\t\""); | |
15 | > if ( t == '"' ) | |
16 | > printf("\\\""); | |
17 | > else if ( t < 040 || t >= 0177 ) | |
18 | > printf( "\\%o",t); | |
19 | > else putchar(t); | |
20 | > if ( i == 077 ) printf("\"\n"); | |
21 | > } | |
22 | > #else | |
23 | 253a272 | |
24 | > #endif | |
25 | Files /usr/dist3/src/cmd/pcc/fort and ./fort differ | |
26 | diff /usr/dist3/src/cmd/pcc/local.c ./local.c | |
27 | 402c402,403 | |
28 | < int type; { | |
29 | --- | |
30 | > int type; | |
31 | > { | |
32 | 405a407,413 | |
33 | > #ifdef ASSTRINGS | |
34 | > if ( name[0] == '\0') | |
35 | > printf("\t.stabn\t"); | |
36 | > else | |
37 | > printf("\t.stabs\t\"%.8s\", ", name); | |
38 | > #else | |
39 | > | |
40 | 409a418 | |
41 | > #endif | |
42 | 412a422,432 | |
43 | > #ifdef STABDOT | |
44 | > pstabdot(type, value) | |
45 | > int type; | |
46 | > int value; | |
47 | > { | |
48 | > if ( ! gdebug) return; | |
49 | > printf("\t.stabd\t"); | |
50 | > printf("0%o,0,0%o\n",type, value); | |
51 | > } | |
52 | > #endif | |
53 | > | |
54 | 448a469,476 | |
55 | > /* | |
56 | > * We use the old style stab to introduce the | |
57 | > * name of the file. This is the only place | |
58 | > * where we could use a stab, with the last | |
59 | > * expression the '.', but this is also the only | |
60 | > * place where the first argument to the stab is | |
61 | > * a string (namely the name of the file). | |
62 | > */ | |
63 | 458a487,489 | |
64 | > #ifdef STABDOT | |
65 | > pstabdot(N_SLINE, lineno); | |
66 | > #else | |
67 | 461a493 | |
68 | > #endif | |
69 | 466a499,501 | |
70 | > #ifdef STABDOT | |
71 | > pstabdot(N_LBRAC, level); | |
72 | > #else | |
73 | 469a505 | |
74 | > #endif | |
75 | 473a510,512 | |
76 | > #ifdef STABDOT | |
77 | > pstabdot(N_RBRAC, level); | |
78 | > #else | |
79 | 476a516 | |
80 | > #endif | |
81 | diff /usr/dist3/src/cmd/pcc/makefile ./makefile | |
82 | 3c3,8 | |
83 | < CFLAGS=-O | |
84 | --- | |
85 | > # | |
86 | > # ASSTRINGS The assembler can handle .ascii and .asciz | |
87 | > # STABDOT The assembler can handle .stabd | |
88 | > # ABORTCODE The assembler can handle .ABORT intelligently | |
89 | > # | |
90 | > CFLAGS=-O -DASSTRINGS -DSTABDOT -DABORTCODE | |
91 | 26c31 | |
92 | < :rofix rodata.s | |
93 | --- | |
94 | > sh ./:rofix rodata.s | |
95 | 32c37 | |
96 | < :yyfix yyexca yyact yypact yypgo yyr1 yyr2 yychk yydef | |
97 | --- | |
98 | > sh ./:yyfix yyexca yyact yypact yypgo yyr1 yyr2 yychk yydef | |
99 | 38c43 | |
100 | < :rofix table.s | |
101 | --- | |
102 | > sh ./:rofix table.s | |
103 | 70c75 | |
104 | < :rofix ftable.s | |
105 | --- | |
106 | > sh ./:rofix ftable.s | |
107 | diff /usr/dist3/src/cmd/pcc/table.c ./table.c | |
108 | 312c312 | |
109 | < ASSIGN, INAREG|FOREFF, | |
110 | --- | |
111 | > ASSIGN, INAREG|FOREFF|FORCC, | |
112 | 315c315 | |
113 | < 0, RRIGHT, | |
114 | --- | |
115 | > 0, RRIGHT|RESCC, |