mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-31 03:58:17 +00:00 
			
		
		
		
	This is not needed since the linker script sets it up. Drop the variable to avoid confusion. Fix the prototype for main() while we are here. Signed-off-by: Simon Glass <sjg@chromium.org>
		
			
				
	
	
		
			17 lines
		
	
	
		
			268 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			268 B
		
	
	
	
		
			C
		
	
	
	
	
	
| // SPDX-License-Identifier: GPL-2.0+
 | |
| /*
 | |
|  * Copyright (c) 2016 Google, Inc
 | |
|  *
 | |
|  * Simple program to create a bss_data region so the symbol can be read
 | |
|  * by binutils. This is used by binman tests.
 | |
|  */
 | |
| 
 | |
| int bss_data[10];
 | |
| 
 | |
| int main(void)
 | |
| {
 | |
| 	bss_data[2] = 2;
 | |
| 
 | |
| 	return 0;
 | |
| }
 |