Skip to contentSkip to conversation

enable pie scripts for hppa64

PATCH In review Mike Frysinger 2 participants 3 messages Aug 9, 2006 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 enable pie scripts for hppa64

ok to apply ? i dont want to step on anyone's toes ... -mike

---------- Forwarded Message ----------

Subject: [patch] enable pie scripts for hppa64
Date: Thursday 20 July 2006 01:18
From: Mike Frysinger <[email protected]>
To: [email protected]

ld/emulparams/hppalinux.sh was updated not too long ago to enable pie
scripts, but hppa64linux.sh was skipped ... any reason to not do this ?
-mike

-------------------------------------------------------

2006-07-19 Mike Frysinger <[email protected]>

* emulparams/hppa64linux.sh (GENERATE_PIE_SCRIPT): Set to yes.

emulparams/hppa64linux.sh +1 -0
@@ -13,6 +13,7 @@
 ENTRY="main"
 TEMPLATE_NAME=elf32
 GENERATE_SHLIB_SCRIPT=yes
+GENERATE_PIE_SCRIPT=yes
 
 # We really want multiple .stub sections, one for each input .text section,
 # but for now this is good enough.

_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 7 lines · Carlos O'Donell
Quoted 1 line · Mike Frysinger

ok to apply ? i dont want to step on anyone's toes ...

Don't worry about stepping on toes! You are doing good work looking for missing hppa features. Your patch looks good. Unfortunately we don't have an hppa64-linux userspace to take advantage of this, and I don't know if HPUX supports -fPIE and -pie.

right, i wasnt expecting a pie script to suddenly make everything work, but i know of no disadvantages and it would make [future] development easier

Quoted 1 line

Have you posted this on binutils for Dave to approve?

i posted it twice so far and havent heard back which is why i forwarded my last one from July to the parisc list
-mike

_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

#3 lore raw
In reply to Mike Frysinger
Quoted 2 lines

ld/emulparams/hppalinux.sh was updated not too long ago to enable pie
scripts, but hppa64linux.sh was skipped ... any reason to not do this ?

Have you tested this on hpux? Inspite of the script's name, its main use is on hpux. There's no 64-bit runtime yet and as far as I know PIE isn't used for kernel builds..

Dave

Signature · 6 lines
J. David Anglin                                  [email protected]
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux