aout_object.cc (5543:3af77710f397) | aout_object.cc (7676:92274350b953) |
---|---|
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; --- 17 unchanged lines hidden (view full) --- 26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * 28 * Authors: Steve Reinhardt 29 */ 30 31#include <string> 32 33#include "base/loader/aout_object.hh" | 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; --- 17 unchanged lines hidden (view full) --- 26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * 28 * Authors: Steve Reinhardt 29 */ 30 31#include <string> 32 33#include "base/loader/aout_object.hh" |
34 | |
35#include "base/loader/symtab.hh" | 34#include "base/loader/symtab.hh" |
36 37#include "base/trace.hh" // for DPRINTF 38 | 35#include "base/trace.hh" |
39#include "base/loader/exec_aout.h" 40 41using namespace std; 42 43ObjectFile * 44AoutObject::tryFile(const string &fname, int fd, size_t len, uint8_t *data) 45{ 46 if (!N_BADMAG(*(aout_exechdr *)data)) { --- 50 unchanged lines hidden --- | 36#include "base/loader/exec_aout.h" 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)) { --- 50 unchanged lines hidden --- |