Index: src/runtime/lookup-amd64-elf.S ================================================================== --- src/runtime/lookup-amd64-elf.S +++ src/runtime/lookup-amd64-elf.S @@ -68,5 +68,9 @@ .type objc_msg_lookup, @function .type objc_msg_lookup_super, @function .size objc_msg_lookup, forward-objc_msg_lookup .size objc_msg_lookup_super, ret_nil-objc_msg_lookup_super + +#ifdef __linux__ +.section .note.GNU-stack, "", %progbits +#endif Index: src/runtime/lookup-arm-elf.S ================================================================== --- src/runtime/lookup-arm-elf.S +++ src/runtime/lookup-arm-elf.S @@ -63,5 +63,9 @@ .type objc_msg_lookup, %function .type objc_msg_lookup_super, %function .size objc_msg_lookup, objc_msg_lookup_super-objc_msg_lookup .size objc_msg_lookup_super, ret_nil-objc_msg_lookup_super + +#ifdef __linux__ +.section .note.GNU-stack, "", %progbits +#endif Index: src/runtime/lookup-ppc-elf.S ================================================================== --- src/runtime/lookup-ppc-elf.S +++ src/runtime/lookup-ppc-elf.S @@ -83,5 +83,9 @@ .type objc_msg_lookup, @function .type objc_msg_lookup_super, @function .size objc_msg_lookup, forward-objc_msg_lookup .size objc_msg_lookup_super, ret_nil-objc_msg_lookup_super + +#ifdef __linux__ +.section .note.GNU-stack, "", %progbits +#endif Index: src/runtime/lookup-x86-elf.S ================================================================== --- src/runtime/lookup-x86-elf.S +++ src/runtime/lookup-x86-elf.S @@ -76,5 +76,9 @@ .type objc_msg_lookup, @function .type objc_msg_lookup_super, @function .size objc_msg_lookup, forward-objc_msg_lookup .size objc_msg_lookup_super, ret_nil-objc_msg_lookup_super + +#ifdef __linux__ +.section .note.GNU-stack, "", %progbits +#endif