Deleted Added
sdiff udiff text old ( 8229:78bf55f23338 ) new ( 8232:b28d06a175be )
full compact
1/*
2 * Copyright (c) 2003-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;

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

29 */
30
31#include <string>
32
33#include "base/loader/aout_object.hh"
34#include "base/loader/exec_aout.h"
35#include "base/loader/symtab.hh"
36#include "base/trace.hh"
37
38using namespace std;
39
40ObjectFile *
41AoutObject::tryFile(const string &fname, int fd, size_t len, uint8_t *data)
42{
43 if (!N_BADMAG(*(aout_exechdr *)data)) {
44 // right now this is only used for Alpha PAL code

--- 49 unchanged lines hidden ---