summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--project/common.mk2
-rw-r--r--project/extras.mk4
-rw-r--r--src/internal/pe_entry_point.c6
-rw-r--r--src/internal/pe_lib_entry_point.c6
4 files changed, 9 insertions, 9 deletions
diff --git a/project/common.mk b/project/common.mk
index 4c74d04..1b98bcd 100644
--- a/project/common.mk
+++ b/project/common.mk
@@ -11,7 +11,7 @@ COMMON_SRCS = \
src/headers/pe_get_image_special_hdr_addr.c \
src/imports/pe_enum_image_import_hdrs.c \
src/internal/pe_impl.c \
- src/internal/pe_lib_entry_point.c \
+ src/internal/pe_entry_point.c \
src/meta/pe_get_image_stack_heap_info.c \
src/meta/pe_get_symbol_module_info.c \
src/meta/pe_get_symbol_name.c \
diff --git a/project/extras.mk b/project/extras.mk
index 2af3716..fe95d37 100644
--- a/project/extras.mk
+++ b/project/extras.mk
@@ -9,7 +9,7 @@ LDFLAGS_SHARED += --out-implib $(SHARED_IMPLIB)
LDFLAGS_SHARED += --exclude-all-symbols
ifeq ($(HOST_BITS),32)
- LDFLAGS_SHARED += --entry $(HOST_UNDERSCORE)pe_lib_entry_point@12
+ LDFLAGS_SHARED += --entry $(HOST_UNDERSCORE)pe_entry_point@12
else
- LDFLAGS_SHARED += --entry $(HOST_UNDERSCORE)pe_lib_entry_point
+ LDFLAGS_SHARED += --entry $(HOST_UNDERSCORE)pe_entry_point
endif
diff --git a/src/internal/pe_entry_point.c b/src/internal/pe_entry_point.c
new file mode 100644
index 0000000..e76f137
--- /dev/null
+++ b/src/internal/pe_entry_point.c
@@ -0,0 +1,6 @@
+#include <psxtypes/psxtypes.h>
+
+int __stdcall pe_entry_point(void * hinstance, uint32_t reason, void * reserved)
+{
+ return 1;
+}
diff --git a/src/internal/pe_lib_entry_point.c b/src/internal/pe_lib_entry_point.c
deleted file mode 100644
index efdaa26..0000000
--- a/src/internal/pe_lib_entry_point.c
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <psxtypes/psxtypes.h>
-
-int __stdcall pe_lib_entry_point(void * hinstance, uint32_t reason, void * reserved)
-{
- return 1;
-}