Commit 015675fc authored by sven.panne@aedion.de's avatar sven.panne@aedion.de
Browse files

Avoid warning about overlapped pattern for Linux target

parent 5e6e6b8b
...@@ -805,27 +805,31 @@ asmTempLabelPrefix = ...@@ -805,27 +805,31 @@ asmTempLabelPrefix =
pprDynamicLinkerAsmLabel :: DynamicLinkerLabelInfo -> CLabel -> SDoc pprDynamicLinkerAsmLabel :: DynamicLinkerLabelInfo -> CLabel -> SDoc
#if darwin_TARGET_OS #if darwin_TARGET_OS
pprDynamicLinkerAsmLabel SymbolPtr lbl
= char 'L' <> pprCLabel lbl <> text "$non_lazy_ptr"
pprDynamicLinkerAsmLabel CodeStub lbl pprDynamicLinkerAsmLabel CodeStub lbl
= char 'L' <> pprCLabel lbl <> text "$stub" = char 'L' <> pprCLabel lbl <> text "$stub"
pprDynamicLinkerAsmLabel SymbolPtr lbl
= char 'L' <> pprCLabel lbl <> text "$non_lazy_ptr"
pprDynamicLinkerAsmLabel _ _
= panic "pprDynamicLinkerAsmLabel"
#elif powerpc_TARGET_ARCH && linux_TARGET_OS #elif powerpc_TARGET_ARCH && linux_TARGET_OS
pprDynamicLinkerAsmLabel CodeStub lbl pprDynamicLinkerAsmLabel CodeStub lbl
= pprCLabel lbl <> text "@plt" = pprCLabel lbl <> text "@plt"
pprDynamicLinkerAsmLabel SymbolPtr lbl pprDynamicLinkerAsmLabel SymbolPtr lbl
= text ".LC_" <> pprCLabel lbl = text ".LC_" <> pprCLabel lbl
pprDynamicLinkerAsmLabel _ _
= panic "pprDynamicLinkerAsmLabel"
#elif linux_TARGET_OS #elif linux_TARGET_OS
pprDynamicLinkerAsmLabel CodeStub lbl pprDynamicLinkerAsmLabel CodeStub lbl
= pprCLabel lbl <> text "@plt" = pprCLabel lbl <> text "@plt"
pprDynamicLinkerAsmLabel SymbolPtr lbl
= text ".LC_" <> pprCLabel lbl
pprDynamicLinkerAsmLabel GotSymbolPtr lbl pprDynamicLinkerAsmLabel GotSymbolPtr lbl
= pprCLabel lbl <> text "@got" = pprCLabel lbl <> text "@got"
pprDynamicLinkerAsmLabel GotSymbolOffset lbl pprDynamicLinkerAsmLabel GotSymbolOffset lbl
= pprCLabel lbl <> text "@gotoff" = pprCLabel lbl <> text "@gotoff"
pprDynamicLinkerAsmLabel SymbolPtr lbl
= text ".LC_" <> pprCLabel lbl
#elif mingw32_TARGET_OS #elif mingw32_TARGET_OS
pprDynamicLinkerAsmLabel SymbolPtr lbl pprDynamicLinkerAsmLabel SymbolPtr lbl
= text "__imp_" <> pprCLabel lbl = text "__imp_" <> pprCLabel lbl
#endif
pprDynamicLinkerAsmLabel _ _ pprDynamicLinkerAsmLabel _ _
= panic "pprDynamicLinkerAsmLabel" = panic "pprDynamicLinkerAsmLabel"
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment