Hi, playing around with tamago i noticed that if i compile with this command:
GO_EXTLINK_ENABLED=0 CGO_ENABLED=0 GOOS=tamago GOARM=6 GOARCH=arm \ ${TAMAGO} build -ldflags "-v -T 0x00008000 -E _rt0_arm_tamago -R 0x1000" $@ The generated (elf) binary has the following symbols: nm main | sort | head 00008000 T internal/cpu.Initialize 00008000 t runtime.text 00008144 T internal/cpu.processOptions 000087d4 T internal/cpu.indexByte 00008848 T type..hash.internal/cpu.CacheLinePad 00008858 T type..eq.internal/cpu.CacheLinePad 00008868 T type..hash.internal/cpu.arm 000088b0 T type..eq.internal/cpu.arm 000088ec T type..hash.internal/cpu.arm64 00008934 T type..eq.internal/cpu.arm64 What determines and is this configurable that internal/cpu.Initialize gets linked at 0x00008000? What i want to achieve is, that the -E entry symbol gets linked first at 0x8000. Thanks. Best regards, Michael -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/95CFBC2D-40C9-47EA-8170-C839D88BCC2C%40ymail.com.