object_file.cc (3930:f96f7e258255) object_file.cc (5070:3d6a1e37b944)
1/*
2 * Copyright (c) 2002-2004 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;

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

145 if (raw)
146 return RawObject::tryFile(fname, fd, len, fileData);
147
148 // don't know what it is
149 close(fd);
150 munmap((char*)fileData, len);
151 return NULL;
152}
1/*
2 * Copyright (c) 2002-2004 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;

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

145 if (raw)
146 return RawObject::tryFile(fname, fd, len, fileData);
147
148 // don't know what it is
149 close(fd);
150 munmap((char*)fileData, len);
151 return NULL;
152}
153
154bool
155ObjectFile::isDynamic()
156{
157 return false;
158}