Link object files into an executable program
The ld command is the GNU linker, which links object files into an executable program.
ld (options) (parameters)
ld [options] objfile ...
-o: Specify the output filename;
-e: Specify the entry point symbol of the program.
Object file: Specify the object files to be linked.
This tells ld to produce a file called output by linking the file /lib/crt0.o with hello.o and the library libc.a, which will come from the standard search directories.
ld -o <output> /lib/crt0.o hello.o -lc
ld -o output /lib/crt0.o hello.o -lc