a question about btfixupprep

Oussama Jabbari oussama.jabbari at gmail.com
Tue Apr 29 04:25:24 EDT 2014


On Tue, Apr 29, 2014 at 9:35 AM, Chan Kim <ckim at etri.re.kr> wrote:
> Hi,
> in arch/sparc/boot/Makefile, there is a rule below.
>
> $(obj)/btfix.S: $(obj)/btfixupprep vmlinux FORCE
>         $(call if_changed,btfix)
>
> This makes btfix.S file using btfixupprep executable.
> and from the definition below,
>
> quiet_cmd_btfix         = BTFIX   $@
>       cmd_btfix         = $(OBJDUMP) -x vmlinux | $(obj)/btfixupprep > $@
>
> I can see to make the btfix.S, the make runs
> objdump -x vmlinux | btfixupprep > btfix.S
>
> What does btfixupprep do? maybe relocations? or function name substitution(for sub architecture)?
>
> Regards,
> Chan
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

It would be probably good to cc linux-kbuild mailing list for this question.



More information about the Kernelnewbies mailing list