elf2flt is no longer the right name

This commit is contained in:
Wolfgang Thaller 2017-09-24 02:21:10 +02:00
parent 0eb20cae6f
commit a6bc7b5de6
2 changed files with 1 additions and 10 deletions

View File

@ -218,7 +218,6 @@ int main(int argc, char *argv[])
if(boost::algorithm::ends_with(argv[0], "ld"))
{
string outputFile = "a.out";
bool elf2flt = false;
bool elf2mac = false;
vector<string> args2;
@ -235,10 +234,6 @@ int main(int argc, char *argv[])
{
outputFile = (*p).substr(2);
}
else if(*p == "-elf2flt")
{
elf2flt = true;
}
else if(*p == "-elf2mac")
{
elf2mac = true;
@ -250,10 +245,6 @@ int main(int argc, char *argv[])
}
if(elf2mac)
{
errx(EXIT_FAILURE, "-elf2mac: not yet implemented");
}
else if(elf2flt)
{
char tmpfile[] = "/tmp/ldscriptXXXXXX";
int fd = mkstemp(tmpfile);

View File

@ -55,7 +55,7 @@ along with GCC; see the file COPYING3. If not see
#define SUBTARGET_EXTRA_SPECS
#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
many of the definitions that relate to assembler syntax. */