Recommit r209532 with -ffreestanding.

This is a test case for r209489.