mirror of
https://github.com/autc04/Retro68.git
synced 2024-06-11 09:29:44 +00:00
elf2flt is no longer the right name
This commit is contained in:
parent
0eb20cae6f
commit
a6bc7b5de6
|
@ -218,7 +218,6 @@ int main(int argc, char *argv[])
|
||||||
if(boost::algorithm::ends_with(argv[0], "ld"))
|
if(boost::algorithm::ends_with(argv[0], "ld"))
|
||||||
{
|
{
|
||||||
string outputFile = "a.out";
|
string outputFile = "a.out";
|
||||||
bool elf2flt = false;
|
|
||||||
bool elf2mac = false;
|
bool elf2mac = false;
|
||||||
|
|
||||||
vector<string> args2;
|
vector<string> args2;
|
||||||
|
@ -235,10 +234,6 @@ int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
outputFile = (*p).substr(2);
|
outputFile = (*p).substr(2);
|
||||||
}
|
}
|
||||||
else if(*p == "-elf2flt")
|
|
||||||
{
|
|
||||||
elf2flt = true;
|
|
||||||
}
|
|
||||||
else if(*p == "-elf2mac")
|
else if(*p == "-elf2mac")
|
||||||
{
|
{
|
||||||
elf2mac = true;
|
elf2mac = true;
|
||||||
|
@ -250,10 +245,6 @@ int main(int argc, char *argv[])
|
||||||
}
|
}
|
||||||
|
|
||||||
if(elf2mac)
|
if(elf2mac)
|
||||||
{
|
|
||||||
errx(EXIT_FAILURE, "-elf2mac: not yet implemented");
|
|
||||||
}
|
|
||||||
else if(elf2flt)
|
|
||||||
{
|
{
|
||||||
char tmpfile[] = "/tmp/ldscriptXXXXXX";
|
char tmpfile[] = "/tmp/ldscriptXXXXXX";
|
||||||
int fd = mkstemp(tmpfile);
|
int fd = mkstemp(tmpfile);
|
||||||
|
|
|
@ -55,7 +55,7 @@ along with GCC; see the file COPYING3. If not see
|
||||||
#define SUBTARGET_EXTRA_SPECS
|
#define SUBTARGET_EXTRA_SPECS
|
||||||
|
|
||||||
#define LIBGCC_SPEC "-lretrocrt -lgcc"
|
#define LIBGCC_SPEC "-lretrocrt -lgcc"
|
||||||
#define LINK_SPEC "-elf2flt -q -undefined=_consolewrite"
|
#define LINK_SPEC "-elf2mac -q -undefined=_consolewrite"
|
||||||
|
|
||||||
/* Note that some other tm.h files include this one and then override
|
/* Note that some other tm.h files include this one and then override
|
||||||
many of the definitions that relate to assembler syntax. */
|
many of the definitions that relate to assembler syntax. */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user