Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not discard .gnu.note, GNU ld complains when we link object files #570

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions bindings/cpu_vectors_x86_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -120,3 +120,5 @@ IRQ_ENTRY 12
IRQ_ENTRY 13
IRQ_ENTRY 14
IRQ_ENTRY 15

.section .note.GNU-stack,"",%progbits
2 changes: 2 additions & 0 deletions bindings/virtio/boot.S
Original file line number Diff line number Diff line change
Expand Up @@ -201,3 +201,5 @@ ENTRY(_newstack)
cli
hlt
END(_newstack)

.section .note.GNU-stack,"",%progbits
2 changes: 2 additions & 0 deletions bindings/virtio/pagetable.S
Original file line number Diff line number Diff line change
Expand Up @@ -1046,3 +1046,5 @@ cpu_pdpt:
cpu_pml4:
.quad cpu_pdpt + 0x3
.fill 0x1ff, 0x8, 0x0

.section .note.GNU-stack,"",%progbits
2 changes: 2 additions & 0 deletions bindings/xen/boot.S
Original file line number Diff line number Diff line change
Expand Up @@ -231,3 +231,5 @@ mxcsr_ptr:
*/
.space 4096
bootstack:

.section .note.GNU-stack,"",%progbits
2 changes: 2 additions & 0 deletions bindings/xen/hypercall_page.S
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,5 @@ DECLARE_HYPERCALL(arch_4)
DECLARE_HYPERCALL(arch_5)
DECLARE_HYPERCALL(arch_6)
DECLARE_HYPERCALL(arch_7)

.section .note.GNU-stack,"",%progbits
2 changes: 2 additions & 0 deletions bindings/xen/pagetable.S
Original file line number Diff line number Diff line change
Expand Up @@ -528,3 +528,5 @@ cpu_pdpt:
cpu_pml4:
.quad cpu_pdpt + 0x3
.fill 0x1ff, 0x8, 0x0

.section .note.GNU-stack,"",%progbits