Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
c17f301c
Commit
c17f301c
authored
Aug 05, 2012
by
ian@well-typed.com
Browse files
Remove LD_X; it's no longer used
parent
2d2650bf
Changes
5
Hide whitespace changes
Inline
Side-by-side
aclocal.m4
View file @
c17f301c
...
...
@@ -863,17 +863,6 @@ $2=$fp_cv_$2
])# FP_PROG_LD_FLAG
# FP_PROG_LD_X
# ------------
# Sets the output variable LdXFlag to -x if ld supports this flag.
# Otherwise the variable's value is empty.
AC_DEFUN([FP_PROG_LD_X],
[
FP_PROG_LD_FLAG([-x],[LdXFlag])
AC_SUBST([LdXFlag])
])# FP_PROG_LD_X
# FP_PROG_LD_HashSize31
# ------------
# Sets the output variable LdHashSize31 to --hash-size=31 if ld supports
...
...
compiler/ghc.mk
View file @
c17f301c
...
...
@@ -105,8 +105,6 @@ endif
@
echo
'cLdIsGNULd = "
$(LdIsGNULd)
"'
>>
$@
@
echo
'cLdHasBuildId :: String'
>>
$@
@
echo
'cLdHasBuildId = "
$(LdHasBuildId)
"'
>>
$@
@
echo
'cLD_X :: String'
>>
$@
@
echo
'cLD_X = "
$(LD_X)
"'
>>
$@
@
echo
'cGHC_DRIVER_DIR :: String'
>>
$@
@
echo
'cGHC_DRIVER_DIR = "
$(GHC_DRIVER_DIR)
"'
>>
$@
@
echo
'cGHC_UNLIT_PGM :: String'
>>
$@
...
...
compiler/main/DriverPipeline.hs
View file @
c17f301c
...
...
@@ -2107,14 +2107,6 @@ joinObjectFiles dflags o_files output_fn = do
SysTools
.
FileOption
""
output_fn
]
++
args
)
-- Do *not* add the -x flag to ld, because we want to keep those
-- local symbols around for the benefit of external tools. e.g.
-- the 'perf report' output is much less useful if all the local
-- symbols have been stripped out.
--
-- ld_x_flag | null cLD_X = ""
-- | otherwise = "-Wl,-x"
-- suppress the generation of the .note.gnu.build-id section,
-- which we don't need and sometimes causes ld to emit a
-- warning:
...
...
configure.ac
View file @
c17f301c
...
...
@@ -831,7 +831,6 @@ dnl ** check for leading underscores in symbol names
FP_LEADING_UNDERSCORE
dnl ** check for ld, whether it has an -x option, and if it is GNU ld
FP_PROG_LD_X
FP_PROG_LD_IS_GNU
FP_PROG_LD_BUILD_ID
FP_PROG_LD_NO_COMPACT_UNWIND
...
...
mk/config.mk.in
View file @
c17f301c
...
...
@@ -719,11 +719,6 @@ OBJDUMP = @ObjdumpCmd@
LLC
=
@LlcCmd@
OPT
=
@OptCmd@
# Some ld's support the -x flag and some don't, so the configure
# script detects which we have and sets LdXFlag to "-x" or ""
# respectively.
LD_X
=
@LdXFlag@
# GNU ld supports input via a linker script, which is useful to avoid
# overflowing command-line length limits.
LdIsGNULd
=
@LdIsGNULd@
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment