]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: link mcountFunc.o to libgmon.a
authorCorinna Vinschen <corinna@vinschen.de>
Wed, 7 Dec 2022 11:20:26 +0000 (12:20 +0100)
committerCorinna Vinschen <corinna@vinschen.de>
Wed, 7 Dec 2022 11:28:33 +0000 (12:28 +0100)
commit95f5b0a62036ad123042914eb07c5cfa8569828c
tree7768d81029bd56a2e927ac245caaeba23f39b8d5
parente9d843ec74b616bbaaadb4f74b13c13ca1bf8e2a
Cygwin: link mcountFunc.o to libgmon.a

Commit 188d5f6c9ad5 erroneously moved the mcountFunc.S file to the
TARGET_FILES target, rather than keeping it in GMON_FILES.  The
result is that the __fentry__ entry point is now entirely undefined,
so `gcc -pg' is broken.

Create new target-specific GMON_TARGET_FILES and move mcountFunc.S
into it.  Add $(GMON_TARGET_FILES) to GMON_FILES.

Fixes: 188d5f6c9ad5 ("Cygwin: x86_64: add wmemset assembler entry point")
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
winsup/cygwin/Makefile.am
winsup/cygwin/release/3.4.1 [new file with mode: 0644]
This page took 0.028733 seconds and 5 git commands to generate.