Permalink
Browse files

Add comment about primitive ordering and linkers.

  • Loading branch information...
1 parent 5f6b20f commit 1921a3379717bb7b251d8b02529ff9199f9aa5c1 @stamourv committed Sep 12, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 vm/Makefile
View
@@ -83,6 +83,8 @@ CROSS := $(call unquote,$(CONFIG_CROSS_COMPILER))
CFLAGS := -Iinclude/ -DPICOBIT -Wall -Werror -Os
arch = arch/$(call unquote,$(CONFIG_ARCH))
+# Some linkers may have trouble with this order. Put arch first if
+# your linker cannot use linker scripts or is limited in other ways.
obj-y = $(addprefix core/,$(core-y)) \
$(addprefix $(arch)/,$(arch-y))
scm-y = $(addprefix $(arch)/,$(stdlib-y))

0 comments on commit 1921a33

Please sign in to comment.