> I must use linker script of ld to control the output file > format. There are example files of linker script, and I want to > choose one to modify. There are example files named ELF-i386.x and > ELF-i386.xr, and so on. Which linker script is used as default in > Redhat linux 6.0 on i386? It depends on what you want to link: a relocatable object, a shared object, or an executable. To see which one is used in a specific linker invocation, use the ld --verbose option. Hope this helps, Martin
- Which Linker Script is used under Redhat Linux 6.0 netease
- Martin v. Loewis