From e85e45fd559a9673496e801fff271c2c35906544 Mon Sep 17 00:00:00 2001 From: Stas Sergeev Date: Mon, 14 Oct 2024 16:43:27 +0300 Subject: [PATCH] dj64.mk: fix packaged build --- dj64.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dj64.mk b/dj64.mk index 68afdb91..1e658409 100644 --- a/dj64.mk +++ b/dj64.mk @@ -70,7 +70,9 @@ XLDFLAGS += $(shell pkg-config --static --libs dj64static) DJ64_XLDFLAGS += -f 0x4000 else XLDFLAGS += $(shell pkg-config --variable=crt0 dj64) \ - --section-start=.note.gnu.property=0x08148000 -section-start=.text=0x08149000 + --section-start=.note.gnu.property=0x08148000 \ + --section-start=.note.package=0x08149000 \ + --section-start=.text=0x0814a000 endif $(XELF): $(AS_OBJECTS) $(PLT_O) $(XLD) $^ $(XLDFLAGS) -o $@