#363 GCC m68k pc-relative

4.6.x_development
closed-invalid
nobody
None
5
2014-04-11
2014-04-11
WOJTOWSKI
No

Hello,
I was using a Microtek toolchain to generate an executable binary with relocatable code (pc-relative) and data from a fixed address (Absolute data). Today, this toolchain does not work on Windows 7 64 bits. The idea is to replace Microtek toolchain for 68000 with the GNU toolchain (GCC 4.8.0).

But I can not find the same options on the gcc compiler:

Microtec compiler "MCC68K" with:
"-Mcp": Directs the compiler to use PC-relative addressing for all code references.
"-Mda": Directs the compiler to use absolute addressing for all data references.

Gcc (m68k-elf-gcc) with:
-mpcrel

Unable to build with gcc relocatable code with no relocatable data as the Microteck compiler. With "-mpcrel", all is relocatable (code and data).

do you have an idea?

Sorry for my bad english.

Thanks.

Discussion

  • Peter A. Bigot
    Peter A. Bigot
    2014-04-11

    This project is for the (now unuspported) mspgcc toolchain for the Texas Instruments MSP430 processor. For gcc support for other processors including 68000 use: http://gcc.gnu.org/lists.html

     
  • Peter A. Bigot
    Peter A. Bigot
    2014-04-11

    • status: open --> closed-invalid