Skip to content

Instantly share code, notes, and snippets.

@Circuitsoft
Created November 1, 2012 22:44
Show Gist options
  • Save Circuitsoft/3997201 to your computer and use it in GitHub Desktop.
Save Circuitsoft/3997201 to your computer and use it in GitHub Desktop.
ld incremental help
all: out-r.o out-c.o
out-r.o: out-1.o out-2.o
ld -r -o $@ $^
int func2(int parm)
{
return parm+3;
}
int func1(int parm)
{
return func2(parm)+4;
}
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