T
T
tayozhniy13_302018-04-26 16:13:27
ARM
tayozhniy13_30, 2018-04-26 16:13:27

Linker gcc PROVIDE?

Can you explain the purpose of the PROVIDE keyword in the linker script?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
jcmvbkbc, 2018-04-26
@jcmvbkbc

assigning PROVIDE keyword in linker script

Easy . TL;DR: this keyword allows you to define a symbol if it has not been defined in another way (in linked object objects). If it was defined in object files, the definition from there will be used.

T
tayozhniy13_30, 2018-04-27
@tayozhniy13_30

Thanks for the answer. Can you explain the example given in the link? Why is etext indicated twice with and without underlining?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question