home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / amiga / programm / language / gcc2_bas.tz / gcc2_bas
Tape Archive  |  1992-11-11  |  40.0 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Tape Archive (archive/tar).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Tape Archive (archive/tar) magic Supported
100% file POSIX tar archive (GNU) default
99% file POSIX tar archive (GNU), file README, mode 777 , uid 0 , gid 0 , size 10424 , seconds 5221747126, user amiga, group amiga default
98% file data default
41% TrID Sybase iAnywhere database files default (weak)
36% TrID TAR - Tape ARchive (GNU) default
21% TrID TAR - Tape ARchive (file) default
100% siegfried x-fmt/265 Tape Archive Format default
100% lsar Tar default
100% gt2 TAR Archiv gefunden (Auflistung ist deaktiviert) default
100% disktype GNU tar archive default
100% detectItEasy Archive: tar default
100% binwalkID POSIX tar archive (GNU) default
100% xdgMime application/x-tar default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 52 45 41 44 4d 45 00 00 | 00 00 00 00 00 00 00 00 |README..|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 00 00 00 00 20 20 20 37 | 37 37 20 00 20 20 20 20 |.... 7|77 . |
|00000070| 20 30 20 00 20 20 20 20 | 20 30 20 00 20 20 20 20 | 0 . | 0 . |
|00000080| 20 20 31 30 34 32 34 20 | 20 35 32 32 31 37 34 37 | 10424 | 5221747|
|00000090| 31 32 36 20 20 31 30 31 | 36 30 00 20 30 00 00 00 |126 101|60. 0...|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 75 73 74 61 72 20 20 | 00 61 6d 69 67 61 00 00 |.ustar |.amiga..|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 61 6d 69 67 61 00 00 |........|.amiga..|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 54 68 69 73 20 64 69 66 | 66 20 63 6f 6e 74 61 69 |This dif|f contai|
|00000210| 6e 73 20 74 68 65 20 63 | 68 61 6e 67 65 73 20 6e |ns the c|hanges n|
|00000220| 65 65 64 65 64 20 74 6f | 20 67 63 63 2d 32 2e 31 |eeded to| gcc-2.1|
|00000230| 20 28 73 68 6f 75 6c 64 | 20 77 6f 72 6b 20 66 6f | (should| work fo|
|00000240| 72 20 6c 61 74 65 72 0a | 76 65 72 73 69 6f 6e 73 |r later.|versions|
|00000250| 20 61 73 20 77 65 6c 6c | 2c 20 61 73 20 6d 6f 73 | as well|, as mos|
|00000260| 74 20 63 68 61 6e 67 65 | 73 20 63 61 6e 20 62 65 |t change|s can be|
|00000270| 20 61 63 68 69 65 76 65 | 64 20 62 79 20 63 6c 65 | achieve|d by cle|
|00000280| 76 65 72 20 73 65 74 74 | 69 6e 67 20 6f 66 0a 70 |ver sett|ing of.p|
|00000290| 72 6f 76 69 64 65 64 20 | 6d 61 63 72 6f 73 2c 20 |rovided |macros, |
|000002a0| 6f 6e 6c 79 20 76 65 72 | 79 20 66 65 77 20 63 68 |only ver|y few ch|
|000002b0| 61 6e 67 65 73 20 61 72 | 65 20 6e 65 65 64 65 64 |anges ar|e needed|
|000002c0| 20 74 6f 20 74 68 65 20 | 6e 6f 6e 2d 74 61 72 67 | to the |non-targ|
|000002d0| 65 74 0a 73 70 65 63 69 | 66 69 63 20 73 6f 75 72 |et.speci|fic sour|
|000002e0| 63 65 20 66 69 6c 65 73 | 29 20 74 6f 20 70 72 6f |ce files|) to pro|
|000002f0| 76 69 64 65 20 62 61 73 | 65 20 72 65 6c 61 74 69 |vide bas|e relati|
|00000300| 76 65 20 63 6f 64 65 20 | 67 65 6e 65 72 61 74 69 |ve code |generati|
|00000310| 6f 6e 2e 20 0a 0a 57 68 | 61 74 20 64 6f 65 73 20 |on. ..Wh|at does |
|00000320| 69 74 20 64 6f 3f 20 54 | 68 65 20 70 72 6f 76 69 |it do? T|he provi|
|00000330| 64 65 64 20 2d 66 70 69 | 63 20 6d 6f 64 65 20 69 |ded -fpi|c mode i|
|00000340| 73 20 72 61 74 68 65 72 | 20 53 75 6e 20 73 70 65 |s rather| Sun spe|
|00000350| 63 69 66 69 63 2c 20 61 | 6e 64 20 69 74 0a 64 6f |cific, a|nd it.do|
|00000360| 65 73 6e 27 74 20 6d 61 | 6b 65 20 6d 75 63 68 20 |esn't ma|ke much |
|00000370| 73 65 6e 73 65 20 6f 6e | 20 61 20 6e 6f 6e 2d 56 |sense on| a non-V|
|00000380| 4d 20 73 79 73 74 65 6d | 20 6c 69 6b 65 20 41 6d |M system| like Am|
|00000390| 69 67 61 44 4f 53 20 28 | 61 6c 74 68 6f 75 67 68 |igaDOS (|although|
|000003a0| 0a 70 72 6f 76 69 64 69 | 6e 67 20 61 20 6d 65 73 |.providi|ng a mes|
|000003b0| 73 61 67 65 20 70 61 73 | 73 69 6e 67 20 6d 75 6c |sage pas|sing mul|
|000003c0| 74 69 74 61 73 6b 69 6e | 67 20 6b 65 72 6e 65 6c |titaskin|g kernel|
|000003d0| 2c 20 69 74 20 64 6f 65 | 73 6e 27 74 20 66 65 61 |, it doe|sn't fea|
|000003e0| 74 75 72 65 20 76 69 72 | 74 75 61 6c 0a 6d 65 6d |ture vir|tual.mem|
|000003f0| 6f 72 79 20 61 6e 64 2f | 6f 72 20 70 72 6f 74 65 |ory and/|or prote|
|00000400| 63 74 65 64 20 6d 65 6d | 6f 72 79 29 2e 20 54 68 |cted mem|ory). Th|
|00000410| 65 20 74 68 69 6e 67 20 | 75 73 65 64 20 68 65 72 |e thing |used her|
|00000420| 65 20 75 73 65 73 20 74 | 68 65 20 66 6f 6c 6c 6f |e uses t|he follo|
|00000430| 77 69 6e 67 0a 74 65 63 | 68 6e 69 71 75 65 3a 0a |wing.tec|hnique:.|
|00000440| 0a 0a 4e 6f 72 6d 61 6c | 20 6d 6f 64 65 6c 3a 0a |..Normal| model:.|
|00000450| 0a 2b 2d 2d 2d 2d 2d 2d | 2d 2d 2b 2d 2d 2d 2d 2d |.+------|--+-----|
|00000460| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2b 0a 7c 20 20 20 20 |--------|-+.| |
|00000470| 20 20 20 20 7c 20 20 20 | 20 20 20 20 20 20 20 20 | | | |
|00000480| 20 20 20 7c 20 20 20 44 | 41 54 41 2f 42 53 53 20 | | D|ATA/BSS |
|00000490| 73 70 61 63 65 20 61 72 | 65 20 74 72 65 61 74 65 |space ar|e treate|
|000004a0| 64 20 6c 69 6b 65 20 74 | 68 65 79 20 77 65 72 65 |d like t|hey were|
|000004b0| 20 64 69 72 65 63 74 6c | 79 0a 7c 09 20 7c 20 20 | directl|y.|. | |
|000004c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 7c 20 20 20 | | | |
|000004d0| 61 63 63 65 73 73 69 62 | 6c 65 20 66 72 6f 6d 20 |accessib|le from |
|000004e0| 54 45 58 54 2c 20 61 62 | 73 6f 6c 75 74 65 20 61 |TEXT, ab|solute a|
|000004f0| 64 64 72 65 73 73 69 6e | 67 20 63 61 6e 20 62 65 |ddressin|g can be|
|00000500| 20 0a 7c 20 20 54 45 58 | 54 20 20 7c 20 20 44 41 | .| TEX|T | DA|
|00000510| 54 41 20 26 20 42 53 53 | 20 20 7c 20 20 20 75 73 |TA & BSS| | us|
|00000520| 65 64 2c 20 77 69 74 68 | 20 74 68 65 20 6c 69 6e |ed, with| the lin|
|00000530| 6b 65 72 20 64 6f 69 6e | 67 20 72 65 6c 6f 63 61 |ker doin|g reloca|
|00000540| 74 69 6f 6e 20 74 6f 20 | 74 68 65 20 0a 7c 20 20 |tion to |the .| |
|00000550| 20 20 20 20 20 20 7c 20 | 20 20 20 20 20 20 20 20 | | | |
|00000560| 20 20 20 20 20 7c 20 20 | 20 76 61 72 69 61 62 6c | | | variabl|
|00000570| 65 20 72 75 6e 74 69 6d | 65 20 61 64 64 72 65 73 |e runtim|e addres|
|00000580| 73 20 6f 66 20 74 68 65 | 20 65 78 65 63 75 74 61 |s of the| executa|
|00000590| 62 6c 65 2e 0a 7c 09 20 | 7c 20 20 20 20 20 20 20 |ble..|. || |
|000005a0| 20 20 20 20 20 20 20 7c | 0a 2b 2d 2d 2d 2d 2d 2d | ||.+------|
|000005b0| 2d 2d 2b 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--+-----|--------|
|000005c0| 2d 2b 0a 0a 0a 42 61 73 | 65 20 72 65 6c 61 74 69 |-+...Bas|e relati|
|000005d0| 76 65 20 6d 6f 64 65 6c | 3a 0a 0a 2b 2d 2d 2d 2d |ve model|:..+----|
|000005e0| 2d 2d 2d 2d 2b 20 20 20 | 2b 2d 2d 2d 2d 2d 2d 2d |----+ |+-------|
|000005f0| 2d 2d 2d 2d 2d 2d 2d 2b | 0a 7c 20 20 20 20 20 20 |-------+|.| |
|00000600| 20 20 7c 20 20 20 7c 20 | 20 20 20 20 20 20 20 20 | | | | |
|00000610| 20 20 20 20 20 7c 20 20 | 45 76 65 72 79 20 61 63 | | |Every ac|
|00000620| 63 65 73 73 20 74 6f 20 | 44 41 54 41 2f 42 53 53 |cess to |DATA/BSS|
|00000630| 20 66 72 6f 6d 20 54 45 | 58 54 20 6d 75 73 74 20 | from TE|XT must |
|00000640| 67 6f 20 62 79 0a 7c 09 | 20 7c 20 42 20 7c 20 20 |go by.|.| | B | |
|00000650| 20 20 20 20 20 20 20 20 | 20 20 20 20 7c 20 20 69 | | | i|
|00000660| 6e 64 69 72 65 63 74 69 | 6f 6e 20 6f 6e 20 61 20 |ndirecti|on on a |
|00000670| 72 65 67 69 73 74 65 72 | 20 70 6f 69 6e 74 69 6e |register| pointin|
|00000680| 67 20 61 74 20 74 68 65 | 0a 7c 20 20 54 45 58 54 |g at the|.| TEXT|
|00000690| 20 20 7c 2d 2d 3e 7c 20 | 20 44 41 54 41 20 26 20 | |-->| | DATA & |
|000006a0| 42 53 53 20 20 7c 20 20 | 44 41 54 41 2f 42 53 53 |BSS | |DATA/BSS|
|000006b0| 20 72 65 67 69 6f 6e 2e | 20 54 68 69 73 20 69 73 | region.| This is|
|000006c0| 20 74 68 65 20 73 6f 20 | 63 61 6c 6c 65 64 20 62 | the so |called b|
|000006d0| 61 73 65 0a 7c 20 20 20 | 20 20 20 20 20 7c 20 20 |ase.| | | |
|000006e0| 20 7c 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |
|000006f0| 7c 20 20 72 65 6c 61 74 | 69 76 65 20 72 65 67 69 || relat|ive regi|
|00000700| 73 74 65 72 20 28 41 34 | 20 69 6e 20 74 68 65 20 |ster (A4| in the |
|00000710| 41 6d 69 67 61 44 4f 53 | 20 63 61 73 65 29 2e 0a |AmigaDOS| case)..|
|00000720| 7c 09 20 7c 20 20 20 7c | 20 20 20 20 20 20 20 20 ||. | || |
|00000730| 20 20 20 20 20 20 7c 0a | 2b 2d 2d 2d 2d 2d 2d 2d | |.|+-------|
|00000740| 2d 2b 20 20 20 2b 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |-+ +--|--------|
|00000750| 2d 2d 2d 2d 2b 0a 0a 0a | 0a 41 64 76 61 6e 74 61 |----+...|.Advanta|
|00000760| 67 65 73 20 74 6f 20 74 | 68 65 20 62 61 73 65 20 |ges to t|he base |
|00000770| 72 65 6c 61 74 69 76 65 | 20 61 70 70 72 6f 61 63 |relative| approac|
|00000780| 68 20 61 72 65 3a 0a 2d | 20 69 66 20 77 6f 72 6b |h are:.-| if work|
|00000790| 69 6e 67 20 77 69 74 68 | 20 31 36 62 69 74 20 6f |ing with| 16bit o|
|000007a0| 66 66 73 65 74 73 20 69 | 6e 74 6f 20 44 41 54 41 |ffsets i|nto DATA|
|000007b0| 2f 42 53 53 20 73 70 61 | 63 65 2c 20 69 6e 73 74 |/BSS spa|ce, inst|
|000007c0| 72 75 63 74 69 6f 6e 73 | 20 61 72 65 0a 20 20 73 |ructions| are. s|
|000007d0| 68 6f 72 74 65 72 20 74 | 68 61 6e 20 69 6e 20 61 |horter t|han in a|
|000007e0| 62 73 6f 6c 75 74 65 20 | 61 64 64 72 65 73 73 69 |bsolute |addressi|
|000007f0| 6e 67 20 6d 6f 64 65 2e | 0a 2d 20 74 68 65 20 73 |ng mode.|.- the s|
|00000800| 68 6f 72 74 65 72 20 69 | 6e 73 74 72 75 63 74 69 |horter i|nstructi|
|00000810| 6f 6e 73 20 61 72 65 20 | 66 61 73 74 65 72 20 61 |ons are |faster a|
|00000820| 73 20 77 65 6c 6c 2e 0a | 2d 20 62 79 20 68 61 76 |s well..|- by hav|
|00000830| 69 6e 67 20 74 68 65 20 | 77 68 6f 6c 65 20 44 41 |ing the |whole DA|
|00000840| 54 41 2f 42 53 53 20 73 | 70 61 63 65 20 61 63 63 |TA/BSS s|pace acc|
|00000850| 65 73 73 65 64 20 6f 6e | 6c 79 20 62 79 20 69 6e |essed on|ly by in|
|00000860| 64 69 72 65 63 74 69 6f | 6e 2c 20 69 74 20 63 61 |directio|n, it ca|
|00000870| 6e 0a 20 20 65 61 73 69 | 6c 79 20 62 65 20 6d 6f |n. easi|ly be mo|
|00000880| 76 65 64 20 6f 72 20 72 | 65 70 6c 61 63 65 64 20 |ved or r|eplaced |
|00000890| 61 74 20 72 75 6e 74 69 | 6d 65 2c 20 70 72 6f 76 |at runti|me, prov|
|000008a0| 69 64 69 6e 67 20 61 20 | 77 61 79 20 74 6f 20 69 |iding a |way to i|
|000008b0| 6d 70 6c 65 6d 65 6e 74 | 0a 20 20 66 6f 72 6b 28 |mplement|. fork(|
|000008c0| 32 29 2d 6c 69 6b 65 20 | 6f 70 65 72 61 74 69 6f |2)-like |operatio|
|000008d0| 6e 73 20 65 76 65 6e 20 | 6f 6e 20 61 20 6e 6f 6e |ns even |on a non|
|000008e0| 2d 56 4d 20 73 79 73 74 | 65 6d 2e 0a 2d 20 75 73 |-VM syst|em..- us|
|000008f0| 69 6e 67 20 74 68 69 73 | 20 66 65 61 74 75 72 65 |ing this| feature|
|00000900| 20 6f 66 20 72 65 6c 6f | 63 61 74 69 6f 6e 2c 20 | of relo|cation, |
|00000910| 70 72 6f 67 72 61 6d 73 | 20 63 61 6e 20 62 65 20 |programs| can be |
|00000920| 6d 61 64 65 20 72 65 65 | 6e 74 72 61 6e 74 20 62 |made ree|ntrant b|
|00000930| 79 20 6a 75 73 74 0a 20 | 20 67 69 76 69 6e 67 20 |y just. | giving |
|00000940| 65 61 63 68 20 6e 65 77 | 20 69 6e 73 74 61 6e 63 |each new| instanc|
|00000950| 65 20 6f 66 20 74 68 65 | 20 70 72 6f 67 72 61 6d |e of the| program|
|00000960| 20 69 74 73 20 6f 77 6e | 20 44 41 54 41 2f 42 53 | its own| DATA/BS|
|00000970| 53 20 72 65 67 69 6f 6e | 2e 0a 0a 4c 69 6d 69 74 |S region|...Limit|
|00000980| 61 74 69 6f 6e 73 20 6f | 66 20 74 68 69 73 20 61 |ations o|f this a|
|00000990| 70 70 72 6f 61 63 68 3a | 0a 2d 20 6f 6e 65 20 72 |pproach:|.- one r|
|000009a0| 65 67 69 73 74 65 72 20 | 69 73 20 70 65 72 6d 61 |egister |is perma|
|000009b0| 6e 65 6e 74 6c 79 20 61 | 6c 6c 6f 63 61 74 65 64 |nently a|llocated|
|000009c0| 20 74 6f 20 61 63 63 65 | 73 73 20 44 41 54 41 2f | to acce|ss DATA/|
|000009d0| 42 53 53 2c 20 61 6e 64 | 20 69 73 20 6e 6f 74 0a |BSS, and| is not.|
|000009e0| 20 20 61 76 61 69 6c 61 | 62 6c 65 20 66 6f 72 20 | availa|ble for |
|000009f0| 6f 74 68 65 72 20 70 75 | 72 70 6f 73 65 73 2e 0a |other pu|rposes..|
|00000a00| 2d 20 61 64 64 69 74 69 | 6f 6e 61 6c 20 73 75 70 |- additi|onal sup|
|00000a10| 70 6f 72 74 20 69 73 20 | 72 65 71 75 69 72 65 64 |port is |required|
|00000a20| 20 69 6e 20 74 68 65 20 | 61 73 73 65 6d 62 6c 65 | in the |assemble|
|00000a30| 72 20 28 74 6f 20 67 65 | 6e 65 72 61 74 65 20 73 |r (to ge|nerate s|
|00000a40| 70 65 63 69 61 6c 0a 20 | 20 72 65 6c 6f 63 61 74 |pecial. | relocat|
|00000a50| 69 6f 6e 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 29 |ion info|rmation)|
|00000a60| 20 61 6e 64 20 69 6e 20 | 74 68 65 20 6c 69 6e 6b | and in |the link|
|00000a70| 65 72 20 28 74 6f 20 68 | 61 6e 64 6c 65 20 6f 66 |er (to h|andle of|
|00000a80| 66 73 65 74 73 20 69 6e | 73 74 65 61 64 20 6f 66 |fsets in|stead of|
|00000a90| 0a 20 20 61 64 64 72 65 | 73 73 65 73 29 2e 0a 2d |. addre|sses)..-|
|00000aa0| 20 69 66 20 75 73 69 6e | 67 20 61 64 64 72 65 73 | if usin|g addres|
|00000ab0| 73 69 6e 67 20 6c 69 6b | 65 3a 0a 20 20 20 20 6d |sing lik|e:. m|
|00000ac0| 6f 76 65 6c 20 61 34 40 | 28 5f 66 6f 6f 3a 57 29 |ovel a4@|(_foo:W)|
|00000ad0| 2c 64 30 0a 20 20 74 6f | 20 61 63 63 65 73 73 20 |,d0. to| access |
|00000ae0| 74 68 65 20 63 6f 6e 74 | 65 6e 74 73 20 6f 66 20 |the cont|ents of |
|00000af0| 76 61 72 69 61 62 6c 65 | 20 60 66 6f 6f 27 2c 20 |variable| `foo', |
|00000b00| 74 68 65 6e 20 74 68 65 | 72 65 20 69 73 20 61 6e |then the|re is an|
|00000b10| 20 75 70 70 65 72 20 6c | 69 6d 69 74 0a 20 20 6f | upper l|imit. o|
|00000b20| 66 20 36 34 4b 20 66 6f | 72 20 74 68 65 20 73 69 |f 64K fo|r the si|
|00000b30| 7a 65 20 6f 66 20 44 41 | 54 41 2f 42 53 53 2e 0a |ze of DA|TA/BSS..|
|00000b40| 20 20 54 68 65 72 65 20 | 77 6f 75 6c 64 20 62 65 | There |would be|
|00000b50| 20 61 20 73 6f 6c 75 74 | 69 6f 6e 20 74 6f 20 72 | a solut|ion to r|
|00000b60| 65 77 72 69 74 65 20 74 | 68 65 20 61 62 6f 76 65 |ewrite t|he above|
|00000b70| 20 69 6e 73 74 72 75 63 | 74 69 6f 6e 20 69 6e 74 | instruc|tion int|
|00000b80| 6f 20 74 77 6f 0a 20 20 | 69 6e 73 74 72 75 63 74 |o two. |instruct|
|00000b90| 69 6f 6e 73 20 77 68 65 | 6e 20 63 6f 6d 70 69 6c |ions whe|n compil|
|00000ba0| 69 6e 67 20 69 6e 20 60 | 6c 61 72 67 65 20 64 61 |ing in `|large da|
|00000bb0| 74 61 27 20 6d 6f 64 65 | 20 28 73 6f 6d 65 74 68 |ta' mode| (someth|
|00000bc0| 69 6e 67 20 73 69 6d 69 | 6c 61 72 20 74 6f 0a 20 |ing simi|lar to. |
|00000bd0| 20 2d 66 50 49 43 20 76 | 65 72 73 75 73 20 2d 66 | -fPIC v|ersus -f|
|00000be0| 70 69 63 29 2c 20 62 75 | 74 20 49 20 63 6f 75 6c |pic), bu|t I coul|
|00000bf0| 64 6e 27 74 20 67 65 74 | 20 67 63 63 20 74 6f 20 |dn't get| gcc to |
|00000c00| 6f 75 74 70 75 74 20 63 | 6f 72 72 65 63 74 20 63 |output c|orrect c|
|00000c10| 6f 64 65 20 66 6f 72 0a | 20 20 74 68 69 73 20 73 |ode for.| this s|
|00000c20| 69 74 75 61 74 69 6f 6e | 2c 20 73 6f 20 49 20 64 |ituation|, so I d|
|00000c30| 69 64 6e 27 74 20 69 6e | 63 6c 75 64 65 20 74 68 |idn't in|clude th|
|00000c40| 65 20 28 6f 62 76 69 6f | 75 73 6c 79 20 77 72 6f |e (obvio|usly wro|
|00000c50| 6e 67 29 20 63 6f 64 65 | 20 69 6e 74 6f 0a 20 20 |ng) code| into. |
|00000c60| 74 68 69 73 20 64 69 66 | 66 2e 0a 0a 0a 49 6e 66 |this dif|f....Inf|
|00000c70| 6f 72 6d 61 74 69 6f 6e | 20 74 6f 20 74 68 65 20 |ormation| to the |
|00000c80| 69 6e 63 6c 75 64 65 64 | 20 64 69 66 66 0a 2d 2d |included| diff.--|
|00000c90| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000ca0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0a 54 |--------|------.T|
|00000cb0| 68 65 20 70 72 6f 76 69 | 64 65 64 20 64 69 66 66 |he provi|ded diff|
|00000cc0| 20 69 73 20 2a 6e 6f 74 | 2a 20 74 68 65 20 63 6f | is *not|* the co|
|00000cd0| 6d 70 6c 65 74 65 20 64 | 69 66 66 20 74 6f 20 67 |mplete d|iff to g|
|00000ce0| 65 6e 65 72 61 74 65 20 | 61 6e 20 41 6d 69 67 61 |enerate |an Amiga|
|00000cf0| 44 4f 53 20 67 63 63 2e | 0a 49 74 20 64 6f 65 73 |DOS gcc.|.It does|
|00000d00| 20 68 6f 77 65 76 65 72 | 20 63 6f 6e 74 61 69 6e | however| contain|
|00000d10| 20 74 68 65 20 63 6f 6d | 70 6c 65 74 65 20 63 75 | the com|plete cu|
|00000d20| 72 72 65 6e 74 20 41 6d | 69 67 61 44 4f 53 20 74 |rrent Am|igaDOS t|
|00000d30| 61 72 67 65 74 2d 73 70 | 65 63 69 66 69 63 0a 66 |arget-sp|ecific.f|
|00000d40| 69 6c 65 73 20 28 69 6e | 20 74 68 65 20 63 6f 6e |iles (in| the con|
|00000d50| 66 69 67 2f 20 64 69 72 | 65 63 74 6f 72 79 29 2e |fig/ dir|ectory).|
|00000d60| 20 54 68 65 20 61 64 64 | 69 74 69 6f 6e 61 6c 20 | The add|itional |
|00000d70| 70 61 74 63 68 65 73 20 | 61 72 65 20 6c 69 6d 69 |patches |are limi|
|00000d80| 74 65 64 20 74 6f 0a 70 | 72 6f 76 69 64 69 6e 67 |ted to.p|roviding|
|00000d90| 20 62 61 73 65 20 72 65 | 6c 61 74 69 76 65 20 73 | base re|lative s|
|00000da0| 75 70 70 6f 72 74 2e 20 | 49 20 64 69 64 20 74 68 |upport. |I did th|
|00000db0| 69 73 20 74 6f 20 66 61 | 63 69 6c 69 74 61 74 65 |is to fa|cilitate|
|00000dc0| 20 69 6e 63 6f 72 70 6f | 72 61 74 69 6e 67 20 0a | incorpo|rating .|
|00000dd0| 74 68 65 73 65 20 63 68 | 61 6e 67 65 73 20 69 6e |these ch|anges in|
|00000de0| 74 6f 20 6e 6f 6e 2d 41 | 6d 69 67 61 20 65 6e 76 |to non-A|miga env|
|00000df0| 69 72 6f 6e 6d 65 6e 74 | 73 2c 20 6a 75 73 74 20 |ironment|s, just |
|00000e00| 68 6f 70 65 20 49 20 64 | 69 64 6e 27 74 20 63 6f |hope I d|idn't co|
|00000e10| 72 72 75 70 74 0a 74 68 | 65 20 64 69 66 66 73 20 |rrupt.th|e diffs |
|00000e20| 62 79 20 65 64 69 74 69 | 6e 67 20 74 68 65 20 6f |by editi|ng the o|
|00000e30| 74 68 65 72 20 73 74 75 | 66 66 20 6f 75 74 2e 2e |ther stu|ff out..|
|00000e40| 2e 0a 0a 49 66 20 79 6f | 75 20 77 61 6e 74 20 74 |...If yo|u want t|
|00000e50| 6f 20 69 6d 70 6c 65 6d | 65 6e 74 20 74 68 69 73 |o implem|ent this|
|00000e60| 20 6f 6e 20 61 20 64 69 | 66 66 65 72 65 6e 74 20 | on a di|fferent |
|00000e70| 6d 36 38 6b 20 4f 53 2c | 20 74 61 6b 65 20 61 20 |m68k OS,| take a |
|00000e80| 6c 6f 6f 6b 20 61 74 20 | 74 68 65 0a 70 69 63 2f |look at |the.pic/|
|00000e90| 62 61 73 65 72 65 6c 20 | 72 65 6c 61 74 65 64 20 |baserel |related |
|00000ea0| 6d 61 63 72 6f 73 20 64 | 65 66 69 6e 65 64 20 69 |macros d|efined i|
|00000eb0| 6e 20 63 6f 6e 66 69 67 | 2f 61 6d 69 67 61 2e 68 |n config|/amiga.h|
|00000ec0| 2c 20 75 73 65 20 74 68 | 65 20 66 75 6e 63 74 69 |, use th|e functi|
|00000ed0| 6f 6e 0a 72 65 61 64 5f | 6f 6e 6c 79 5f 6f 70 65 |on.read_|only_ope|
|00000ee0| 72 61 6e 64 28 29 20 61 | 74 20 74 68 65 20 65 6e |rand() a|t the en|
|00000ef0| 64 20 6f 66 20 63 6f 6e | 66 69 67 2f 61 6d 69 67 |d of con|fig/amig|
|00000f00| 61 2e 63 2c 20 61 6e 64 | 20 74 72 79 20 74 6f 20 |a.c, and| try to |
|00000f10| 73 65 74 75 70 0a 63 6f | 72 72 65 73 70 6f 6e 64 |setup.co|rrespond|
|00000f20| 69 6e 67 20 63 68 61 6e | 67 65 73 20 69 6e 20 79 |ing chan|ges in y|
|00000f30| 6f 75 72 20 63 6f 6e 66 | 69 67 75 72 61 74 69 6f |our conf|iguratio|
|00000f40| 6e 20 66 69 6c 65 73 2e | 0a 0a 49 66 20 79 6f 75 |n files.|..If you|
|00000f50| 20 68 61 70 70 65 6e 20 | 74 6f 20 75 6e 64 65 72 | happen |to under|
|00000f60| 73 74 61 6e 64 20 6d 6f | 72 65 20 6f 66 20 67 63 |stand mo|re of gc|
|00000f70| 63 27 73 20 69 6e 74 65 | 72 6e 61 20 74 68 61 6e |c's inte|rna than|
|00000f80| 20 49 20 28 77 68 69 63 | 68 20 69 73 0a 65 61 73 | I (whic|h is.eas|
|00000f90| 69 6c 79 20 70 6f 73 73 | 69 62 6c 65 20 3b 2d 29 |ily poss|ible ;-)|
|00000fa0| 29 2c 20 70 6c 65 61 73 | 65 20 74 61 6b 65 20 61 |), pleas|e take a|
|00000fb0| 20 6c 6f 6f 6b 20 61 74 | 20 6d 79 20 6b 6c 75 64 | look at| my klud|
|00000fc0| 67 65 20 69 6e 20 65 78 | 70 72 2e 63 2e 20 54 68 |ge in ex|pr.c. Th|
|00000fd0| 65 0a 70 72 6f 62 6c 65 | 6d 20 69 73 20 74 68 61 |e.proble|m is tha|
|00000fe0| 74 20 69 6e 74 65 72 6e | 61 6c 20 63 61 6c 6c 73 |t intern|al calls|
|00000ff0| 20 74 6f 20 6c 69 62 72 | 61 72 79 20 66 75 6e 63 | to libr|ary func|
|00001000| 74 69 6f 6e 73 20 68 61 | 76 65 20 74 6f 20 62 65 |tions ha|ve to be|
|00001010| 0a 71 75 61 6c 69 66 69 | 65 64 20 61 73 20 77 65 |.qualifi|ed as we|
|00001020| 6c 6c 20 62 79 20 45 4e | 43 4f 44 45 5f 53 45 43 |ll by EN|CODE_SEC|
|00001030| 54 49 4f 4e 5f 49 4e 46 | 4f 28 29 2c 20 62 75 74 |TION_INF|O(), but|
|00001040| 20 49 20 64 69 64 6e 27 | 74 20 6b 6e 6f 77 20 68 | I didn'|t know h|
|00001050| 6f 77 20 74 6f 0a 74 77 | 69 64 64 6c 65 20 74 68 |ow to.tw|iddle th|
|00001060| 65 20 65 78 69 73 74 69 | 6e 67 20 64 61 74 61 20 |e existi|ng data |
|00001070| 69 6e 74 6f 20 61 20 63 | 6f 72 72 65 63 74 20 61 |into a c|orrect a|
|00001080| 72 67 75 6d 65 6e 74 20 | 74 6f 20 45 4e 43 4f 44 |rgument |to ENCOD|
|00001090| 45 5f 53 45 43 54 49 4f | 4e 5f 49 4e 46 4f 28 29 |E_SECTIO|N_INFO()|
|000010a0| 2c 0a 73 6f 20 49 20 6a | 75 73 74 20 69 6e 6c 69 |,.so I j|ust inli|
|000010b0| 6e 65 64 20 6d 79 20 73 | 70 65 63 69 66 69 63 20 |ned my s|pecific |
|000010c0| 61 63 74 69 6f 6e 20 74 | 68 65 72 65 2e 20 49 27 |action t|here. I'|
|000010d0| 64 20 6c 69 6b 65 20 74 | 6f 20 73 65 65 20 61 20 |d like t|o see a |
|000010e0| 63 6c 65 61 6e 0a 73 6f | 6c 75 74 69 6f 6e 2c 20 |clean.so|lution, |
|000010f0| 62 75 74 20 49 27 6d 20 | 6e 6f 74 20 61 62 6c 65 |but I'm |not able|
|00001100| 20 74 6f 20 70 72 6f 76 | 69 64 65 20 6f 6e 65 2e | to prov|ide one.|
|00001110| 0a 0a 49 27 6d 20 76 65 | 72 79 20 6f 70 65 6e 20 |..I'm ve|ry open |
|00001120| 74 6f 20 73 75 67 67 65 | 73 74 69 6f 6e 73 2c 20 |to sugge|stions, |
|00001130| 65 6e 68 61 6e 63 65 6d | 65 6e 74 73 2c 20 62 75 |enhancem|ents, bu|
|00001140| 67 20 72 65 70 6f 72 74 | 73 2c 20 65 74 63 2e 20 |g report|s, etc. |
|00001150| 49 27 64 20 62 65 0a 70 | 61 72 74 69 63 75 6c 61 |I'd be.p|articula|
|00001160| 72 6c 79 20 69 6e 74 65 | 72 65 73 74 65 64 20 69 |rly inte|rested i|
|00001170| 66 20 73 6f 6d 65 20 6b | 69 6e 64 20 73 6f 75 6c |f some k|ind soul|
|00001180| 20 66 69 6e 64 73 20 6f | 75 74 20 68 6f 77 20 74 | finds o|ut how t|
|00001190| 6f 20 67 65 74 20 52 54 | 4c 0a 65 76 61 6c 75 74 |o get RT|L.evalut|
|000011a0| 61 74 69 6f 6e 20 74 6f | 20 6e 6f 74 20 63 6f 6e |ation to| not con|
|000011b0| 76 65 72 74 20 74 68 65 | 20 0a 0a 20 20 20 20 67 |vert the| .. g|
|000011c0| 65 6e 5f 72 74 78 20 28 | 50 4c 55 53 2c 20 50 6d |en_rtx (|PLUS, Pm|
|000011d0| 6f 64 65 2c 20 70 69 63 | 5f 6f 66 66 73 65 74 5f |ode, pic|_offset_|
|000011e0| 74 61 62 6c 65 5f 72 74 | 78 2c 20 6f 72 69 67 29 |table_rt|x, orig)|
|000011f0| 3b 0a 0a 69 6e 74 6f 20 | 61 6e 20 69 6e 64 69 72 |;..into |an indir|
|00001200| 65 63 74 20 61 64 64 72 | 65 73 73 69 6e 67 20 6f |ect addr|essing o|
|00001210| 70 65 72 61 6e 64 20 28 | 70 69 63 2d 72 65 67 40 |perand (|pic-reg@|
|00001220| 28 6f 72 69 67 29 29 2c | 20 62 75 74 20 74 6f 20 |(orig)),| but to |
|00001230| 6c 65 61 76 65 20 69 74 | 0a 61 73 20 61 6e 20 61 |leave it|.as an a|
|00001240| 64 64 69 74 69 6f 6e 2e | 20 54 68 65 20 70 69 63 |ddition.| The pic|
|00001250| 2d 72 65 67 40 28 6f 72 | 69 67 29 20 66 6f 72 6d |-reg@(or|ig) form|
|00001260| 20 69 73 20 6a 75 73 74 | 20 6e 6f 74 20 73 75 69 | is just| not sui|
|00001270| 74 61 62 6c 65 20 66 6f | 72 20 75 73 65 0a 6f 6e |table fo|r use.on|
|00001280| 20 61 20 6d 63 36 38 30 | 30 30 20 69 66 20 6d 6f | a mc680|00 if mo|
|00001290| 72 65 20 74 68 61 6e 20 | 36 34 4b 20 73 68 6f 75 |re than |64K shou|
|000012a0| 6c 64 20 62 65 20 61 64 | 64 72 65 73 73 61 62 6c |ld be ad|dressabl|
|000012b0| 65 2e 0a 0a 0a 0a 59 6f | 75 20 63 61 6e 20 72 65 |e.....Yo|u can re|
|000012c0| 61 63 68 20 6d 65 20 61 | 73 0a 3c 77 69 6c 64 40 |ach me a|s.<wild@|
|000012d0| 6e 65 73 73 69 65 2e 63 | 73 2e 69 64 2e 65 74 68 |nessie.c|s.id.eth|
|000012e0| 7a 2e 63 68 3e 20 6f 72 | 20 3c 77 69 6c 64 40 61 |z.ch> or| <wild@a|
|000012f0| 6d 69 67 61 2e 70 68 79 | 73 69 6b 2e 75 6e 69 7a |miga.phy|sik.uniz|
|00001300| 68 2e 63 68 3e 0a 0a 2d | 4d 61 72 6b 75 73 20 57 |h.ch>..-|Markus W|
|00001310| 69 6c 64 0a 00 00 00 00 | 00 00 00 00 00 00 00 00 |ild.....|........|
|00001320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001400| 67 63 63 2d 32 2e 31 2e | 62 61 73 65 72 65 6c 2e |gcc-2.1.|baserel.|
|00001410| 64 69 66 66 00 00 00 00 | 00 00 00 00 00 00 00 00 |diff....|........|
|00001420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001460| 00 00 00 00 20 20 20 37 | 37 37 20 00 20 20 20 20 |.... 7|77 . |
|00001470| 20 30 20 00 20 20 20 20 | 20 30 20 00 20 20 20 20 | 0 . | 0 . |
|00001480| 20 20 36 30 33 30 33 20 | 20 35 32 32 31 37 34 31 | 60303 | 5221741|
|00001490| 33 32 36 20 20 31 32 35 | 37 35 00 20 30 00 00 00 |326 125|75. 0...|
|000014a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001500| 00 75 73 74 61 72 20 20 | 00 61 6d 69 67 61 00 00 |.ustar |.amiga..|
|00001510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001520| 00 00 00 00 00 00 00 00 | 00 61 6d 69 67 61 00 00 |........|.amiga..|
|00001530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001600| 64 69 66 66 20 2d 32 72 | 63 4e 20 64 68 35 3a 67 |diff -2r|cN dh5:g|
|00001610| 63 63 2d 32 2e 31 2e 6f | 72 69 67 2f 63 6f 6e 66 |cc-2.1.o|rig/conf|
|00001620| 69 67 2f 61 6d 69 67 61 | 2e 63 20 67 63 63 2d 32 |ig/amiga|.c gcc-2|
|00001630| 2e 31 2f 63 6f 6e 66 69 | 67 2f 61 6d 69 67 61 2e |.1/confi|g/amiga.|
|00001640| 63 0a 2a 2a 2a 20 64 68 | 35 3a 67 63 63 2d 32 2e |c.*** dh|5:gcc-2.|
|00001650| 31 2e 6f 72 69 67 2f 63 | 6f 6e 66 69 67 2f 61 6d |1.orig/c|onfig/am|
|00001660| 69 67 61 2e 63 0a 2d 2d | 2d 20 67 63 63 2d 32 2e |iga.c.--|- gcc-2.|
|00001670| 31 2f 63 6f 6e 66 69 67 | 2f 61 6d 69 67 61 2e 63 |1/config|/amiga.c|
|00001680| 09 53 61 74 20 41 70 72 | 20 31 38 20 32 32 3a 33 |.Sat Apr| 18 22:3|
|00001690| 37 3a 31 36 20 31 39 39 | 32 0a 2a 2a 2a 2a 2a 2a |7:16 199|2.******|
|000016a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 0a 2a 2a 2a 20 30 20 |********|*.*** 0 |
|000016b0| 2a 2a 2a 2a 0a 2d 2d 2d | 20 31 2c 31 32 37 20 2d |****.---| 1,127 -|
|000016c0| 2d 2d 2d 0a 2b 20 2f 2a | 20 61 6d 69 67 61 2e 63 |---.+ /*| amiga.c|
|000016d0| 3a 20 46 75 6e 63 74 69 | 6f 6e 73 20 66 6f 72 20 |: Functi|ons for |
|000016e0| 41 6d 69 67 61 20 61 73 | 20 74 61 72 67 65 74 20 |Amiga as| target |
|000016f0| 6d 61 63 68 69 6e 65 20 | 66 6f 72 20 47 4e 55 20 |machine |for GNU |
|00001700| 43 20 63 6f 6d 70 69 6c | 65 72 20 2a 2f 0a 2b 0a |C compil|er */.+.|
|00001710| 2b 20 2f 2a 20 4e 4f 54 | 45 3a 20 41 54 54 52 49 |+ /* NOT|E: ATTRI|
|00001720| 42 55 54 45 20 53 54 55 | 46 46 20 49 53 20 4e 4f |BUTE STU|FF IS NO|
|00001730| 54 20 57 4f 52 4b 49 4e | 47 20 43 55 52 52 45 4e |T WORKIN|G CURREN|
|00001740| 54 4c 59 20 21 21 21 21 | 21 20 2a 2f 0a 2b 20 0a |TLY !!!!|! */.+ .|
|00001750| 2b 20 23 69 6e 63 6c 75 | 64 65 20 22 6d 36 38 6b |+ #inclu|de "m68k|
|00001760| 2e 63 22 0a 2b 20 23 69 | 6e 63 6c 75 64 65 20 22 |.c".+ #i|nclude "|
|00001770| 74 72 65 65 2e 68 22 0a | 2b 20 0a 2b 20 73 74 72 |tree.h".|+ .+ str|
|00001780| 75 63 74 20 61 74 74 72 | 69 62 75 74 65 20 7b 0a |uct attr|ibute {.|
|00001790| 2b 20 20 20 74 72 65 65 | 20 69 64 65 6e 74 3b 0a |+ tree| ident;.|
|000017a0| 2b 20 20 20 69 6e 74 20 | 20 73 61 76 65 64 73 20 |+ int | saveds |
|000017b0| 3a 20 31 2c 0a 2b 20 20 | 20 20 20 20 20 20 69 6e |: 1,.+ | in|
|000017c0| 74 65 72 72 75 70 74 20 | 3a 20 31 3b 0a 2b 20 7d |terrupt |: 1;.+ }|
|000017d0| 3b 0a 2b 20 0a 2b 20 0a | 2b 20 73 74 61 74 69 63 |;.+ .+ .|+ static|
|000017e0| 20 73 74 72 75 63 74 20 | 61 74 74 72 69 62 75 74 | struct |attribut|
|000017f0| 65 20 2a 61 5f 74 61 62 | 20 3d 20 30 3b 0a 2b 20 |e *a_tab| = 0;.+ |
|00001800| 73 74 61 74 69 63 20 69 | 6e 74 20 61 5f 69 6e 64 |static i|nt a_ind|
|00001810| 65 78 2c 20 61 5f 73 69 | 7a 65 3b 0a 2b 20 0a 2b |ex, a_si|ze;.+ .+|
|00001820| 20 76 6f 69 64 0a 2b 20 | 61 64 64 5f 61 74 74 72 | void.+ |add_attr|
|00001830| 5f 65 6e 74 72 79 20 28 | 61 74 74 72 29 0a 2b 20 |_entry (|attr).+ |
|00001840| 20 20 20 20 73 74 72 75 | 63 74 20 61 74 74 72 69 | stru|ct attri|
|00001850| 62 75 74 65 20 2a 61 74 | 74 72 3b 0a 2b 20 7b 0a |bute *at|tr;.+ {.|
|00001860| 2b 20 20 20 69 66 20 28 | 21 20 61 5f 74 61 62 29 |+ if (|! a_tab)|
|00001870| 0a 2b 20 20 20 20 20 7b | 0a 2b 20 20 20 20 20 20 |.+ {|.+ |
|00001880| 20 61 5f 73 69 7a 65 20 | 3d 20 31 30 3b 0a 2b 20 | a_size |= 10;.+ |
|00001890| 20 20 20 20 20 20 61 5f | 69 6e 64 65 78 20 3d 20 | a_|index = |
|000018a0| 30 3b 0a 2b 20 20 20 20 | 20 20 20 61 5f 74 61 62 |0;.+ | a_tab|
|000018b0| 20 20 3d 20 28 73 74 72 | 75 63 74 20 61 74 74 72 | = (str|uct attr|
|000018c0| 69 62 75 74 65 20 2a 29 | 20 78 6d 61 6c 6c 6f 63 |ibute *)| xmalloc|
|000018d0| 20 28 61 5f 73 69 7a 65 | 20 2a 20 73 69 7a 65 6f | (a_size| * sizeo|
|000018e0| 66 20 28 73 74 72 75 63 | 74 20 61 74 74 72 69 62 |f (struc|t attrib|
|000018f0| 75 74 65 29 29 3b 0a 2b | 20 20 20 20 20 7d 0a 2b |ute));.+| }.+|
|00001900| 20 0a 2b 20 20 20 69 66 | 20 28 61 5f 69 6e 64 65 | .+ if| (a_inde|
|00001910| 78 20 3d 3d 20 61 5f 73 | 69 7a 65 29 0a 2b 20 20 |x == a_s|ize).+ |
|00001920| 20 20 20 7b 0a 2b 20 20 | 20 20 20 20 20 61 5f 73 | {.+ | a_s|
|00001930| 69 7a 65 20 3c 3c 3d 20 | 31 3b 0a 2b 20 20 20 20 |ize <<= |1;.+ |
|00001940| 20 20 20 61 5f 74 61 62 | 20 3d 20 28 73 74 72 75 | a_tab| = (stru|
|00001950| 63 74 20 61 74 74 72 69 | 62 75 74 65 20 2a 29 20 |ct attri|bute *) |
|00001960| 78 72 65 61 6c 6c 6f 63 | 20 28 61 5f 74 61 62 2c |xrealloc| (a_tab,|
|00001970| 20 61 5f 73 69 7a 65 20 | 2a 20 73 69 7a 65 6f 66 | a_size |* sizeof|
|00001980| 20 28 73 74 72 75 63 74 | 20 61 74 74 72 69 62 75 | (struct| attribu|
|00001990| 74 65 29 29 3b 0a 2b 20 | 20 20 20 20 7d 0a 2b 20 |te));.+ | }.+ |
|000019a0| 0a 2b 20 20 20 61 5f 74 | 61 62 5b 61 5f 69 6e 64 |.+ a_t|ab[a_ind|
|000019b0| 65 78 2b 2b 5d 20 3d 20 | 2a 61 74 74 72 3b 0a 2b |ex++] = |*attr;.+|
|000019c0| 20 7d 0a 2b 20 0a 2b 20 | 0a 2b 20 76 6f 69 64 0a | }.+ .+ |.+ void.|
|000019d0| 2b 20 61 74 74 72 5f 64 | 6f 5f 73 61 76 65 64 73 |+ attr_d|o_saveds|
|000019e0| 20 28 66 75 6e 63 74 69 | 6f 6e 5f 69 64 65 6e 74 | (functi|on_ident|
|000019f0| 29 0a 2b 20 20 20 20 20 | 20 20 74 72 65 65 20 66 |).+ | tree f|
|00001a00| 75 6e 63 74 69 6f 6e 5f | 69 64 65 6e 74 3b 0a 2b |unction_|ident;.+|
|00001a10| 20 7b 0a 2b 20 20 20 73 | 74 72 75 63 74 20 61 74 | {.+ s|truct at|
|00001a20| 74 72 69 62 75 74 65 20 | 61 74 74 72 2c 20 2a 61 |tribute |attr, *a|
|00001a30| 3b 0a 2b 20 20 20 69 6e | 74 20 69 3b 0a 2b 20 0a |;.+ in|t i;.+ .|
|00001a40| 2b 20 20 20 66 6f 72 20 | 28 69 20 3d 20 30 2c 20 |+ for |(i = 0, |
|00001a50| 61 20 3d 20 61 5f 74 61 | 62 3b 20 69 20 3c 20 61 |a = a_ta|b; i < a|
|00001a60| 5f 69 6e 64 65 78 3b 20 | 69 2b 2b 2c 20 61 2b 2b |_index; |i++, a++|
|00001a70| 29 0a 2b 20 20 20 20 20 | 69 66 20 28 61 2d 3e 69 |).+ |if (a->i|
|00001a80| 64 65 6e 74 20 3d 3d 20 | 66 75 6e 63 74 69 6f 6e |dent == |function|
|00001a90| 5f 69 64 65 6e 74 29 0a | 2b 20 20 20 20 20 20 20 |_ident).|+ |
|00001aa0| 7b 0a 2b 20 09 61 2d 3e | 73 61 76 65 64 73 20 3d |{.+ .a->|saveds =|
|00001ab0| 20 31 3b 0a 2b 20 09 72 | 65 74 75 72 6e 3b 0a 2b | 1;.+ .r|eturn;.+|
|00001ac0| 20 20 20 20 20 20 20 7d | 0a 2b 20 0a 2b 20 20 20 | }|.+ .+ |
|00001ad0| 2f 2a 20 63 72 65 61 74 | 65 20 61 20 6e 65 77 20 |/* creat|e a new |
|00001ae0| 65 6e 74 72 79 20 66 6f | 72 20 74 68 69 73 20 66 |entry fo|r this f|
|00001af0| 75 6e 63 74 69 6f 6e 20 | 2a 2f 0a 2b 20 20 20 61 |unction |*/.+ a|
|00001b00| 74 74 72 2e 69 64 65 6e | 74 20 20 20 20 20 3d 20 |ttr.iden|t = |
|00001b10| 66 75 6e 63 74 69 6f 6e | 5f 69 64 65 6e 74 3b 0a |function|_ident;.|
|00001b20| 2b 20 20 20 61 74 74 72 | 2e 73 61 76 65 64 73 20 |+ attr|.saveds |
|00001b30| 20 20 20 3d 20 31 3b 0a | 2b 20 20 20 61 74 74 72 | = 1;.|+ attr|
|00001b40| 2e 69 6e 74 65 72 72 75 | 70 74 20 3d 20 30 3b 0a |.interru|pt = 0;.|
|00001b50| 2b 20 20 20 61 64 64 5f | 61 74 74 72 5f 65 6e 74 |+ add_|attr_ent|
|00001b60| 72 79 20 28 26 61 74 74 | 72 29 3b 0a 2b 20 7d 0a |ry (&att|r);.+ }.|
|00001b70| 2b 20 0a 2b 20 76 6f 69 | 64 0a 2b 20 61 74 74 72 |+ .+ voi|d.+ attr|
|00001b80| 5f 64 6f 5f 69 6e 74 65 | 72 72 75 70 74 20 28 66 |_do_inte|rrupt (f|
|00001b90| 75 6e 63 74 69 6f 6e 5f | 69 64 65 6e 74 29 0a 2b |unction_|ident).+|
|00001ba0| 20 20 20 20 20 74 72 65 | 65 20 66 75 6e 63 74 69 | tre|e functi|
|00001bb0| 6f 6e 5f 69 64 65 6e 74 | 3b 0a 2b 20 7b 0a 2b 20 |on_ident|;.+ {.+ |
|00001bc0| 20 20 73 74 72 75 63 74 | 20 61 74 74 72 69 62 75 | struct| attribu|
|00001bd0| 74 65 20 61 74 74 72 2c | 20 2a 61 3b 0a 2b 20 20 |te attr,| *a;.+ |
|00001be0| 20 69 6e 74 20 69 3b 0a | 2b 20 0a 2b 20 20 20 66 | int i;.|+ .+ f|
|00001bf0| 6f 72 20 28 69 20 3d 20 | 30 2c 20 61 20 3d 20 61 |or (i = |0, a = a|
|00001c00| 5f 74 61 62 3b 20 69 20 | 3c 20 61 5f 69 6e 64 65 |_tab; i |< a_inde|
|00001c10| 78 3b 20 69 2b 2b 2c 20 | 61 2b 2b 29 0a 2b 20 20 |x; i++, |a++).+ |
|00001c20| 20 20 20 69 66 20 28 61 | 2d 3e 69 64 65 6e 74 20 | if (a|->ident |
|00001c30| 3d 3d 20 66 75 6e 63 74 | 69 6f 6e 5f 69 64 65 6e |== funct|ion_iden|
|00001c40| 74 29 0a 2b 20 20 20 20 | 20 20 20 7b 0a 2b 20 09 |t).+ | {.+ .|
|00001c50| 2f 2a 20 5f 5f 69 6e 74 | 65 72 72 75 70 74 20 69 |/* __int|errupt i|
|00001c60| 6d 70 6c 69 65 73 20 5f | 5f 73 61 76 65 64 73 20 |mplies _|_saveds |
|00001c70| 2a 2f 0a 2b 20 09 61 2d | 3e 73 61 76 65 64 73 20 |*/.+ .a-|>saveds |
|00001c80| 20 20 20 3d 20 31 3b 0a | 2b 20 09 61 2d 3e 69 6e | = 1;.|+ .a->in|
|00001c90| 74 65 72 72 75 70 74 20 | 3d 20 31 3b 0a 2b 20 09 |terrupt |= 1;.+ .|
|00001ca0| 72 65 74 75 72 6e 3b 0a | 2b 20 20 20 20 20 20 20 |return;.|+ |
|00001cb0| 7d 0a 2b 20 0a 2b 20 20 | 20 2f 2a 20 63 72 65 61 |}.+ .+ | /* crea|
|00001cc0| 74 65 20 61 20 6e 65 77 | 20 65 6e 74 72 79 20 66 |te a new| entry f|
|00001cd0| 6f 72 20 74 68 69 73 20 | 66 75 6e 63 74 69 6f 6e |or this |function|
|00001ce0| 20 2a 2f 0a 2b 20 20 20 | 61 74 74 72 2e 69 64 65 | */.+ |attr.ide|
|00001cf0| 6e 74 09 20 3d 20 66 75 | 6e 63 74 69 6f 6e 5f 69 |nt. = fu|nction_i|
|00001d00| 64 65 6e 74 3b 0a 2b 20 | 20 20 61 74 74 72 2e 73 |dent;.+ | attr.s|
|00001d10| 61 76 65 64 73 09 20 3d | 20 31 3b 0a 2b 20 20 20 |aveds. =| 1;.+ |
|00001d20| 61 74 74 72 2e 69 6e 74 | 65 72 72 75 70 74 20 3d |attr.int|errupt =|
|00001d30| 20 31 3b 0a 2b 20 20 20 | 61 64 64 5f 61 74 74 72 | 1;.+ |add_attr|
|00001d40| 5f 65 6e 74 72 79 20 28 | 26 61 74 74 72 29 3b 0a |_entry (|&attr);.|
|00001d50| 2b 20 7d 0a 2b 20 0a 2b | 20 69 6e 74 0a 2b 20 61 |+ }.+ .+| int.+ a|
|00001d60| 74 74 72 5f 64 6f 65 73 | 5f 73 61 76 65 64 73 20 |ttr_does|_saveds |
|00001d70| 28 66 75 6e 63 74 69 6f | 6e 5f 6e 61 6d 65 29 0a |(functio|n_name).|
|00001d80| 2b 20 20 20 20 20 63 68 | 61 72 20 2a 66 75 6e 63 |+ ch|ar *func|
|00001d90| 74 69 6f 6e 5f 6e 61 6d | 65 3b 0a 2b 20 7b 0a 2b |tion_nam|e;.+ {.+|
|00001da0| 20 20 20 74 72 65 65 20 | 69 64 65 6e 74 20 3d 20 | tree |ident = |
|00001db0| 67 65 74 5f 69 64 65 6e | 74 69 66 69 65 72 20 28 |get_iden|tifier (|
|00001dc0| 66 75 6e 63 74 69 6f 6e | 5f 6e 61 6d 65 29 3b 0a |function|_name);.|
|00001dd0| 2b 20 20 20 73 74 72 75 | 63 74 20 61 74 74 72 69 |+ stru|ct attri|
|00001de0| 62 75 74 65 20 2a 61 74 | 74 72 3b 0a 2b 20 20 20 |bute *at|tr;.+ |
|00001df0| 69 6e 74 20 69 3b 0a 2b | 20 20 20 0a 2b 20 20 20 |int i;.+| .+ |
|00001e00| 66 6f 72 20 28 69 20 3d | 20 30 2c 20 61 74 74 72 |for (i =| 0, attr|
|00001e10| 20 3d 20 61 5f 74 61 62 | 3b 20 69 20 3c 20 61 5f | = a_tab|; i < a_|
|00001e20| 69 6e 64 65 78 3b 20 69 | 2b 2b 2c 20 61 74 74 72 |index; i|++, attr|
|00001e30| 2b 2b 29 0a 2b 20 20 20 | 20 20 69 66 20 28 61 74 |++).+ | if (at|
|00001e40| 74 72 2d 3e 69 64 65 6e | 74 20 3d 3d 20 69 64 65 |tr->iden|t == ide|
|00001e50| 6e 74 29 0a 2b 20 20 20 | 20 20 20 20 72 65 74 75 |nt).+ | retu|
|00001e60| 72 6e 20 61 74 74 72 2d | 3e 73 61 76 65 64 73 3b |rn attr-|>saveds;|
|00001e70| 0a 2b 20 0a 2b 20 20 20 | 72 65 74 75 72 6e 20 30 |.+ .+ |return 0|
|00001e80| 3b 0a 2b 20 7d 0a 2b 20 | 0a 2b 20 69 6e 74 0a 2b |;.+ }.+ |.+ int.+|
|00001e90| 20 61 74 74 72 5f 64 6f | 65 73 5f 69 6e 74 65 72 | attr_do|es_inter|
|00001ea0| 72 75 70 74 20 28 66 75 | 6e 63 74 69 6f 6e 5f 6e |rupt (fu|nction_n|
|00001eb0| 61 6d 65 29 0a 2b 20 20 | 20 20 20 63 68 61 72 20 |ame).+ | char |
|00001ec0| 2a 66 75 6e 63 74 69 6f | 6e 5f 6e 61 6d 65 3b 0a |*functio|n_name;.|
|00001ed0| 2b 20 7b 0a 2b 20 20 20 | 74 72 65 65 20 69 64 65 |+ {.+ |tree ide|
|00001ee0| 6e 74 20 3d 20 67 65 74 | 5f 69 64 65 6e 74 69 66 |nt = get|_identif|
|00001ef0| 69 65 72 20 28 66 75 6e | 63 74 69 6f 6e 5f 6e 61 |ier (fun|ction_na|
|00001f00| 6d 65 29 3b 0a 2b 20 20 | 20 73 74 72 75 63 74 20 |me);.+ | struct |
|00001f10| 61 74 74 72 69 62 75 74 | 65 20 2a 61 74 74 72 3b |attribut|e *attr;|
|00001f20| 0a 2b 20 20 20 69 6e 74 | 20 69 3b 0a 2b 20 20 20 |.+ int| i;.+ |
|00001f30| 0a 2b 20 20 20 66 6f 72 | 20 28 69 20 3d 20 30 2c |.+ for| (i = 0,|
|00001f40| 20 61 74 74 72 20 3d 20 | 61 5f 74 61 62 3b 20 69 | attr = |a_tab; i|
|00001f50| 20 3c 20 61 5f 69 6e 64 | 65 78 3b 20 69 2b 2b 2c | < a_ind|ex; i++,|
|00001f60| 20 61 74 74 72 2b 2b 29 | 0a 2b 20 20 20 20 20 69 | attr++)|.+ i|
|00001f70| 66 20 28 61 74 74 72 2d | 3e 69 64 65 6e 74 20 3d |f (attr-|>ident =|
|00001f80| 3d 20 69 64 65 6e 74 29 | 0a 2b 20 20 20 20 20 20 |= ident)|.+ |
|00001f90| 20 72 65 74 75 72 6e 20 | 61 74 74 72 2d 3e 69 6e | return |attr->in|
|00001fa0| 74 65 72 72 75 70 74 3b | 0a 2b 20 0a 2b 20 20 20 |terrupt;|.+ .+ |
|00001fb0| 72 65 74 75 72 6e 20 30 | 3b 0a 2b 20 7d 0a 2b 20 |return 0|;.+ }.+ |
|00001fc0| 0a 2b 20 0a 2b 20 0a 2b | 20 2f 2a 20 44 6f 65 73 |.+ .+ .+| /* Does|
|00001fd0| 20 6f 70 65 72 61 6e 64 | 20 28 77 68 69 63 68 20 | operand| (which |
|00001fe0| 69 73 20 61 20 73 79 6d | 62 6f 6c 69 63 5f 6f 70 |is a sym|bolic_op|
|00001ff0| 65 72 61 6e 64 29 20 6c | 69 76 65 20 69 6e 20 74 |erand) l|ive in t|
|00002000| 65 78 74 20 73 70 61 63 | 65 3f 20 49 66 0a 2b 20 |ext spac|e? If.+ |
|00002010| 20 20 20 73 6f 20 53 59 | 4d 42 4f 4c 5f 52 45 46 | so SY|MBOL_REF|
|00002020| 5f 46 4c 41 47 2c 20 77 | 68 69 63 68 20 69 73 20 |_FLAG, w|hich is |
|00002030| 73 65 74 20 62 79 20 45 | 4e 43 4f 44 45 5f 53 45 |set by E|NCODE_SE|
|00002040| 43 54 49 4f 4e 5f 49 4e | 46 4f 2c 20 77 69 6c 6c |CTION_IN|FO, will|
|00002050| 20 62 65 20 74 72 75 65 | 2e 2a 2f 0a 2b 20 0a 2b | be true|.*/.+ .+|
|00002060| 20 69 6e 74 0a 2b 20 72 | 65 61 64 5f 6f 6e 6c 79 | int.+ r|ead_only|
|00002070| 5f 6f 70 65 72 61 6e 64 | 20 28 6f 70 65 72 61 6e |_operand| (operan|
|00002080| 64 29 0a 2b 20 20 20 20 | 20 20 72 74 78 20 6f 70 |d).+ | rtx op|
|00002090| 65 72 61 6e 64 3b 0a 2b | 20 7b 0a 2b 20 20 20 69 |erand;.+| {.+ i|
|000020a0| 66 20 28 47 45 54 5f 43 | 4f 44 45 20 28 6f 70 65 |f (GET_C|ODE (ope|
|000020b0| 72 61 6e 64 29 20 3d 3d | 20 43 4f 4e 53 54 29 0a |rand) ==| CONST).|
|000020c0| 2b 20 20 20 20 20 6f 70 | 65 72 61 6e 64 20 3d 20 |+ op|erand = |
|000020d0| 58 45 58 50 20 28 58 45 | 58 50 20 28 6f 70 65 72 |XEXP (XE|XP (oper|
|000020e0| 61 6e 64 2c 20 30 29 2c | 20 30 29 3b 0a 2b 20 20 |and, 0),| 0);.+ |
|000020f0| 20 69 66 20 28 47 45 54 | 5f 43 4f 44 45 20 28 6f | if (GET|_CODE (o|
|00002100| 70 65 72 61 6e 64 29 20 | 3d 3d 20 53 59 4d 42 4f |perand) |== SYMBO|
|00002110| 4c 5f 52 45 46 29 0a 2b | 20 20 20 20 20 72 65 74 |L_REF).+| ret|
|00002120| 75 72 6e 20 53 59 4d 42 | 4f 4c 5f 52 45 46 5f 46 |urn SYMB|OL_REF_F|
|00002130| 4c 41 47 20 28 6f 70 65 | 72 61 6e 64 29 20 7c 7c |LAG (ope|rand) |||
|00002140| 20 43 4f 4e 53 54 41 4e | 54 5f 50 4f 4f 4c 5f 41 | CONSTAN|T_POOL_A|
|00002150| 44 44 52 45 53 53 5f 50 | 20 28 6f 70 65 72 61 6e |DDRESS_P| (operan|
|00002160| 64 29 3b 0a 2b 20 20 20 | 72 65 74 75 72 6e 20 31 |d);.+ |return 1|
|00002170| 3b 0a 2b 20 7d 0a 64 69 | 66 66 20 2d 32 72 63 4e |;.+ }.di|ff -2rcN|
|00002180| 20 64 68 35 3a 67 63 63 | 2d 32 2e 31 2e 6f 72 69 | dh5:gcc|-2.1.ori|
|00002190| 67 2f 63 6f 6e 66 69 67 | 2f 61 6d 69 67 61 2e 68 |g/config|/amiga.h|
|000021a0| 20 67 63 63 2d 32 2e 31 | 2f 63 6f 6e 66 69 67 2f | gcc-2.1|/config/|
|000021b0| 61 6d 69 67 61 2e 68 0a | 2a 2a 2a 20 64 68 35 3a |amiga.h.|*** dh5:|
|000021c0| 67 63 63 2d 32 2e 31 2e | 6f 72 69 67 2f 63 6f 6e |gcc-2.1.|orig/con|
|000021d0| 66 69 67 2f 61 6d 69 67 | 61 2e 68 0a 2d 2d 2d 20 |fig/amig|a.h.--- |
|000021e0| 67 63 63 2d 32 2e 31 2f | 63 6f 6e 66 69 67 2f 61 |gcc-2.1/|config/a|
|000021f0| 6d 69 67 61 2e 68 09 53 | 61 74 20 41 70 72 20 31 |miga.h.S|at Apr 1|
|00002200| 38 20 32 33 3a 31 36 3a | 35 33 20 31 39 39 32 0a |8 23:16:|53 1992.|
|00002210| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 0a |********|*******.|
|00002220| 2a 2a 2a 20 30 20 2a 2a | 2a 2a 0a 2d 2d 2d 20 31 |*** 0 **|**.--- 1|
|00002230| 2c 33 39 38 20 2d 2d 2d | 2d 0a 2b 20 2f 2a 20 44 |,398 ---|-.+ /* D|
|00002240| 65 66 69 6e 69 74 69 6f | 6e 73 20 6f 66 20 74 61 |efinitio|ns of ta|
|00002250| 72 67 65 74 20 6d 61 63 | 68 69 6e 65 20 66 6f 72 |rget mac|hine for|
|00002260| 20 47 4e 55 20 63 6f 6d | 70 69 6c 65 72 2e 20 20 | GNU com|piler. |
|00002270| 61 6d 69 67 61 20 36 38 | 30 30 30 2f 36 38 30 32 |amiga 68|000/6802|
|00002280| 30 20 76 65 72 73 69 6f | 6e 2e 0a 2b 20 20 20 20 |0 versio|n..+ |
|00002290| 43 6f 70 79 72 69 67 68 | 74 20 28 43 29 20 31 39 |Copyrigh|t (C) 19|
|000022a0| 38 37 2c 20 31 39 38 38 | 20 46 72 65 65 20 53 6f |87, 1988| Free So|
|000022b0| 66 74 77 61 72 65 20 46 | 6f 75 6e 64 61 74 69 6f |ftware F|oundatio|
|000022c0| 6e 2c 20 49 6e 63 2e 0a | 2b 20 0a 2b 20 54 68 69 |n, Inc..|+ .+ Thi|
|000022d0| 73 20 66 69 6c 65 20 69 | 73 20 70 61 72 74 20 6f |s file i|s part o|
|000022e0| 66 20 47 4e 55 20 43 43 | 2e 0a 2b 20 0a 2b 20 47 |f GNU CC|..+ .+ G|
|000022f0| 4e 55 20 43 43 20 69 73 | 20 66 72 65 65 20 73 6f |NU CC is| free so|
|00002300| 66 74 77 61 72 65 3b 20 | 79 6f 75 20 63 61 6e 20 |ftware; |you can |
|00002310| 72 65 64 69 73 74 72 69 | 62 75 74 65 20 69 74 20 |redistri|bute it |
|00002320| 61 6e 64 2f 6f 72 20 6d | 6f 64 69 66 79 0a 2b 20 |and/or m|odify.+ |
|00002330| 69 74 20 75 6e 64 65 72 | 20 74 68 65 20 74 65 72 |it under| the ter|
|00002340| 6d 73 20 6f 66 20 74 68 | 65 20 47 4e 55 20 47 65 |ms of th|e GNU Ge|
|00002350| 6e 65 72 61 6c 20 50 75 | 62 6c 69 63 20 4c 69 63 |neral Pu|blic Lic|
|00002360| 65 6e 73 65 20 61 73 20 | 70 75 62 6c 69 73 68 65 |ense as |publishe|
|00002370| 64 20 62 79 0a 2b 20 74 | 68 65 20 46 72 65 65 20 |d by.+ t|he Free |
|00002380| 53 6f 66 74 77 61 72 65 | 20 46 6f 75 6e 64 61 74 |Software| Foundat|
|00002390| 69 6f 6e 3b 20 65 69 74 | 68 65 72 20 76 65 72 73 |ion; eit|her vers|
|000023a0| 69 6f 6e 20 32 2c 20 6f | 72 20 28 61 74 20 79 6f |ion 2, o|r (at yo|
|000023b0| 75 72 20 6f 70 74 69 6f | 6e 29 0a 2b 20 61 6e 79 |ur optio|n).+ any|
|000023c0| 20 6c 61 74 65 72 20 76 | 65 72 73 69 6f 6e 2e 0a | later v|ersion..|
|000023d0| 2b 20 0a 2b 20 47 4e 55 | 20 43 43 20 69 73 20 64 |+ .+ GNU| CC is d|
|000023e0| 69 73 74 72 69 62 75 74 | 65 64 20 69 6e 20 74 68 |istribut|ed in th|
|000023f0| 65 20 68 6f 70 65 20 74 | 68 61 74 20 69 74 20 77 |e hope t|hat it w|
|00002400| 69 6c 6c 20 62 65 20 75 | 73 65 66 75 6c 2c 0a 2b |ill be u|seful,.+|
|00002410| 20 62 75 74 20 57 49 54 | 48 4f 55 54 20 41 4e 59 | but WIT|HOUT ANY|
|00002420| 20 57 41 52 52 41 4e 54 | 59 3b 20 77 69 74 68 6f | WARRANT|Y; witho|
|00002430| 75 74 20 65 76 65 6e 20 | 74 68 65 20 69 6d 70 6c |ut even |the impl|
|00002440| 69 65 64 20 77 61 72 72 | 61 6e 74 79 20 6f 66 0a |ied warr|anty of.|
|00002450| 2b 20 4d 45 52 43 48 41 | 4e 54 41 42 49 4c 49 54 |+ MERCHA|NTABILIT|
|00002460| 59 20 6f 72 20 46 49 54 | 4e 45 53 53 20 46 4f 52 |Y or FIT|NESS FOR|
|00002470| 20 41 20 50 41 52 54 49 | 43 55 4c 41 52 20 50 55 | A PARTI|CULAR PU|
|00002480| 52 50 4f 53 45 2e 20 20 | 53 65 65 20 74 68 65 0a |RPOSE. |See the.|
|00002490| 2b 20 47 4e 55 20 47 65 | 6e 65 72 61 6c 20 50 75 |+ GNU Ge|neral Pu|
|000024a0| 62 6c 69 63 20 4c 69 63 | 65 6e 73 65 20 66 6f 72 |blic Lic|ense for|
|000024b0| 20 6d 6f 72 65 20 64 65 | 74 61 69 6c 73 2e 0a 2b | more de|tails..+|
|000024c0| 20 0a 2b 20 59 6f 75 20 | 73 68 6f 75 6c 64 20 68 | .+ You |should h|
|000024d0| 61 76 65 20 72 65 63 65 | 69 76 65 64 20 61 20 63 |ave rece|ived a c|
|000024e0| 6f 70 79 20 6f 66 20 74 | 68 65 20 47 4e 55 20 47 |opy of t|he GNU G|
|000024f0| 65 6e 65 72 61 6c 20 50 | 75 62 6c 69 63 20 4c 69 |eneral P|ublic Li|
|00002500| 63 65 6e 73 65 0a 2b 20 | 61 6c 6f 6e 67 20 77 69 |cense.+ |along wi|
|00002510| 74 68 20 47 4e 55 20 43 | 43 3b 20 73 65 65 20 74 |th GNU C|C; see t|
|00002520| 68 65 20 66 69 6c 65 20 | 43 4f 50 59 49 4e 47 2e |he file |COPYING.|
|00002530| 20 20 49 66 20 6e 6f 74 | 2c 20 77 72 69 74 65 20 | If not|, write |
|00002540| 74 6f 0a 2b 20 74 68 65 | 20 46 72 65 65 20 53 6f |to.+ the| Free So|
|00002550| 66 74 77 61 72 65 20 46 | 6f 75 6e 64 61 74 69 6f |ftware F|oundatio|
|00002560| 6e 2c 20 36 37 35 20 4d | 61 73 73 20 41 76 65 2c |n, 675 M|ass Ave,|
|00002570| 20 43 61 6d 62 72 69 64 | 67 65 2c 20 4d 41 20 30 | Cambrid|ge, MA 0|
|00002580| 32 31 33 39 2c 20 55 53 | 41 2e 20 20 2a 2f 0a 2b |2139, US|A. */.+|
|00002590| 20 0a 2b 20 2f 2a 20 54 | 68 69 73 20 63 6f 6d 6d | .+ /* T|his comm|
|000025a0| 65 6e 74 20 69 73 20 68 | 65 72 65 20 74 6f 20 73 |ent is h|ere to s|
|000025b0| 65 65 20 69 66 20 69 74 | 20 77 69 6c 6c 20 6b 65 |ee if it| will ke|
|000025c0| 65 70 20 61 6d 69 67 61 | 27 73 20 63 70 70 20 66 |ep amiga|'s cpp f|
|000025d0| 72 6f 6d 20 64 79 69 6e | 67 2e 20 20 2a 2f 0a 2b |rom dyin|g. */.+|
|000025e0| 20 0a 2b 20 23 69 6e 63 | 6c 75 64 65 20 22 6d 36 | .+ #inc|lude "m6|
|000025f0| 38 6b 2e 68 22 0a 2b 20 | 0a 2b 20 2f 2a 20 53 65 |8k.h".+ |.+ /* Se|
|00002600| 65 20 74 6d 2d 6d 36 38 | 6b 2e 68 2e 20 20 37 20 |e tm-m68|k.h. 7 |
|00002610| 6d 65 61 6e 73 20 36 38 | 30 32 30 20 77 69 74 68 |means 68|020 with|
|00002620| 20 36 38 38 38 31 2e 20 | 20 2a 2f 0a 2b 20 0a 2b | 68881. | */.+ .+|
|00002630| 20 23 69 66 6e 64 65 66 | 20 54 41 52 47 45 54 5f | #ifndef| TARGET_|
|00002640| 44 45 46 41 55 4c 54 0a | 2b 20 23 64 65 66 69 6e |DEFAULT.|+ #defin|
|00002650| 65 20 54 41 52 47 45 54 | 5f 44 45 46 41 55 4c 54 |e TARGET|_DEFAULT|
|00002660| 20 30 0a 2b 20 23 65 6e | 64 69 66 0a 2b 20 0a 2b | 0.+ #en|dif.+ .+|
|00002670| 20 2f 2a 20 44 65 66 69 | 6e 65 20 5f 5f 48 41 56 | /* Defi|ne __HAV|
|00002680| 45 5f 46 50 41 5f 5f 20 | 6f 72 20 5f 5f 48 41 56 |E_FPA__ |or __HAV|
|00002690| 45 5f 36 38 38 38 31 5f | 5f 20 69 6e 20 70 72 65 |E_68881_|_ in pre|
|000026a0| 70 72 6f 63 65 73 73 6f | 72 2c 0a 2b 20 20 20 20 |processo|r,.+ |
|000026b0| 61 63 63 6f 72 64 69 6e | 67 20 74 6f 20 74 68 65 |accordin|g to the|
|000026c0| 20 2d 6d 20 66 6c 61 67 | 73 2e 0a 2b 20 20 20 20 | -m flag|s..+ |
|000026d0| 54 68 69 73 20 77 69 6c | 6c 20 63 6f 6e 74 72 6f |This wil|l contro|
|000026e0| 6c 20 74 68 65 20 75 73 | 65 20 6f 66 20 69 6e 6c |l the us|e of inl|
|000026f0| 69 6e 65 20 36 38 38 38 | 31 20 69 6e 73 6e 73 20 |ine 6888|1 insns |
|00002700| 69 6e 20 63 65 72 74 61 | 69 6e 20 6d 61 63 72 6f |in certa|in macro|
|00002710| 73 2e 0a 2b 20 20 20 20 | 41 6c 73 6f 20 69 6e 66 |s..+ |Also inf|
|00002720| 6f 72 6d 20 74 68 65 20 | 70 72 6f 67 72 61 6d 20 |orm the |program |
|00002730| 77 68 69 63 68 20 43 50 | 55 20 74 68 69 73 20 69 |which CP|U this i|
|00002740| 73 20 66 6f 72 2e 20 20 | 2a 2f 0a 2b 20 0a 2b 20 |s for. |*/.+ .+ |
|00002750| 23 69 66 20 54 41 52 47 | 45 54 5f 44 45 46 41 55 |#if TARG|ET_DEFAU|
|00002760| 4c 54 20 26 20 30 32 0a | 2b 20 0a 2b 20 2f 2a 20 |LT & 02.|+ .+ /* |
|00002770| 2d 6d 36 38 38 38 31 20 | 69 73 20 74 68 65 20 64 |-m68881 |is the d|
|00002780| 65 66 61 75 6c 74 20 2a | 2f 0a 2b 20 23 64 65 66 |efault *|/.+ #def|
|00002790| 69 6e 65 20 43 50 50 5f | 53 50 45 43 20 5c 0a 2b |ine CPP_|SPEC \.+|
|000027a0| 20 22 25 7b 21 6d 73 6f | 66 74 2d 66 6c 6f 61 74 | "%{!mso|ft-float|
|000027b0| 3a 25 7b 6d 66 70 61 3a | 2d 44 5f 5f 48 41 56 45 |:%{mfpa:|-D__HAVE|
|000027c0| 5f 46 50 41 5f 5f 20 7d | 25 7b 21 6d 66 70 61 3a |_FPA__ }|%{!mfpa:|
|000027d0| 2d 44 5f 5f 48 41 56 45 | 5f 36 38 38 38 31 5f 5f |-D__HAVE|_68881__|
|000027e0| 20 7d 7d 5c 0a 2b 20 25 | 7b 21 61 6e 73 69 3a 25 | }}\.+ %|{!ansi:%|
|000027f0| 7b 6d 36 38 30 30 30 3a | 2d 44 6d 63 36 38 30 31 |{m68000:|-Dmc6801|
|00002800| 30 7d 25 7b 6d 63 36 38 | 30 30 30 3a 2d 44 6d 63 |0}%{mc68|000:-Dmc|
|00002810| 36 38 30 31 30 7d 25 7b | 21 6d 63 36 38 30 30 30 |68010}%{|!mc68000|
|00002820| 3a 25 7b 21 6d 36 38 30 | 30 30 3a 2d 44 6d 63 36 |:%{!m680|00:-Dmc6|
|00002830| 38 30 32 30 7d 7d 7d 22 | 0a 2b 20 0a 2b 20 23 65 |8020}}}"|.+ .+ #e|
|00002840| 6c 73 65 0a 2b 20 0a 2b | 20 2f 2a 20 2d 6d 73 6f |lse.+ .+| /* -mso|
|00002850| 66 74 2d 66 6c 6f 61 74 | 20 69 73 20 74 68 65 20 |ft-float| is the |
|00002860| 64 65 66 61 75 6c 74 2c | 20 61 73 73 75 6d 65 20 |default,| assume |
|00002870| 2d 6d 63 36 38 30 30 30 | 20 61 73 20 77 65 6c 6c |-mc68000| as well|
|00002880| 20 2a 2f 0a 2b 20 23 64 | 65 66 69 6e 65 20 43 50 | */.+ #d|efine CP|
|00002890| 50 5f 53 50 45 43 20 5c | 0a 2b 20 22 25 7b 6d 36 |P_SPEC \|.+ "%{m6|
|000028a0| 38 38 38 31 3a 2d 44 5f | 5f 48 41 56 45 5f 36 38 |8881:-D_|_HAVE_68|
|000028b0| 38 38 31 5f 5f 20 7d 5c | 0a 2b 20 25 7b 21 61 6e |881__ }\|.+ %{!an|
|000028c0| 73 69 3a 25 7b 6d 36 38 | 30 32 30 3a 2d 44 6d 63 |si:%{m68|020:-Dmc|
|000028d0| 36 38 30 32 30 7d 25 7b | 6d 63 36 38 30 32 30 3a |68020}%{|mc68020:|
|000028e0| 2d 44 6d 63 36 38 30 32 | 30 7d 25 7b 21 6d 63 36 |-Dmc6802|0}%{!mc6|
|000028f0| 38 30 32 30 3a 25 7b 21 | 6d 36 38 30 32 30 3a 2d |8020:%{!|m68020:-|
|00002900| 44 6d 63 36 38 30 31 30 | 7d 7d 7d 22 0a 2b 20 0a |Dmc68010|}}}".+ .|
|00002910| 2b 20 23 65 6e 64 69 66 | 0a 2b 20 0a 2b 20 2f 2a |+ #endif|.+ .+ /*|
|00002920| 20 54 68 65 73 65 20 63 | 6f 6d 70 69 6c 65 72 20 | These c|ompiler |
|00002930| 6f 70 74 69 6f 6e 73 20 | 74 61 6b 65 20 61 6e 20 |options |take an |
|00002940| 61 72 67 75 6d 65 6e 74 | 2e 20 20 57 65 20 69 67 |argument|. We ig|
|00002950| 6e 6f 72 65 20 2d 74 61 | 72 67 65 74 20 66 6f 72 |nore -ta|rget for|
|00002960| 20 6e 6f 77 2e 20 20 2a | 2f 0a 2b 20 0a 2b 20 2f | now. *|/.+ .+ /|
|00002970| 2a 20 23 64 65 66 69 6e | 65 20 57 4f 52 44 5f 53 |* #defin|e WORD_S|
|00002980| 57 49 54 43 48 5f 54 41 | 4b 45 53 5f 41 52 47 28 |WITCH_TA|KES_ARG(|
|00002990| 53 54 52 29 09 28 21 73 | 74 72 63 6d 70 20 28 53 |STR).(!s|trcmp (S|
|000029a0| 54 52 2c 20 22 74 61 72 | 67 65 74 22 29 29 20 2a |TR, "tar|get")) *|
|000029b0| 2f 0a 2b 20 0a 2b 20 2f | 2a 20 2d 6d 36 38 30 30 |/.+ .+ /|* -m6800|
|000029c0| 30 20 72 65 71 75 69 72 | 65 73 20 73 70 65 63 69 |0 requir|es speci|
|000029d0| 61 6c 20 66 6c 61 67 73 | 20 74 6f 20 74 68 65 20 |al flags| to the |
|000029e0| 61 73 73 65 6d 62 6c 65 | 72 2e 20 20 2a 2f 0a 2b |assemble|r. */.+|
|000029f0| 20 0a 2b 20 23 69 66 20 | 54 41 52 47 45 54 5f 44 | .+ #if |TARGET_D|
|00002a00| 45 46 41 55 4c 54 20 26 | 20 30 31 0a 2b 20 0a 2b |EFAULT &| 01.+ .+|
|00002a10| 20 23 64 65 66 69 6e 65 | 20 41 53 4d 5f 53 50 45 | #define| ASM_SPE|
|00002a20| 43 20 5c 0a 2b 20 20 22 | 25 7b 6d 36 38 30 30 30 |C \.+ "|%{m68000|
|00002a30| 3a 2d 6d 63 36 38 30 31 | 30 7d 25 7b 6d 63 36 38 |:-mc6801|0}%{mc68|
|00002a40| 30 30 30 3a 2d 6d 63 36 | 38 30 31 30 7d 25 7b 21 |000:-mc6|8010}%{!|
|00002a50| 6d 63 36 38 30 30 30 3a | 25 7b 21 6d 36 38 30 30 |mc68000:|%{!m6800|
|00002a60| 30 3a 2d 6d 63 36 38 30 | 32 30 7d 7d 20 25 7b 6d |0:-mc680|20}} %{m|
|00002a70| 73 6d 61 6c 6c 2d 63 6f | 64 65 3a 2d 6c 7d 20 22 |small-co|de:-l} "|
|00002a80| 0a 2b 20 0a 2b 20 23 65 | 6c 73 65 0a 2b 20 0a 2b |.+ .+ #e|lse.+ .+|
|00002a90| 20 23 64 65 66 69 6e 65 | 20 41 53 4d 5f 53 50 45 | #define| ASM_SPE|
|00002aa0| 43 20 5c 0a 2b 20 20 22 | 25 7b 6d 36 38 30 32 30 |C \.+ "|%{m68020|
|00002ab0| 3a 2d 6d 63 36 38 30 32 | 30 7d 25 7b 6d 63 36 38 |:-mc6802|0}%{mc68|
|00002ac0| 30 32 30 3a 2d 6d 63 36 | 38 30 32 30 7d 25 7b 21 |020:-mc6|8020}%{!|
|00002ad0| 6d 63 36 38 30 32 30 3a | 25 7b 21 6d 36 38 30 32 |mc68020:|%{!m6802|
|00002ae0| 30 3a 2d 6d 63 36 38 30 | 31 30 7d 7d 20 25 7b 6d |0:-mc680|10}} %{m|
|00002af0| 73 6d 61 6c 6c 2d 63 6f | 64 65 3a 2d 6c 7d 20 22 |small-co|de:-l} "|
|00002b00| 0a 2b 20 0a 2b 20 23 65 | 6e 64 69 66 0a 2b 20 0a |.+ .+ #e|ndif.+ .|
|00002b10| 2b 20 2f 2a 20 61 6d 69 | 67 61 2f 61 6d 69 67 61 |+ /* ami|ga/amiga|
|00002b20| 64 6f 73 20 61 72 65 20 | 74 68 65 20 6e 65 77 20 |dos are |the new |
|00002b30| 22 73 74 61 6e 64 61 72 | 64 22 20 64 65 66 69 6e |"standar|d" defin|
|00002b40| 65 73 20 66 6f 72 20 74 | 68 65 20 41 6d 69 67 61 |es for t|he Amiga|
|00002b50| 2c 20 4d 43 48 5f 41 4d | 49 47 41 0a 2b 20 20 2a |, MCH_AM|IGA.+ *|
|00002b60| 20 77 61 73 20 75 73 65 | 64 20 62 65 66 6f 72 65 | was use|d before|
|00002b70| 20 61 6e 64 20 69 73 20 | 69 6e 63 6c 75 64 65 64 | and is |included|
|00002b80| 20 66 6f 72 20 63 6f 6d | 70 61 74 69 62 69 6c 69 | for com|patibili|
|00002b90| 74 79 20 72 65 61 73 6f | 6e 73 20 2a 2f 0a 2b 20 |ty reaso|ns */.+ |
|00002ba0| 0a 2b 20 23 64 65 66 69 | 6e 65 20 43 50 50 5f 50 |.+ #defi|ne CPP_P|
|00002bb0| 52 45 44 45 46 49 4e 45 | 53 20 22 2d 44 6d 63 36 |REDEFINE|S "-Dmc6|
|00002bc0| 38 30 30 30 20 2d 44 61 | 6d 69 67 61 20 2d 44 61 |8000 -Da|miga -Da|
|00002bd0| 6d 69 67 61 64 6f 73 20 | 2d 44 4d 43 48 5f 41 4d |migados |-DMCH_AM|
|00002be0| 49 47 41 20 2d 44 41 4d | 49 47 41 22 0a 2b 20 0a |IGA -DAM|IGA".+ .|
|00002bf0| 2b 20 2f 2a 20 53 54 41 | 52 54 46 49 4c 45 5f 53 |+ /* STA|RTFILE_S|
|00002c00| 50 45 43 20 74 6f 20 69 | 6e 63 6c 75 64 65 20 61 |PEC to i|nclude a|
|00002c10| 6d 69 67 61 20 66 6c 6f | 61 74 69 6e 67 20 70 6f |miga flo|ating po|
|00002c20| 69 6e 74 20 69 6e 69 74 | 69 61 6c 69 7a 61 74 69 |int init|ializati|
|00002c30| 6f 6e 0a 2b 20 20 20 20 | 54 68 69 73 20 69 73 20 |on.+ |This is |
|00002c40| 6e 65 63 65 73 73 61 72 | 79 20 28 74 72 3a 20 61 |necessar|y (tr: a|
|00002c50| 6d 69 67 61 20 64 6f 65 | 73 20 69 74 29 20 66 6f |miga doe|s it) fo|
|00002c60| 72 20 62 6f 74 68 20 74 | 68 65 20 6d 36 38 38 38 |r both t|he m6888|
|00002c70| 31 20 61 6e 64 20 74 68 | 65 20 66 70 61 0a 2b 20 |1 and th|e fpa.+ |
|00002c80| 20 20 20 72 6f 75 74 69 | 6e 65 73 2e 0a 2b 20 20 | routi|nes..+ |
|00002c90| 20 20 4e 6f 74 65 20 74 | 68 61 74 20 69 6e 63 6c | Note t|hat incl|
|00002ca0| 75 64 65 73 20 6b 6e 6f | 77 6c 65 64 67 65 20 6f |udes kno|wledge o|
|00002cb0| 66 20 74 68 65 20 64 65 | 66 61 75 6c 74 20 73 70 |f the de|fault sp|
|00002cc0| 65 63 73 20 66 6f 72 20 | 67 63 63 2c 20 69 65 2e |ecs for |gcc, ie.|
|00002cd0| 20 6e 6f 0a 2b 20 20 20 | 20 61 72 67 73 20 74 72 | no.+ | args tr|
|00002ce0| 61 6e 73 6c 61 74 65 73 | 20 74 6f 20 74 68 65 20 |anslates| to the |
|00002cf0| 73 61 6d 65 20 65 66 66 | 65 63 74 20 61 73 20 2d |same eff|ect as -|
|00002d00| 6d 36 38 38 38 31 0a 2b | 20 20 20 20 49 27 6d 20 |m68881.+| I'm |
|00002d10| 6e 6f 74 20 73 75 72 65 | 20 77 68 61 74 20 77 6f |not sure| what wo|
|00002d20| 75 6c 64 20 68 61 70 70 | 65 6e 20 62 65 6c 6f 77 |uld happ|en below|
|00002d30| 20 69 66 20 70 65 6f 70 | 6c 65 20 67 61 76 65 20 | if peop|le gave |
|00002d40| 63 6f 6e 74 72 61 64 69 | 63 74 6f 72 79 0a 2b 20 |contradi|ctory.+ |
|00002d50| 20 20 20 61 72 67 75 6d | 65 6e 74 73 20 28 65 67 | argum|ents (eg|
|00002d60| 2e 20 2d 6d 73 6f 66 74 | 2d 66 6c 6f 61 74 20 2d |. -msoft|-float -|
|00002d70| 6d 66 70 61 29 20 2a 2f | 0a 2b 20 0a 2b 20 2f 2a |mfpa) */|.+ .+ /*|
|00002d80| 20 66 6f 72 20 6e 6f 77 | 2c 20 77 65 20 6f 6e 6c | for now|, we onl|
|00002d90| 79 20 68 61 76 65 20 61 | 20 73 69 6e 67 6c 65 20 |y have a| single |
|00002da0| 73 65 74 20 6f 66 20 63 | 72 74 30 2e 6f 2c 20 74 |set of c|rt0.o, t|
|00002db0| 68 69 73 20 63 6f 75 6c | 64 20 63 68 61 6e 67 65 |his coul|d change|
|00002dc0| 20 69 6e 20 0a 2b 20 20 | 20 20 74 68 65 20 66 75 | in .+ | the fu|
|00002dd0| 74 75 72 65 2e 20 2a 2f | 0a 2b 20 23 64 65 66 69 |ture. */|.+ #defi|
|00002de0| 6e 65 20 53 54 41 52 54 | 46 49 4c 45 5f 53 50 45 |ne START|FILE_SPE|
|00002df0| 43 09 09 09 09 09 5c 0a | 2b 20 20 20 22 25 7b 72 |C.....\.|+ "%{r|
|00002e00| 65 73 69 64 65 6e 74 3a | 72 63 72 74 30 2e 6f 25 |esident:|rcrt0.o%|
|00002e10| 73 7d 25 7b 21 72 65 73 | 69 64 65 6e 74 3a 25 7b |s}%{!res|ident:%{|
|00002e20| 21 66 62 61 73 65 72 65 | 6c 3a 25 7b 70 67 3a 67 |!fbasere|l:%{pg:g|
|00002e30| 63 72 74 30 2e 6f 25 73 | 7d 25 7b 21 70 67 3a 25 |crt0.o%s|}%{!pg:%|
|00002e40| 7b 70 3a 6d 63 72 74 30 | 2e 6f 25 73 7d 25 7b 21 |{p:mcrt0|.o%s}%{!|
|00002e50| 70 3a 63 72 74 30 2e 6f | 25 73 7d 7d 7d 25 7b 66 |p:crt0.o|%s}}}%{f|
|00002e60| 62 61 73 65 72 65 6c 3a | 25 7b 70 67 3a 62 67 63 |baserel:|%{pg:bgc|
|00002e70| 72 74 30 2e 6f 25 73 7d | 25 7b 21 70 67 3a 25 7b |rt0.o%s}|%{!pg:%{|
|00002e80| 70 3a 62 6d 63 72 74 30 | 2e 6f 25 73 7d 25 7b 21 |p:bmcrt0|.o%s}%{!|
|00002e90| 70 3a 62 63 72 74 30 2e | 6f 25 73 7d 7d 7d 7d 22 |p:bcrt0.|o%s}}}}"|
|00002ea0| 0a 2b 20 0a 2b 20 0a 2b | 20 2f 2a 20 53 70 65 63 |.+ .+ .+| /* Spec|
|00002eb0| 69 66 79 20 6c 69 62 72 | 61 72 79 20 74 6f 20 68 |ify libr|ary to h|
|00002ec0| 61 6e 64 6c 65 20 60 2d | 61 27 20 62 61 73 69 63 |andle `-|a' basic|
|00002ed0| 20 62 6c 6f 63 6b 20 70 | 72 6f 66 69 6c 69 6e 67 | block p|rofiling|
|00002ee0| 2e 0a 2b 20 20 20 20 43 | 6f 6e 74 72 6f 6c 20 63 |..+ C|ontrol c|
|00002ef0| 68 6f 69 63 65 20 6f 66 | 20 6c 69 62 6d 2e 61 20 |hoice of| libm.a |
|00002f00| 28 69 66 20 75 73 65 72 | 20 73 61 79 73 20 2d 6c |(if user| says -l|
|00002f10| 6d 29 0a 2b 20 20 20 20 | 62 61 73 65 64 20 6f 6e |m).+ |based on|
|00002f20| 20 66 70 20 61 72 69 74 | 68 20 64 65 66 61 75 6c | fp arit|h defaul|
|00002f30| 74 20 61 6e 64 20 6f 70 | 74 69 6f 6e 73 2e 20 20 |t and op|tions. |
|00002f40| 2a 2f 0a 2b 20 0a 2b 20 | 2f 2a 20 66 6f 72 20 6e |*/.+ .+ |/* for n|
|00002f50| 6f 77 2c 20 6e 6f 20 64 | 69 66 66 65 72 65 6e 74 |ow, no d|ifferent|
|00002f60| 20 6d 61 74 68 20 6c 69 | 62 72 61 72 69 65 73 20 | math li|braries |
|00002f70| 65 78 69 73 74 2c 20 74 | 68 65 72 65 20 70 72 6f |exist, t|here pro|
|00002f80| 62 61 62 6c 79 20 2a 77 | 69 6c 6c 2a 0a 2b 20 20 |bably *w|ill*.+ |
|00002f90| 2a 20 62 65 20 73 6f 6d | 65 20 69 6e 20 74 68 65 |* be som|e in the|
|00002fa0| 20 66 75 74 75 72 65 2e | 20 2a 2f 0a 2b 20 23 64 | future.| */.+ #d|
|00002fb0| 65 66 69 6e 65 20 4c 49 | 42 5f 53 50 45 43 20 22 |efine LI|B_SPEC "|
|00002fc0| 25 7b 67 3a 2d 6c 67 7d | 20 25 7b 72 65 73 69 64 |%{g:-lg}| %{resid|
|00002fd0| 65 6e 74 3a 2d 6c 62 63 | 7d 25 7b 21 72 65 73 69 |ent:-lbc|}%{!resi|
|00002fe0| 64 65 6e 74 3a 25 7b 66 | 62 61 73 65 72 65 6c 3a |dent:%{f|baserel:|
|00002ff0| 25 7b 21 70 3a 25 7b 21 | 70 67 3a 2d 6c 62 63 7d |%{!p:%{!|pg:-lbc}|
|00003000| 7d 25 7b 70 3a 2d 6c 62 | 63 5f 70 7d 25 7b 70 67 |}%{p:-lb|c_p}%{pg|
|00003010| 3a 2d 6c 62 63 5f 70 7d | 7d 25 7b 21 66 62 61 73 |:-lbc_p}|}%{!fbas|
|00003020| 65 72 65 6c 3a 25 7b 21 | 70 3a 25 7b 21 70 67 3a |erel:%{!|p:%{!pg:|
|00003030| 2d 6c 63 7d 7d 25 7b 70 | 3a 2d 6c 63 5f 70 7d 25 |-lc}}%{p|:-lc_p}%|
|00003040| 7b 70 67 3a 2d 6c 63 5f | 70 7d 7d 7d 22 0a 2b 20 |{pg:-lc_|p}}}".+ |
|00003050| 0a 2b 20 2f 2a 20 69 66 | 20 64 65 62 75 67 67 69 |.+ /* if| debuggi|
|00003060| 6e 67 2c 20 74 65 6c 6c | 20 74 68 65 20 6c 69 6e |ng, tell| the lin|
|00003070| 6b 65 72 20 74 6f 20 6f | 75 74 70 75 74 20 61 6d |ker to o|utput am|
|00003080| 69 67 61 2d 68 75 6e 6b | 20 73 79 6d 62 6f 6c 73 |iga-hunk| symbols|
|00003090| 20 2a 61 6e 64 2a 0a 2b | 20 20 2a 20 61 20 42 53 | *and*.+| * a BS|
|000030a0| 44 20 63 6f 6d 70 61 74 | 69 62 6c 65 20 64 65 62 |D compat|ible deb|
|000030b0| 75 67 20 68 75 6e 6b 20 | 2a 2f 0a 2b 20 0a 2b 20 |ug hunk |*/.+ .+ |
|000030c0| 23 64 65 66 69 6e 65 20 | 4c 49 4e 4b 5f 53 50 45 |#define |LINK_SPE|
|000030d0| 43 20 22 25 7b 67 3a 2d | 61 6d 69 67 61 2d 64 65 |C "%{g:-|amiga-de|
|000030e0| 62 75 67 2d 68 75 6e 6b | 7d 20 25 7b 66 62 61 73 |bug-hunk|} %{fbas|
|000030f0| 65 72 65 6c 3a 2d 64 61 | 74 61 62 73 73 2d 74 6f |erel:-da|tabss-to|
|00003100| 67 65 74 68 65 72 7d 20 | 25 7b 72 65 73 69 64 65 |gether} |%{reside|
|00003110| 6e 74 3a 2d 64 61 74 61 | 62 73 73 2d 74 6f 67 65 |nt:-data|bss-toge|
|00003120| 74 68 65 72 7d 20 22 0a | 2b 20 0a 2b 20 23 64 65 |ther} ".|+ .+ #de|
|00003130| 66 69 6e 65 20 43 43 31 | 5f 53 50 45 43 20 22 25 |fine CC1|_SPEC "%|
|00003140| 7b 72 65 73 69 64 65 6e | 74 3a 2d 66 62 61 73 65 |{residen|t:-fbase|
|00003150| 72 65 6c 7d 20 22 0a 2b | 20 0a 2b 20 23 64 65 66 |rel} ".+| .+ #def|
|00003160| 69 6e 65 20 43 43 31 50 | 4c 55 53 5f 53 50 45 43 |ine CC1P|LUS_SPEC|
|00003170| 20 22 25 7b 72 65 73 69 | 64 65 6e 74 3a 2d 66 62 | "%{resi|dent:-fb|
|00003180| 61 73 65 72 65 6c 7d 20 | 22 0a 2b 20 0a 2b 20 2f |aserel} |".+ .+ /|
|00003190| 2a 20 4f 6d 69 74 20 66 | 72 61 6d 65 20 70 6f 69 |* Omit f|rame poi|
|000031a0| 6e 74 65 72 20 61 74 20 | 68 69 67 68 20 6f 70 74 |nter at |high opt|
|000031b0| 69 6d 69 7a 61 74 69 6f | 6e 20 6c 65 76 65 6c 73 |imizatio|n levels|
|000031c0| 2e 20 20 2a 2f 0a 2b 20 | 20 20 0a 2b 20 23 64 65 |. */.+ | .+ #de|
|000031d0| 66 69 6e 65 20 4f 50 54 | 49 4d 49 5a 41 54 49 4f |fine OPT|IMIZATIO|
|000031e0| 4e 5f 4f 50 54 49 4f 4e | 53 28 4f 50 54 49 4d 49 |N_OPTION|S(OPTIMI|
|000031f0| 5a 45 29 20 5c 0a 2b 20 | 7b 20 20 09 09 09 09 09 |ZE) \.+ |{ .....|
|00003200| 09 09 09 5c 0a 2b 20 20 | 20 69 66 20 28 4f 50 54 |...\.+ | if (OPT|
|00003210| 49 4d 49 5a 45 20 3e 3d | 20 32 29 20 09 09 09 09 |IMIZE >=| 2) ....|
|00003220| 09 09 5c 0a 2b 20 20 20 | 20 20 66 6c 61 67 5f 6f |..\.+ | flag_o|
|00003230| 6d 69 74 5f 66 72 61 6d | 65 5f 70 6f 69 6e 74 65 |mit_fram|e_pointe|
|00003240| 72 20 3d 20 31 3b 09 09 | 09 09 5c 0a 2b 20 7d 0a |r = 1;..|..\.+ }.|
|00003250| 2b 20 0a 2b 20 2f 2a 20 | 70 72 6f 76 69 64 65 20 |+ .+ /* |provide |
|00003260| 61 20 64 75 6d 6d 79 20 | 65 6e 74 72 79 20 66 6f |a dummy |entry fo|
|00003270| 72 20 74 68 65 20 73 6d | 61 6c 6c 2d 63 6f 64 65 |r the sm|all-code|
|00003280| 20 73 77 69 74 63 68 2e | 20 54 68 69 73 20 69 73 | switch.| This is|
|00003290| 20 63 75 72 72 65 6e 74 | 6c 79 20 6f 6e 6c 79 0a | current|ly only.|
|000032a0| 2b 20 20 20 20 6e 65 65 | 64 65 64 20 62 79 20 74 |+ nee|ded by t|
|000032b0| 68 65 20 61 73 73 65 6d | 62 6c 65 72 20 28 65 78 |he assem|bler (ex|
|000032c0| 70 6c 61 6e 61 74 69 6f | 6e 73 3a 20 6d 36 38 6b |planatio|ns: m68k|
|000032d0| 2e 68 29 20 2a 2f 0a 2b | 20 0a 2b 20 23 75 6e 64 |.h) */.+| .+ #und|
|000032e0| 65 66 20 54 41 52 47 45 | 54 5f 53 57 49 54 43 48 |ef TARGE|T_SWITCH|
|000032f0| 45 53 0a 2b 20 23 64 65 | 66 69 6e 65 20 54 41 52 |ES.+ #de|fine TAR|
|00003300| 47 45 54 5f 53 57 49 54 | 43 48 45 53 20 20 5c 0a |GET_SWIT|CHES \.|
|00003310| 2b 20 20 20 7b 20 7b 20 | 22 36 38 30 32 30 22 2c |+ { { |"68020",|
|00003320| 20 35 7d 2c 09 09 09 09 | 5c 0a 2b 20 20 20 20 20 | 5},....|\.+ |
|00003330| 7b 20 22 63 36 38 30 32 | 30 22 2c 20 35 7d 2c 09 |{ "c6802|0", 5},.|
|00003340| 09 09 09 5c 0a 2b 20 20 | 20 20 20 7b 20 22 36 38 |...\.+ | { "68|
|00003350| 38 38 31 22 2c 20 32 7d | 2c 09 09 09 09 5c 0a 2b |881", 2}|,....\.+|
|00003360| 20 20 20 20 20 7b 20 22 | 62 69 74 66 69 65 6c 64 | { "|bitfield|
|00003370| 22 2c 20 34 7d 2c 09 09 | 09 09 5c 0a 2b 20 20 20 |", 4},..|..\.+ |
|00003380| 20 20 7b 20 22 36 38 30 | 30 30 22 2c 20 2d 35 7d | { "680|00", -5}|
|00003390| 2c 09 09 09 09 5c 0a 2b | 20 20 20 20 20 7b 20 22 |,....\.+| { "|
|000033a0| 63 36 38 30 30 30 22 2c | 20 2d 35 7d 2c 09 09 09 |c68000",| -5},...|
|000033b0| 09 5c 0a 2b 20 20 20 20 | 20 7b 20 22 73 6f 66 74 |.\.+ | { "soft|
|000033c0| 2d 66 6c 6f 61 74 22 2c | 20 2d 30 31 30 32 7d 2c |-float",| -0102},|
|000033d0| 09 09 09 5c 0a 2b 20 20 | 20 20 20 7b 20 22 6e 6f |...\.+ | { "no|
|000033e0| 62 69 74 66 69 65 6c 64 | 22 2c 20 2d 34 7d 2c 09 |bitfield|", -4},.|
|000033f0| 09 09 5c 0a 2b 20 20 20 | 20 20 7b 20 22 72 74 64 |..\.+ | { "rtd|
|00003400| 22 2c 20 38 7d 2c 09 09 | 09 09 5c 0a 2b 20 20 20 |", 8},..|..\.+ |
|00003410| 20 20 7b 20 22 6e 6f 72 | 74 64 22 2c 20 2d 38 7d | { "nor|td", -8}|
|00003420| 2c 09 09 09 09 5c 0a 2b | 20 20 20 20 20 7b 20 22 |,....\.+| { "|
|00003430| 73 68 6f 72 74 22 2c 20 | 30 34 30 7d 2c 09 09 09 |short", |040},...|
|00003440| 09 5c 0a 2b 20 20 20 20 | 20 7b 20 22 6e 6f 73 68 |.\.+ | { "nosh|
|00003450| 6f 72 74 22 2c 20 2d 30 | 34 30 7d 2c 09 09 09 09 |ort", -0|40},....|
|00003460| 5c 0a 2b 20 20 20 20 20 | 7b 20 22 66 70 61 22 2c |\.+ |{ "fpa",|
|00003470| 20 30 31 30 30 7d 2c 09 | 09 09 09 5c 0a 2b 20 20 | 0100},.|...\.+ |
|00003480| 20 20 20 7b 20 22 6e 6f | 66 70 61 22 2c 20 2d 30 | { "no|fpa", -0|
|00003490| 31 30 30 7d 2c 09 09 09 | 09 5c 0a 2b 20 20 20 20 |100},...|.\.+ |
|000034a0| 20 7b 20 22 73 6b 79 22 | 2c 20 30 32 30 30 7d 2c | { "sky"|, 0200},|
|000034b0| 09 09 09 09 5c 0a 2b 20 | 20 20 20 20 7b 20 22 6e |....\.+ | { "n|
|000034c0| 6f 73 6b 79 22 2c 20 2d | 30 32 30 30 7d 2c 09 09 |osky", -|0200},..|
|000034d0| 09 09 5c 0a 2b 20 20 20 | 20 20 7b 20 22 36 38 30 |..\.+ | { "680|
|000034e0| 34 30 22 2c 20 30 34 30 | 37 7d 2c 09 09 09 09 5c |40", 040|7},....\|
|000034f0| 0a 2b 20 20 20 20 20 7b | 20 22 36 38 30 33 30 22 |.+ {| "68030"|
|00003500| 2c 20 2d 30 31 34 30 30 | 7d 2c 09 09 09 09 5c 0a |, -01400|},....\.|
|00003510| 2b 20 20 20 20 20 7b 20 | 22 36 38 30 33 30 22 2c |+ { |"68030",|
|00003520| 20 37 7d 2c 09 09 09 09 | 5c 0a 2b 20 20 20 20 20 | 7},....|\.+ |
|00003530| 7b 20 22 36 38 30 34 30 | 2d 6f 6e 6c 79 22 2c 20 |{ "68040|-only", |
|00003540| 30 31 30 30 30 7d 2c 09 | 09 09 5c 0a 2b 20 20 20 |01000},.|..\.+ |
|00003550| 20 20 7b 20 22 73 6d 61 | 6c 6c 2d 63 6f 64 65 22 | { "sma|ll-code"|
|00003560| 2c 20 30 20 7d 2c 09 09 | 09 5c 0a 2b 20 20 20 20 |, 0 },..|.\.+ |
|00003570| 20 7b 20 22 22 2c 20 54 | 41 52 47 45 54 5f 44 45 | { "", T|ARGET_DE|
|00003580| 46 41 55 4c 54 7d 7d 0a | 2b 20 0a 2b 20 2f 2a 20 |FAULT}}.|+ .+ /* |
|00003590| 45 76 65 72 79 20 73 74 | 72 75 63 74 75 72 65 20 |Every st|ructure |
|000035a0| 6f 72 20 75 6e 69 6f 6e | 27 73 20 73 69 7a 65 20 |or union|'s size |
|000035b0| 6d 75 73 74 20 62 65 20 | 61 20 6d 75 6c 74 69 70 |must be |a multip|
|000035c0| 6c 65 20 6f 66 20 32 20 | 62 79 74 65 73 2e 20 20 |le of 2 |bytes. |
|000035d0| 2a 2f 0a 2b 20 0a 2b 20 | 23 64 65 66 69 6e 65 20 |*/.+ .+ |#define |
|000035e0| 53 54 52 55 43 54 55 52 | 45 5f 53 49 5a 45 5f 42 |STRUCTUR|E_SIZE_B|
|000035f0| 4f 55 4e 44 41 52 59 20 | 31 36 0a 2b 20 0a 2b 20 |OUNDARY |16.+ .+ |
|00003600| 2f 2a 20 54 68 69 73 20 | 69 73 20 42 53 44 2c 20 |/* This |is BSD, |
|00003610| 73 6f 20 69 74 20 77 61 | 6e 74 73 20 44 42 58 20 |so it wa|nts DBX |
|00003620| 66 6f 72 6d 61 74 2e 20 | 20 2a 2f 0a 2b 20 0a 2b |format. | */.+ .+|
|00003630| 20 23 64 65 66 69 6e 65 | 20 44 42 58 5f 44 45 42 | #define| DBX_DEB|
|00003640| 55 47 47 49 4e 47 5f 49 | 4e 46 4f 0a 2b 20 0a 2b |UGGING_I|NFO.+ .+|
|00003650| 20 2f 2a 20 41 6c 6c 6f | 77 20 66 6f 6c 64 69 6e | /* Allo|w foldin|
|00003660| 67 20 64 69 76 69 73 69 | 6f 6e 20 62 79 20 7a 65 |g divisi|on by ze|
|00003670| 72 6f 2e 20 20 2a 2f 0a | 2b 20 23 64 65 66 69 6e |ro. */.|+ #defin|
|00003680| 65 20 52 45 41 4c 5f 49 | 4e 46 49 4e 49 54 59 0a |e REAL_I|NFINITY.|
|00003690| 2b 20 0a 2b 20 2f 2a 20 | 54 68 69 73 20 69 73 20 |+ .+ /* |This is |
|000036a0| 68 6f 77 20 74 6f 20 6f | 75 74 70 75 74 20 61 6e |how to o|utput an|
|000036b0| 20 61 73 73 65 6d 62 6c | 65 72 20 6c 69 6e 65 20 | assembl|er line |
|000036c0| 64 65 66 69 6e 69 6e 67 | 20 61 20 60 64 6f 75 62 |defining| a `doub|
|000036d0| 6c 65 27 20 63 6f 6e 73 | 74 61 6e 74 2e 20 20 2a |le' cons|tant. *|
|000036e0| 2f 0a 2b 20 0a 2b 20 23 | 75 6e 64 65 66 20 41 53 |/.+ .+ #|undef AS|
|000036f0| 4d 5f 4f 55 54 50 55 54 | 5f 44 4f 55 42 4c 45 0a |M_OUTPUT|_DOUBLE.|
|00003700| 2b 20 23 64 65 66 69 6e | 65 20 41 53 4d 5f 4f 55 |+ #defin|e ASM_OU|
|00003710| 54 50 55 54 5f 44 4f 55 | 42 4c 45 28 46 49 4c 45 |TPUT_DOU|BLE(FILE|
|00003720| 2c 56 41 4c 55 45 29 09 | 09 09 09 09 5c 0a 2b 20 |,VALUE).|....\.+ |
|00003730| 20 20 7b 09 09 09 09 09 | 09 09 09 09 5c 0a 2b 20 | {.....|....\.+ |
|00003740| 20 20 20 20 69 66 20 28 | 52 45 41 4c 5f 56 41 4c | if (|REAL_VAL|
|00003750| 55 45 5f 49 53 49 4e 46 | 20 28 56 41 4c 55 45 29 |UE_ISINF| (VALUE)|
|00003760| 29 09 09 09 09 09 5c 0a | 2b 20 20 20 20 20 20 20 |).....\.|+ |
|00003770| 66 70 72 69 6e 74 66 20 | 28 46 49 4c 45 2c 20 22 |fprintf |(FILE, "|
|00003780| 5c 74 2e 64 6f 75 62 6c | 65 20 30 72 25 73 39 39 |\t.doubl|e 0r%s99|
|00003790| 65 39 39 39 5c 6e 22 2c | 20 28 56 41 4c 55 45 29 |e999\n",| (VALUE)|
|000037a0| 20 3e 20 30 20 3f 20 22 | 22 20 3a 20 22 2d 22 29 | > 0 ? "|" : "-")|
|000037b0| 3b 09 5c 0a 2b 20 20 20 | 20 20 65 6c 73 65 20 69 |;.\.+ | else i|
|000037c0| 66 20 28 69 73 6e 61 6e | 20 28 56 41 4c 55 45 29 |f (isnan| (VALUE)|
|000037d0| 29 09 09 09 09 09 09 5c | 0a 2b 20 20 20 20 20 20 |)......\|.+ |
|000037e0| 20 7b 09 09 09 09 09 09 | 09 09 09 5c 0a 2b 20 09 | {......|...\.+ .|
|000037f0| 75 6e 69 6f 6e 20 7b 20 | 64 6f 75 62 6c 65 20 64 |union { |double d|
|00003800| 3b 20 6c 6f 6e 67 20 6c | 5b 32 5d 3b 7d 20 74 3b |; long l|[2];} t;|
|00003810| 09 09 09 09 5c 0a 2b 20 | 09 74 2e 64 20 3d 20 28 |....\.+ |.t.d = (|
|00003820| 56 41 4c 55 45 29 3b 09 | 09 09 09 09 09 09 5c 0a |VALUE);.|......\.|
|00003830| 2b 20 09 66 70 72 69 6e | 74 66 20 28 46 49 4c 45 |+ .fprin|tf (FILE|
|00003840| 2c 20 22 5c 74 2e 6c 6f | 6e 67 20 30 78 25 6c 78 |, "\t.lo|ng 0x%lx|
|00003850| 5c 6e 5c 74 2e 6c 6f 6e | 67 20 30 78 25 6c 78 5c |\n\t.lon|g 0x%lx\|
|00003860| 6e 22 2c 20 74 2e 6c 5b | 30 5d 2c 20 74 2e 6c 5b |n", t.l[|0], t.l[|
|00003870| 31 5d 29 3b 20 5c 0a 2b | 20 20 20 20 20 20 20 7d |1]); \.+| }|
|00003880| 09 09 09 09 09 09 09 09 | 09 5c 0a 2b 20 20 20 20 |........|.\.+ |
|00003890| 20 65 6c 73 65 09 09 09 | 09 09 09 09 09 5c 0a 2b | else...|.....\.+|
|000038a0| 20 20 20 20 20 20 20 66 | 70 72 69 6e 74 66 20 28 | f|printf (|
|000038b0| 46 49 4c 45 2c 20 22 5c | 74 2e 64 6f 75 62 6c 65 |FILE, "\|t.double|
|000038c0| 20 30 72 25 2e 31 37 67 | 5c 6e 22 2c 20 56 41 4c | 0r%.17g|\n", VAL|
|000038d0| 55 45 29 3b 09 09 09 5c | 0a 2b 20 20 20 7d 0a 2b |UE);...\|.+ }.+|
|000038e0| 20 0a 2b 20 2f 2a 20 54 | 68 69 73 20 69 73 20 68 | .+ /* T|his is h|
|000038f0| 6f 77 20 74 6f 20 6f 75 | 74 70 75 74 20 61 6e 20 |ow to ou|tput an |
|00003900| 61 73 73 65 6d 62 6c 65 | 72 20 6c 69 6e 65 20 64 |assemble|r line d|
|00003910| 65 66 69 6e 69 6e 67 20 | 61 20 60 66 6c 6f 61 74 |efining |a `float|
|00003920| 27 20 63 6f 6e 73 74 61 | 6e 74 2e 20 20 2a 2f 0a |' consta|nt. */.|
|00003930| 2b 20 0a 2b 20 23 75 6e | 64 65 66 20 41 53 4d 5f |+ .+ #un|def ASM_|
|00003940| 4f 55 54 50 55 54 5f 46 | 4c 4f 41 54 0a 2b 20 23 |OUTPUT_F|LOAT.+ #|
|00003950| 64 65 66 69 6e 65 20 41 | 53 4d 5f 4f 55 54 50 55 |define A|SM_OUTPU|
|00003960| 54 5f 46 4c 4f 41 54 28 | 46 49 4c 45 2c 56 41 4c |T_FLOAT(|FILE,VAL|
|00003970| 55 45 29 09 09 09 09 09 | 5c 0a 2b 20 20 20 7b 09 |UE).....|\.+ {.|
|00003980| 09 09 09 09 09 09 09 09 | 5c 0a 2b 20 20 20 20 20 |........|\.+ |
|00003990| 69 66 20 28 52 45 41 4c | 5f 56 41 4c 55 45 5f 49 |if (REAL|_VALUE_I|
|000039a0| 53 49 4e 46 20 28 56 41 | 4c 55 45 29 29 09 09 09 |SINF (VA|LUE))...|
|000039b0| 09 09 5c 0a 2b 20 20 20 | 20 20 20 20 66 70 72 69 |..\.+ | fpri|
|000039c0| 6e 74 66 20 28 46 49 4c | 45 2c 20 22 5c 74 2e 73 |ntf (FIL|E, "\t.s|
|000039d0| 69 6e 67 6c 65 20 30 72 | 25 73 39 39 65 39 39 39 |ingle 0r|%s99e999|
|000039e0| 5c 6e 22 2c 20 28 56 41 | 4c 55 45 29 20 3e 20 30 |\n", (VA|LUE) > 0|
|000039f0| 20 3f 20 22 22 20 3a 20 | 22 2d 22 29 3b 09 5c 0a | ? "" : |"-");.\.|
|00003a00| 2b 20 20 20 20 20 65 6c | 73 65 20 69 66 20 28 69 |+ el|se if (i|
|00003a10| 73 6e 61 6e 20 28 56 41 | 4c 55 45 29 29 09 09 09 |snan (VA|LUE))...|
|00003a20| 09 09 09 5c 0a 2b 20 20 | 20 20 20 20 20 7b 09 09 |...\.+ | {..|
|00003a30| 09 09 09 09 09 09 09 5c | 0a 2b 20 09 75 6e 69 6f |.......\|.+ .unio|
|00003a40| 6e 20 7b 20 66 6c 6f 61 | 74 20 66 3b 20 6c 6f 6e |n { floa|t f; lon|
|00003a50| 67 20 6c 3b 7d 20 74 3b | 09 09 09 09 09 5c 0a 2b |g l;} t;|.....\.+|
|00003a60| 20 09 74 2e 66 20 3d 20 | 28 56 41 4c 55 45 29 3b | .t.f = |(VALUE);|
|00003a70| 09 09 09 09 09 09 09 5c | 0a 2b 20 09 66 70 72 69 |.......\|.+ .fpri|
|00003a80| 6e 74 66 20 28 46 49 4c | 45 2c 20 22 5c 74 2e 6c |ntf (FIL|E, "\t.l|
|00003a90| 6f 6e 67 20 30 78 25 6c | 78 5c 6e 22 2c 20 74 2e |ong 0x%l|x\n", t.|
|00003aa0| 6c 29 3b 09 09 09 09 5c | 0a 2b 20 20 20 20 20 20 |l);....\|.+ |
|00003ab0| 20 7d 09 09 09 09 09 09 | 09 09 09 5c 0a 2b 20 20 | }......|...\.+ |
|00003ac0| 20 20 20 65 6c 73 65 09 | 09 09 09 09 09 09 09 5c | else.|.......\|
|00003ad0| 0a 2b 20 20 20 20 20 20 | 20 66 70 72 69 6e 74 66 |.+ | fprintf|
|00003ae0| 20 28 46 49 4c 45 2c 20 | 22 5c 74 2e 73 69 6e 67 | (FILE, |"\t.sing|
|00003af0| 6c 65 20 30 72 25 2e 39 | 67 5c 6e 22 2c 20 56 41 |le 0r%.9|g\n", VA|
|00003b00| 4c 55 45 29 3b 09 09 09 | 5c 0a 2b 20 20 20 7d 0a |LUE);...|\.+ }.|
|00003b10| 2b 20 0a 2b 20 2f 2a 20 | 54 68 69 73 20 69 73 20 |+ .+ /* |This is |
|00003b20| 68 6f 77 20 74 6f 20 6f | 75 74 70 75 74 20 61 6e |how to o|utput an|
|00003b30| 20 61 73 73 65 6d 62 6c | 65 72 20 6c 69 6e 65 73 | assembl|er lines|
|00003b40| 20 64 65 66 69 6e 69 6e | 67 20 66 6c 6f 61 74 69 | definin|g floati|
|00003b50| 6e 67 20 6f 70 65 72 61 | 6e 64 73 2e 0a 2b 20 20 |ng opera|nds..+ |
|00003b60| 20 20 54 68 65 72 65 27 | 73 20 6e 6f 20 77 61 79 | There'|s no way|
|00003b70| 20 74 6f 20 6f 75 74 70 | 75 74 20 61 20 4e 61 4e | to outp|ut a NaN|
|00003b80| 27 73 20 66 72 61 63 74 | 69 6f 6e 2c 20 73 6f 20 |'s fract|ion, so |
|00003b90| 77 65 20 6c 6f 73 65 20 | 69 74 2e 20 20 2a 2f 0a |we lose |it. */.|
|00003ba0| 2b 20 20 20 0a 2b 20 23 | 75 6e 64 65 66 20 41 53 |+ .+ #|undef AS|
|00003bb0| 4d 5f 4f 55 54 50 55 54 | 5f 46 4c 4f 41 54 5f 4f |M_OUTPUT|_FLOAT_O|
|00003bc0| 50 45 52 41 4e 44 0a 2b | 20 23 64 65 66 69 6e 65 |PERAND.+| #define|
|00003bd0| 20 41 53 4d 5f 4f 55 54 | 50 55 54 5f 46 4c 4f 41 | ASM_OUT|PUT_FLOA|
|00003be0| 54 5f 4f 50 45 52 41 4e | 44 28 46 49 4c 45 2c 56 |T_OPERAN|D(FILE,V|
|00003bf0| 41 4c 55 45 29 09 09 09 | 09 5c 0a 2b 20 20 20 28 |ALUE)...|.\.+ (|
|00003c00| 52 45 41 4c 5f 56 41 4c | 55 45 5f 49 53 49 4e 46 |REAL_VAL|UE_ISINF|
|00003c10| 20 28 28 56 41 4c 55 45 | 29 29 09 09 09 09 09 09 | ((VALUE|))......|
|00003c20| 5c 0a 2b 20 20 20 20 3f | 20 61 73 6d 5f 66 70 72 |\.+ ?| asm_fpr|
|00003c30| 69 6e 74 66 20 28 46 49 | 4c 45 2c 20 22 25 49 30 |intf (FI|LE, "%I0|
|00003c40| 72 25 73 39 39 65 39 39 | 39 22 2c 20 28 28 56 41 |r%s99e99|9", ((VA|
|00003c50| 4c 55 45 29 20 3e 20 30 | 20 3f 20 22 22 20 3a 20 |LUE) > 0| ? "" : |
|00003c60| 22 2d 22 29 29 20 5c 0a | 2b 20 20 20 20 3a 20 28 |"-")) \.|+ : (|
|00003c70| 56 41 4c 55 45 29 20 3d | 3d 20 2d 30 2e 30 09 09 |VALUE) =|= -0.0..|
|00003c80| 09 09 09 09 09 5c 0a 2b | 20 20 20 20 3f 20 61 73 |.....\.+| ? as|
|00003c90| 6d 5f 66 70 72 69 6e 74 | 66 20 28 46 49 4c 45 2c |m_fprint|f (FILE,|
|00003ca0| 20 22 25 49 30 72 2d 30 | 2e 30 22 29 09 09 09 09 | "%I0r-0|.0")....|
|00003cb0| 09 5c 0a 2b 20 20 20 20 | 3a 20 61 73 6d 5f 66 70 |.\.+ |: asm_fp|
|00003cc0| 72 69 6e 74 66 20 28 46 | 49 4c 45 2c 20 22 25 49 |rintf (F|ILE, "%I|
|00003cd0| 30 72 25 2e 39 67 22 2c | 20 28 56 41 4c 55 45 29 |0r%.9g",| (VALUE)|
|00003ce0| 29 29 0a 2b 20 0a 2b 20 | 23 75 6e 64 65 66 20 41 |)).+ .+ |#undef A|
|00003cf0| 53 4d 5f 4f 55 54 50 55 | 54 5f 44 4f 55 42 4c 45 |SM_OUTPU|T_DOUBLE|
|00003d00| 5f 4f 50 45 52 41 4e 44 | 0a 2b 20 23 64 65 66 69 |_OPERAND|.+ #defi|
|00003d10| 6e 65 20 41 53 4d 5f 4f | 55 54 50 55 54 5f 44 4f |ne ASM_O|UTPUT_DO|
|00003d20| 55 42 4c 45 5f 4f 50 45 | 52 41 4e 44 28 46 49 4c |UBLE_OPE|RAND(FIL|
|00003d30| 45 2c 56 41 4c 55 45 29 | 09 09 09 09 5c 0a 2b 20 |E,VALUE)|....\.+ |
|00003d40| 20 20 28 52 45 41 4c 5f | 56 41 4c 55 45 5f 49 53 | (REAL_|VALUE_IS|
|00003d50| 49 4e 46 20 28 28 56 41 | 4c 55 45 29 29 09 09 09 |INF ((VA|LUE))...|
|00003d60| 09 09 09 5c 0a 2b 20 20 | 20 20 3f 20 61 73 6d 5f |...\.+ | ? asm_|
|00003d70| 66 70 72 69 6e 74 66 20 | 28 46 49 4c 45 2c 20 22 |fprintf |(FILE, "|
|00003d80| 25 49 30 72 25 73 39 39 | 65 39 39 39 22 2c 20 28 |%I0r%s99|e999", (|
|00003d90| 28 56 41 4c 55 45 29 20 | 3e 20 30 20 3f 20 22 22 |(VALUE) |> 0 ? ""|
|00003da0| 20 3a 20 22 2d 22 29 29 | 20 5c 0a 2b 20 20 20 20 | : "-"))| \.+ |
|00003db0| 3a 20 28 56 41 4c 55 45 | 29 20 3d 3d 20 2d 30 2e |: (VALUE|) == -0.|
|00003dc0| 30 09 09 09 09 09 09 09 | 5c 0a 2b 20 20 20 20 3f |0.......|\.+ ?|
|00003dd0| 20 61 73 6d 5f 66 70 72 | 69 6e 74 66 20 28 46 49 | asm_fpr|intf (FI|
|00003de0| 4c 45 2c 20 22 25 49 30 | 72 2d 30 2e 30 22 29 09 |LE, "%I0|r-0.0").|
|00003df0| 09 09 09 09 5c 0a 2b 20 | 20 20 20 3a 20 61 73 6d |....\.+ | : asm|
|00003e00| 5f 66 70 72 69 6e 74 66 | 20 28 46 49 4c 45 2c 20 |_fprintf| (FILE, |
|00003e10| 22 25 49 30 72 25 2e 31 | 37 67 22 2c 20 28 56 41 |"%I0r%.1|7g", (VA|
|00003e20| 4c 55 45 29 29 29 0a 2b | 20 0a 2b 20 2f 2a 20 75 |LUE))).+| .+ /* u|
|00003e30| 73 65 20 41 35 20 61 73 | 20 66 72 61 6d 65 70 6f |se A5 as| framepo|
|00003e40| 69 6e 74 65 72 20 69 6e | 73 74 65 61 64 20 6f 66 |inter in|stead of|
|00003e50| 20 41 36 2c 20 74 68 69 | 73 20 6d 61 6b 65 73 20 | A6, thi|s makes |
|00003e60| 41 36 20 61 76 61 69 6c | 61 62 6c 65 20 61 73 20 |A6 avail|able as |
|00003e70| 61 0a 2b 20 20 2a 20 67 | 65 6e 65 72 61 6c 20 70 |a.+ * g|eneral p|
|00003e80| 75 72 70 6f 73 65 20 72 | 65 67 69 73 74 65 72 2c |urpose r|egister,|
|00003e90| 20 61 6e 64 20 63 61 6e | 20 74 68 75 73 20 62 65 | and can| thus be|
|00003ea0| 20 75 73 65 64 20 77 69 | 74 68 6f 75 74 20 70 72 | used wi|thout pr|
|00003eb0| 6f 62 6c 65 6d 73 20 69 | 6e 0a 2b 20 20 2a 20 64 |oblems i|n.+ * d|
|00003ec0| 69 72 65 63 74 20 6c 69 | 62 72 61 72 79 20 63 61 |irect li|brary ca|
|00003ed0| 6c 6c 73 2e 20 2a 2f 0a | 2b 20 23 75 6e 64 65 66 |lls. */.|+ #undef|
|00003ee0| 20 46 52 41 4d 45 5f 50 | 4f 49 4e 54 45 52 5f 52 | FRAME_P|OINTER_R|
|00003ef0| 45 47 4e 55 4d 0a 2b 20 | 23 64 65 66 69 6e 65 20 |EGNUM.+ |#define |
|00003f00| 46 52 41 4d 45 5f 50 4f | 49 4e 54 45 52 5f 52 45 |FRAME_PO|INTER_RE|
|00003f10| 47 4e 55 4d 20 31 33 0a | 2b 20 23 75 6e 64 65 66 |GNUM 13.|+ #undef|
|00003f20| 20 41 52 47 5f 50 4f 49 | 4e 54 45 52 5f 52 45 47 | ARG_POI|NTER_REG|
|00003f30| 4e 55 4d 0a 2b 20 23 64 | 65 66 69 6e 65 20 41 52 |NUM.+ #d|efine AR|
|00003f40| 47 5f 50 4f 49 4e 54 45 | 52 5f 52 45 47 4e 55 4d |G_POINTE|R_REGNUM|
|00003f50| 20 31 33 0a 2b 20 0a 2b | 20 2f 2a 20 77 65 20 75 | 13.+ .+| /* we u|
|00003f60| 73 65 20 41 34 20 66 6f | 72 20 74 68 69 73 2c 20 |se A4 fo|r this, |
|00003f70| 6e 6f 74 20 41 35 2c 20 | 77 68 69 63 68 20 69 73 |not A5, |which is|
|00003f80| 20 74 68 65 20 66 72 61 | 6d 65 70 6f 69 6e 74 65 | the fra|mepointe|
|00003f90| 72 20 2a 2f 0a 2b 20 23 | 75 6e 64 65 66 20 50 49 |r */.+ #|undef PI|
|00003fa0| 43 5f 4f 46 46 53 45 54 | 5f 54 41 42 4c 45 5f 52 |C_OFFSET|_TABLE_R|
|00003fb0| 45 47 4e 55 4d 0a 2b 20 | 23 64 65 66 69 6e 65 20 |EGNUM.+ |#define |
|00003fc0| 50 49 43 5f 4f 46 46 53 | 45 54 5f 54 41 42 4c 45 |PIC_OFFS|ET_TABLE|
|00003fd0| 5f 52 45 47 4e 55 4d 20 | 31 32 0a 2b 20 0a 2b 20 |_REGNUM |12.+ .+ |
|00003fe0| 23 64 65 66 69 6e 65 20 | 53 54 41 4e 44 41 52 44 |#define |STANDARD|
|00003ff0| 5f 49 4e 43 4c 55 44 45 | 5f 44 49 52 20 22 67 63 |_INCLUDE|_DIR "gc|
|00004000| 63 3a 69 6e 63 6c 75 64 | 65 22 0a 2b 20 23 64 65 |c:includ|e".+ #de|
|00004010| 66 69 6e 65 20 4d 44 5f | 53 54 41 52 54 46 49 4c |fine MD_|STARTFIL|
|00004020| 45 5f 50 52 45 46 49 58 | 20 20 22 67 63 63 3a 6c |E_PREFIX| "gcc:l|
|00004030| 69 62 2f 22 0a 2b 20 0a | 2b 20 2f 2a 20 77 65 20 |ib/".+ .|+ /* we |
|00004040| 64 6f 20 68 61 76 65 20 | 61 6e 20 61 6e 73 69 2d |do have |an ansi-|
|00004050| 63 6f 6d 70 6c 69 65 6e | 74 20 63 2d 6c 69 62 72 |complien|t c-libr|
|00004060| 61 72 79 20 3b 2d 29 20 | 2a 2f 0a 2b 20 23 64 65 |ary ;-) |*/.+ #de|
|00004070| 66 69 6e 65 20 48 41 56 | 45 5f 41 54 45 58 49 54 |fine HAV|E_ATEXIT|
|00004080| 0a 2b 20 23 64 65 66 69 | 6e 65 20 48 41 56 45 5f |.+ #defi|ne HAVE_|
|00004090| 56 50 52 49 4e 54 46 0a | 2b 20 23 64 65 66 69 6e |VPRINTF.|+ #defin|
|000040a0| 65 20 48 41 56 45 5f 56 | 46 50 52 49 4e 54 46 0a |e HAVE_V|FPRINTF.|
|000040b0| 2b 20 23 64 65 66 69 6e | 65 20 48 41 56 45 5f 50 |+ #defin|e HAVE_P|
|000040c0| 55 54 45 4e 56 0a 2b 20 | 23 64 65 66 69 6e 65 20 |UTENV.+ |#define |
|000040d0| 48 41 56 45 5f 53 54 52 | 45 52 52 4f 52 0a 2b 20 |HAVE_STR|ERROR.+ |
|000040e0| 0a 2b 20 23 64 65 66 69 | 6e 65 20 45 4e 56 49 52 |.+ #defi|ne ENVIR|
|000040f0| 4f 4e 5f 53 45 50 41 52 | 41 54 4f 52 20 27 2c 27 |ON_SEPAR|ATOR ','|
|00004100| 0a 2b 20 0a 2b 20 2f 2a | 20 73 65 74 75 70 20 61 |.+ .+ /*| setup a|
|00004110| 20 64 65 66 61 75 6c 74 | 20 73 68 65 6c 6c 20 72 | default| shell r|
|00004120| 65 74 75 72 6e 20 76 61 | 6c 75 65 20 66 6f 72 20 |eturn va|lue for |
|00004130| 74 68 6f 73 65 20 28 67 | 61 7a 69 6c 6c 69 6f 6e |those (g|azillion|
|00004140| 2e 2e 29 20 70 72 6f 67 | 72 61 6d 73 20 74 68 61 |..) prog|rams tha|
|00004150| 74 0a 2b 20 20 20 20 28 | 69 6e 73 70 69 74 65 20 |t.+ (|inspite |
|00004160| 6f 66 20 41 4e 53 49 2d | 43 29 20 64 65 63 6c 61 |of ANSI-|C) decla|
|00004170| 72 65 20 6d 61 69 6e 28 | 29 20 74 6f 20 62 65 20 |re main(|) to be |
|00004180| 76 6f 69 64 20 28 6f 72 | 20 65 76 65 6e 20 56 4f |void (or| even VO|
|00004190| 49 44 2e 2e 2e 29 20 2a | 2f 0a 2b 20 0a 2b 20 23 |ID...) *|/.+ .+ #|
|000041a0| 64 65 66 69 6e 65 20 44 | 45 46 41 55 4c 54 5f 4d |define D|EFAULT_M|
|000041b0| 41 49 4e 5f 52 45 54 55 | 52 4e 20 63 5f 65 78 70 |AIN_RETU|RN c_exp|
|000041c0| 61 6e 64 5f 72 65 74 75 | 72 6e 20 28 69 6e 74 65 |and_retu|rn (inte|
|000041d0| 67 65 72 5f 7a 65 72 6f | 5f 6e 6f 64 65 29 0a 2b |ger_zero|_node).+|
|000041e0| 20 0a 2b 20 2f 2a 20 67 | 69 76 65 6e 20 74 68 61 | .+ /* g|iven tha|
|000041f0| 74 20 73 79 6d 62 6f 6c | 69 63 5f 6f 70 65 72 61 |t symbol|ic_opera|
|00004200| 6e 64 28 58 29 2c 20 72 | 65 74 75 72 6e 20 54 52 |nd(X), r|eturn TR|
|00004210| 55 45 20 69 66 20 6e 6f | 20 73 70 65 63 69 61 6c |UE if no| special|
|00004220| 0a 2b 20 20 20 20 62 61 | 73 65 20 72 65 6c 61 74 |.+ ba|se relat|
|00004230| 69 76 65 20 72 65 6c 6f | 63 61 74 69 6f 6e 20 69 |ive relo|cation i|
|00004240| 73 20 6e 65 63 65 73 73 | 61 72 79 20 2a 2f 0a 2b |s necess|ary */.+|
|00004250| 20 0a 2b 20 23 64 65 66 | 69 6e 65 20 4c 45 47 49 | .+ #def|ine LEGI|
|00004260| 54 49 4d 41 54 45 5f 42 | 41 53 45 52 45 4c 5f 4f |TIMATE_B|ASEREL_O|
|00004270| 50 45 52 41 4e 44 5f 50 | 28 58 29 20 5c 0a 2b 20 |PERAND_P|(X) \.+ |
|00004280| 20 20 28 66 6c 61 67 5f | 70 69 63 20 3d 3d 20 33 | (flag_|pic == 3|
|00004290| 20 26 26 20 72 65 61 64 | 5f 6f 6e 6c 79 5f 6f 70 | && read|_only_op|
|000042a0| 65 72 61 6e 64 20 28 58 | 29 29 0a 2b 20 0a 2b 20 |erand (X|)).+ .+ |
|000042b0| 23 75 6e 64 65 66 20 4c | 45 47 49 54 49 4d 41 54 |#undef L|EGITIMAT|
|000042c0| 45 5f 50 49 43 5f 4f 50 | 45 52 41 4e 44 5f 50 0a |E_PIC_OP|ERAND_P.|
|000042d0| 2b 20 23 64 65 66 69 6e | 65 20 4c 45 47 49 54 49 |+ #defin|e LEGITI|
|000042e0| 4d 41 54 45 5f 50 49 43 | 5f 4f 50 45 52 41 4e 44 |MATE_PIC|_OPERAND|
|000042f0| 5f 50 28 58 29 20 5c 0a | 2b 20 20 20 28 21 20 73 |_P(X) \.|+ (! s|
|00004300| 79 6d 62 6f 6c 69 63 5f | 6f 70 65 72 61 6e 64 20 |ymbolic_|operand |
|00004310| 28 58 2c 20 56 4f 49 44 | 6d 6f 64 65 29 20 7c 7c |(X, VOID|mode) |||
|00004320| 20 4c 45 47 49 54 49 4d | 41 54 45 5f 42 41 53 45 | LEGITIM|ATE_BASE|
|00004330| 52 45 4c 5f 4f 50 45 52 | 41 4e 44 5f 50 20 28 58 |REL_OPER|AND_P (X|
|00004340| 29 29 0a 2b 20 0a 2b 20 | 0a 2b 20 2f 2a 20 44 65 |)).+ .+ |.+ /* De|
|00004350| 66 69 6e 65 20 74 68 69 | 73 20 6d 61 63 72 6f 20 |fine thi|s macro |
|00004360| 69 66 20 72 65 66 65 72 | 65 6e 63 65 73 20 74 6f |if refer|ences to|
|00004370| 20 61 20 73 79 6d 62 6f | 6c 20 6d 75 73 74 20 62 | a symbo|l must b|
|00004380| 65 20 74 72 65 61 74 65 | 64 0a 2b 20 20 20 20 64 |e treate|d.+ d|
|00004390| 69 66 66 65 72 65 6e 74 | 6c 79 20 64 65 70 65 6e |ifferent|ly depen|
|000043a0| 64 69 6e 67 20 6f 6e 20 | 73 6f 6d 65 74 68 69 6e |ding on |somethin|
|000043b0| 67 20 61 62 6f 75 74 20 | 74 68 65 20 76 61 72 69 |g about |the vari|
|000043c0| 61 62 6c 65 20 6f 72 0a | 2b 20 20 20 20 66 75 6e |able or.|+ fun|
|000043d0| 63 74 69 6f 6e 20 6e 61 | 6d 65 64 20 62 79 20 74 |ction na|med by t|
|000043e0| 68 65 20 73 79 6d 62 6f | 6c 20 28 73 75 63 68 20 |he symbo|l (such |
|000043f0| 61 73 20 77 68 61 74 20 | 73 65 63 74 69 6f 6e 20 |as what |section |
|00004400| 69 74 20 69 73 20 69 6e | 29 2e 0a 2b 20 0a 2b 20 |it is in|)..+ .+ |
|00004410| 20 20 20 54 68 65 20 6d | 61 63 72 6f 20 64 65 66 | The m|acro def|
|00004420| 69 6e 69 74 69 6f 6e 2c | 20 69 66 20 61 6e 79 2c |inition,| if any,|
|00004430| 20 69 73 20 65 78 65 63 | 75 74 65 64 20 69 6d 6d | is exec|uted imm|
|00004440| 65 64 69 61 74 65 6c 79 | 20 61 66 74 65 72 20 74 |ediately| after t|
|00004450| 68 65 0a 2b 20 20 20 20 | 72 74 6c 20 66 6f 72 20 |he.+ |rtl for |
|00004460| 44 45 43 4c 20 6f 72 20 | 6f 74 68 65 72 20 6e 6f |DECL or |other no|
|00004470| 64 65 20 69 73 20 63 72 | 65 61 74 65 64 2e 0a 2b |de is cr|eated..+|
|00004480| 20 20 20 20 54 68 65 20 | 76 61 6c 75 65 20 6f 66 | The |value of|
|00004490| 20 74 68 65 20 72 74 6c | 20 77 69 6c 6c 20 62 65 | the rtl| will be|
|000044a0| 20 61 20 60 6d 65 6d 27 | 20 77 68 6f 73 65 20 61 | a `mem'| whose a|
|000044b0| 64 64 72 65 73 73 20 69 | 73 20 61 0a 2b 20 20 20 |ddress i|s a.+ |
|000044c0| 20 60 73 79 6d 62 6f 6c | 5f 72 65 66 27 2e 0a 2b | `symbol|_ref'..+|
|000044d0| 20 0a 2b 20 20 20 20 54 | 68 65 20 75 73 75 61 6c | .+ T|he usual|
|000044e0| 20 74 68 69 6e 67 20 66 | 6f 72 20 74 68 69 73 20 | thing f|or this |
|000044f0| 6d 61 63 72 6f 20 74 6f | 20 64 6f 20 69 73 20 74 |macro to| do is t|
|00004500| 6f 20 61 20 66 6c 61 67 | 20 69 6e 20 74 68 65 0a |o a flag| in the.|
|00004510| 2b 20 20 20 20 60 73 79 | 6d 62 6f 6c 5f 72 65 66 |+ `sy|mbol_ref|
|00004520| 27 20 28 73 75 63 68 20 | 61 73 20 60 53 59 4d 42 |' (such |as `SYMB|
|00004530| 4f 4c 5f 52 45 46 5f 46 | 4c 41 47 27 29 20 6f 72 |OL_REF_F|LAG') or|
|00004540| 20 74 6f 20 73 74 6f 72 | 65 20 61 20 6d 6f 64 69 | to stor|e a modi|
|00004550| 66 69 65 64 0a 2b 20 20 | 20 20 6e 61 6d 65 20 73 |fied.+ | name s|
|00004560| 74 72 69 6e 67 20 69 6e | 20 74 68 65 20 60 73 79 |tring in| the `sy|
|00004570| 6d 62 6f 6c 5f 72 65 66 | 27 20 28 69 66 20 6f 6e |mbol_ref|' (if on|
|00004580| 65 20 62 69 74 20 69 73 | 20 6e 6f 74 20 65 6e 6f |e bit is| not eno|
|00004590| 75 67 68 0a 2b 20 20 20 | 20 69 6e 66 6f 72 6d 61 |ugh.+ | informa|
|000045a0| 74 69 6f 6e 29 2e 0a 2b | 20 0a 2b 20 20 20 20 4f |tion)..+| .+ O|
|000045b0| 6e 20 74 68 65 20 41 6d | 69 67 61 20 77 65 20 75 |n the Am|iga we u|
|000045c0| 73 65 20 74 68 69 73 20 | 74 6f 20 69 6e 64 69 63 |se this |to indic|
|000045d0| 61 74 65 20 69 66 20 61 | 20 73 79 6d 62 6f 6c 20 |ate if a| symbol |
|000045e0| 69 73 20 69 6e 20 74 65 | 78 74 20 6f 72 0a 2b 20 |is in te|xt or.+ |
|000045f0| 20 20 20 64 61 74 61 20 | 73 70 61 63 65 2e 20 20 | data |space. |
|00004600| 2a 2f 0a 2b 20 0a 2b 20 | 23 64 65 66 69 6e 65 20 |*/.+ .+ |#define |
|00004610| 45 4e 43 4f 44 45 5f 53 | 45 43 54 49 4f 4e 5f 49 |ENCODE_S|ECTION_I|
|00004620| 4e 46 4f 28 44 45 43 4c | 29 5c 0a 2b 20 64 6f 09 |NFO(DECL|)\.+ do.|
|00004630| 09 09 09 09 09 09 09 09 | 5c 0a 2b 20 20 20 7b 09 |........|\.+ {.|
|00004640| 09 09 09 09 09 09 09 09 | 5c 0a 2b 20 20 20 20 20 |........|\.+ |
|00004650| 69 66 20 28 54 52 45 45 | 5f 43 4f 44 45 20 28 44 |if (TREE|_CODE (D|
|00004660| 45 43 4c 29 20 3d 3d 20 | 46 55 4e 43 54 49 4f 4e |ECL) == |FUNCTION|
|00004670| 5f 44 45 43 4c 29 09 09 | 09 09 5c 0a 2b 20 20 20 |_DECL)..|..\.+ |
|00004680| 20 20 20 20 53 59 4d 42 | 4f 4c 5f 52 45 46 5f 46 | SYMB|OL_REF_F|
|00004690| 4c 41 47 20 28 58 45 58 | 50 20 28 44 45 43 4c 5f |LAG (XEX|P (DECL_|
|000046a0| 52 54 4c 20 28 44 45 43 | 4c 29 2c 20 30 29 29 20 |RTL (DEC|L), 0)) |
|000046b0| 3d 20 31 3b 09 09 09 5c | 0a 2b 20 20 20 20 20 65 |= 1;...\|.+ e|
|000046c0| 6c 73 65 09 09 09 09 09 | 09 09 09 5c 0a 2b 20 20 |lse.....|...\.+ |
|000046d0| 20 20 20 20 20 7b 09 09 | 09 09 09 09 09 09 09 5c | {..|.......\|
|000046e0| 0a 2b 20 09 72 74 78 20 | 72 74 6c 20 3d 20 28 54 |.+ .rtx |rtl = (T|
|000046f0| 52 45 45 5f 43 4f 44 45 | 5f 43 4c 41 53 53 20 28 |REE_CODE|_CLASS (|
|00004700| 54 52 45 45 5f 43 4f 44 | 45 20 28 44 45 43 4c 29 |TREE_COD|E (DECL)|
|00004710| 29 20 21 3d 20 27 64 27 | 09 09 5c 0a 2b 20 09 09 |) != 'd'|..\.+ ..|
|00004720| 20 20 20 3f 20 54 52 45 | 45 5f 43 53 54 5f 52 54 | ? TRE|E_CST_RT|
|00004730| 4c 20 28 44 45 43 4c 29 | 20 3a 20 44 45 43 4c 5f |L (DECL)| : DECL_|
|00004740| 52 54 4c 20 28 44 45 43 | 4c 29 29 3b 09 09 5c 0a |RTL (DEC|L));..\.|
|00004750| 2b 20 09 69 66 20 28 52 | 54 58 5f 55 4e 43 48 41 |+ .if (R|TX_UNCHA|
|00004760| 4e 47 49 4e 47 5f 50 20 | 28 72 74 6c 29 20 26 26 |NGING_P |(rtl) &&|
|00004770| 20 21 4d 45 4d 5f 56 4f | 4c 41 54 49 4c 45 5f 50 | !MEM_VO|LATILE_P|
|00004780| 20 28 72 74 6c 29 29 09 | 09 5c 0a 2b 20 09 20 20 | (rtl)).|.\.+ . |
|00004790| 53 59 4d 42 4f 4c 5f 52 | 45 46 5f 46 4c 41 47 20 |SYMBOL_R|EF_FLAG |
|000047a0| 28 58 45 58 50 20 28 72 | 74 6c 2c 20 30 29 29 20 |(XEXP (r|tl, 0)) |
|000047b0| 3d 20 31 3b 09 09 09 09 | 5c 0a 2b 20 20 20 20 20 |= 1;....|\.+ |
|000047c0| 20 20 7d 09 09 09 09 09 | 09 09 09 09 5c 0a 2b 20 | }.....|....\.+ |
|000047d0| 20 20 7d 09 09 09 09 09 | 09 09 09 09 5c 0a 2b 20 | }.....|....\.+ |
|000047e0| 77 68 69 6c 65 20 28 30 | 29 0a 2b 20 0a 2b 20 23 |while (0|).+ .+ #|
|000047f0| 69 66 20 30 0a 2b 20 23 | 75 6e 64 65 66 20 53 45 |if 0.+ #|undef SE|
|00004800| 4c 45 43 54 5f 52 54 58 | 5f 53 45 43 54 49 4f 4e |LECT_RTX|_SECTION|
|00004810| 0a 2b 20 23 64 65 66 69 | 6e 65 20 53 45 4c 45 43 |.+ #defi|ne SELEC|
|00004820| 54 5f 52 54 58 5f 53 45 | 43 54 49 4f 4e 28 4d 4f |T_RTX_SE|CTION(MO|
|00004830| 44 45 2c 20 58 29 09 09 | 09 09 09 5c 0a 2b 20 7b |DE, X)..|...\.+ {|
|00004840| 09 09 09 09 09 09 09 09 | 09 5c 0a 2b 20 20 20 69 |........|.\.+ i|
|00004850| 66 20 28 21 66 6c 61 67 | 5f 70 69 63 20 7c 7c 20 |f (!flag|_pic || |
|00004860| 4c 45 47 49 54 49 4d 41 | 54 45 5f 42 41 53 45 52 |LEGITIMA|TE_BASER|
|00004870| 45 4c 5f 4f 50 45 52 41 | 4e 44 5f 50 20 28 58 29 |EL_OPERA|ND_P (X)|
|00004880| 29 09 09 09 5c 0a 2b 20 | 20 20 20 20 72 65 61 64 |)...\.+ | read|
|00004890| 6f 6e 6c 79 5f 64 61 74 | 61 5f 73 65 63 74 69 6f |only_dat|a_sectio|
|000048a0| 6e 28 29 3b 09 09 09 09 | 09 09 5c 0a 2b 20 20 20 |n();....|..\.+ |
|000048b0| 65 6c 73 65 20 69 66 20 | 28 4c 45 47 49 54 49 4d |else if |(LEGITIM|
|000048c0| 41 54 45 5f 50 49 43 5f | 4f 50 45 52 41 4e 44 5f |ATE_PIC_|OPERAND_|
|000048d0| 50 20 28 58 29 29 09 09 | 09 09 5c 0a 2b 20 20 20 |P (X))..|..\.+ |
|000048e0| 20 20 72 65 61 64 6f 6e | 6c 79 5f 64 61 74 61 5f | readon|ly_data_|
|000048f0| 73 65 63 74 69 6f 6e 28 | 29 3b 09 09 09 09 09 09 |section(|);......|
|00004900| 5c 0a 2b 20 20 20 65 6c | 73 65 09 09 09 09 09 09 |\.+ el|se......|
|00004910| 09 09 09 5c 0a 2b 20 20 | 20 20 20 64 61 74 61 5f |...\.+ | data_|
|00004920| 73 65 63 74 69 6f 6e 28 | 29 3b 09 09 09 09 09 09 |section(|);......|
|00004930| 09 5c 0a 2b 20 7d 0a 2b | 20 23 65 6c 73 65 0a 2b |.\.+ }.+| #else.+|
|00004940| 20 23 75 6e 64 65 66 20 | 53 45 4c 45 43 54 5f 52 | #undef |SELECT_R|
|00004950| 54 58 5f 53 45 43 54 49 | 4f 4e 0a 2b 20 23 64 65 |TX_SECTI|ON.+ #de|
|00004960| 66 69 6e 65 20 53 45 4c | 45 43 54 5f 52 54 58 5f |fine SEL|ECT_RTX_|
|00004970| 53 45 43 54 49 4f 4e 28 | 4d 4f 44 45 2c 20 58 29 |SECTION(|MODE, X)|
|00004980| 20 72 65 61 64 6f 6e 6c | 79 5f 64 61 74 61 5f 73 | readonl|y_data_s|
|00004990| 65 63 74 69 6f 6e 20 28 | 29 3b 0a 2b 20 23 65 6e |ection (|);.+ #en|
|000049a0| 64 69 66 0a 2b 20 0a 2b | 20 2f 2a 20 61 63 63 6f |dif.+ .+| /* acco|
|000049b0| 72 64 69 6e 67 20 74 6f | 20 76 61 72 61 73 6d 2e |rding to| varasm.|
|000049c0| 63 2c 20 52 45 4c 4f 43 | 20 72 65 66 65 72 72 73 |c, RELOC| referrs|
|000049d0| 20 2a 6f 6e 6c 79 2a 20 | 74 6f 20 77 68 65 74 68 | *only* |to wheth|
|000049e0| 65 72 20 63 6f 6e 73 74 | 61 6e 74 73 20 28 21 29 |er const|ants (!)|
|000049f0| 0a 2b 20 20 20 20 61 72 | 65 20 61 64 64 72 65 73 |.+ ar|e addres|
|00004a00| 73 65 64 20 62 79 20 61 | 64 64 72 65 73 73 2e 20 |sed by a|ddress. |
|00004a10| 54 68 69 73 20 64 6f 65 | 73 6e 27 74 20 6d 61 74 |This doe|sn't mat|
|00004a20| 74 65 72 20 69 6e 20 62 | 61 73 65 72 65 6c 61 74 |ter in b|aserelat|
|00004a30| 69 76 65 20 63 6f 64 65 | 2c 0a 2b 20 20 20 20 73 |ive code|,.+ s|
|00004a40| 6f 20 77 65 20 61 6c 6c | 6f 77 20 28 69 6e 73 70 |o we all|ow (insp|
|00004a50| 69 74 65 20 6f 66 20 66 | 6c 61 67 5f 70 69 63 29 |ite of f|lag_pic)|
|00004a60| 20 72 65 61 64 6f 6e 6c | 79 5f 64 61 74 61 5f 73 | readonl|y_data_s|
|00004a70| 65 63 74 69 6f 6e 28 29 | 20 69 6e 20 74 68 61 74 |ection()| in that|
|00004a80| 0a 2b 20 20 20 20 63 61 | 73 65 20 2a 2f 0a 2b 20 |.+ ca|se */.+ |
|00004a90| 0a 2b 20 23 75 6e 64 65 | 66 20 53 45 4c 45 43 54 |.+ #unde|f SELECT|
|00004aa0| 5f 53 45 43 54 49 4f 4e | 0a 2b 20 23 64 65 66 69 |_SECTION|.+ #defi|
|00004ab0| 6e 65 20 53 45 4c 45 43 | 54 5f 53 45 43 54 49 4f |ne SELEC|T_SECTIO|
|00004ac0| 4e 28 44 45 43 4c 2c 20 | 52 45 4c 4f 43 29 09 09 |N(DECL, |RELOC)..|
|00004ad0| 09 09 09 5c 0a 2b 20 7b | 09 09 09 09 09 09 09 09 |...\.+ {|........|
|00004ae0| 09 5c 0a 2b 20 20 20 69 | 66 20 28 54 52 45 45 5f |.\.+ i|f (TREE_|
|00004af0| 43 4f 44 45 20 28 44 45 | 43 4c 29 20 3d 3d 20 53 |CODE (DE|CL) == S|
|00004b00| 54 52 49 4e 47 5f 43 53 | 54 29 09 09 09 09 09 5c |TRING_CS|T).....\|
|00004b10| 0a 2b 20 20 20 20 20 7b | 09 09 09 09 09 09 09 09 |.+ {|........|
|00004b20| 09 5c 0a 2b 20 20 20 20 | 20 20 20 69 66 20 28 21 |.\.+ | if (!|
|00004b30| 20 66 6c 61 67 5f 77 72 | 69 74 61 62 6c 65 5f 73 | flag_wr|itable_s|
|00004b40| 74 72 69 6e 67 73 29 09 | 09 09 09 09 5c 0a 2b 20 |trings).|....\.+ |
|00004b50| 09 72 65 61 64 6f 6e 6c | 79 5f 64 61 74 61 5f 73 |.readonl|y_data_s|
|00004b60| 65 63 74 69 6f 6e 20 28 | 29 3b 09 09 09 09 09 5c |ection (|);.....\|
|00004b70| 0a 2b 20 20 20 20 20 20 | 20 65 6c 73 65 09 09 09 |.+ | else...|
|00004b80| 09 09 09 09 09 5c 0a 2b | 20 09 64 61 74 61 5f 73 |.....\.+| .data_s|
|00004b90| 65 63 74 69 6f 6e 20 28 | 29 3b 09 09 09 09 09 09 |ection (|);......|
|00004ba0| 5c 0a 2b 20 20 20 20 20 | 7d 09 09 09 09 09 09 09 |\.+ |}.......|
|00004bb0| 09 09 5c 0a 2b 20 20 20 | 65 6c 73 65 20 69 66 20 |..\.+ |else if |
|00004bc0| 28 54 52 45 45 5f 43 4f | 44 45 20 28 44 45 43 4c |(TREE_CO|DE (DECL|
|00004bd0| 29 20 3d 3d 20 56 41 52 | 5f 44 45 43 4c 29 09 09 |) == VAR|_DECL)..|
|00004be0| 09 09 5c 0a 2b 20 20 20 | 20 20 7b 09 09 09 09 09 |..\.+ | {.....|
|00004bf0| 09 09 09 09 5c 0a 2b 20 | 20 20 20 20 20 20 69 66 |....\.+ | if|
|00004c00| 20 28 28 66 6c 61 67 5f | 70 69 63 20 26 26 20 66 | ((flag_|pic && f|
|00004c10| 6c 61 67 5f 70 69 63 20 | 21 3d 20 33 20 26 26 20 |lag_pic |!= 3 && |
|00004c20| 52 45 4c 4f 43 29 09 09 | 09 09 5c 0a 2b 20 09 20 |RELOC)..|..\.+ . |
|00004c30| 20 7c 7c 20 21 54 52 45 | 45 5f 52 45 41 44 4f 4e | || !TRE|E_READON|
|00004c40| 4c 59 20 28 44 45 43 4c | 29 20 7c 7c 20 54 52 45 |LY (DECL|) || TRE|
|00004c50| 45 5f 53 49 44 45 5f 45 | 46 46 45 43 54 53 20 28 |E_SIDE_E|FFECTS (|
|00004c60| 44 45 43 4c 29 29 09 09 | 5c 0a 2b 20 09 64 61 74 |DECL))..|\.+ .dat|
|00004c70| 61 5f 73 65 63 74 69 6f | 6e 20 28 29 3b 09 09 09 |a_sectio|n ();...|
|00004c80| 09 09 09 5c 0a 2b 20 20 | 20 20 20 20 20 65 6c 73 |...\.+ | els|
|00004c90| 65 09 09 09 09 09 09 09 | 09 5c 0a 2b 20 09 72 65 |e.......|.\.+ .re|
|00004ca0| 61 64 6f 6e 6c 79 5f 64 | 61 74 61 5f 73 65 63 74 |adonly_d|ata_sect|
|00004cb0| 69 6f 6e 20 28 29 3b 09 | 09 09 09 09 5c 0a 2b 20 |ion ();.|....\.+ |
|00004cc0| 20 20 20 20 7d 09 09 09 | 09 09 09 09 09 09 5c 0a | }...|......\.|
|00004cd0| 2b 20 20 20 65 6c 73 65 | 09 09 09 09 09 09 09 09 |+ else|........|
|00004ce0| 09 5c 0a 2b 20 20 20 20 | 20 72 65 61 64 6f 6e 6c |.\.+ | readonl|
|00004cf0| 79 5f 64 61 74 61 5f 73 | 65 63 74 69 6f 6e 20 28 |y_data_s|ection (|
|00004d00| 29 3b 09 09 09 09 09 09 | 5c 0a 2b 20 7d 0a 2b 20 |);......|\.+ }.+ |
|00004d10| 0a 2b 20 0a 2b 20 0a 2b | 20 2f 2a 20 73 74 61 72 |.+ .+ .+| /* star|
|00004d20| 74 69 6e 67 20 73 75 70 | 70 6f 72 74 20 66 6f 72 |ting sup|port for|
|00004d30| 20 61 6d 69 67 61 20 73 | 70 65 63 69 66 69 63 20 | amiga s|pecific |
|00004d40| 6b 65 79 77 6f 72 64 73 | 20 28 4e 4f 54 20 43 55 |keywords| (NOT CU|
|00004d50| 52 52 45 4e 54 4c 59 20 | 57 4f 52 4b 49 4e 47 21 |RRENTLY |WORKING!|
|00004d60| 29 0a 2b 20 20 2a 20 2d | 2d 2d 2d 2d 2d 2d 2d 2d |).+ * -|--------|
|00004d70| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004d80| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004d90| 2d 2d 2d 0a 2b 20 20 2a | 2f 0a 2b 20 0a 2b 20 2f |---.+ *|/.+ .+ /|
|00004da0| 2a 20 76 61 6c 69 64 61 | 74 65 20 61 74 74 72 69 |* valida|te attri|
|00004db0| 62 75 74 65 73 20 74 68 | 61 74 20 64 6f 6e 27 74 |butes th|at don't|
|00004dc0| 20 74 61 6b 65 20 61 20 | 70 61 72 61 6d 65 74 65 | take a |paramete|
|00004dd0| 72 2e 20 43 75 72 72 65 | 6e 74 6c 79 20 77 65 20 |r. Curre|ntly we |
|00004de0| 73 75 70 70 6f 72 74 0a | 2b 20 20 2a 20 5f 5f 61 |support.|+ * __a|
|00004df0| 74 74 72 69 62 75 74 65 | 5f 5f 20 28 73 61 76 65 |ttribute|__ (save|
|00004e00| 64 73 29 20 61 6e 64 20 | 5f 5f 61 74 74 72 69 62 |ds) and |__attrib|
|00004e10| 75 74 65 5f 5f 20 28 69 | 6e 74 65 72 72 75 70 74 |ute__ (i|nterrupt|
|00004e20| 29 0a 2b 20 20 2a 2f 0a | 2b 20 23 64 65 66 69 6e |).+ */.|+ #defin|
|00004e30| 65 20 48 41 4e 44 4c 45 | 5f 41 54 54 52 49 42 55 |e HANDLE|_ATTRIBU|
|00004e40| 54 45 30 28 61 74 74 72 | 29 20 5c 0a 2b 20 20 20 |TE0(attr|) \.+ |
|00004e50| 28 73 74 72 63 6d 70 28 | 61 74 74 72 2c 20 22 73 |(strcmp(|attr, "s|
|00004e60| 61 76 65 64 73 22 29 20 | 21 3d 20 30 20 26 26 20 |aveds") |!= 0 && |
|00004e70| 73 74 72 63 6d 70 28 61 | 74 74 72 2c 20 22 69 6e |strcmp(a|ttr, "in|
|00004e80| 74 65 72 72 75 70 74 22 | 29 20 21 3d 20 30 29 0a |terrupt"|) != 0).|
|00004e90| 2b 20 0a 2b 20 2f 2a 20 | 28 63 2d 63 6f 6d 6d 6f |+ .+ /* |(c-commo|
|00004ea0| 6e 2e 63 29 0a 2b 20 20 | 2a 20 69 6e 73 74 61 6c |n.c).+ |* instal|
|00004eb0| 6c 20 61 64 64 69 74 69 | 6f 6e 61 6c 20 61 74 74 |l additi|onal att|
|00004ec0| 72 69 62 75 74 65 73 0a | 2b 20 20 2a 2f 0a 2b 20 |ributes.|+ */.+ |
|00004ed0| 23 64 65 66 69 6e 65 20 | 48 41 4e 44 4c 45 5f 45 |#define |HANDLE_E|
|00004ee0| 58 54 52 41 5f 41 54 54 | 52 49 42 55 54 45 53 28 |XTRA_ATT|RIBUTES(|
|00004ef0| 61 29 20 09 09 09 09 09 | 09 5c 0a 2b 20 20 20 69 |a) .....|.\.+ i|
|00004f00| 66 20 28 54 52 45 45 5f | 56 41 4c 55 45 20 28 61 |f (TREE_|VALUE (a|
|00004f10| 29 20 21 3d 20 30 09 09 | 09 09 09 09 09 5c 0a 2b |) != 0..|.....\.+|
|00004f20| 20 20 20 20 20 20 20 26 | 26 20 54 52 45 45 5f 43 | &|& TREE_C|
|00004f30| 4f 44 45 20 28 54 52 45 | 45 5f 56 41 4c 55 45 20 |ODE (TRE|E_VALUE |
|00004f40| 28 61 29 29 20 3d 3d 20 | 49 44 45 4e 54 49 46 49 |(a)) == |IDENTIFI|
|00004f50| 45 52 5f 4e 4f 44 45 09 | 09 09 09 5c 0a 2b 20 20 |ER_NODE.|...\.+ |
|00004f60| 20 20 20 20 20 26 26 20 | 54 52 45 45 5f 56 41 4c | && |TREE_VAL|
|00004f70| 55 45 20 28 61 29 20 3d | 3d 20 67 65 74 5f 69 64 |UE (a) =|= get_id|
|00004f80| 65 6e 74 69 66 69 65 72 | 20 28 22 73 61 76 65 64 |entifier| ("saved|
|00004f90| 73 22 29 29 09 09 09 09 | 5c 0a 2b 20 20 20 20 20 |s"))....|\.+ |
|00004fa0| 7b 09 09 09 09 09 09 09 | 09 09 09 5c 0a 2b 20 20 |{.......|...\.+ |
|00004fb0| 20 20 20 20 20 69 66 20 | 28 54 52 45 45 5f 43 4f | if |(TREE_CO|
|00004fc0| 44 45 20 28 64 65 63 6c | 29 20 21 3d 20 46 55 4e |DE (decl|) != FUN|
|00004fd0| 43 54 49 4f 4e 5f 44 45 | 43 4c 29 09 09 09 09 09 |CTION_DE|CL).....|
|00004fe0| 5c 0a 2b 20 20 20 20 20 | 20 20 20 20 7b 09 09 09 |\.+ | {...|
|00004ff0| 09 09 09 09 09 09 5c 0a | 2b 20 20 20 20 20 20 20 |......\.|+ |
|00005000| 20 20 20 20 77 61 72 6e | 69 6e 67 5f 77 69 74 68 | warn|ing_with|
|00005010| 5f 64 65 63 6c 20 28 64 | 65 63 6c 2c 09 09 09 09 |_decl (d|ecl,....|
|00005020| 09 09 5c 0a 2b 20 20 20 | 20 20 20 20 20 20 20 20 |..\.+ | |
|00005030| 20 20 20 20 22 73 61 76 | 65 64 73 20 61 74 74 72 | "sav|eds attr|
|00005040| 69 62 75 74 65 20 73 70 | 65 63 69 66 69 65 64 20 |ibute sp|ecified |
|00005050| 66 6f 72 20 6e 6f 6e 2d | 66 75 6e 63 74 69 6f 6e |for non-|function|
|00005060| 20 60 25 73 27 22 29 3b | 09 09 5c 0a 2b 20 09 20 | `%s'");|..\.+ . |
|00005070| 20 72 65 74 75 72 6e 3b | 09 09 09 09 09 09 09 09 | return;|........|
|00005080| 5c 0a 2b 20 20 20 20 20 | 20 20 20 20 7d 09 09 09 |\.+ | }...|
|00005090| 09 09 09 09 09 09 5c 0a | 2b 20 20 20 20 20 20 20 |......\.|+ |
|000050a0| 09 09 09 09 09 09 09 09 | 09 09 5c 0a 2b 20 20 20 |........|..\.+ |
|000050b0| 20 20 20 20 61 74 74 72 | 5f 64 6f 5f 73 61 76 65 | attr|_do_save|
|000050c0| 64 73 20 28 44 45 43 4c | 5f 4e 41 4d 45 20 28 64 |ds (DECL|_NAME (d|
|000050d0| 65 63 6c 29 29 3b 09 09 | 09 09 09 5c 0a 2b 20 20 |ecl));..|...\.+ |
|000050e0| 20 20 20 7d 09 09 09 09 | 09 09 09 09 09 09 5c 0a | }....|......\.|
|000050f0| 2b 20 20 20 65 6c 73 65 | 20 69 66 20 28 54 52 45 |+ else| if (TRE|
|00005100| 45 5f 56 41 4c 55 45 20 | 28 61 29 20 21 3d 20 30 |E_VALUE |(a) != 0|
|00005110| 09 09 09 09 09 09 09 5c | 0a 2b 20 20 20 20 20 20 |.......\|.+ |
|00005120| 20 26 26 20 54 52 45 45 | 5f 43 4f 44 45 20 28 54 | && TREE|_CODE (T|
|00005130| 52 45 45 5f 56 41 4c 55 | 45 20 28 61 29 29 20 3d |REE_VALU|E (a)) =|
|00005140| 3d 20 49 44 45 4e 54 49 | 46 49 45 52 5f 4e 4f 44 |= IDENTI|FIER_NOD|
|00005150| 45 09 09 09 09 5c 0a 2b | 20 20 20 20 20 20 20 26 |E....\.+| &|
|00005160| 26 20 54 52 45 45 5f 56 | 41 4c 55 45 20 28 61 29 |& TREE_V|ALUE (a)|
|00005170| 20 3d 3d 20 67 65 74 5f | 69 64 65 6e 74 69 66 69 | == get_|identifi|
|00005180| 65 72 20 28 22 69 6e 74 | 65 72 72 75 70 74 22 29 |er ("int|errupt")|
|00005190| 29 09 09 09 5c 0a 2b 20 | 20 20 20 20 7b 09 09 09 |)...\.+ | {...|
|000051a0| 09 09 09 09 09 09 09 5c | 0a 2b 20 20 20 20 20 20 |.......\|.+ |
|000051b0| 20 69 66 20 28 54 52 45 | 45 5f 43 4f 44 45 20 28 | if (TRE|E_CODE (|
|000051c0| 64 65 63 6c 29 20 21 3d | 20 46 55 4e 43 54 49 4f |decl) !=| FUNCTIO|
|000051d0| 4e 5f 44 45 43 4c 29 09 | 09 09 09 09 5c 0a 2b 20 |N_DECL).|....\.+ |
|000051e0| 20 20 20 20 20 20 20 20 | 7b 09 09 09 09 09 09 09 | |{.......|
|000051f0| 09 09 5c 0a 2b 20 20 20 | 20 20 20 20 20 20 20 20 |..\.+ | |
|00005200| 77 61 72 6e 69 6e 67 5f | 77 69 74 68 5f 64 65 63 |warning_|with_dec|
|00005210| 6c 20 28 64 65 63 6c 2c | 09 09 09 09 09 09 5c 0a |l (decl,|......\.|
|00005220| 2b 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |+ | |
|00005230| 22 73 61 76 65 64 73 20 | 61 74 74 72 69 62 75 74 |"saveds |attribut|
|00005240| 65 20 73 70 65 63 69 66 | 69 65 64 20 66 6f 72 20 |e specif|ied for |
|00005250| 6e 6f 6e 2d 66 75 6e 63 | 74 69 6f 6e 20 60 25 73 |non-func|tion `%s|
|00005260| 27 22 29 3b 09 09 5c 0a | 2b 20 09 20 20 72 65 74 |'");..\.|+ . ret|
|00005270| 75 72 6e 3b 09 09 09 09 | 09 09 09 09 5c 0a 2b 20 |urn;....|....\.+ |
|00005280| 20 20 20 20 20 20 20 20 | 7d 09 09 09 09 09 09 09 | |}.......|
|00005290| 09 09 5c 0a 2b 20 20 20 | 20 20 20 20 09 09 09 09 |..\.+ | ....|
|000052a0| 09 09 09 09 09 09 5c 0a | 2b 20 20 20 20 20 20 20 |......\.|+ |
|000052b0| 61 74 74 72 5f 64 6f 5f | 69 6e 74 65 72 72 75 70 |attr_do_|interrup|
|000052c0| 74 20 28 44 45 43 4c 5f | 4e 41 4d 45 20 28 64 65 |t (DECL_|NAME (de|
|000052d0| 63 6c 29 29 3b 09 09 09 | 09 09 5c 0a 2b 20 20 20 |cl));...|..\.+ |
|000052e0| 20 20 7d 09 09 09 09 09 | 09 09 09 09 09 5c 0a 2b | }.....|.....\.+|
|000052f0| 20 0a 2b 20 0a 2b 20 23 | 64 65 66 69 6e 65 20 50 | .+ .+ #|define P|
|00005300| 52 4f 4c 4f 47 55 45 5f | 45 58 54 52 41 5f 53 41 |ROLOGUE_|EXTRA_SA|
|00005310| 56 45 28 6d 61 73 6b 29 | 09 09 09 09 09 09 5c 0a |VE(mask)|......\.|
|00005320| 2b 20 20 20 7b 20 65 78 | 74 65 72 6e 20 63 68 61 |+ { ex|tern cha|
|00005330| 72 20 2a 63 75 72 72 65 | 6e 74 5f 66 75 6e 63 74 |r *curre|nt_funct|
|00005340| 69 6f 6e 5f 6e 61 6d 65 | 3b 09 09 09 09 09 09 5c |ion_name|;......\|
|00005350| 0a 2b 20 20 20 20 20 2f | 2a 20 73 61 76 65 64 73 |.+ /|* saveds|
|00005360| 20 6d 61 6b 65 73 20 74 | 68 65 20 66 75 6e 63 74 | makes t|he funct|
|00005370| 69 6f 6e 20 70 72 65 73 | 65 72 76 65 20 64 31 2f |ion pres|erve d1/|
|00005380| 61 30 2f 61 31 20 61 73 | 20 77 65 6c 6c 20 2a 2f |a0/a1 as| well */|
|00005390| 09 09 09 5c 0a 2b 20 20 | 20 20 20 69 66 20 28 61 |...\.+ | if (a|
|000053a0| 74 74 72 5f 64 6f 65 73 | 5f 73 61 76 65 64 73 20 |ttr_does|_saveds |
|000053b0| 28 63 75 72 72 65 6e 74 | 5f 66 75 6e 63 74 69 6f |(current|_functio|
|000053c0| 6e 5f 6e 61 6d 65 29 29 | 09 09 09 09 5c 0a 2b 20 |n_name))|....\.+ |
|000053d0| 20 20 20 20 20 20 6d 61 | 73 6b 20 7c 3d 20 30 78 | ma|sk |= 0x|
|000053e0| 34 30 63 30 3b 20 7d 09 | 09 09 09 09 09 09 09 5c |40c0; }.|.......\|
|000053f0| 0a 2b 20 0a 2b 20 0a 2b | 20 23 64 65 66 69 6e 65 |.+ .+ .+| #define|
|00005400| 20 45 50 49 4c 4f 47 55 | 45 5f 45 58 54 52 41 5f | EPILOGU|E_EXTRA_|
|00005410| 52 45 53 54 4f 52 45 28 | 6d 61 73 6b 2c 20 6e 72 |RESTORE(|mask, nr|
|00005420| 65 67 73 29 09 09 09 09 | 09 5c 0a 2b 20 20 20 7b |egs)....|.\.+ {|
|00005430| 20 65 78 74 65 72 6e 20 | 63 68 61 72 20 2a 63 75 | extern |char *cu|
|00005440| 72 72 65 6e 74 5f 66 75 | 6e 63 74 69 6f 6e 5f 6e |rrent_fu|nction_n|
|00005450| 61 6d 65 3b 09 09 09 09 | 09 09 5c 0a 2b 20 20 20 |ame;....|..\.+ |
|00005460| 20 20 2f 2a 20 72 65 73 | 74 6f 72 65 20 74 68 6f | /* res|tore tho|
|00005470| 73 65 20 65 78 74 72 61 | 20 72 65 67 69 73 74 65 |se extra| registe|
|00005480| 72 73 20 2a 2f 09 09 09 | 09 09 09 5c 0a 2b 20 20 |rs */...|...\.+ |
|00005490| 20 20 20 69 66 20 28 61 | 74 74 72 5f 64 6f 65 73 | if (a|ttr_does|
|000054a0| 5f 73 61 76 65 64 73 20 | 28 63 75 72 72 65 6e 74 |_saveds |(current|
|000054b0| 5f 66 75 6e 63 74 69 6f | 6e 5f 6e 61 6d 65 29 29 |_functio|n_name))|
|000054c0| 09 09 09 09 5c 0a 2b 20 | 20 20 20 20 20 20 7b 09 |....\.+ | {.|
|000054d0| 09 09 09 09 09 09 09 09 | 09 5c 0a 2b 20 09 6d 61 |........|.\.+ .ma|
|000054e0| 73 6b 20 7c 3d 20 30 78 | 30 33 30 32 3b 09 09 09 |sk |= 0x|0302;...|
|000054f0| 09 09 09 09 09 5c 0a 2b | 20 09 6e 72 65 67 73 20 |.....\.+| .nregs |
|00005500| 2b 3d 20 33 3b 09 09 09 | 09 09 09 09 09 5c 0a 2b |+= 3;...|.....\.+|
|00005510| 20 20 20 20 20 20 20 7d | 20 7d 09 09 09 09 09 09 | }| }......|
|00005520| 09 09 09 5c 0a 2b 20 0a | 2b 20 0a 2b 20 23 64 65 |...\.+ .|+ .+ #de|
|00005530| 66 69 6e 65 20 45 50 49 | 4c 4f 47 55 45 5f 45 58 |fine EPI|LOGUE_EX|
|00005540| 54 52 41 5f 42 41 52 52 | 49 45 52 5f 4b 4c 55 44 |TRA_BARR|IER_KLUD|
|00005550| 47 45 28 73 74 72 65 61 | 6d 29 09 09 09 09 09 5c |GE(strea|m).....\|
|00005560| 0a 2b 20 20 20 7b 20 65 | 78 74 65 72 6e 20 63 68 |.+ { e|xtern ch|
|00005570| 61 72 20 2a 63 75 72 72 | 65 6e 74 5f 66 75 6e 63 |ar *curr|ent_func|
|00005580| 74 69 6f 6e 5f 6e 61 6d | 65 3b 09 09 09 09 09 09 |tion_nam|e;......|
|00005590| 5c 0a 2b 20 20 20 20 20 | 2f 2a 20 50 4c 45 41 53 |\.+ |/* PLEAS|
|000055a0| 45 20 48 65 6c 70 21 20 | 68 6f 77 20 69 73 20 74 |E Help! |how is t|
|000055b0| 68 69 73 20 64 6f 6e 65 | 20 63 6c 65 61 6e 65 72 |his done| cleaner|
|000055c0| 3f 3f 20 2a 2f 09 09 09 | 09 5c 0a 2b 20 20 20 20 |?? */...|.\.+ |
|000055d0| 20 69 66 20 28 61 74 74 | 72 5f 64 6f 65 73 5f 73 | if (att|r_does_s|
|000055e0| 61 76 65 64 73 20 28 63 | 75 72 72 65 6e 74 5f 66 |aveds (c|urrent_f|
|000055f0| 75 6e 63 74 69 6f 6e 5f | 6e 61 6d 65 29 29 09 09 |unction_|name))..|
|00005600| 09 09 5c 0a 2b 20 20 20 | 20 20 20 20 7b 09 09 09 |..\.+ | {...|
|00005610| 09 09 09 09 09 09 09 5c | 0a 2b 20 09 66 70 72 69 |.......\|.+ .fpri|
|00005620| 6e 74 66 20 28 73 74 64 | 65 72 72 2c 20 09 09 09 |ntf (std|err, ...|
|00005630| 09 09 09 09 5c 0a 2b 20 | 09 09 20 22 77 61 72 6e |....\.+ |.. "warn|
|00005640| 69 6e 67 3a 20 63 6f 75 | 6c 64 6e 27 74 20 63 6c |ing: cou|ldn't cl|
|00005650| 65 61 6e 75 70 20 60 73 | 61 76 65 64 73 27 2d 73 |eanup `s|aveds'-s|
|00005660| 74 61 63 6b 20 69 6e 20 | 60 25 73 27 2e 5c 6e 22 |tack in |`%s'.\n"|
|00005670| 29 3b 09 5c 0a 2b 20 09 | 66 70 72 69 6e 74 66 20 |);.\.+ .|fprintf |
|00005680| 28 73 74 64 65 72 72 2c | 09 09 09 09 09 09 09 5c |(stderr,|.......\|
|00005690| 0a 2b 20 09 09 20 22 20 | 20 20 20 20 20 20 20 20 |.+ .. " | |
|000056a0| 74 68 69 73 20 69 73 20 | 6f 6e 6c 79 20 6f 6b 2c |this is |only ok,|
|000056b0| 20 69 66 20 74 68 65 20 | 66 75 6e 63 74 69 6f 6e | if the |function|
|000056c0| 20 6e 65 76 65 72 20 72 | 65 74 75 72 6e 73 21 5c | never r|eturns!\|
|000056d0| 6e 22 29 3b 09 5c 0a 2b | 20 20 20 20 20 20 20 7d |n");.\.+| }|
|000056e0| 09 7d 09 09 09 09 09 09 | 09 09 09 5c 0a 2b 20 20 |.}......|...\.+ |
|000056f0| 20 20 20 20 20 20 20 0a | 2b 20 0a 2b 20 23 64 65 | .|+ .+ #de|
|00005700| 66 69 6e 65 20 45 50 49 | 4c 4f 47 55 45 5f 45 58 |fine EPI|LOGUE_EX|
|00005710| 54 52 41 5f 54 45 53 54 | 28 73 74 72 65 61 6d 29 |TRA_TEST|(stream)|
|00005720| 09 09 09 09 09 09 5c 0a | 2b 20 20 20 7b 20 65 78 |......\.|+ { ex|
|00005730| 74 65 72 6e 20 63 68 61 | 72 20 2a 63 75 72 72 65 |tern cha|r *curre|
|00005740| 6e 74 5f 66 75 6e 63 74 | 69 6f 6e 5f 6e 61 6d 65 |nt_funct|ion_name|
|00005750| 3b 09 09 09 09 09 09 5c | 0a 2b 20 20 20 20 20 2f |;......\|.+ /|
|00005760| 2a 20 77 69 74 68 20 74 | 68 65 20 69 6e 74 65 72 |* with t|he inter|
|00005770| 72 75 70 74 2d 61 74 74 | 72 69 62 75 74 65 2c 20 |rupt-att|ribute, |
|00005780| 77 65 20 68 61 76 65 20 | 74 6f 20 73 65 74 20 74 |we have |to set t|
|00005790| 68 65 20 63 63 20 62 65 | 66 6f 72 65 20 72 74 73 |he cc be|fore rts|
|000057a0| 20 2a 2f 09 5c 0a 2b 20 | 20 20 20 20 69 66 20 28 | */.\.+ | if (|
|000057b0| 61 74 74 72 5f 64 6f 65 | 73 5f 69 6e 74 65 72 72 |attr_doe|s_interr|
|000057c0| 75 70 74 20 28 63 75 72 | 72 65 6e 74 5f 66 75 6e |upt (cur|rent_fun|
|000057d0| 63 74 69 6f 6e 5f 6e 61 | 6d 65 29 29 09 09 09 09 |ction_na|me))....|
|000057e0| 5c 0a 2b 20 20 20 20 20 | 20 20 61 73 6d 5f 66 70 |\.+ | asm_fp|
|000057f0| 72 69 6e 74 66 20 28 73 | 74 72 65 61 6d 2c 20 22 |rintf (s|tream, "|
|00005800| 5c 74 74 73 74 6c 20 25 | 73 5c 6e 22 2c 20 72 65 |\ttstl %|s\n", re|
|00005810| 67 5f 6e 61 6d 65 73 5b | 30 5d 29 3b 20 7d 09 09 |g_names[|0]); }..|
|00005820| 09 5c 0a 2b 20 0a 64 69 | 66 66 20 2d 32 72 63 4e |.\.+ .di|ff -2rcN|
|00005830| 20 64 68 35 3a 67 63 63 | 2d 32 2e 31 2e 6f 72 69 | dh5:gcc|-2.1.ori|
|00005840| 67 2f 63 6f 6e 66 69 67 | 2f 6d 36 38 6b 2e 63 20 |g/config|/m68k.c |
|00005850| 67 63 63 2d 32 2e 31 2f | 63 6f 6e 66 69 67 2f 6d |gcc-2.1/|config/m|
|00005860| 36 38 6b 2e 63 0a 2a 2a | 2a 20 64 68 35 3a 67 63 |68k.c.**|* dh5:gc|
|00005870| 63 2d 32 2e 31 2e 6f 72 | 69 67 2f 63 6f 6e 66 69 |c-2.1.or|ig/confi|
|00005880| 67 2f 6d 36 38 6b 2e 63 | 09 4d 6f 6e 20 41 70 72 |g/m68k.c|.Mon Apr|
|00005890| 20 32 30 20 30 32 3a 33 | 35 3a 33 38 20 31 39 39 | 20 02:3|5:38 199|
|000058a0| 32 0a 2d 2d 2d 20 67 63 | 63 2d 32 2e 31 2f 63 6f |2.--- gc|c-2.1/co|
|000058b0| 6e 66 69 67 2f 6d 36 38 | 6b 2e 63 09 53 61 74 20 |nfig/m68|k.c.Sat |
|000058c0| 41 70 72 20 31 38 20 32 | 31 3a 35 38 3a 32 31 20 |Apr 18 2|1:58:21 |
|000058d0| 31 39 39 32 0a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |1992.***|********|
|000058e0| 2a 2a 2a 2a 0a 2a 2a 2a | 20 35 37 2c 36 31 20 2a |****.***| 57,61 *|
|000058f0| 2a 2a 2a 0a 20 20 66 69 | 6e 61 6c 69 7a 65 5f 70 |***. fi|nalize_p|
|00005900| 69 63 20 28 29 0a 20 20 | 7b 0a 21 20 20 20 69 66 |ic (). |{.! if|
|00005910| 20 28 66 6c 61 67 5f 70 | 69 63 20 26 26 20 63 75 | (flag_p|ic && cu|
|00005920| 72 72 65 6e 74 5f 66 75 | 6e 63 74 69 6f 6e 5f 75 |rrent_fu|nction_u|
|00005930| 73 65 73 5f 70 69 63 5f | 6f 66 66 73 65 74 5f 74 |ses_pic_|offset_t|
|00005940| 61 62 6c 65 29 0a 20 20 | 20 20 20 20 65 6d 69 74 |able). | emit|
|00005950| 5f 69 6e 73 6e 20 28 67 | 65 6e 5f 72 74 78 20 28 |_insn (g|en_rtx (|
|00005960| 55 53 45 2c 20 56 4f 49 | 44 6d 6f 64 65 2c 20 70 |USE, VOI|Dmode, p|
|00005970| 69 63 5f 6f 66 66 73 65 | 74 5f 74 61 62 6c 65 5f |ic_offse|t_table_|
|00005980| 72 74 78 29 29 3b 0a 20 | 20 7d 0a 2d 2d 2d 20 35 |rtx));. | }.--- 5|
|00005990| 37 2c 36 31 20 2d 2d 2d | 2d 0a 20 20 66 69 6e 61 |7,61 ---|-. fina|
|000059a0| 6c 69 7a 65 5f 70 69 63 | 20 28 29 0a 20 20 7b 0a |lize_pic| (). {.|
|000059b0| 21 20 20 20 69 66 20 28 | 66 6c 61 67 5f 70 69 63 |! if (|flag_pic|
|000059c0| 20 26 26 20 28 66 6c 61 | 67 5f 70 69 63 20 3c 20 | && (fla|g_pic < |
|000059d0| 33 29 20 26 26 20 63 75 | 72 72 65 6e 74 5f 66 75 |3) && cu|rrent_fu|
|000059e0| 6e 63 74 69 6f 6e 5f 75 | 73 65 73 5f 70 69 63 5f |nction_u|ses_pic_|
|000059f0| 6f 66 66 73 65 74 5f 74 | 61 62 6c 65 29 0a 20 20 |offset_t|able). |
|00005a00| 20 20 20 20 65 6d 69 74 | 5f 69 6e 73 6e 20 28 67 | emit|_insn (g|
|00005a10| 65 6e 5f 72 74 78 20 28 | 55 53 45 2c 20 56 4f 49 |en_rtx (|USE, VOI|
|00005a20| 44 6d 6f 64 65 2c 20 70 | 69 63 5f 6f 66 66 73 65 |Dmode, p|ic_offse|
|00005a30| 74 5f 74 61 62 6c 65 5f | 72 74 78 29 29 3b 0a 20 |t_table_|rtx));. |
|00005a40| 20 7d 0a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a | }.*****|********|
|00005a50| 2a 2a 0a 2a 2a 2a 20 32 | 30 35 2c 32 30 39 20 2a |**.*** 2|05,209 *|
|00005a60| 2a 2a 2a 0a 20 20 23 65 | 6e 64 69 66 0a 20 20 20 |***. #e|ndif. |
|00005a70| 20 20 20 7d 0a 21 20 20 | 20 69 66 20 28 66 6c 61 | }.! | if (fla|
|00005a80| 67 5f 70 69 63 20 26 26 | 20 63 75 72 72 65 6e 74 |g_pic &&| current|
|00005a90| 5f 66 75 6e 63 74 69 6f | 6e 5f 75 73 65 73 5f 70 |_functio|n_uses_p|
|00005aa0| 69 63 5f 6f 66 66 73 65 | 74 5f 74 61 62 6c 65 29 |ic_offse|t_table)|
|00005ab0| 0a 20 20 20 20 20 20 7b | 0a 20 20 23 69 66 64 65 |. {|. #ifde|
|00005ac0| 66 20 4d 4f 54 4f 52 4f | 4c 41 0a 2d 2d 2d 20 32 |f MOTORO|LA.--- 2|
|00005ad0| 30 38 2c 32 31 32 20 2d | 2d 2d 2d 0a 20 20 23 65 |08,212 -|---. #e|
|00005ae0| 6e 64 69 66 0a 20 20 20 | 20 20 20 7d 0a 21 20 20 |ndif. | }.! |
|00005af0| 20 69 66 20 28 66 6c 61 | 67 5f 70 69 63 20 26 26 | if (fla|g_pic &&|
|00005b00| 20 28 66 6c 61 67 5f 70 | 69 63 20 3c 20 33 29 20 | (flag_p|ic < 3) |
|00005b10| 26 26 20 63 75 72 72 65 | 6e 74 5f 66 75 6e 63 74 |&& curre|nt_funct|
|00005b20| 69 6f 6e 5f 75 73 65 73 | 5f 70 69 63 5f 6f 66 66 |ion_uses|_pic_off|
|00005b30| 73 65 74 5f 74 61 62 6c | 65 29 0a 20 20 20 20 20 |set_tabl|e). |
|00005b40| 20 7b 0a 20 20 23 69 66 | 64 65 66 20 4d 4f 54 4f | {. #if|def MOTO|
|00005b50| 52 4f 4c 41 0a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |ROLA.***|********|
|00005b60| 2a 2a 2a 2a 0a 2a 2a 2a | 20 37 39 35 2c 38 30 34 |****.***| 795,804|
|00005b70| 20 2a 2a 2a 2a 0a 20 20 | 20 20 69 66 20 28 47 45 | ****. | if (GE|
|00005b80| 54 5f 43 4f 44 45 20 28 | 6f 72 69 67 29 20 3d 3d |T_CODE (|orig) ==|
|00005b90| 20 53 59 4d 42 4f 4c 5f | 52 45 46 20 7c 7c 20 47 | SYMBOL_|REF || G|
|00005ba0| 45 54 5f 43 4f 44 45 20 | 28 6f 72 69 67 29 20 3d |ET_CODE |(orig) =|
|00005bb0| 3d 20 4c 41 42 45 4c 5f | 52 45 46 29 0a 20 20 20 |= LABEL_|REF). |
|00005bc0| 20 20 20 7b 0a 20 20 20 | 20 20 20 20 20 69 66 20 | {. | if |
|00005bd0| 28 72 65 67 20 3d 3d 20 | 30 29 0a 20 20 09 61 62 |(reg == |0). .ab|
|00005be0| 6f 72 74 20 28 29 3b 0a | 20 20 0a 21 20 20 20 20 |ort ();.| .! |
|00005bf0| 20 20 20 70 69 63 5f 72 | 65 66 20 3d 20 67 65 6e | pic_r|ef = gen|
|00005c00| 5f 72 74 78 20 28 4d 45 | 4d 2c 20 50 6d 6f 64 65 |_rtx (ME|M, Pmode|
|00005c10| 2c 0a 21 20 09 09 09 20 | 67 65 6e 5f 72 74 78 20 |,.! ... |gen_rtx |
|00005c20| 28 50 4c 55 53 2c 20 50 | 6d 6f 64 65 2c 0a 21 20 |(PLUS, P|mode,.! |
|00005c30| 09 09 09 09 20 20 70 69 | 63 5f 6f 66 66 73 65 74 |.... pi|c_offset|
|00005c40| 5f 74 61 62 6c 65 5f 72 | 74 78 2c 20 6f 72 69 67 |_table_r|tx, orig|
|00005c50| 29 29 3b 0a 20 20 20 20 | 20 20 20 20 63 75 72 72 |));. | curr|
|00005c60| 65 6e 74 5f 66 75 6e 63 | 74 69 6f 6e 5f 75 73 65 |ent_func|tion_use|
|00005c70| 73 5f 70 69 63 5f 6f 66 | 66 73 65 74 5f 74 61 62 |s_pic_of|fset_tab|
|00005c80| 6c 65 20 3d 20 31 3b 0a | 20 20 20 20 20 20 20 20 |le = 1;.| |
|00005c90| 52 54 58 5f 55 4e 43 48 | 41 4e 47 49 4e 47 5f 50 |RTX_UNCH|ANGING_P|
|00005ca0| 20 28 70 69 63 5f 72 65 | 66 29 20 3d 20 31 3b 0a | (pic_re|f) = 1;.|
|00005cb0| 2d 2d 2d 20 38 30 37 2c | 38 32 34 20 2d 2d 2d 2d |--- 807,|824 ----|
|00005cc0| 0a 20 20 20 20 69 66 20 | 28 47 45 54 5f 43 4f 44 |. if |(GET_COD|
|00005cd0| 45 20 28 6f 72 69 67 29 | 20 3d 3d 20 53 59 4d 42 |E (orig)| == SYMB|
|00005ce0| 4f 4c 5f 52 45 46 20 7c | 7c 20 47 45 54 5f 43 4f |OL_REF ||| GET_CO|
|00005cf0| 44 45 20 28 6f 72 69 67 | 29 20 3d 3d 20 4c 41 42 |DE (orig|) == LAB|
|00005d00| 45 4c 5f 52 45 46 29 0a | 20 20 20 20 20 20 7b 0a |EL_REF).| {.|
|00005d10| 2b 20 23 69 66 64 65 66 | 20 4c 45 47 49 54 49 4d |+ #ifdef| LEGITIM|
|00005d20| 41 54 45 5f 42 41 53 45 | 52 45 4c 5f 4f 50 45 52 |ATE_BASE|REL_OPER|
|00005d30| 41 4e 44 5f 50 0a 2b 20 | 20 20 69 66 20 28 4c 45 |AND_P.+ | if (LE|
|00005d40| 47 49 54 49 4d 41 54 45 | 5f 42 41 53 45 52 45 4c |GITIMATE|_BASEREL|
|00005d50| 5f 4f 50 45 52 41 4e 44 | 5f 50 20 28 6f 72 69 67 |_OPERAND|_P (orig|
|00005d60| 29 29 0a 2b 20 20 20 20 | 20 72 65 74 75 72 6e 20 |)).+ | return |
|00005d70| 6f 72 69 67 3b 0a 2b 20 | 23 65 6e 64 69 66 0a 2b |orig;.+ |#endif.+|
|00005d80| 20 0a 20 20 20 20 20 20 | 20 20 69 66 20 28 72 65 | . | if (re|
|00005d90| 67 20 3d 3d 20 30 29 0a | 20 20 09 61 62 6f 72 74 |g == 0).| .abort|
|00005da0| 20 28 29 3b 0a 20 20 0a | 21 20 20 20 20 20 20 20 | ();. .|! |
|00005db0| 69 66 20 28 66 6c 61 67 | 5f 70 69 63 20 3d 3d 20 |if (flag|_pic == |
|00005dc0| 33 29 0a 21 20 20 20 20 | 20 20 20 20 20 70 69 63 |3).! | pic|
|00005dd0| 5f 72 65 66 20 3d 20 67 | 65 6e 5f 72 74 78 20 28 |_ref = g|en_rtx (|
|00005de0| 50 4c 55 53 2c 20 50 6d | 6f 64 65 2c 20 70 69 63 |PLUS, Pm|ode, pic|
|00005df0| 5f 6f 66 66 73 65 74 5f | 74 61 62 6c 65 5f 72 74 |_offset_|table_rt|
|00005e00| 78 2c 20 6f 72 69 67 29 | 3b 0a 21 20 20 20 20 20 |x, orig)|;.! |
|00005e10| 20 20 65 6c 73 65 0a 21 | 20 20 20 20 20 20 20 20 | else.!| |
|00005e20| 20 70 69 63 5f 72 65 66 | 20 3d 20 67 65 6e 5f 72 | pic_ref| = gen_r|
|00005e30| 74 78 20 28 4d 45 4d 2c | 20 50 6d 6f 64 65 2c 0a |tx (MEM,| Pmode,.|
|00005e40| 21 20 09 09 09 20 20 20 | 67 65 6e 5f 72 74 78 20 |! ... |gen_rtx |
|00005e50| 28 50 4c 55 53 2c 20 50 | 6d 6f 64 65 2c 0a 21 20 |(PLUS, P|mode,.! |
|00005e60| 09 09 09 09 20 20 20 20 | 70 69 63 5f 6f 66 66 73 |.... |pic_offs|
|00005e70| 65 74 5f 74 61 62 6c 65 | 5f 72 74 78 2c 20 6f 72 |et_table|_rtx, or|
|00005e80| 69 67 29 29 3b 0a 20 20 | 20 20 20 20 20 20 63 75 |ig));. | cu|
|00005e90| 72 72 65 6e 74 5f 66 75 | 6e 63 74 69 6f 6e 5f 75 |rrent_fu|nction_u|
|00005ea0| 73 65 73 5f 70 69 63 5f | 6f 66 66 73 65 74 5f 74 |ses_pic_|offset_t|
|00005eb0| 61 62 6c 65 20 3d 20 31 | 3b 0a 20 20 20 20 20 20 |able = 1|;. |
|00005ec0| 20 20 52 54 58 5f 55 4e | 43 48 41 4e 47 49 4e 47 | RTX_UN|CHANGING|
|00005ed0| 5f 50 20 28 70 69 63 5f | 72 65 66 29 20 3d 20 31 |_P (pic_|ref) = 1|
|00005ee0| 3b 0a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |;.******|********|
|00005ef0| 2a 0a 2a 2a 2a 20 38 33 | 32 2c 38 33 35 20 2a 2a |*.*** 83|2,835 **|
|00005f00| 2a 2a 0a 2d 2d 2d 20 38 | 35 32 2c 38 35 36 20 2d |**.--- 8|52,856 -|
|00005f10| 2d 2d 2d 0a 20 20 20 20 | 20 20 20 20 2f 2a 20 4c |---. | /* L|
|00005f20| 69 6b 65 77 69 73 65 2c | 20 73 68 6f 75 6c 64 20 |ikewise,| should |
|00005f30| 77 65 20 73 65 74 20 73 | 70 65 63 69 61 6c 20 52 |we set s|pecial R|
|00005f40| 45 47 5f 4e 4f 54 45 73 | 20 68 65 72 65 3f 20 20 |EG_NOTEs| here? |
|00005f50| 2a 2f 0a 20 20 20 20 20 | 20 7d 0a 2b 20 0a 20 20 |*/. | }.+ . |
|00005f60| 20 20 72 65 74 75 72 6e | 20 70 69 63 5f 72 65 66 | return| pic_ref|
|00005f70| 3b 0a 20 20 7d 0a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |;. }.**|********|
|00005f80| 2a 2a 2a 2a 2a 0a 2a 2a | 2a 20 31 38 38 34 2c 31 |*****.**|* 1884,1|
|00005f90| 38 38 37 20 2a 2a 2a 2a | 0a 2d 2d 2d 20 31 39 30 |887 ****|.--- 190|
|00005fa0| 35 2c 31 39 31 30 20 2d | 2d 2d 2d 0a 20 20 09 20 |5,1910 -|---. . |
|00005fb0| 20 20 20 20 20 20 20 69 | 66 20 28 28 66 6c 61 67 | i|f ((flag|
|00005fc0| 5f 70 69 63 20 3d 3d 20 | 32 29 20 26 26 20 28 62 |_pic == |2) && (b|
|00005fd0| 72 65 67 20 3d 3d 20 70 | 69 63 5f 6f 66 66 73 65 |reg == p|ic_offse|
|00005fe0| 74 5f 74 61 62 6c 65 5f | 72 74 78 29 29 0a 20 20 |t_table_|rtx)). |
|00005ff0| 09 20 20 20 20 20 20 20 | 20 20 20 66 70 72 69 6e |. | fprin|
|00006000| 74 66 20 28 66 69 6c 65 | 2c 20 22 3a 6c 22 29 3b |tf (file|, ":l");|
|00006010| 0a 2b 20 09 20 20 20 20 | 20 20 20 20 69 66 20 28 |.+ . | if (|
|00006020| 28 66 6c 61 67 5f 70 69 | 63 20 3d 3d 20 33 29 20 |(flag_pi|c == 3) |
|00006030| 26 26 20 28 62 72 65 67 | 20 3d 3d 20 70 69 63 5f |&& (breg| == pic_|
|00006040| 6f 66 66 73 65 74 5f 74 | 61 62 6c 65 5f 72 74 78 |offset_t|able_rtx|
|00006050| 29 29 0a 2b 20 09 20 20 | 20 20 20 20 20 20 20 20 |)).+ . | |
|00006060| 66 70 72 69 6e 74 66 20 | 28 66 69 6c 65 2c 20 22 |fprintf |(file, "|
|00006070| 3a 57 22 29 3b 0a 20 20 | 09 20 20 20 20 20 20 7d |:W");. |. }|
|00006080| 0a 20 20 09 20 20 20 20 | 66 70 72 69 6e 74 66 20 |. . |fprintf |
|00006090| 28 66 69 6c 65 2c 20 22 | 28 25 73 22 2c 20 72 65 |(file, "|(%s", re|
|000060a0| 67 5f 6e 61 6d 65 73 5b | 52 45 47 4e 4f 20 28 62 |g_names[|REGNO (b|
|000060b0| 72 65 67 29 5d 29 3b 0a | 2a 2a 2a 2a 2a 2a 2a 2a |reg)]);.|********|
|000060c0| 2a 2a 2a 2a 2a 2a 2a 0a | 2a 2a 2a 20 31 38 39 39 |*******.|*** 1899|
|000060d0| 2c 31 39 30 32 20 2a 2a | 2a 2a 0a 2d 2d 2d 20 31 |,1902 **|**.--- 1|
|000060e0| 39 32 32 2c 31 39 32 37 | 20 2d 2d 2d 2d 0a 20 20 |922,1927| ----. |
|000060f0| 09 20 20 20 20 20 20 20 | 20 69 66 20 28 28 66 6c |. | if ((fl|
|00006100| 61 67 5f 70 69 63 20 3d | 3d 20 32 29 20 26 26 20 |ag_pic =|= 2) && |
|00006110| 28 62 72 65 67 20 3d 3d | 20 70 69 63 5f 6f 66 66 |(breg ==| pic_off|
|00006120| 73 65 74 5f 74 61 62 6c | 65 5f 72 74 78 29 29 0a |set_tabl|e_rtx)).|
|00006130| 20 20 09 20 20 20 20 20 | 20 20 20 20 20 66 70 72 | . | fpr|
|00006140| 69 6e 74 66 20 28 66 69 | 6c 65 2c 20 22 3a 6c 22 |intf (fi|le, ":l"|
|00006150| 29 3b 0a 2b 20 09 20 20 | 20 20 20 20 20 20 69 66 |);.+ . | if|
|00006160| 20 28 28 66 6c 61 67 5f | 70 69 63 20 3d 3d 20 33 | ((flag_|pic == 3|
|00006170| 29 20 26 26 20 28 62 72 | 65 67 20 3d 3d 20 70 69 |) && (br|eg == pi|
|00006180| 63 5f 6f 66 66 73 65 74 | 5f 74 61 62 6c 65 5f 72 |c_offset|_table_r|
|00006190| 74 78 29 29 0a 2b 20 09 | 20 20 20 20 20 20 20 20 |tx)).+ .| |
|000061a0| 20 20 66 70 72 69 6e 74 | 66 20 28 66 69 6c 65 2c | fprint|f (file,|
|000061b0| 20 22 3a 57 22 29 3b 0a | 20 20 09 20 20 20 20 20 | ":W");.| . |
|000061c0| 20 7d 0a 20 20 09 20 20 | 20 20 69 66 20 28 61 64 | }. . | if (ad|
|000061d0| 64 72 20 21 3d 20 30 20 | 26 26 20 69 72 65 67 20 |dr != 0 |&& ireg |
|000061e0| 21 3d 20 30 29 0a 64 69 | 66 66 20 2d 32 72 63 4e |!= 0).di|ff -2rcN|
|000061f0| 20 64 68 35 3a 67 63 63 | 2d 32 2e 31 2e 6f 72 69 | dh5:gcc|-2.1.ori|
|00006200| 67 2f 63 6f 6e 66 69 67 | 2f 6d 36 38 6b 2e 68 20 |g/config|/m68k.h |
|00006210| 67 63 63 2d 32 2e 31 2f | 63 6f 6e 66 69 67 2f 6d |gcc-2.1/|config/m|
|00006220| 36 38 6b 2e 68 0a 2a 2a | 2a 20 64 68 35 3a 67 63 |68k.h.**|* dh5:gc|
|00006230| 63 2d 32 2e 31 2e 6f 72 | 69 67 2f 63 6f 6e 66 69 |c-2.1.or|ig/confi|
|00006240| 67 2f 6d 36 38 6b 2e 68 | 09 4d 6f 6e 20 41 70 72 |g/m68k.h|.Mon Apr|
|00006250| 20 32 30 20 30 32 3a 33 | 35 3a 34 31 20 31 39 39 | 20 02:3|5:41 199|
|00006260| 32 0a 2d 2d 2d 20 67 63 | 63 2d 32 2e 31 2f 63 6f |2.--- gc|c-2.1/co|
|00006270| 6e 66 69 67 2f 6d 36 38 | 6b 2e 68 09 54 68 75 20 |nfig/m68|k.h.Thu |
|00006280| 41 70 72 20 31 36 20 32 | 30 3a 31 36 3a 30 37 20 |Apr 16 2|0:16:07 |
|00006290| 31 39 39 32 0a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |1992.***|********|
|000062a0| 2a 2a 2a 2a 0a 2a 2a 2a | 20 33 32 37 2c 33 33 33 |****.***| 327,333|
|000062b0| 20 2a 2a 2a 2a 0a 20 20 | 0a 20 20 23 64 65 66 69 | ****. |. #defi|
|000062c0| 6e 65 20 43 4f 4e 44 49 | 54 49 4f 4e 41 4c 5f 52 |ne CONDI|TIONAL_R|
|000062d0| 45 47 49 53 54 45 52 5f | 55 53 41 47 45 20 5c 0a |EGISTER_|USAGE \.|
|000062e0| 21 20 7b 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |! { | |
|000062f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006300| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006310| 20 20 5c 0a 21 20 20 20 | 69 66 20 28 66 6c 61 67 | \.! |if (flag|
|00006320| 5f 70 69 63 29 20 20 20 | 20 20 20 20 20 20 20 20 |_pic) | |
|00006330| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006340| 20 20 20 20 20 20 5c 0a | 21 20 20 20 20 20 66 69 | \.|! fi|
|00006350| 78 65 64 5f 72 65 67 73 | 5b 50 49 43 5f 4f 46 46 |xed_regs|[PIC_OFF|
|00006360| 53 45 54 5f 54 41 42 4c | 45 5f 52 45 47 4e 55 4d |SET_TABL|E_REGNUM|
|00006370| 5d 20 3d 20 31 3b 20 20 | 20 20 5c 0a 20 20 7d 0a |] = 1; | \. }.|
|00006380| 20 20 0a 2d 2d 2d 20 33 | 32 37 2c 33 33 36 20 2d | .--- 3|27,336 -|
|00006390| 2d 2d 2d 0a 20 20 0a 20 | 20 23 64 65 66 69 6e 65 |---. . | #define|
|000063a0| 20 43 4f 4e 44 49 54 49 | 4f 4e 41 4c 5f 52 45 47 | CONDITI|ONAL_REG|
|000063b0| 49 53 54 45 52 5f 55 53 | 41 47 45 20 5c 0a 21 20 |ISTER_US|AGE \.! |
|000063c0| 7b 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |{ | |
|000063d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000063e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000063f0| 20 5c 0a 21 20 20 20 69 | 66 20 28 66 6c 61 67 5f | \.! i|f (flag_|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.