kernel-ark/arch/i386/kernel
Jeremy Fitzhardinge 9c9b8b3882 [PATCH] x86: put .note.* sections into a PT_NOTE segment in vmlinux
This patch will pack any .note.* section into a PT_NOTE segment in the output
file.

To do this, we tell ld that we need a PT_NOTE segment.  This requires us to
start explicitly mapping sections to segments, so we also need to explicitly
create PT_LOAD segments for text and data, and map the sections to them
appropriately.  Fortunately, each section will default to its previous
section's segment, so it doesn't take many changes to vmlinux.lds.S.

This only changes i386 for now, but I presume the corresponding changes for
other architectures will be as simple.

This change also adds <linux/elfnote.h>, which defines C and Assembler macros
for actually creating ELF notes.

Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Cc: Eric W. Biederman <ebiederm@xmission.com>
Cc: Hollis Blanchard <hollisb@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-09-26 08:48:55 -07:00
..
acpi Merge trivial low-risk suspend hotkey bugzilla-5918 into release 2006-08-20 21:49:29 -04:00
cpu [CPUFREQ] sw_any_bug_dmi_table can be used on resume, so it isn't initdata 2006-09-22 19:18:19 -04:00
.gitignore
alternative.c
apic.c
apm.c [PATCH] apm: clean up module initalization 2006-09-26 08:48:55 -07:00
asm-offsets.c
bootflag.c
cpuid.c
crash_dump.c
crash.c [PATCH] i386 kexec: allow the kexec on panic support to compile on voyager 2006-07-14 21:53:51 -07:00
doublefault.c
early_printk.c
efi_stub.S
efi.c
entry.S x86: save/restore eflags in context switch 2006-09-18 16:20:40 -07:00
head.S [PATCH] i386: Add kernel thread stack frame termination for properly stopping stack unwinds. 2006-08-30 16:05:15 -07:00
hpet.c [PATCH] Fix faulty HPET clocksource usage (fix for bug #7062) 2006-09-01 11:39:08 -07:00
i386_ksyms.c
i387.c
i8237.c
i8253.c
i8259.c
init_task.c
io_apic.c
ioport.c
irq.c [PATCH] i386: Fix stack switching in do_IRQ 2006-08-30 16:05:16 -07:00
kprobes.c [PATCH] kprobe-booster: disable in preemptible kernel 2006-07-31 13:28:38 -07:00
ldt.c
machine_kexec.c [PATCH] machine_kexec.c: Fix the description of segment handling 2006-07-31 13:28:38 -07:00
Makefile [PATCH] syscall class hookup for all normal targets 2006-09-12 03:04:40 -04:00
mca.c
microcode.c
module.c
mpparse.c
msr.c
nmi.c [PATCH] IDE: Touch NMI watchdog during resume from STR 2006-07-31 13:28:39 -07:00
numaq.c
pci-dma.c
process.c [PATCH] i386: switch_to(): misplaced parentheses 2006-07-28 19:22:35 -07:00
ptrace.c
quirks.c
reboot_fixups.c
reboot.c [PATCH] x86: remove locally-defined ldt structure in favour of standard type 2006-09-26 08:48:55 -07:00
relocate_kernel.S
scx200.c
semaphore.c
setup.c [PATCH] x86: add a bootparameter to reserve high linear address space 2006-09-26 08:48:55 -07:00
sigframe.h
signal.c
smp.c
smpboot.c [PATCH] i386: fix flat mode numa on a real numa system 2006-09-25 17:38:36 -07:00
srat.c [PATCH] reduce MAX_NR_ZONES: fix i386 SRAT check for MAX_NR_ZONES 2006-09-26 08:48:47 -07:00
stacktrace.c
summit.c
sys_i386.c
syscall_table.S
sysenter.c
time_hpet.c [PATCH] hpet rtc emulation: add watchdog timer 2006-09-26 08:48:54 -07:00
time.c [PATCH] i386/x86-64: Add user_mode checks to profile_pc for oprofile 2006-07-28 19:28:00 -07:00
topology.c
trampoline.S
traps.c [PATCH] i386: show_registers(): try harder to print failing code 2006-09-26 08:48:55 -07:00
tsc.c
vm86.c
vmlinux.lds.S [PATCH] x86: put .note.* sections into a PT_NOTE segment in vmlinux 2006-09-26 08:48:55 -07:00
vsyscall-int80.S
vsyscall-note.S
vsyscall-sigreturn.S
vsyscall-sysenter.S
vsyscall.lds.S [PATCH] vDSO hash-style fix 2006-07-31 13:28:43 -07:00
vsyscall.S