added end.s
This commit is contained in:
		
							parent
							
								
									3077cb6610
								
							
						
					
					
						commit
						98da0bbffb
					
				
					 2 changed files with 23 additions and 2 deletions
				
			
		|  | @ -1,21 +1,26 @@ | ||||||
| all:            head_em.o libem_o.a | all:            head_em.o libem_o.a end.o | ||||||
| 
 | 
 | ||||||
| install:	cp | install:	cp | ||||||
| 
 | 
 | ||||||
| cp:             all | cp:             all | ||||||
| 		../../install head_em.o head_em | 		../../install head_em.o head_em | ||||||
| 		../../install libem_o.a tail_em | 		../../install libem_o.a tail_em | ||||||
|  | 		../../install end.o end_em | ||||||
| 
 | 
 | ||||||
| cmp:            all | cmp:            all | ||||||
| 		-../../compare head_em.o head_em | 		-../../compare head_em.o head_em | ||||||
| 		-../../compare libem_o.a tail_em | 		-../../compare libem_o.a tail_em | ||||||
|  | 		-../../compare end.o end_em | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| head_em.o:      head_em.s | head_em.o:      head_em.s | ||||||
| 		pdp -c head_em.s | 		pdp -c head_em.s | ||||||
| 
 | 
 | ||||||
|  | end.o:		end.s | ||||||
|  | 		pdp -c end.s | ||||||
|  | 
 | ||||||
| libem_o.a:	libem_s.a | libem_o.a:	libem_s.a | ||||||
| 		ASAR=ar ; export ASAR ; march . libem_o.a | 		ASAR=aal ; export ASAR ; march . libem_o.a | ||||||
| 
 | 
 | ||||||
| clean: | clean: | ||||||
| 		rm -f *.o libem_o.a | 		rm -f *.o libem_o.a | ||||||
|  |  | ||||||
							
								
								
									
										16
									
								
								mach/pdp/libem/end.s
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								mach/pdp/libem/end.s
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,16 @@ | ||||||
|  | .define	endtext,enddata,endbss,_etext,_edata,_end | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .end ! only for declaration of _end and endbss. | ||||||
|  | 
 | ||||||
|  | 	.sect .text | ||||||
|  | endtext: | ||||||
|  | _etext: | ||||||
|  | 	.sect .data | ||||||
|  | enddata: | ||||||
|  | _edata: | ||||||
|  | 	.sect .end | ||||||
|  | _end: | ||||||
|  | endbss: | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue