3.5.3 O: Specify Output Name Option

The -o objfile option or its alias --output objfile renames the object file output to be objfile instead of a.out, which is the default name if no option is specified. Whatever the object file is called, the assembler overwrites any existing file with the same name.