This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Keeping Relocations with Darwin Linker when creating executable
- From: Moshe Klausner <KLAUSNER at il dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: dpatel at apple dot dot dot com
- Date: Thu, 18 Mar 2004 10:57:01 +0200
- Subject: Keeping Relocations with Darwin Linker when creating executable
I was trying to maintain the relocation information when linking on MAC OS
X with Darwin linker (default ld?) using the -r option.
However, the output file was not executable.
I also tried the -execute but did not help.
How can I create an executable without stripping the relocation (and
symbols) information at link time?
Thanks & Regards, Moshe
-------------------------------------------------------------------------
Moshe Klausner
IBM Research Lab in Haifa.
Haifa University, Mount Carmel, Haifa 31905, ISRAEL
Phone: (972) 4-829-6217, Mobile: (972) 53-790-448, Fax: (972) 4-829-6116