Why is the code section called a text section?

Posted by Gilles on Programmers See other posts from Programmers or by Gilles
Published on 2012-10-26T23:31:46Z Indexed on 2012/10/27 5:17 UTC
Read the original article Hit count: 556

The section of an executable that contains code is sometimes called the .text section. In segmented memory architectures, a segment mapped as code is sometimes called a text segment. The unix error message “text file busy” (ETXTBSY) means “this file is a program that is being executed”.

How did text come to mean executable (machine) code?

An ideal answer would: explain the connection between the word and its meaning; provide a citation for the origin or at least the history of the term; give some idea of which communities use it.

© Programmers or respective owner

Related posts about terminology

Related posts about history