Deleted Added
sdiff udiff text old ( 5034:6186ef720dd4 ) new ( 5070:3d6a1e37b944 )
full compact
1/*
2 * Copyright (c) 2001-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 439 unchanged lines hidden (view full) ---

448
449 ObjectFile *objFile = createObjectFile(executable);
450 if (objFile == NULL) {
451 fatal("Can't load object file %s", executable);
452 }
453
454 if (objFile->isDynamic())
455 fatal("Object file is a dynamic executable however only static "
456 "executables are supported!\n Please recompile your "
457 "executable as a static binary and try again.\n");
458
459#if THE_ISA == ALPHA_ISA
460 if (objFile->getArch() != ObjectFile::Alpha)
461 fatal("Object file architecture does not match compiled ISA (Alpha).");
462 switch (objFile->getOpSys()) {
463 case ObjectFile::Tru64:
464 process = new AlphaTru64Process(nm, objFile, system,
465 stdin_fd, stdout_fd, stderr_fd,
466 argv, envp, cwd,

--- 110 unchanged lines hidden ---