24 lines
		
	
	
		
			816 B
		
	
	
	
		
			Plaintext
		
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			816 B
		
	
	
	
		
			Plaintext
		
	
	
	
| # Check that the linker script inputs are accepted properly.
 | |
| 
 | |
| # RUN: lld -flavor old-gnu -target x86_64 %p/Inputs/valid.ls -r %s \
 | |
| # RUN:     --output-filetype=yaml | FileCheck %s
 | |
| 
 | |
| # RUN: lld -flavor old-gnu -target x86_64 -T %p/Inputs/valid.ls -r %s \
 | |
| # RUN:     --output-filetype=yaml | FileCheck %s
 | |
| 
 | |
| # RUN: lld -flavor old-gnu -target x86_64 --script=%p/Inputs/valid.ls -r %s \
 | |
| # RUN:     --output-filetype=yaml | FileCheck %s
 | |
| 
 | |
| # RUN: lld -flavor old-gnu -target x86_64 -L%p/Inputs/ -l:valid.ls -r %s \
 | |
| # RUN:     --output-filetype=yaml | FileCheck %s
 | |
| 
 | |
| defined-atoms:
 | |
|   - name:            main
 | |
|     scope:           global
 | |
|     content:         [ B8, 00, 00, 00, 00, C7, 44, 24, FC, 00, 00, 00, 00, C3 ]
 | |
|     alignment:       16
 | |
|     section-choice:  custom-required
 | |
|     section-name:    .text
 | |
| 
 | |
| # CHECK: _entry_point
 |