Skip to content

missing .note.GNU-stack section warnings with recent GNU ld #31

Description

@fuhsnn

Recent versions of ld would complain:

ld: warning: ... missing .note.GNU-stack section implies executable stack

on object files pcc generated.

A simple solution is to append ".section\t.note.GNU-stack,\"\",@progbits" to assembly outputs targeting gas + ld.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions