0 votes
in General Knowledge by (744k points)
What does .section do? .rodata? .data? .text?

1 Answer

0 votes
by (744k points)
 
Best answer
.section makes the specified section the current section.

.rodata specifies that the following data is to be placed in the read only memory portion of the executable.

.data changes/sets the current section to the data section

.text changes/sets the current section to the text (or code) section
Welcome to the Answerine , a great place to find, read and share your favorite questions and answers.
...