Skip to content

Commit

Permalink
[PATCH] x86_64: fix PT_NOTE addition to IA32 vDSO
Browse files Browse the repository at this point in the history
The addition of the PT_NOTE didn't take in the x86_64 version of the i386
vDSO, because I forgot the linker script bit in that copy.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Roland McGrath authored and Linus Torvalds committed Apr 29, 2005
1 parent 0cb766a commit c60c390
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/x86_64/ia32/vsyscall.lds
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ SECTIONS

.text.rtsigreturn : { *(.text.rtsigreturn) } :text =0x90909090

.note : { *(.note.*) } :text :note
.eh_frame_hdr : { *(.eh_frame_hdr) } :text :eh_frame_hdr
.eh_frame : { KEEP (*(.eh_frame)) } :text
.dynamic : { *(.dynamic) } :text :dynamic
Expand All @@ -55,6 +56,7 @@ PHDRS
{
text PT_LOAD FILEHDR PHDRS FLAGS(5); /* PF_R|PF_X */
dynamic PT_DYNAMIC FLAGS(4); /* PF_R */
note PT_NOTE FLAGS(4); /* PF_R */
eh_frame_hdr 0x6474e550; /* PT_GNU_EH_FRAME, but ld doesn't match the name */
}

Expand Down

0 comments on commit c60c390

Please sign in to comment.