ObjFW  Check-in [1ec5a2b219]

Overview
Comment:Remove -Wl,--default-image-base-low again

Adding .scl and .type fixed it.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 1ec5a2b21978f0be2d0adc13f9fd601d941b6e5d3870bff1fe5c566fa8eaaa25
User & Date: js on 2021-03-23 23:57:56
Other Links: manifest | tags
Context
2021-03-24
00:57
*-x86-win32.S: Add .scl and .type check-in: 30ddefaf51 user: js tags: trunk
2021-03-23
23:57
Remove -Wl,--default-image-base-low again check-in: 1ec5a2b219 user: js tags: trunk
23:07
*-x86_64-win64.S: Add .scl and .type check-in: 7f7b2bbc90 user: js tags: trunk
Changes

Modified configure.ac from [f431246f69] to [ec187ae771].

345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
], [
	AC_MSG_RESULT(yes)
], [
	AC_MSG_RESULT(no)
	AC_MSG_ERROR(Compiler does not support properties!)
])

case "$host" in
x86_64-*-mingw*)
	dnl MSYS2 backported some patches to binutils 2.35 to enable ASLR.
	dnl Unfortunately, those patches result in a crash on start. Tracing it
	dnl in a debugger, a bunch of ctors get executed and after the last
	dnl ctor, it jumps into a random address. Sounds like something in the
	dnl ctor array does not get relocated correctly? In any case, this no
	dnl longer happens with --default-image-base-low.
	AC_MSG_CHECKING([whether we can use -Wl,--default-image-base-low])
	old_LDFLAGS="$LDFLAGS"
	LDFLAGS="$LDFLAGS -Wl,--default-image-base-low"
	AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])], [
		AC_MSG_RESULT(yes)
	], [
		AC_MSG_RESULT(no)
		LDFLAGS="$old_LDFLAGS"
	])
esac

AC_CHECK_TOOL(AR, ar)
AC_PROG_RANLIB

AC_ARG_ENABLE(shared,
	AS_HELP_STRING([--disable-shared], [do not build shared library]))
AS_IF([test x"$enable_shared" != x"no"], [
	BUILDSYS_SHARED_LIB







<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<







345
346
347
348
349
350
351



















352
353
354
355
356
357
358
], [
	AC_MSG_RESULT(yes)
], [
	AC_MSG_RESULT(no)
	AC_MSG_ERROR(Compiler does not support properties!)
])




















AC_CHECK_TOOL(AR, ar)
AC_PROG_RANLIB

AC_ARG_ENABLE(shared,
	AS_HELP_STRING([--disable-shared], [do not build shared library]))
AS_IF([test x"$enable_shared" != x"no"], [
	BUILDSYS_SHARED_LIB