qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] configure: Enable build by default PIE / read-only relocation sections on OpenBSD amd64/i386.
@ 2011-11-29  0:53 Brad
  2011-11-29  2:28 ` Anthony Liguori
  2011-12-11 16:49 ` Blue Swirl
  0 siblings, 2 replies; 5+ messages in thread
From: Brad @ 2011-11-29  0:53 UTC (permalink / raw)
  To: qemu-devel

Enable build by default PIE / read-only relocation sections for the QEMU
binaries on OpenBSD amd64/i386.

Signed-off-by: Brad Smith <brad@comstyle.com> 

---
 configure |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure b/configure
index ac4840d..b113f60 100755
--- a/configure
+++ b/configure
@@ -1116,7 +1116,7 @@ fi
 
 if test "$pie" = ""; then
   case "$cpu-$targetos" in
-    i386-Linux|x86_64-Linux)
+    i386-Linux|x86_64-Linux|i386-OpenBSD|x86_64-OpenBSD)
       ;;
     *)
       pie="no"
-- 
1.7.6


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] [PATCH] configure: Enable build by default PIE / read-only relocation sections on OpenBSD amd64/i386.
  2011-11-29  0:53 [Qemu-devel] [PATCH] configure: Enable build by default PIE / read-only relocation sections on OpenBSD amd64/i386 Brad
@ 2011-11-29  2:28 ` Anthony Liguori
  2011-11-29  4:15   ` Brad
  2011-12-11 16:49 ` Blue Swirl
  1 sibling, 1 reply; 5+ messages in thread
From: Anthony Liguori @ 2011-11-29  2:28 UTC (permalink / raw)
  To: Brad; +Cc: qemu-devel

On 11/28/2011 06:53 PM, Brad wrote:
> Enable build by default PIE / read-only relocation sections for the QEMU
> binaries on OpenBSD amd64/i386.
>
> Signed-off-by: Brad Smith<brad@comstyle.com>

Can you mention what targets you tested and what toolchain you used on OpenBSD?

Regards,

Anthony Liguori

>
> ---
>   configure |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/configure b/configure
> index ac4840d..b113f60 100755
> --- a/configure
> +++ b/configure
> @@ -1116,7 +1116,7 @@ fi
>
>   if test "$pie" = ""; then
>     case "$cpu-$targetos" in
> -    i386-Linux|x86_64-Linux)
> +    i386-Linux|x86_64-Linux|i386-OpenBSD|x86_64-OpenBSD)
>         ;;
>       *)
>         pie="no"

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] [PATCH] configure: Enable build by default PIE / read-only relocation sections on OpenBSD amd64/i386.
  2011-11-29  2:28 ` Anthony Liguori
@ 2011-11-29  4:15   ` Brad
  2011-12-09  9:17     ` Brad
  0 siblings, 1 reply; 5+ messages in thread
From: Brad @ 2011-11-29  4:15 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: qemu-devel

On 28/11/11 9:28 PM, Anthony Liguori wrote:
> On 11/28/2011 06:53 PM, Brad wrote:
>> Enable build by default PIE / read-only relocation sections for the QEMU
>> binaries on OpenBSD amd64/i386.
>>
>> Signed-off-by: Brad Smith<brad@comstyle.com>
>
> Can you mention what targets you tested and what toolchain you used on
> OpenBSD?

Using a combination of the Linux test images on the QEMU Wiki and OS's I 
have
(OpenBSD (amd64/i386/macppc/sparc/sparc64) / Windows (XP/7)) I tested
arm/cris/i386/m68k/microblaze/mips/mipsel/ppc/sparc/sparc64/sh4/xtensa. The
standard system toolchain which is a customized copy of binutils 2.15 and
which OpenBSD has had PIE support for 3 years / 5 releases now.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] [PATCH] configure: Enable build by default PIE / read-only relocation sections on OpenBSD amd64/i386.
  2011-11-29  4:15   ` Brad
@ 2011-12-09  9:17     ` Brad
  0 siblings, 0 replies; 5+ messages in thread
From: Brad @ 2011-12-09  9:17 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: qemu-devel

On 28/11/11 11:15 PM, Brad wrote:
> On 28/11/11 9:28 PM, Anthony Liguori wrote:
>> On 11/28/2011 06:53 PM, Brad wrote:
>>> Enable build by default PIE / read-only relocation sections for the QEMU
>>> binaries on OpenBSD amd64/i386.
>>>
>>> Signed-off-by: Brad Smith<brad@comstyle.com>
>>
>> Can you mention what targets you tested and what toolchain you used on
>> OpenBSD?
>
> Using a combination of the Linux test images on the QEMU Wiki and OS's I
> have
> (OpenBSD (amd64/i386/macppc/sparc/sparc64) / Windows (XP/7)) I tested
> arm/cris/i386/m68k/microblaze/mips/mipsel/ppc/sparc/sparc64/sh4/xtensa. The
> standard system toolchain which is a customized copy of binutils 2.15 and
> which OpenBSD has had PIE support for 3 years / 5 releases now.

No further comment? Can this please be commited?

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] [PATCH] configure: Enable build by default PIE / read-only relocation sections on OpenBSD amd64/i386.
  2011-11-29  0:53 [Qemu-devel] [PATCH] configure: Enable build by default PIE / read-only relocation sections on OpenBSD amd64/i386 Brad
  2011-11-29  2:28 ` Anthony Liguori
@ 2011-12-11 16:49 ` Blue Swirl
  1 sibling, 0 replies; 5+ messages in thread
From: Blue Swirl @ 2011-12-11 16:49 UTC (permalink / raw)
  To: Brad; +Cc: qemu-devel

Thanks, applied.

On Tue, Nov 29, 2011 at 00:53, Brad <brad@comstyle.com> wrote:
> Enable build by default PIE / read-only relocation sections for the QEMU
> binaries on OpenBSD amd64/i386.
>
> Signed-off-by: Brad Smith <brad@comstyle.com>
>
> ---
>  configure |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/configure b/configure
> index ac4840d..b113f60 100755
> --- a/configure
> +++ b/configure
> @@ -1116,7 +1116,7 @@ fi
>
>  if test "$pie" = ""; then
>   case "$cpu-$targetos" in
> -    i386-Linux|x86_64-Linux)
> +    i386-Linux|x86_64-Linux|i386-OpenBSD|x86_64-OpenBSD)
>       ;;
>     *)
>       pie="no"
> --
> 1.7.6
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-12-11 16:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-29  0:53 [Qemu-devel] [PATCH] configure: Enable build by default PIE / read-only relocation sections on OpenBSD amd64/i386 Brad
2011-11-29  2:28 ` Anthony Liguori
2011-11-29  4:15   ` Brad
2011-12-09  9:17     ` Brad
2011-12-11 16:49 ` Blue Swirl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).