Skip to contentSkip to conversation

configure: Enable build by default PIE / read-only relocation sections on OpenBSD amd64/i386.

PATCH Applied Brad 3 participants 5 messages Nov 29, 2011 – Dec 11, 2011

lore
Share & tools
lore

Brad

author
#0 lore raw

PATCH 1/1 configure: Enable build by default PIE / read-only relocation sections on OpenBSD amd64/i386.

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

---
 configure |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
configure +1 -1
index ac4840d..b113f60 100755
@@ -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"
Signature · 7 lines
1.7.6


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
#1 lore raw
Quoted 4 lines · Brad

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

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

Regards,

Anthony Liguori

Quoted 18 lines
---
  configure |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
configure +1 -1
index ac4840d..b113f60 100755
@@ -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"
author
#2 lore raw
Quoted 8 lines · Anthony Liguori
Quoted 4 lines · Brad

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

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.

Signature · 3 lines
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
author
#3 lore raw
Quoted 10 lines · Brad
Quoted 8 lines · Anthony Liguori
Quoted 4 lines · Brad

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

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

Quoted 6 lines

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?

Signature · 3 lines
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Applied
#4 lore raw
In reply to Brad

Thanks, applied.

Quoted 32 lines · Brad

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

---
 configure |    2 +-

 1 files changed, 1 insertions(+), 1 deletions(-)
configure +0 -0
index ac4840d..b113f60 100755
@@ -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.