Created
November 1, 2012 22:44
-
-
Save Circuitsoft/3997201 to your computer and use it in GitHub Desktop.
ld incremental help
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| all: out-r.o out-c.o | |
| out-r.o: out-1.o out-2.o | |
| ld -r -o $@ $^ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| int func2(int parm) | |
| { | |
| return parm+3; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| int func1(int parm) | |
| { | |
| return func2(parm)+4; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| static int func2(int parm) | |
| { | |
| return parm+3; | |
| } | |
| int func1(int parm) | |
| { | |
| return func2(parm)+4; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment