git: libc/x86-64: Add GNU-stack ELF notes to many assembly files

John Marino marino at crater.dragonflybsd.org
Sat Sep 5 15:18:25 PDT 2015


commit 8b927cb7b72266b97393ee565d882d7fddfa4375
Author: John Marino <draco at marino.st>
Date:   Sat Sep 5 23:39:43 2015 +0200

    libc/x86-64: Add GNU-stack ELF notes to many assembly files
    
    Most of the assembly files in libc/x86-64 were missing GNU-stack ELF
    notes (they never had them) which means libc and every program that
    links with it has required an executable stack.  I need to determine
    a way to check which object files are missing this section and make
    sure every single libc object file is covered.

Summary of changes:
 lib/libc/x86_64/gen/_setjmp.S      | 2 ++
 lib/libc/x86_64/gen/mcontext.S     | 3 +++
 lib/libc/x86_64/gen/rfork_thread.S | 2 ++
 lib/libc/x86_64/stdlib/div.S       | 2 ++
 lib/libc/x86_64/stdlib/ldiv.S      | 2 ++
 lib/libc/x86_64/stdlib/lldiv.S     | 2 ++
 lib/libc/x86_64/string/bcmp.S      | 2 ++
 lib/libc/x86_64/string/bcopy.S     | 2 ++
 lib/libc/x86_64/string/bzero.S     | 2 ++
 lib/libc/x86_64/string/ffs.S       | 3 +++
 lib/libc/x86_64/string/ffsl.S      | 3 +++
 lib/libc/x86_64/string/fls.S       | 3 +++
 lib/libc/x86_64/string/flsl.S      | 3 +++
 lib/libc/x86_64/string/memcmp.S    | 2 ++
 lib/libc/x86_64/string/memset.S    | 2 ++
 lib/libc/x86_64/string/strcat.S    | 2 ++
 lib/libc/x86_64/string/strcmp.S    | 2 ++
 lib/libc/x86_64/string/strcpy.S    | 2 ++
 lib/libc/x86_64/sys/brk.S          | 2 ++
 lib/libc/x86_64/sys/cerror.S       | 1 +
 lib/libc/x86_64/sys/getcontext.S   | 2 ++
 lib/libc/x86_64/sys/pipe.S         | 2 ++
 lib/libc/x86_64/sys/pipe2.S        | 2 ++
 lib/libc/x86_64/sys/ptrace.S       | 2 ++
 lib/libc/x86_64/sys/reboot.S       | 2 ++
 lib/libc/x86_64/sys/sbrk.S         | 2 ++
 lib/libc/x86_64/sys/setlogin.S     | 2 ++
 lib/libc/x86_64/sys/sigreturn.S    | 2 ++
 lib/libc/x86_64/sys/vfork.S        | 2 ++
 29 files changed, 62 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8b927cb7b72266b97393ee565d882d7fddfa4375


-- 
DragonFly BSD source repository



More information about the Commits mailing list