[PATCH] Fix the ld flags not be applied to tst-execstack-mod.so

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 25 Jul 2018, Vineet Gupta wrote:

> But given the dso code has nested function, a well equipped gcc when generating
> trampoline code would also generate the GNU_STACK segment for the dso
> automatically, without need to force the same via the linker flags as is done in
> the Makefile currently. Only when a port's gcc doesn't support this (ARC gcc
> didn't until recently), should we need ld assist, and this could be detected using
> a configure test - No ?

The test should achieve the executable stack markings independent of 
whether nested functions require them on that architecture (for example, 
it should still have the markings on architectures with function 
descriptors).

-- 
Joseph S. Myers
joseph at codesourcery.com



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux