guarantee that for the symbol file the execution flag is not set
This commit is contained in:
parent
5f99201f9e
commit
f3bbe9fa91
1 changed files with 2 additions and 0 deletions
|
@ -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 *~
|
||||
|
|
Loading…
Add table
Reference in a new issue