Old English stocc "stump, post, stake, tree trunk, log," also "pillory" (usually plural, stocks), from Proto-Germanic *stauk- "tree trunk" (source also of Old Norse stokkr "block of wood, trunk of a tree," Old Saxon, Old Frisian stok, Middle Dutch stoc "tree trunk, stump," Dutch stok "stick, cane," Old High German stoc "tree trunk, stick," German Stock "stick, cane;" also Dutch stuk, German Stück "piece"), from an extended form of PIE root *(s)teu- (1) "to push, stick, knock, beat" (see steep (adj.)).
Meaning "ancestry, family" (late 14c.) is a figurative use of the "tree trunk" sense (as in family tree). This is also the root of the meaning "heavy part of a tool," and "part of a rifle held against the shoulder" (1540s). Meaning "person as dull and senseless as a block or log" is from c. 1300; hence "a dull recipient of action or notice" (1540s).
Meaning "framework on which a boat was constructed" (early 15c.) led to figurative phrase on stocks "planned and commenced" (1660s). Taking stock "making an inventory" is attested from 1736. Stock, lock, and barrel "the whole of a thing" is recorded from 1817. Stock-still (late 15c.) is literally "as still as a tree trunk."
"supply for future use" (early 15c.), "sum of money" (mid-15c.), Middle English developments of stock (n.1), but the ultimate sense connection is uncertain. Perhaps the notion is of the "trunk" from which gains are an outgrowth, or from stock (n.1) in obsolete sense of "money-box" (c. 1400). Meaning "subscribed capital of a corporation" is from 1610s.
In stock "in the possession of a trader" is from 1610s. Meaning "broth made by boiling meat or vegetables" is from 1764. Theatrical use, in reference to a company regularly acting together at a given theater, is attested from 1761. Figurative phrase take stock in "regard as important" is from 1870. As the collective term for the movable property of a farm, it is recorded from 1510s; hence livestock.
Old English up, uppe, from Proto-Germanic *upp- "up" (source also of Old Frisian, Old Saxon up "up, upward," Old Norse upp; Danish, Dutch op; Old High German uf, German auf "up"; Gothic iup "up, upward," uf "on, upon, under;" Old High German oba, German ob "over, above, on, upon"), from PIE root *upo "under," also "up from under," hence also "over."
As a preposition, "to a higher place" from c. 1500; also "along, through" (1510s), "toward" (1590s). Often used elliptically for go up, come up, rise up, etc. Up the river "in jail" first recorded 1891, originally in reference to Sing Sing, which is up the Hudson from New York City. To drive someone up the wall (1951) is from the notion of the behavior of lunatics or caged animals. Insulting retort up yours (scil. ass) is attested by late 19c.
1550s, "to drive and catch (swans)," from up (adv.). Intransitive meaning "get up, rise to one's feet" (as in up and leave) is recorded from 1640s. Sense of "to move upward" is recorded from 1737. Meaning "increase" (as in up the price of oil) is attested from 1915. Compare Old English verb uppian "to rise up, swell." Related: Upped; upping. Upping block, used for mounting or dismounting horses, carriages, etc., is attested from 1796 (earlier was horsing-block, 1660s).