Skip to content

Commit

Permalink
Use --script to specify the ksplice-rmsyms.lds linker script.
Browse files Browse the repository at this point in the history
Signed-off-by: Anders Kaseorg <[email protected]>
  • Loading branch information
andersk authored and Tim Abbott committed Jul 6, 2009
1 parent a4d7768 commit fd21362
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kmodsrc/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ CFLAGS_ksplice.o += $(KSPLICE_CFLAGS)
quiet_cmd_ksplice-rmsyms = RMSYMS $@
cmd_ksplice-rmsyms = \
$(ksplice-script) rmsyms $< $<.rmsyms && \
$(LD) -r -o $@ $<.rmsyms $(src)/ksplice-rmsyms.lds
$(LD) --script=$(src)/ksplice-rmsyms.lds -r -o $@ $<.rmsyms
$(obj)/ksplice-rmsyms.o: $(obj)/ksplice.o $(obj)/offsets.o FORCE
$(call if_changed,ksplice-rmsyms)
endif # KSPLICE_STANDALONE

0 comments on commit fd21362

Please sign in to comment.