xref: /linux/arch/nios2/boot/compressed/vmlinux.scr (revision 01623627a292fbd9dc62e05489153d7f1add7061)
1*01623627SLey Foon Tan/*
2*01623627SLey Foon Tan * Copyright (C) 2009 Thomas Chou <thomas@wytron.com.tw>
3*01623627SLey Foon Tan *
4*01623627SLey Foon Tan * This program is free software; you can redistribute it and/or modify
5*01623627SLey Foon Tan * it under the terms of the GNU General Public License as published by
6*01623627SLey Foon Tan * the Free Software Foundation; either version 2 of the License, or
7*01623627SLey Foon Tan * (at your option) any later version.
8*01623627SLey Foon Tan *
9*01623627SLey Foon Tan * This program is distributed in the hope that it will be useful,
10*01623627SLey Foon Tan * but WITHOUT ANY WARRANTY; without even the implied warranty of
11*01623627SLey Foon Tan * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12*01623627SLey Foon Tan * GNU General Public License for more details.
13*01623627SLey Foon Tan *
14*01623627SLey Foon Tan * You should have received a copy of the GNU General Public License
15*01623627SLey Foon Tan * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16*01623627SLey Foon Tan *
17*01623627SLey Foon Tan */
18*01623627SLey Foon Tan
19*01623627SLey Foon TanSECTIONS
20*01623627SLey Foon Tan{
21*01623627SLey Foon Tan	.data : {
22*01623627SLey Foon Tan		input_len = .;
23*01623627SLey Foon Tan		LONG(input_data_end - input_data) input_data = .;
24*01623627SLey Foon Tan		*(.data)
25*01623627SLey Foon Tan		. = ALIGN(4);
26*01623627SLey Foon Tan		input_data_end = .;
27*01623627SLey Foon Tan	}
28*01623627SLey Foon Tan}
29