Searched refs:vmlinux (Results 1 - 200 of 221) sorted by relevance

12

/linux-4.4.14/arch/mn10300/boot/compressed/
H A DMakefile2 # Create a compressed vmlinux image from the original vmlinux
5 targets := vmlinux vmlinux.bin vmlinux.bin.gz head.o misc.o piggy.o
9 $(obj)/vmlinux: $(obj)/head.o $(obj)/misc.o $(obj)/piggy.o FORCE
13 $(obj)/vmlinux.bin: vmlinux FORCE
16 $(obj)/vmlinux.bin.gz: $(obj)/vmlinux.bin FORCE
21 $(obj)/piggy.o: $(obj)/vmlinux.lds $(obj)/vmlinux.bin.gz FORCE
/linux-4.4.14/arch/s390/boot/compressed/
H A DMakefile4 # create a compressed vmlinux image from the original vmlinux
7 targets := vmlinux.lds vmlinux vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2
8 targets += vmlinux.bin.xz vmlinux.bin.lzma vmlinux.bin.lzo vmlinux.bin.lz4
23 $(obj)/vmlinux: $(obj)/vmlinux.lds $(OBJECTS)
32 $(obj)/sizes.h: vmlinux
42 $(obj)/vmlinux.bin: vmlinux
45 vmlinux.bin.all-y := $(obj)/vmlinux.bin
54 $(obj)/vmlinux.bin.gz: $(vmlinux.bin.all-y)
56 $(obj)/vmlinux.bin.bz2: $(vmlinux.bin.all-y)
58 $(obj)/vmlinux.bin.lz4: $(vmlinux.bin.all-y)
60 $(obj)/vmlinux.bin.lzma: $(vmlinux.bin.all-y)
62 $(obj)/vmlinux.bin.lzo: $(vmlinux.bin.all-y)
64 $(obj)/vmlinux.bin.xz: $(vmlinux.bin.all-y)
68 $(obj)/piggy.o: $(obj)/vmlinux.scr $(obj)/vmlinux.bin.$(suffix-y)
H A Dvmlinux.lds.S1 #include <asm-generic/vmlinux.lds.h>
/linux-4.4.14/arch/nios2/boot/compressed/
H A DMakefile2 # create a compressed vmlinux image from the original vmlinux
5 targets := vmlinux head.o misc.o piggy.o vmlinux.lds
12 $(obj)/vmlinux: $(obj)/vmlinux.lds $(OBJECTS) $(obj)/piggy.o FORCE
18 $(obj)/piggy.o: $(obj)/vmlinux.scr $(obj)/../vmlinux.gz FORCE
H A Dvmlinux.lds.S19 #include <asm-generic/vmlinux.lds.h>
/linux-4.4.14/arch/m32r/boot/compressed/
H A DMakefile4 # create a compressed vmlinux image from the original vmlinux
7 targets := vmlinux vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 \
8 vmlinux.bin.lzma head.o misc.o piggy.o vmlinux.lds
20 $(obj)/vmlinux: $(obj)/vmlinux.lds $(OBJECTS) $(obj)/piggy.o FORCE
24 $(obj)/vmlinux.bin: vmlinux FORCE
27 $(obj)/vmlinux.bin.gz: $(obj)/vmlinux.bin FORCE
30 $(obj)/vmlinux.bin.bz2: $(obj)/vmlinux.bin FORCE
33 $(obj)/vmlinux.bin.lzma: $(obj)/vmlinux.bin FORCE
50 $(obj)/piggy.o: $(obj)/vmlinux.scr $(obj)/vmlinux.bin.$(suffix-y) FORCE
H A Dboot.h16 * | vmlinux |
28 * | vmlinux |
34 * | vmlinux |
/linux-4.4.14/arch/x86/boot/compressed/
H A DMakefile4 # create a compressed vmlinux image from the original vmlinux
9 # vmlinux.bin.(gz|bz2|lzma|...)
11 # vmlinux.bin is:
12 # vmlinux stripped of debugging and comments
13 # vmlinux.bin.all is:
14 # vmlinux.bin + vmlinux.relocs
15 # vmlinux.bin.(gz|bz2|lzma|...) is:
17 # compressed vmlinux.bin.all + u32 size of vmlinux.bin.all
21 targets := vmlinux vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 vmlinux.bin.lzma \
22 vmlinux.bin.xz vmlinux.bin.lzo vmlinux.bin.lz4
43 vmlinux-objs-y := $(obj)/vmlinux.lds $(obj)/head_$(BITS).o $(obj)/misc.o \
47 vmlinux-objs-$(CONFIG_EARLY_PRINTK) += $(obj)/early_serial_console.o
48 vmlinux-objs-$(CONFIG_RANDOMIZE_BASE) += $(obj)/aslr.o
52 vmlinux-objs-$(CONFIG_EFI_STUB) += $(obj)/eboot.o $(obj)/efi_stub_$(BITS).o \
54 vmlinux-objs-$(CONFIG_EFI_MIXED) += $(obj)/efi_thunk_$(BITS).o
56 $(obj)/vmlinux: $(vmlinux-objs-y) FORCE
61 $(obj)/vmlinux.bin: vmlinux FORCE
64 targets += $(patsubst $(obj)/%,%,$(vmlinux-objs-y)) vmlinux.bin.all vmlinux.relocs
69 $(obj)/vmlinux.relocs: vmlinux FORCE
72 vmlinux.bin.all-y := $(obj)/vmlinux.bin
73 vmlinux.bin.all-$(CONFIG_X86_NEED_RELOCS) += $(obj)/vmlinux.relocs
75 $(obj)/vmlinux.bin.gz: $(vmlinux.bin.all-y) FORCE
77 $(obj)/vmlinux.bin.bz2: $(vmlinux.bin.all-y) FORCE
79 $(obj)/vmlinux.bin.lzma: $(vmlinux.bin.all-y) FORCE
81 $(obj)/vmlinux.bin.xz: $(vmlinux.bin.all-y) FORCE
83 $(obj)/vmlinux.bin.lzo: $(vmlinux.bin.all-y) FORCE
85 $(obj)/vmlinux.bin.lz4: $(vmlinux.bin.all-y) FORCE
95 RUN_SIZE = $(shell $(OBJDUMP) -h vmlinux | \
101 $(obj)/piggy.S: $(obj)/vmlinux.bin.$(suffix-y) $(obj)/mkpiggy FORCE
H A Dvmlinux.lds.S1 #include <asm-generic/vmlinux.lds.h>
H A Dmisc.c259 * Calculate the delta between where vmlinux was linked to load handle_relocations()
/linux-4.4.14/arch/c6x/boot/
H A DMakefile6 $(obj)/vmlinux.bin: vmlinux FORCE
9 $(obj)/dtbImage.%: vmlinux
/linux-4.4.14/arch/sh/boot/compressed/
H A DMakefile4 # create a compressed vmlinux image from the original vmlinux
7 targets := vmlinux vmlinux.bin vmlinux.bin.gz \
8 vmlinux.bin.bz2 vmlinux.bin.lzma \
9 vmlinux.bin.xz vmlinux.bin.lzo \
36 -T $(obj)/../../kernel/vmlinux.lds
56 $(obj)/vmlinux: $(OBJECTS) $(obj)/piggy.o $(lib1funcs-obj) FORCE
60 $(obj)/vmlinux.bin: vmlinux FORCE
63 vmlinux.bin.all-y := $(obj)/vmlinux.bin
65 $(obj)/vmlinux.bin.gz: $(vmlinux.bin.all-y) FORCE
67 $(obj)/vmlinux.bin.bz2: $(vmlinux.bin.all-y) FORCE
69 $(obj)/vmlinux.bin.lzma: $(vmlinux.bin.all-y) FORCE
71 $(obj)/vmlinux.bin.xz: $(vmlinux.bin.all-y) FORCE
73 $(obj)/vmlinux.bin.lzo: $(vmlinux.bin.all-y) FORCE
80 $(obj)/piggy.o: $(obj)/vmlinux.scr $(obj)/vmlinux.bin.$(suffix-y) FORCE
H A Dmisc.c41 extern int _text; /* Defined in vmlinux.lds.S */
/linux-4.4.14/arch/h8300/boot/
H A DMakefile3 targets := vmlinux.srec vmlinux.bin zImage
14 $(obj)/vmlinux.srec $(obj)/vmlinux.bin: vmlinux FORCE
17 $(obj)/zImage: $(obj)/compressed/vmlinux FORCE
20 $(obj)/compressed/vmlinux: FORCE
23 $(obj)/uImage.bin: $(obj)/vmlinux.bin
26 CLEAN_FILES += arch/$(ARCH)/vmlinux.bin arch/$(ARCH)/vmlinux.srec arch/$(ARCH)/uImage.bin
/linux-4.4.14/arch/metag/boot/
H A DMakefile15 targets += vmlinux.bin
23 extra-y += vmlinux.bin
24 extra-y += vmlinux.bin.gz
25 extra-y += vmlinux.bin.bz2
26 extra-y += vmlinux.bin.xz
27 extra-y += vmlinux.bin.lzo
36 $(obj)/vmlinux.bin: vmlinux FORCE
39 $(obj)/vmlinux.bin.gz: $(obj)/vmlinux.bin FORCE
42 $(obj)/vmlinux.bin.bz2: $(obj)/vmlinux.bin FORCE
45 $(obj)/vmlinux.bin.xz: $(obj)/vmlinux.bin FORCE
48 $(obj)/vmlinux.bin.lzo: $(obj)/vmlinux.bin FORCE
51 $(obj)/uImage.gz: $(obj)/vmlinux.bin.gz FORCE
54 $(obj)/uImage.bz2: $(obj)/vmlinux.bin.bz2 FORCE
57 $(obj)/uImage.xz: $(obj)/vmlinux.bin.xz FORCE
60 $(obj)/uImage.lzo: $(obj)/vmlinux.bin.lzo FORCE
63 $(obj)/uImage.bin: $(obj)/vmlinux.bin FORCE
/linux-4.4.14/arch/h8300/boot/compressed/
H A DMakefile4 # create a compressed vmlinux image from the original vmlinux
7 targets := vmlinux vmlinux.bin vmlinux.bin.gz head.o misc.o piggy.o
21 LDFLAGS_vmlinux := -Ttext $(IMAGE_OFFSET) -estartup -T $(obj)/vmlinux.lds \
24 $(obj)/vmlinux: $(OBJECTS) $(obj)/piggy.o $(LIBGCC) FORCE
28 $(obj)/vmlinux.bin: vmlinux FORCE
31 $(obj)/vmlinux.bin.gz: $(obj)/vmlinux.bin FORCE
37 $(obj)/piggy.o: $(obj)/vmlinux.scr $(obj)/vmlinux.bin.gz FORCE
/linux-4.4.14/arch/blackfin/boot/
H A DMakefile10 extra-y += vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 vmlinux.bin.lzma vmlinux.bin.lzo vmlinux.bin.xip
17 UIMAGE_ENTRYADDR = $(shell $(NM) vmlinux | awk '$$NF == "__start" {print $$1}')
21 $(obj)/vmlinux.bin: vmlinux FORCE
24 $(obj)/vmlinux.bin.gz: $(obj)/vmlinux.bin FORCE
27 $(obj)/vmlinux.bin.bz2: $(obj)/vmlinux.bin FORCE
30 $(obj)/vmlinux.bin.lzma: $(obj)/vmlinux.bin FORCE
33 $(obj)/vmlinux.bin.lzo: $(obj)/vmlinux.bin FORCE
39 $(obj)/vmlinux.bin.xip: $(obj)/vmlinux.bin FORCE
42 $(obj)/uImage.bin: $(obj)/vmlinux.bin
45 $(obj)/uImage.bz2: $(obj)/vmlinux.bin.bz2
48 $(obj)/uImage.gz: $(obj)/vmlinux.bin.gz
51 $(obj)/uImage.lzma: $(obj)/vmlinux.bin.lzma
54 $(obj)/uImage.lzo: $(obj)/vmlinux.bin.lzo
57 $(obj)/uImage.xip: $(obj)/vmlinux.bin.xip
/linux-4.4.14/arch/m68k/kernel/
H A Dvmlinux.lds.S8 #include "vmlinux-sun3.lds"
10 #include "vmlinux-std.lds"
13 #include "vmlinux-nommu.lds"
H A DMakefile14 extra-y += vmlinux.lds
/linux-4.4.14/arch/mips/boot/
H A DMakefile32 targets := vmlinux.ecoff
35 $(obj)/vmlinux.ecoff: $(obj)/elf2ecoff $(VMLINUX) FORCE
38 targets += vmlinux.bin
41 $(obj)/vmlinux.bin: $(VMLINUX) FORCE
44 targets += vmlinux.srec
47 $(obj)/vmlinux.srec: $(VMLINUX) FORCE
54 # Compressed vmlinux images
57 extra-y += vmlinux.bin.bz2
58 extra-y += vmlinux.bin.gz
59 extra-y += vmlinux.bin.lzma
60 extra-y += vmlinux.bin.lzo
62 $(obj)/vmlinux.bin.bz2: $(obj)/vmlinux.bin FORCE
65 $(obj)/vmlinux.bin.gz: $(obj)/vmlinux.bin FORCE
68 $(obj)/vmlinux.bin.lzma: $(obj)/vmlinux.bin FORCE
71 $(obj)/vmlinux.bin.lzo: $(obj)/vmlinux.bin FORCE
85 $(obj)/uImage.bin: $(obj)/vmlinux.bin FORCE
88 $(obj)/uImage.bz2: $(obj)/vmlinux.bin.bz2 FORCE
91 $(obj)/uImage.gz: $(obj)/vmlinux.bin.gz FORCE
94 $(obj)/uImage.lzma: $(obj)/vmlinux.bin.lzma FORCE
97 $(obj)/uImage.lzo: $(obj)/vmlinux.bin.lzo FORCE
/linux-4.4.14/arch/sh/boot/
H A DMakefile29 targets := zImage vmlinux.srec romImage uImage uImage.srec uImage.gz \
31 extra-y += vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 vmlinux.bin.lzma \
32 vmlinux.bin.xz vmlinux.bin.lzo
35 $(obj)/zImage: $(obj)/compressed/vmlinux FORCE
39 $(obj)/compressed/vmlinux: FORCE
42 $(obj)/romImage: $(obj)/romimage/vmlinux FORCE
46 $(obj)/romimage/vmlinux: $(obj)/zImage FORCE
65 $(obj)/vmlinux.bin: vmlinux FORCE
68 $(obj)/vmlinux.bin.gz: $(obj)/vmlinux.bin FORCE
71 $(obj)/vmlinux.bin.bz2: $(obj)/vmlinux.bin FORCE
74 $(obj)/vmlinux.bin.lzma: $(obj)/vmlinux.bin FORCE
77 $(obj)/vmlinux.bin.xz: $(obj)/vmlinux.bin FORCE
80 $(obj)/vmlinux.bin.lzo: $(obj)/vmlinux.bin FORCE
83 $(obj)/uImage.bz2: $(obj)/vmlinux.bin.bz2
86 $(obj)/uImage.gz: $(obj)/vmlinux.bin.gz
89 $(obj)/uImage.lzma: $(obj)/vmlinux.bin.lzma
92 $(obj)/uImage.xz: $(obj)/vmlinux.bin.xz
95 $(obj)/uImage.lzo: $(obj)/vmlinux.bin.lzo
98 $(obj)/uImage.bin: $(obj)/vmlinux.bin
102 $(obj)/vmlinux.srec: $(obj)/compressed/vmlinux
/linux-4.4.14/arch/arc/boot/
H A DMakefile1 targets := vmlinux.bin vmlinux.bin.gz uImage
9 LINUX_START_TEXT = $$(readelf -h vmlinux | \
19 extra-y += vmlinux.bin vmlinux.bin.gz
21 $(obj)/vmlinux.bin: vmlinux FORCE
24 $(obj)/vmlinux.bin.gz: $(obj)/vmlinux.bin FORCE
27 $(obj)/uImage.bin: $(obj)/vmlinux.bin FORCE
30 $(obj)/uImage.gz: $(obj)/vmlinux.bin.gz FORCE
/linux-4.4.14/arch/score/boot/
H A DMakefile9 targets := vmlinux.bin
11 $(obj)/vmlinux.bin: vmlinux FORCE
15 clean-files += vmlinux.bin
/linux-4.4.14/arch/avr32/
H A DMakefile10 all: uImage vmlinux.elf
46 BOOT_TARGETS := vmlinux.elf vmlinux.bin uImage uImage.srec
53 vmlinux.elf: KBUILD_IMAGE := $(boot)/vmlinux.elf
54 vmlinux.cso: KBUILD_IMAGE := $(boot)/vmlinux.cso
63 vmlinux.elf vmlinux.bin uImage.srec uImage vmlinux.cso: vmlinux
66 install: vmlinux
69 vmlinux.s: vmlinux
72 vmlinux.lst: vmlinux
75 CLEAN_FILES += vmlinux.s vmlinux.lst
81 @echo '* vmlinux.elf - ELF image with load address 0'
82 @echo ' vmlinux.cso - PathFinder CSO image'
/linux-4.4.14/arch/avr32/boot/images/
H A DMakefile9 extra-y := vmlinux.bin vmlinux.gz
12 $(obj)/vmlinux.bin: vmlinux FORCE
15 $(obj)/vmlinux.gz: $(obj)/vmlinux.bin FORCE
23 $(obj)/uImage: $(obj)/vmlinux.gz
44 $(obj)/vmlinux.elf: vmlinux FORCE
50 $(obj)/vmlinux.cso: $(obj)/vmlinux.elf FORCE
57 clean-files := vmlinux.elf vmlinux.bin vmlinux.gz uImage uImage.srec
/linux-4.4.14/arch/ia64/hp/sim/boot/
H A DMakefile12 targets := vmlinux.bin vmlinux.gz $(targets-y)
17 vmlinux.gz: $(obj)/vmlinux.gz $(addprefix $(obj)/,$(targets-y))
26 $(obj)/vmlinux.gz: $(obj)/vmlinux.bin FORCE
29 $(obj)/vmlinux.bin: vmlinux FORCE
H A Dbootloader.c83 kpath = "vmlinux"; start_bootloader()
/linux-4.4.14/arch/alpha/boot/
H A DMakefile12 targets := vmlinux.gz vmlinux \
13 vmlinux.nh tools/lxboot tools/bootlx tools/bootph \
21 $(obj)/bootimage: $(addprefix $(obj)/tools/,mkbb lxboot bootlx) $(obj)/vmlinux.nh
22 ( cat $(obj)/tools/lxboot $(obj)/tools/bootlx $(obj)/vmlinux.nh ) > $@
27 $(obj)/bootpfile: $(obj)/tools/bootph $(obj)/vmlinux.nh
28 cat $(obj)/tools/bootph $(obj)/vmlinux.nh > $@
35 $(obj)/bootpzfile: $(obj)/tools/bootpzh $(obj)/vmlinux.nh.gz
36 cat $(obj)/tools/bootpzh $(obj)/vmlinux.nh.gz > $@
42 $(obj)/vmlinux.gz: $(obj)/vmlinux FORCE
50 $(obj)/ksize.h: $(obj)/vmlinux.nh FORCE
51 echo "#define KERNEL_SIZE `ls -l $(obj)/vmlinux.nh | awk '{print $$5}'`" > $@T
59 $(obj)/kzsize.h: $(obj)/vmlinux.nh.gz FORCE
60 echo "#define KERNEL_SIZE `ls -l $(obj)/vmlinux.nh | awk '{print $$5}'`" > $@T
61 echo "#define KERNEL_Z_SIZE `ls -l $(obj)/vmlinux.nh.gz | awk '{print $$5}'`" >> $@T
72 $(obj)/vmlinux: vmlinux FORCE
84 $(obj)/vmlinux.nh: vmlinux $(OBJSTRIP) FORCE
87 $(obj)/vmlinux.nh.gz: $(obj)/vmlinux.nh FORCE
H A Dmain.c170 srm_printk("Loading vmlinux ..."); start_kernel()
/linux-4.4.14/arch/nios2/boot/
H A DMakefile9 UIMAGE_LOADADDR = $(shell $(NM) vmlinux | awk '$$NF == "_stext" {print $$1}')
10 UIMAGE_ENTRYADDR = $(shell $(NM) vmlinux | awk '$$NF == "_start" {print $$1}')
15 targets += vmlinux.bin vmlinux.gz vmImage
17 $(obj)/vmlinux.bin: vmlinux FORCE
20 $(obj)/vmlinux.gz: $(obj)/vmlinux.bin FORCE
23 $(obj)/vmImage: $(obj)/vmlinux.gz
27 $(obj)/zImage: $(obj)/compressed/vmlinux FORCE
31 $(obj)/compressed/vmlinux: $(obj)/vmlinux.gz FORCE
/linux-4.4.14/arch/sh/boot/romimage/
H A DMakefile7 targets := vmlinux head.o zeropage.bin piggy.o
16 -T $(obj)/../../kernel/vmlinux.lds
18 $(obj)/vmlinux: $(obj)/head.o $(obj-y) $(obj)/piggy.o FORCE
24 $(obj)/zeropage.bin: vmlinux FORCE
29 $(obj)/piggy.o: $(obj)/vmlinux.scr $(obj)/zeropage.bin arch/sh/boot/zImage FORCE
H A Dhead.S45 /* copy the empty_zero_page contents to where vmlinux expects it */
/linux-4.4.14/arch/mn10300/boot/
H A DMakefile13 targets := vmlinux.bin zImage
20 $(obj)/zImage: $(obj)/compressed/vmlinux FORCE
24 $(obj)/vmlinux.bin: $(obj)/compressed/vmlinux FORCE
27 $(obj)/compressed/vmlinux: FORCE
/linux-4.4.14/arch/xtensa/boot/
H A DMakefile36 vmlinux.bin: vmlinux FORCE
39 vmlinux.bin.gz: vmlinux.bin FORCE
42 boot-elf: vmlinux.bin
43 boot-redboot: vmlinux.bin.gz
44 boot-uboot: vmlinux.bin.gz
/linux-4.4.14/scripts/
H A Dextract-sys-certs.pl7 die "Format: $0 [-s <systemmap-file>] <vmlinux-file> <keyring-file>\n"
18 my $vmlinux = $ARGV[0];
22 # Parse the vmlinux section table
24 open FD, "objdump -h $vmlinux |" || die $vmlinux;
26 close(FD) || die $vmlinux;
52 # Try and parse the vmlinux symbol table. If the vmlinux file has been created
53 # from a vmlinuz file with extract-vmlinux then the symbol table will be empty.
55 open FD, "nm $vmlinux 2>/dev/null |" || die $vmlinux;
57 close(FD) || die $vmlinux;
79 print "No symbols in vmlinux, trying $sysmap\n";
130 open FD, "<$vmlinux" || die $vmlinux;
132 die $vmlinux if (!defined(sysseek(FD, $foff, SEEK_SET)));
135 die "$vmlinux" if (!defined($len));
136 die "Short read on $vmlinux\n" if ($len != $size);
137 close(FD) || die $vmlinux;
H A Dlink-vmlinux.sh3 # link vmlinux
5 # vmlinux is linked from the objects selected by $(KBUILD_VMLINUX_INIT) and
10 # vmlinux
21 # vmlinux version (uname -v) cannot be updated during normal
23 # update vmlinux.
24 # Therefore this step is delayed until just before final link of vmlinux.
40 # Link of vmlinux.o used for section mismatch analysis
48 # Link of vmlinux
122 rm -f vmlinux
123 rm -f vmlinux.o
164 #link vmlinux.o
165 info LD vmlinux.o
166 modpost_link vmlinux.o
168 # modpost vmlinux.o to check for section mismatches
169 ${MAKE} -f "${srctree}/scripts/Makefile.modpost" vmlinux.o
189 # Generate section listing all symbols and add it into vmlinux
202 # 3) The correct ${kallsymso} is linked into the final vmlinux.
204 # a) Verify that the System.map from vmlinux matches the map from
229 info LD vmlinux
230 vmlinux_link "${kallsymso}" vmlinux
233 info SORTEX vmlinux
234 sortextable vmlinux
238 mksysmap vmlinux System.map
H A Dextract-vmlinux3 # extract-vmlinux - Extract uncompressed vmlinux from a kernel image
16 # TODO: find a better to way to check that it's really vmlinux
48 tmp=$(mktemp /tmp/vmlinux-XXX)
62 echo "$me: Cannot find vmlinux." >&2
H A Ddecode_stacktrace.sh7 echo " $0 [vmlinux] [base path]"
11 vmlinux=$1
29 # Use 'nm vmlinux' to figure out the base address of said symbol.
35 local base_addr=$(nm "$vmlinux" | grep -i ' t ' | awk "/ $name\$/ {print \$1}" | head -n1)
55 local code=$(addr2line -i -e "$vmlinux" "$address")
H A DMakefile5 # kallsyms: Find all symbols in vmlinux
H A Dmarkup_oops.pl33 $vmlinux_name = "/lib/modules/$kerver/build/vmlinux";
34 print "No vmlinux specified, assuming $vmlinux_name\n";
H A Dsortextable.c16 * Strategy: alter the vmlinux file in-place.
335 fprintf(stderr, "usage: sortextable vmlinux...\n"); main()
H A Dnamespace.pl20 # objects will result in a flawed analysis. Compile both vmlinux
209 || m:/vmlinux-obj.o$:
H A Dkallsyms.c8 * Usage: nm -n vmlinux | scripts/kallsyms [--all-symbols] > symbols.S
/linux-4.4.14/arch/cris/boot/
H A DMakefile14 $(obj)/Image: vmlinux FORCE
18 $(obj)/compressed/vmlinux: $(obj)/Image FORCE
22 $(obj)/zImage: $(obj)/compressed/vmlinux
/linux-4.4.14/arch/s390/boot/
H A DMakefile15 $(obj)/image: vmlinux FORCE
18 $(obj)/bzImage: $(obj)/compressed/vmlinux FORCE
21 $(obj)/compressed/vmlinux: FORCE
/linux-4.4.14/arch/score/kernel/
H A DMakefile5 extra-y := head.o vmlinux.lds
H A Dvmlinux.lds.S2 * arch/score/kernel/vmlinux.lds.S
26 #include <asm-generic/vmlinux.lds.h>
/linux-4.4.14/arch/openrisc/kernel/
H A DMakefile5 extra-y := head.o vmlinux.lds
H A Dvmlinux.lds.S2 * OpenRISC vmlinux.lds.S
31 #include <asm-generic/vmlinux.lds.h>
H A Dsetup.c52 #include "vmlinux.h"
/linux-4.4.14/arch/powerpc/boot/
H A DzImage.ps3.lds.S7 .kernel:vmlinux.bin : { *(.kernel:vmlinux.bin) }
H A DzImage.lds.S1 #include <asm-generic/vmlinux.lds.h>
55 .kernel:vmlinux.strip :
58 *(.kernel:vmlinux.strip)
H A DzImage.coff.lds.S27 *(.kernel:vmlinux.strip)
H A DMakefile213 $(if $3, -s $3)$(if $4, -d $4)$(if $5, -i $5) vmlinux
334 $(obj)/zImage.initrd.%: vmlinux $(wrapperbits)
337 $(addprefix $(obj)/, $(sort $(filter zImage.%, $(image-y)))): vmlinux $(wrapperbits)
341 $(obj)/dtbImage.initrd.%: vmlinux $(wrapperbits) $(obj)/%.dtb
344 $(obj)/dtbImage.%: vmlinux $(wrapperbits) $(obj)/%.dtb
349 $(obj)/vmlinux.strip: vmlinux
352 $(obj)/uImage: vmlinux $(wrapperbits)
355 $(obj)/uImage.initrd.%: vmlinux $(obj)/%.dtb $(wrapperbits)
358 $(obj)/uImage.%: vmlinux $(obj)/%.dtb $(wrapperbits)
361 $(obj)/cuImage.initrd.%: vmlinux $(obj)/%.dtb $(wrapperbits)
364 $(obj)/cuImage.%: vmlinux $(obj)/%.dtb $(wrapperbits)
367 $(obj)/cuImage.%: vmlinux $(obj)/fsl/%.dtb $(wrapperbits)
370 $(obj)/simpleImage.initrd.%: vmlinux $(obj)/%.dtb $(wrapperbits)
373 $(obj)/simpleImage.%: vmlinux $(obj)/%.dtb $(wrapperbits)
376 $(obj)/treeImage.initrd.%: vmlinux $(obj)/%.dtb $(wrapperbits)
379 $(obj)/treeImage.%: vmlinux $(obj)/%.dtb $(wrapperbits)
386 # If there isn't a platform selected then just strip the vmlinux.
388 image-y := vmlinux.strip
396 # Only install the vmlinux
398 sh -x $(srctree)/$(src)/install.sh "$(KERNELRELEASE)" vmlinux System.map "$(INSTALL_PATH)"
400 # Install the vmlinux and other built boot targets.
402 sh -x $(srctree)/$(src)/install.sh "$(KERNELRELEASE)" vmlinux System.map "$(INSTALL_PATH)" $^
411 clean-kernel := vmlinux.strip vmlinux.bin
H A Dmain.c90 static struct addr_range prep_initrd(struct addr_range vmlinux, void *chosen, prep_initrd() argument
115 if (initrd_addr < vmlinux.size) { prep_initrd()
139 * edit the command line passed to vmlinux (by setting /chosen/bootargs).
178 struct addr_range vmlinux, initrd; start() local
203 vmlinux = prep_kernel(); start()
204 initrd = prep_initrd(vmlinux, chosen, start()
219 kentry = (kernel_entry_t) vmlinux.addr; start()
H A Dwrapper62 echo ' [-D datadir] [-W workingdir] [--no-gzip] [vmlinux]' >&2
154 kernel=vmlinux
170 ksection=.kernel:vmlinux.strip
249 ksection=.kernel:vmlinux.bin
323 # Calculate the vmlinux.strip size
H A Dps3.c46 * edit the command line passed to vmlinux (by setting /chosen/bootargs).
/linux-4.4.14/arch/m32r/boot/
H A DMakefile13 $(obj)/zImage: $(obj)/compressed/vmlinux FORCE
17 $(obj)/compressed/vmlinux: FORCE
/linux-4.4.14/arch/m68k/
H A DMakefile124 lilo: vmlinux
125 if [ -f $(INSTALL_PATH)/vmlinux ]; then mv -f $(INSTALL_PATH)/vmlinux $(INSTALL_PATH)/vmlinux.old; fi
127 cat vmlinux > $(INSTALL_PATH)/vmlinux
131 zImage compressed: vmlinux.gz
133 vmlinux.gz: vmlinux
136 cp vmlinux vmlinux.tmp
137 $(STRIP) vmlinux.tmp
138 gzip -9c vmlinux.tmp >vmlinux.gz
139 rm vmlinux.tmp
141 gzip -9c vmlinux >vmlinux.gz
144 bzImage: vmlinux.bz2
146 vmlinux.bz2: vmlinux
149 cp vmlinux vmlinux.tmp
150 $(STRIP) vmlinux.tmp
151 bzip2 -1c vmlinux.tmp >vmlinux.bz2
152 rm vmlinux.tmp
154 bzip2 -1c vmlinux >vmlinux.bz2
158 rm -f vmlinux.gz vmlinux.bz2
161 sh $(srctree)/arch/m68k/install.sh $(KERNELRELEASE) vmlinux.gz System.map "$(INSTALL_PATH)"
/linux-4.4.14/arch/unicore32/boot/compressed/
H A DMakefile4 # create a compressed vmlinuz image from the original vmlinux
38 targets := vmlinux vmlinux.lds font.o font.c head.o misc.o \
54 $(obj)/vmlinux: $(obj)/vmlinux.lds $(obj)/head.o $(obj)/piggy.o \
66 $(obj)/vmlinux.lds: $(obj)/vmlinux.lds.in arch/unicore32/boot/Makefile $(KCONFIG_CONFIG)
/linux-4.4.14/arch/c6x/
H A DMakefile34 # Default to vmlinux.bin, override when needed
35 all: vmlinux.bin
49 vmlinux.bin: vmlinux
52 dtbImage.%: vmlinux
59 @echo ' vmlinux.bin - Binary kernel image (arch/$(ARCH)/boot/vmlinux.bin)'
/linux-4.4.14/arch/c6x/kernel/
H A DMakefile5 extra-y := head.o vmlinux.lds
H A Dvmlinux.lds.S7 #include <asm-generic/vmlinux.lds.h>
/linux-4.4.14/arch/sh/include/asm/
H A Dvmlinux.lds.h4 #include <asm-generic/vmlinux.lds.h>
/linux-4.4.14/arch/cris/kernel/
H A DMakefile7 extra-y := vmlinux.lds
H A Dvmlinux.lds.S11 #include <asm-generic/vmlinux.lds.h>
/linux-4.4.14/arch/m32r/kernel/
H A DMakefile5 extra-y := head.o vmlinux.lds
H A Dvmlinux.lds.S4 #include <asm-generic/vmlinux.lds.h>
/linux-4.4.14/arch/ia64/
H A DMakefile70 compressed: vmlinux.gz
72 vmlinuz: vmlinux.gz
74 vmlinux.gz: vmlinux
77 unwcheck: vmlinux
83 CLEAN_FILES += vmlinux.gz bootloader
85 boot: lib/lib.a vmlinux
88 install: vmlinux.gz
94 echo ' boot - Build vmlinux and bootloader for Ski simulator'
95 echo '* unwcheck - Check vmlinux for invalid unwind info'
/linux-4.4.14/arch/h8300/
H A DMakefile50 vmlinux.srec vmlinux.bin zImage uImage.bin: vmlinux
54 @echo 'vmlinux.bin - Create raw binary'
55 @echo 'vmlinux.srec - Create srec binary'
/linux-4.4.14/arch/unicore32/boot/
H A DMakefile16 $(obj)/Image: vmlinux FORCE
20 $(obj)/compressed/vmlinux: $(obj)/Image FORCE
23 $(obj)/zImage: $(obj)/compressed/vmlinux FORCE
/linux-4.4.14/arch/score/
H A DMakefile34 vmlinux.bin: vmlinux
41 echo ' vmlinux.bin - Raw binary boot image'
/linux-4.4.14/arch/microblaze/boot/
H A DMakefile9 $(obj)/linux.bin: vmlinux FORCE
26 -K _fdt_start vmlinux -o $@
30 $(obj)/simpleImage.%: vmlinux FORCE
/linux-4.4.14/arch/xtensa/boot/boot-elf/
H A DMakefile21 $(obj)/Image.o: vmlinux.bin $(OBJS)
23 --add-section image=vmlinux.bin \
/linux-4.4.14/arch/mips/boot/compressed/
H A DMakefile47 targets += vmlinux.bin
49 $(obj)/vmlinux.bin: $(KBUILD_IMAGE) FORCE
59 targets += vmlinux.bin.z
60 $(obj)/vmlinux.bin.z: $(obj)/vmlinux.bin FORCE
64 OBJCOPYFLAGS_piggy.o := --add-section=.image=$(obj)/vmlinux.bin.z \
66 $(obj)/piggy.o: $(obj)/dummy.o $(obj)/vmlinux.bin.z FORCE
76 $(obj)/vmlinux.bin $(VMLINUX_LOAD_ADDRESS))
/linux-4.4.14/arch/mips/
H A DMakefile62 vmlinux-32 = vmlinux
63 vmlinux-64 = vmlinux.64
70 vmlinux-32 = vmlinux.32
71 vmlinux-64 = vmlinux
76 all-$(CONFIG_BOOT_ELF32) := $(vmlinux-32)
77 all-$(CONFIG_BOOT_ELF64) := $(vmlinux-64)
225 COMPRESSION_FNAME = vmlinux
236 entry-y = 0x$(shell $(NM) vmlinux 2>/dev/null \
299 boot-y := vmlinux.bin
300 boot-y += vmlinux.ecoff
301 boot-y += vmlinux.srec
318 rom.bin rom.sw: vmlinux
330 vmlinux.32: vmlinux
339 vmlinux.64: vmlinux
345 $(boot-y): $(vmlinux-32) FORCE
346 $(Q)$(MAKE) $(build)=arch/mips/boot VMLINUX=$(vmlinux-32) \
351 $(bootz-y): $(vmlinux-32) FORCE
361 CLEAN_FILES += vmlinux.32 vmlinux.64
388 $(Q)install -D -m 755 vmlinux $(INSTALL_PATH)/vmlinux-$(KERNELRELEASE)
402 echo ' vmlinux.ecoff - ECOFF boot image'
403 echo ' vmlinux.bin - Raw binary boot image'
404 echo ' vmlinux.srec - SREC boot image'
405 echo ' vmlinux.32 - 64-bit boot image wrapped in 32bits (IP22/IP32)'
/linux-4.4.14/tools/perf/tests/
H A Dvmlinux-kallsyms.c27 struct machine kallsyms, vmlinux; test__vmlinux_matches_kallsyms() local
29 struct maps *maps = &vmlinux.kmaps.maps[type]; test__vmlinux_matches_kallsyms()
36 * both vmlinux + .ko files and from /proc/kallsyms split by modules. test__vmlinux_matches_kallsyms()
39 machine__init(&vmlinux, "", HOST_KERNEL_ID); test__vmlinux_matches_kallsyms()
69 * same value in the vmlinux file we load. test__vmlinux_matches_kallsyms()
76 * Now repeat step 2, this time for the vmlinux file we'll auto-locate. test__vmlinux_matches_kallsyms()
78 if (machine__create_kernel_maps(&vmlinux) < 0) { test__vmlinux_matches_kallsyms()
83 vmlinux_map = machine__kernel_map(&vmlinux); test__vmlinux_matches_kallsyms()
88 * Locate a vmlinux file in the vmlinux path that has a buildid that test__vmlinux_matches_kallsyms()
96 if (machine__load_vmlinux_path(&vmlinux, type, test__vmlinux_matches_kallsyms()
98 pr_debug("Couldn't find a vmlinux that matches the kernel running on this machine, skipping test\n"); test__vmlinux_matches_kallsyms()
107 * Now look at the symbols in the vmlinux DSO and check if we find all of them test__vmlinux_matches_kallsyms()
186 pr_info("Maps only in vmlinux:\n"); test__vmlinux_matches_kallsyms()
192 * the kernel will have the path for the vmlinux file being used, test__vmlinux_matches_kallsyms()
206 pr_info("Maps in vmlinux with a different name in kallsyms:\n"); test__vmlinux_matches_kallsyms()
240 machine__exit(&vmlinux); test__vmlinux_matches_kallsyms()
H A Dcode-reading.c471 /* Force the use of kallsyms instead of vmlinux to try kcore */ do_test_code_reading()
616 pr_debug("no vmlinux\n"); test__code_reading()
H A Dbuiltin-test.c25 .desc = "vmlinux symtab matches kallsyms",
/linux-4.4.14/arch/xtensa/boot/boot-uboot/
H A DMakefile18 $(obj)/../uImage: vmlinux.bin.gz FORCE
/linux-4.4.14/arch/xtensa/kernel/
H A DMakefile5 extra-y := head.o vmlinux.lds
26 # We need to post-process the generated vmlinux.lds scripts to convert
42 $(obj)/vmlinux.lds: $(src)/vmlinux.lds.S FORCE
H A Dvmlinux.lds.S2 * arch/xtensa/kernel/vmlinux.lds.S
17 #include <asm-generic/vmlinux.lds.h>
/linux-4.4.14/arch/sparc/boot/
H A DMakefile10 targets := tftpboot.img image zImage vmlinux.aout
28 $(obj)/vmlinux.aout: vmlinux FORCE
65 $(obj)/image: vmlinux FORCE
H A Dpiggyback.c77 fprintf(stderr, "Usage: piggyback bits vmlinux.aout System.map fs_img.gz\n"); usage()
/linux-4.4.14/arch/h8300/kernel/
H A DMakefile5 extra-y := vmlinux.lds
H A Dvmlinux.lds.S1 #include <asm-generic/vmlinux.lds.h>
/linux-4.4.14/arch/hexagon/kernel/
H A DMakefile1 extra-y := head.o vmlinux.lds
H A Dvmlinux.lds.S21 #include <asm-generic/vmlinux.lds.h>
31 See asm-generic/vmlinux.lds.h for expansion of some of these macros.
/linux-4.4.14/arch/avr32/kernel/
H A DMakefile5 extra-y := head.o vmlinux.lds
H A Dvmlinux.lds.S11 #include <asm-generic/vmlinux.lds.h>
/linux-4.4.14/arch/alpha/
H A DMakefile53 all boot: $(boot)/vmlinux.gz
55 $(boot)/vmlinux.gz: vmlinux
58 bootimage bootpfile bootpzfile: vmlinux
65 echo '* boot - Compressed kernel image (arch/alpha/boot/vmlinux.gz)'
/linux-4.4.14/arch/metag/
H A DMakefile62 boot_targets += vmlinux.bin
66 all: vmlinux.bin
68 $(boot_targets): vmlinux
81 echo '* vmlinux.bin - Binary kernel image (arch/$(ARCH)/boot/vmlinux.bin)'
/linux-4.4.14/arch/unicore32/kernel/
H A Dvmlinux.lds.S2 * linux/arch/unicore32/kernel/vmlinux.lds.S
13 #include <asm-generic/vmlinux.lds.h>
H A DMakefile30 extra-y := $(head-y) vmlinux.lds
/linux-4.4.14/arch/xtensa/boot/boot-redboot/
H A DMakefile22 $(obj)/zImage.o: vmlinux.bin.gz $(OBJS)
24 --add-section image=vmlinux.bin.gz \
/linux-4.4.14/arch/cris/boot/compressed/
H A DMakefile26 targets := vmlinux piggy.gz decompress.o decompress.bin
34 $(obj)/vmlinux: $(obj)/piggy.gz $(obj)/decompress.bin FORCE
H A Dmisc.c16 * at by vmlinux.lds.S
/linux-4.4.14/arch/sparc/
H A DMakefile68 image zImage uImage tftpboot.img vmlinux.aout: vmlinux
90 echo '* vmlinux - standard sparc64 kernel'
92 echo ' vmlinux.aout - a.out kernel for sparc64'
/linux-4.4.14/arch/microblaze/kernel/
H A DMakefile15 extra-y := head.o vmlinux.lds
H A Dvmlinux.lds.S15 #include <asm-generic/vmlinux.lds.h>
/linux-4.4.14/arch/mn10300/
H A DMakefile74 CLEAN_FILES += $(boot)/compressed/vmlinux
75 CLEAN_FILES += $(boot)/compressed/vmlinux.bin
76 CLEAN_FILES += $(boot)/compressed/vmlinux.bin.gz
78 zImage: vmlinux
/linux-4.4.14/arch/frv/kernel/
H A DMakefile8 extra-y:= head.o vmlinux.lds
H A Dvmlinux.lds.S8 #include <asm-generic/vmlinux.lds.h>
/linux-4.4.14/arch/parisc/
H A DMakefile70 # link a too big vmlinux executable). Not enabled for building modules.
122 Image: vmlinux
124 vmlinuz: vmlinux
129 $(KERNELRELEASE) vmlinux System.map "$(INSTALL_PATH)"
138 @echo '* vmlinux - Uncompressed kernel image (./vmlinux)'
141 @echo ' install - Install uncompressed vmlinux kernel using'
H A Dinstall.sh53 base=vmlinux
/linux-4.4.14/arch/arm/boot/compressed/
H A DMakefile4 # create a compressed vmlinuz image from the original vmlinux
92 targets := vmlinux vmlinux.lds \
113 KBSS_SZ = $(shell $(CROSS_COMPILE)size $(obj)/../../../../vmlinux | \
170 $(obj)/vmlinux: $(obj)/vmlinux.lds $(obj)/$(HEAD) $(obj)/piggy.$(suffix_y).o \
/linux-4.4.14/arch/tile/
H A DMakefile20 ifneq ($(strip $(filter vmlinux modules all,$(goals))),)
69 install -D -m 755 vmlinux $(INSTALL_PATH)/vmlinux-$(KERNELRELEASE)
/linux-4.4.14/arch/tile/kernel/
H A DMakefile5 extra-y := vmlinux.lds head_$(BITS).o
H A Dreboot.c46 hv_restart((HV_VirtAddr) "vmlinux", (HV_VirtAddr) cmd); machine_restart()
H A Dvmlinux.lds.S1 #include <asm-generic/vmlinux.lds.h>
/linux-4.4.14/arch/arm/boot/
H A DMakefile32 $(obj)/xipImage: vmlinux FORCE
47 $(obj)/Image: vmlinux FORCE
51 $(obj)/compressed/vmlinux: $(obj)/Image FORCE
54 $(obj)/zImage: $(obj)/compressed/vmlinux FORCE
H A Dinstall.sh48 base=vmlinux
/linux-4.4.14/arch/mn10300/kernel/
H A DMakefile4 extra-y := head.o vmlinux.lds
H A Dvmlinux.lds.S12 #include <asm-generic/vmlinux.lds.h>
/linux-4.4.14/arch/parisc/kernel/
H A DMakefile5 extra-y := head.o vmlinux.lds
H A Dvmlinux.lds.S20 #include <asm-generic/vmlinux.lds.h>
/linux-4.4.14/arch/x86/boot/
H A DMakefile21 targets := vmlinux.bin setup.bin setup.elf bzImage
67 cmd_image = $(obj)/tools/build $(obj)/setup.bin $(obj)/vmlinux.bin \
70 $(obj)/bzImage: $(obj)/setup.bin $(obj)/vmlinux.bin $(obj)/tools/build FORCE
75 $(obj)/vmlinux.bin: $(obj)/compressed/vmlinux FORCE
86 $(obj)/voffset.h: vmlinux FORCE
95 $(obj)/zoffset.h: $(obj)/compressed/vmlinux FORCE
110 $(obj)/compressed/vmlinux: FORCE
/linux-4.4.14/arch/x86/tools/
H A DMakefile19 cmd_posttest = ($(OBJDUMP) -v | $(AWK) -f $(chkobjdump)) || $(OBJDUMP) -d -j .text $(objtree)/vmlinux | $(AWK) -f $(distill_awk) | $(obj)/test_get_len $(posttest_64bit) $(posttest_verbose)
24 posttest: $(obj)/test_get_len vmlinux $(obj)/insn_sanity
H A Drelocs_common.c15 " vmlinux\n"); usage()
/linux-4.4.14/arch/frv/boot/
H A DMakefile36 $(obj)/Image: vmlinux FORCE
37 $(OBJCOPY) $(OBJCOPYFLAGS) -S vmlinux $@
/linux-4.4.14/usr/
H A Dinitramfs_data.S14 For including the .init.ramfs sections, see include/asm-generic/vmlinux.lds.
25 #include <asm-generic/vmlinux.lds.h>
/linux-4.4.14/include/linux/
H A Dlivepatch.h41 * can be found (optional, vmlinux patches only)
52 * duplicate symbol names in the vmlinux object. If this
70 * vmlinux patches only)
87 * @name: module name (or NULL for vmlinux)
92 * (NULL for vmlinux)
H A Delfnote.h5 * PT_NOTE segment of the final vmlinux image. These are useful for
/linux-4.4.14/arch/sh/
H A DMakefile92 defaultimage-$(CONFIG_SH_7206_SOLUTION_ENGINE) := vmlinux
93 defaultimage-$(CONFIG_SH_7619_SOLUTION_ENGINE) := vmlinux
207 uImage.srec uImage.bin zImage vmlinux.bin vmlinux.srec \
213 $(BOOT_TARGETS): vmlinux
228 @echo ' vmlinux.srec - Create an ELF S-record'
229 @echo ' vmlinux.bin - Create an uncompressed binary image'
/linux-4.4.14/arch/arm64/
H A DMakefile84 Image: vmlinux
87 Image.%: vmlinux
90 zinstall install: vmlinux
/linux-4.4.14/arch/um/
H A DMakefile22 # We require bash because the vmlinux link and loader script cpp use bash
101 linux: vmlinux
108 echo ' real kernel binary, the "vmlinux" binary you'
136 # Used by link-vmlinux.sh which has special support for um link
/linux-4.4.14/arch/um/include/asm/
H A Dcommon.lds.S1 #include <asm-generic/vmlinux.lds.h>
/linux-4.4.14/arch/um/kernel/
H A DMakefile10 extra-y := vmlinux.lds
H A Duml.lds.S1 #include <asm-generic/vmlinux.lds.h>
H A Ddyn.lds.S1 #include <asm-generic/vmlinux.lds.h>
/linux-4.4.14/arch/alpha/kernel/
H A Dvmlinux.lds.S1 #include <asm-generic/vmlinux.lds.h>
H A DMakefile5 extra-y := head.o vmlinux.lds
/linux-4.4.14/arch/arc/kernel/
H A DMakefile36 extra-y := vmlinux.lds head.o
H A Dvmlinux.lds.S9 #include <asm-generic/vmlinux.lds.h>
/linux-4.4.14/scripts/gdb/linux/
H A Dsymbols.py59 The kernel (vmlinux) is taken from the current working directly. Modules (.ko)
132 gdb.write("loading vmlinux\n")
141 # drop all current symbols and reload vmlinux
143 gdb.execute("symbol-file vmlinux")
/linux-4.4.14/arch/mips/lasat/image/
H A DMakefile15 KERNEL_IMAGE = vmlinux
/linux-4.4.14/arch/sh/kernel/
H A DMakefile5 extra-y := head_$(BITS).o vmlinux.lds
H A Dvmlinux.lds.S15 #include <asm/vmlinux.lds.h>
H A Dhead_64.S327 bne r22, r23, tr1 /* Both quad aligned, see vmlinux.lds.S */
/linux-4.4.14/arch/metag/kernel/
H A Dvmlinux.lds.S7 #include <asm-generic/vmlinux.lds.h>
/linux-4.4.14/arch/m32r/
H A DMakefile52 zImage: vmlinux
/linux-4.4.14/arch/arm64/boot/
H A DMakefile19 $(obj)/Image: vmlinux FORCE
/linux-4.4.14/arch/blackfin/kernel/
H A DMakefile5 extra-y := vmlinux.lds
H A Dvmlinux.lds.S7 #include <asm-generic/vmlinux.lds.h>
/linux-4.4.14/arch/sparc/kernel/
H A DMakefile11 # Undefine sparc when processing vmlinux.lds - it is used
14 extra-y += vmlinux.lds
H A Dvmlinux.lds.S3 #include <asm-generic/vmlinux.lds.h>
/linux-4.4.14/
H A DMakefile34 # turn into vmlinux), we will call a sub make in that other dir, and
535 # Build targets only - this includes vmlinux, arch specific targets, clean
547 # Objects we will link into vmlinux / subdirs we need to visit
598 # Defaults to vmlinux, but the arch makefile usually adds further targets
599 all: vmlinux
804 export KBUILD_IMAGE ?= vmlinux
885 vmlinux-dirs := $(patsubst %/,%,$(filter %/, $(init-y) $(init-m) \
889 vmlinux-alldirs := $(sort $(vmlinux-dirs) $(patsubst %/,%,$(filter %/, \
901 # Externally visible symbols (used by link-vmlinux.sh)
904 export KBUILD_LDS := arch/$(SRCARCH)/kernel/vmlinux.lds
907 export KBUILD_ALLDIRS := $(sort $(filter-out arch/%,$(vmlinux-alldirs)) arch Documentation include samples scripts tools)
909 vmlinux-deps := $(KBUILD_LDS) $(KBUILD_VMLINUX_INIT) $(KBUILD_VMLINUX_MAIN)
911 # Final link of vmlinux
912 cmd_link-vmlinux = $(CONFIG_SHELL) $< $(LD) $(LDFLAGS) $(LDFLAGS_vmlinux)
913 quiet_cmd_link-vmlinux = LINK $@
917 vmlinux: scripts/link-vmlinux.sh $(vmlinux-deps) FORCE
928 $(Q)ln -fsn `cd $(srctree) && /bin/pwd`/scripts/gdb/vmlinux-gdb.py
930 +$(call if_changed,link-vmlinux)
934 $(sort $(vmlinux-deps)): $(vmlinux-dirs) ;
936 # Handle descending into subdirectories listed in $(vmlinux-dirs)
942 PHONY += $(vmlinux-dirs)
943 $(vmlinux-dirs): prepare scripts
1100 modules: $(vmlinux-dirs) $(if $(KBUILD_BUILTIN),vmlinux) modules.builtin
1101 $(Q)$(AWK) '!x[$$0]++' $(vmlinux-dirs:%=$(objtree)/%/modules.order) > $(objtree)/modules.order
1106 modules.builtin: $(vmlinux-dirs:%=%/modules.builtin)
1181 signing_key.x509.signer vmlinux-gdb.py
1187 clean-dirs := $(addprefix _clean_, . $(vmlinux-alldirs) Documentation samples)
1194 $(Q)$(CONFIG_SHELL) $(srctree)/scripts/link-vmlinux.sh clean
1257 @echo '* vmlinux - Build the bare kernel'
1488 $(OBJDUMP) -d vmlinux $$(find . -name '*.ko') | \
/linux-4.4.14/arch/s390/
H A DMakefile112 install: vmlinux
115 image bzImage: vmlinux
/linux-4.4.14/arch/microblaze/
H A DMakefile76 linux.bin linux.bin.gz linux.bin.ub: vmlinux
79 simpleImage.%: vmlinux
/linux-4.4.14/arch/unicore32/
H A DMakefile50 zImage Image uImage: vmlinux
/linux-4.4.14/samples/livepatch/
H A Dlivepatch-sample.c58 /* name being NULL means vmlinux */
/linux-4.4.14/arch/mips/include/asm/sn/
H A Dmapped_kernel.h15 * The vmlinux.64 section addresses are put in the xkseg range
/linux-4.4.14/arch/s390/kernel/
H A DMakefile49 extra-y += head.o head64.o vmlinux.lds
H A Dvmlinux.lds.S7 #include <asm-generic/vmlinux.lds.h>
/linux-4.4.14/arch/nios2/kernel/
H A Dvmlinux.lds.S19 #include <asm-generic/vmlinux.lds.h>
/linux-4.4.14/arch/openrisc/
H A DMakefile55 all: vmlinux
/linux-4.4.14/arch/arm64/kernel/
H A DMakefile48 extra-y += $(head-y) vmlinux.lds
H A Dimage.h22 #error This file should only be included in vmlinux.lds.S
H A Dvmlinux.lds.S7 #include <asm-generic/vmlinux.lds.h>
/linux-4.4.14/tools/perf/util/
H A Dsymbol.c702 * the original ELF section names vmlinux have.
1574 const char *vmlinux, bool vmlinux_allocated, dso__load_vmlinux()
1582 if (vmlinux[0] == '/') dso__load_vmlinux()
1583 snprintf(symfs_vmlinux, sizeof(symfs_vmlinux), "%s", vmlinux); dso__load_vmlinux()
1585 symbol__join_symfs(symfs_vmlinux, vmlinux); dso__load_vmlinux()
1603 dso__set_long_name(dso, vmlinux, vmlinux_allocated); dso__load_vmlinux()
1679 * any vmlinux file, try the running kernel kallsyms table. dso__find_kallsyms()
1731 pr_err("No kallsyms or vmlinux with build-id %s was found\n", dso__find_kallsyms()
1749 * Step 1: if the user specified a kallsyms or vmlinux filename, use dso__load_kernel_sym()
1754 * vmlinux file, obviously we can't fallback to another vmlinux (a dso__load_kernel_sym()
1821 * if the user specified a vmlinux filename, use it and only dso__load_guest_kernel_sym()
1873 vmlinux_path[vmlinux_path__nr_entries] = strdup("vmlinux"); vmlinux_path__init()
1877 vmlinux_path[vmlinux_path__nr_entries] = strdup("/boot/vmlinux"); vmlinux_path__init()
1895 snprintf(bf, sizeof(bf), "/boot/vmlinux-%s", kernel_version); vmlinux_path__init()
1900 snprintf(bf, sizeof(bf), "/usr/lib/debug/boot/vmlinux-%s", vmlinux_path__init()
1906 snprintf(bf, sizeof(bf), "/lib/modules/%s/build/vmlinux", kernel_version); vmlinux_path__init()
1911 snprintf(bf, sizeof(bf), "/usr/lib/debug/lib/modules/%s/vmlinux", vmlinux_path__init()
1573 dso__load_vmlinux(struct dso *dso, struct map *map, const char *vmlinux, bool vmlinux_allocated, symbol_filter_t filter) dso__load_vmlinux() argument
H A Dsymbol.h231 const char *vmlinux, bool vmlinux_allocated,
H A Dannotate.c1132 "No vmlinux file%s\nwas found in the path.\n\n" symbol__annotate()
1135 " perf buildid-cache -vu vmlinux\n\n" symbol__annotate()
1137 " --vmlinux vmlinux\n", symbol__annotate()
/linux-4.4.14/scripts/package/
H A Dbuilddeb118 installed_image_path="boot/vmlinux-$version"
387 cp vmlinux $dbg_dir/usr/lib/debug/lib/modules/$version/
390 ln -s ../lib/modules/$version/vmlinux $dbg_dir/usr/lib/debug/boot/vmlinux-$version
392 ln -s lib/modules/$version/vmlinux $dbg_dir/usr/lib/debug/vmlinux-$version
/linux-4.4.14/arch/arc/
H A DMakefile113 bootpImage: vmlinux
117 $(boot_targets): vmlinux
/linux-4.4.14/arch/powerpc/kernel/
H A DMakefile88 extra-y += vmlinux.lds
172 clean-files := vmlinux.lds
H A Dvmlinux.lds.S7 #include <asm-generic/vmlinux.lds.h>
20 happens when running "strip" on vmlinux, because of the AT() magic
/linux-4.4.14/arch/x86/include/asm/
H A Ddwarf2.h45 * vmlinux.lds.S gets changed so it doesn't discard .eh_frame.
H A Dsetup.h99 * being @progbits, which ends up allocating space in the vmlinux
/linux-4.4.14/arch/x86/kernel/
H A DMakefile5 extra-y := head_$(BITS).o head$(BITS).o head.o vmlinux.lds
H A Dvmlinux.lds.S23 #include <asm-generic/vmlinux.lds.h>
/linux-4.4.14/arch/xtensa/
H A DMakefile98 zImage: vmlinux
/linux-4.4.14/arch/cris/
H A DMakefile82 zImage Image: vmlinux
/linux-4.4.14/arch/nios2/
H A DMakefile62 $(BOOT_TARGETS): vmlinux
/linux-4.4.14/arch/frv/
H A DMakefile86 Image: vmlinux
/linux-4.4.14/arch/ia64/kernel/
H A DMakefile9 extra-y := head.o init_task.o vmlinux.lds
H A Dvmlinux.lds.S6 #include <asm-generic/vmlinux.lds.h>
/linux-4.4.14/arch/arm/kernel/
H A DMakefile95 extra-y := $(head-y) vmlinux.lds
H A Dvmlinux.lds.S6 #include <asm-generic/vmlinux.lds.h>
/linux-4.4.14/arch/mips/kernel/
H A DMakefile5 extra-y := head.o vmlinux.lds
H A Dvmlinux.lds.S12 #include <asm-generic/vmlinux.lds.h>
/linux-4.4.14/arch/m68k/sun3x/
H A Dprom.c72 (*romvec->pv_reboot)("vmlinux"); sun3x_reboot()
/linux-4.4.14/arch/powerpc/
H A DMakefile253 cmd_relocs_check = $(CONFIG_SHELL) $< "$(OBJDUMP)" "$(obj)/vmlinux"
256 relocs_check: arch/powerpc/relocs_check.sh vmlinux
262 $(BOOT_TARGETS1): vmlinux
264 $(BOOT_TARGETS2): vmlinux
/linux-4.4.14/tools/perf/
H A Dbuiltin-top.c108 pr_err("Can't annotate %s: No vmlinux file was found in the " perf_top__parse_source()
758 * specified vmlinux file is invalid when we actually have a perf_event__process_sample()
765 * invalid --vmlinux ;-) perf_event__process_sample()
776 ui__warning("A vmlinux file was not found.\n%s", perf_event__process_sample()
1133 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, cmd_top()
1134 "file", "vmlinux pathname"), cmd_top()
1135 OPT_BOOLEAN(0, "ignore-vmlinux", &symbol_conf.ignore_vmlinux, cmd_top()
1136 "don't load vmlinux even if found"), cmd_top()
H A Dbuiltin-annotate.c313 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, cmd_annotate()
314 "file", "vmlinux pathname"), cmd_annotate()
H A Dbuiltin-record.c357 * we prefer the vmlinux path like process_buildids()
358 * /lib/modules/3.16.4/build/vmlinux process_buildids()
1175 "Samples in kernel functions may not be resolved if a suitable vmlinux\n" cmd_record()
1176 "file is not found in the buildid cache or in the vmlinux path.\n\n" cmd_record()
1179 "even with a suitable vmlinux or kallsyms file.\n\n"); cmd_record()
H A Dbuiltin-probe.c487 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, __cmd_probe()
488 "file", "vmlinux pathname"), __cmd_probe()
H A Dbuiltin-report.c398 "As no suitable kallsyms nor vmlinux was found, kernel samples\n" report__warn_kptr_restrict()
677 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, cmd_report()
678 "file", "vmlinux pathname"), cmd_report()
/linux-4.4.14/arch/m68k/sun3/
H A Dconfig.c101 prom_reboot ("vmlinux"); sun3_reboot()
/linux-4.4.14/arch/openrisc/mm/
H A Dinit.c84 * ...from vmlinux.lds.S map_ram()
/linux-4.4.14/arch/parisc/include/asm/
H A Dpage.h130 /* The start of the actual kernel binary---used in vmlinux.lds.S
/linux-4.4.14/arch/ia64/sn/kernel/sn2/
H A Dprominfo_proc.c39 #define FIT_ENTRY_VMLINUX 0x21 /* embedded vmlinux entry */
/linux-4.4.14/arch/blackfin/
H A DMakefile150 $(BOOT_TARGETS): vmlinux
/linux-4.4.14/arch/x86/
H A DMakefile247 bzImage: vmlinux
255 $(BOOT_TARGETS): vmlinux
/linux-4.4.14/scripts/mod/
H A Dmodpost.c11 * Usage: modpost vmlinux module1.o module2.o ...
28 /* Warn about undefined symbols? (do so if we have vmlinux) */
34 /* Warn about section mismatch in vmlinux if set to 1 */
105 return (strcmp(myname, "vmlinux") == 0) || is_vmlinux()
106 (strcmp(myname, "vmlinux.o") == 0); is_vmlinux()
165 unsigned int vmlinux:1; /* 1 if symbol is defined in vmlinux */ member in struct:symbol
325 s->vmlinux = is_vmlinux(mod->name); sym_add_exported()
1939 /* When there's no vmlinux, don't print warnings about read_symbols()
2350 if (sym->vmlinux || sym->kernel) dump_sym()
/linux-4.4.14/kernel/livepatch/
H A Dcore.c89 /* sets obj->mod if object is not vmlinux and module is found */ klp_find_object_module()
262 * object is either vmlinux or the kmod being patched).
781 name = klp_is_module(obj) ? obj->name : "vmlinux"; klp_init_object()
/linux-4.4.14/arch/powerpc/lib/
H A Dfeature-fixups.c159 /* This must be after the text it fixes up, vmlinux.lds.S enforces that atm */
/linux-4.4.14/arch/microblaze/mm/
H A Dinit.c148 /* ALIGN can be remove because _end in vmlinux.lds.S is align */
/linux-4.4.14/firmware/
H A DMakefile234 # final vmlinux link will fail.
/linux-4.4.14/arch/arm/
H A DMakefile326 $(BOOT_TARGETS): vmlinux
/linux-4.4.14/scripts/kconfig/
H A Dstreamline_config.pl82 "file" => "vmlinux",

Completed in 4474 milliseconds

12