summaryrefslogtreecommitdiffstats
path: root/ld/emultempl
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-10-03 15:11:48 +0000
committerAlan Modra <amodra@gmail.com>2001-10-03 15:11:48 +0000
commit8bd621d8835d2e6a99bd50ae8d18328ab06951ba (patch)
treea0054f75aa1f3e7c025bba18a46dc592f6129521 /ld/emultempl
parent181ddcac374ea90e61502925bbea23934eaa3275 (diff)
downloadppe42-binutils-8bd621d8835d2e6a99bd50ae8d18328ab06951ba.tar.gz
ppe42-binutils-8bd621d8835d2e6a99bd50ae8d18328ab06951ba.zip
Add support for -z nocopyreloc.
Diffstat (limited to 'ld/emultempl')
-rw-r--r--ld/emultempl/elf32.em2
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em
index f2011cece4..c9cf50d914 100644
--- a/ld/emultempl/elf32.em
+++ b/ld/emultempl/elf32.em
@@ -1517,6 +1517,8 @@ cat >>e${EMULATION_NAME}.c <<EOF
link_info.combreloc = true;
else if (strcmp (optarg, "nocombreloc") == 0)
link_info.combreloc = false;
+ else if (strcmp (optarg, "nocopyreloc") == 0)
+ link_info.nocopyreloc = true;
/* What about the other Solaris -z options? FIXME. */
break;
EOF
OpenPOWER on IntegriCloud