#!/bin/sh # SPDX-License-Identifier: GPL-2.0 # A script to dump mixed source code & assembly # with correct relocations from System.map # Requires the following lines in makefile: #%.lst: %.c # $(CC) $(c_flags) -g -c -o $*.o $< && # $(srctree)/scripts/makelst $*.o System.map $(OBJDUMP) > $@ # # Copyright (C) 2000 IBM Corporation # Author(s): DJ Barrow (djbarrow@de.ibm.com,barrow_dj@yahoo.com) # William Stearns # # awk style field access field() { shift $1 ; echo $1 } t1=`$3 --syms $1 | grep .text | grep -m1 " F "` if [ -n "$t1" ]; then t2=`field 6 $t1` if [ ! -r $2 ]; then echo "No System.map" >&2 else t3=`grep $t2 $2` t4=`field 1 $t3` t5=`field 1 $t1` t6=`printf "%lu" $((0x$t4 - 0x$t5))` fi fi $3 -r --source --adjust-vma=${t6:-0} $1 t name='h' onchange='this.form.submit();'> Hosts the 0x221E linux distro kernel.Ubuntu
summaryrefslogtreecommitdiff
path: root/Documentation/dev-tools
AgeCommit message (Expand)Author
2017-05-16kgdb.rst: Adjust ReST markupsMauro Carvalho Chehab
2017-05-16docs-rst: convert kgdb DocBook to ReSTMauro Carvalho Chehab
2017-03-09scripts/spelling.txt: add "disble(d)" pattern and fix typo instancesMasahiro Yamada
2017-02-15Improve sparse documentationMatthew Wilcox
2016-12-16Documentation/sparse: drop __CHECK_ENDIAN__Michael S. Tsirkin
2016-12-16Documentation/sparse: drop __bitwise__Michael S. Tsirkin
2016-11-03Documentation/dev-tools: use code-block with proper languageJani Nikula
2016-10-26doc-rst: make dev-tools folder buildable stand-aloneMarkus Heiser
2016-10-11mm: kmemleak: avoid using __va() on addresses that don't have a lowmem mappingCatalin Marinas
2016-08-19Merge branch 'dev-tools' into doc/4.9Jonathan Corbet
2016-08-18docs: Sphinxify gdb-kernel-debugging.txt and move to dev-toolsJonathan Corbet
2016-08-18docs: sphinxify kmemcheck.txt and move to dev-toolsJonathan Corbet
2016-08-18docs: sphinxify kmemleak.txt and move it to dev-toolsJonathan Corbet
2016-08-18docs: sphinxify ubsan.txt and move it to dev-toolsJonathan Corbet
2016-08-18docs: sphinxify kasan.txt and move to dev-toolsJonathan Corbet
2016-08-18docs: sphinixfy gcov.txt and move to dev-toolsJonathan Corbet
2016-08-18docs: sphinxify kcov.txt and move to dev-toolsJonathan Corbet
2016-08-18docs: sphinxify sparse.txt and move to dev-toolsJonathan Corbet
2016-08-18docs: sphinxify coccinelle.txt and add it to dev-toolsJonathan Corbet
2016-08-18docs: create a new dev-tools directoryJonathan Corbet