summaryrefslogtreecommitdiffstats
path: root/make/custom/jmr3904.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'make/custom/jmr3904.cfg')
-rw-r--r--make/custom/jmr3904.cfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/make/custom/jmr3904.cfg b/make/custom/jmr3904.cfg
index f8ac82f6c4..3aa7135b40 100644
--- a/make/custom/jmr3904.cfg
+++ b/make/custom/jmr3904.cfg
@@ -18,7 +18,7 @@ RTEMS_BSP_FAMILY=jmr3904
# gcc 2.95.x and 3.0
#CPU_CFLAGS=-m3900 -G0
# gcc 3.1 and newer
-CPU_CFLAGS=-march=r3900 -G0
+CPU_CFLAGS=-march=r3900 -Wa,-xgot -G0
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
@@ -29,7 +29,7 @@ CFLAGS_OPTIMIZE_V=-O2 -g
# will be able to override parts of the compilers specs and link using gcc.
define make-exe
- $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
+ $(LINK.c) $(AM_CFLAGS) -G0 $(AM_LDFLAGS) \
$(LDLIBS) -o $@ \
$(LINK_OBJS) $(LINK_LIBS)
$(NM) -g -n $@ > $(basename $@).num