Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is memory section nomenclature prefixed with a '.'

The memory sections of an application are typically named as follows:

.text, .data, .bss, ...

My question is, what is the history behind the '.' prefix (why .text and not text)?

like image 891
MM. Avatar asked Apr 06 '12 13:04

MM.


1 Answers

My best guess is that it with no . the words would be seen as labels (I.e. points to jump to) rather than assembler directives.

like image 101
Ross Aiken Avatar answered Oct 15 '22 22:10

Ross Aiken