Skip to content

Commit

Permalink
Add -Wno-trampolines as needed
Browse files Browse the repository at this point in the history
  • Loading branch information
rth7680 committed Jan 8, 2015
1 parent 1a0a8d1 commit b920585
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2015-01-08 Richard Henderson <rth@redhat.com>

* elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
(CFLAGS-tst-execstack-prog.c): Likewise.
* nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.

2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
Sandra Loosemore <sandra@codesourcery.com>
Andrew Jenner <andrew@codesourcery.com>
Expand Down
2 changes: 2 additions & 0 deletions elf/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -861,6 +861,8 @@ $(objpfx)tst-execstack-needed: $(objpfx)tst-execstack-mod.so
LDFLAGS-tst-execstack-needed = -Wl,-z,noexecstack

LDFLAGS-tst-execstack-prog = -Wl,-z,execstack
CFLAGS-tst-execstack-prog.c += -Wno-trampolines
CFLAGS-tst-execstack-mod.c += -Wno-trampolines
endif

LDFLAGS-tst-array2 = $(no-as-needed)
Expand Down
1 change: 1 addition & 0 deletions nptl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -619,6 +619,7 @@ tst-exec4-ARGS = $(host-test-program-cmd)
$(objpfx)tst-execstack: $(libdl)
$(objpfx)tst-execstack.out: $(objpfx)tst-execstack-mod.so
LDFLAGS-tst-execstack = -Wl,-z,noexecstack
CFLAGS-tst-execstack-mod.c += -Wno-trampolines

$(objpfx)tst-fini1mod.so: $(shared-thread-library)

Expand Down

0 comments on commit b920585

Please sign in to comment.