guarantee that for the symbol file the execution flag is not set

This commit is contained in:
Stefan Lankes 2011-02-18 10:01:11 +01:00
parent 5f99201f9e
commit f3bbe9fa91

View file

@ -20,11 +20,13 @@ test_fork: test_fork.o
$(CC) -T link.ld -o $@ $(LDFLAGS) $<
$(OBJCOPY) $(KEEP_DEBUG) $@ $@.sym
$(OBJCOPY) $(STRIP_DEBUG) $@
chmod a-x $@.sym
hello: hello.o
$(CC) -T link.ld -o $@ $(LDFLAGS) $<
$(OBJCOPY) $(KEEP_DEBUG) $@ $@.sym
$(OBJCOPY) $(STRIP_DEBUG) $@
chmod a-x $@.sym
clean:
$(RM) hello test_fork *.sym *.o *~