summaryrefslogtreecommitdiff
path: root/compiler/main/DriverPipeline.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/main/DriverPipeline.hs')
-rw-r--r--compiler/main/DriverPipeline.hs7
1 files changed, 1 insertions, 6 deletions
diff --git a/compiler/main/DriverPipeline.hs b/compiler/main/DriverPipeline.hs
index ee002b2a54..43e096ec21 100644
--- a/compiler/main/DriverPipeline.hs
+++ b/compiler/main/DriverPipeline.hs
@@ -1465,13 +1465,8 @@ mkExtraObjToLinkIntoBinary dflags dep_packages = do
elfSectionNote :: String
elfSectionNote = case platformArch (targetPlatform dflags) of
- ArchX86 -> "@note"
- ArchX86_64 -> "@note"
- ArchPPC -> "@note"
- ArchPPC_64 -> "@note"
- ArchSPARC -> "@note"
ArchARM -> "%note"
- ArchUnknown -> panic "elfSectionNote ArchUnknown"
+ _ -> "@note"
-- The "link info" is a string representing the parameters of the
-- link. We save this information in the binary, and the next time we