Elrond knew all about runes of every kind. That day he looked at the swords they had brought from the trolls' lair, and he said: "These are not troll-make. They are old swords, very old swords of the High Elves of the West, my kin. They were made in Gondolin for the Goblin-wars. They must have come from a dragon's hoard or goblin plunder, for dragons and goblins destroyed that city many ages ago. This, Thorin, the runes name Orcrist, the Goblin-cleaver in the ancient tongue of Gondolin; it was a famous blade. This, Gandalf, was Glamdring, Foe-hammer that the king of Gondolin once wore. Keep them well!""Whence did the trolls get them, I wonder?" said Thorin looking at his sword with new interest.
"I could not say," said Elrond, "but one may guess that your trolls had plundered other plunderers, or come on the remnants of old robberies in some hold in the mountains of the North. I have heard that there are still forgotten treasures of old to be found in the deserted caverns of the mines of Moria, since the dwarf and goblin war."
~ The Hobbit, Chapter 3, A Short Rest.
Gimli the dwarf alone wore openly a short shirt of steel-rings, for dwarves make light of burdens; and in his belt was a broad-bladed axe. Legolas had a bow and a quiver, and at his belt a long white knife. The younger hobbits wore the swords that they had taken from the barrow; but Frodo took only Sting; and his mail-coat, as Bilbo wished, remained hidden. Gandalf bore his staff, but girt at his side was the elven-sword Glamdring, the mate of Orcrist that lay now upon the breast of Thorin under the Lonely Mountain. ~FoTR: The Ring Goes South