资源简介
在红帽下虚拟powerPC970 安装AIX
虚拟powerPC的安装包 参考http://hi.baidu.com/p2p%C6%F0%B7%C9的安装手册
代码片段和文件信息
/* BFD back-end for AIX on PS/2 core files.
This was based on trad-core.c which was written by John Gilmore of
Cygnus Support.
Copyright 1988 1989 1991 1992 1993 1994 1996 1998 1999 2000
2001 2002 2004
Free Software Foundation Inc.
Written by Minh Tran-Le .
Converted to back end form by Ian Lance Taylor .
This file is part of BFD the Binary File Descriptor library.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License or
(at your option) any later version.
This program is distributed in the hope that it will be useful
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not write to the Free Software
Foundation Inc. 59 Temple Place - Suite 330 Boston MA 02111-1307 USA. */
#include “bfd.h“
#include “sysdep.h“
#include “libbfd.h“
#include “coff/i386.h“
#include “coff/internal.h“
#include “libcoff.h“
#include
#if defined (_AIX) && defined (_I386)
#define NOCHECKS /* This is for coredump.h. */
#define _h_USER /* Avoid including user.h from coredump.h. */
#include
#include
#endif /* _AIX && _I386 */
/* Maybe this could work on some other i386 but I have not tried it
* mtranle@paris - Tue Sep 24 12:49:35 1991
*/
#ifndef COR_MAGIC
# define COR_MAGIC “core“
#endif
/* Need this cast because ptr is really void *. */
#define core_hdr(bfd) \
(((bfd->tdata.trad_core_data))->hdr)
#define core_section(bfdn) \
(((bfd)->tdata.trad_core_data)->sections[n])
#define core_regsec(bfd) \
(((bfd)->tdata.trad_core_data)->reg_section)
#define core_reg2sec(bfd) \
(((bfd)->tdata.trad_core_data)->reg2_section)
/* These are stored in the bfd‘s tdata. */
struct trad_core_struct {
struct corehdr *hdr; /* core file header */
asection *reg_section;
asection *reg2_section;
asection *sections[MAX_CORE_SEGS];
};
static void swap_abort PARAMS ((void));
static const bfd_target *
aix386_core_file_p (abfd)
bfd *abfd;
{
int i n;
unsigned char longbuf[4]; /* Raw bytes of various header fields */
bfd_size_type core_size = sizeof (struct corehdr);
bfd_size_type amt;
struct corehdr *core;
struct mergem {
struct trad_core_struct coredata;
struct corehdr internal_core;
} *mergem;
amt = sizeof (longbuf);
if (bfd_bread ((PTR) longbuf amt abfd) != amt)
{
if (bfd_get_error () != bfd_error_system_call)
bfd_set_error (bfd_error_wrong_format);
return 0;
}
if (strncmp (longbuf COR_MAGIC 4))
return 0;
if (bfd_seek (abfd (file_ptr) 0 0) != 0)
return 0;
amt = sizeof (struct mergem);
mergem = (struct
相关资源
- IBM存储模拟器 IBM Storage Manager v10.50亲
- IBMSystemx3850x6和x3890x6安装和维护指南
- IBM pc兼容计算机完整版
- 80x86+IBM+PC及兼容计算机卷Ⅰ和卷Ⅱ.
- mqtt.fx-1.7.1-windows版本,绿色安装简单
- Visio网络拓扑图模具Cisco、IBM、H3C
- ibmx3650m3驱动
- IBM BPM新一代银行流程
- IBM 3650 M3 服务器使用指南 说明
- libmodbusmodbuspoll以及modbusslave工具
- IBM+SPSS数据分析与挖掘实战案例精粹
- IBM DS管理工具
- IBM V7000模拟器
- 最新版IBM ds storage manager管理软件ibm
- IBM DS Storage Manager V11.2 支持win7 x64 pa
- IBM_X3650 x3550 M4 网卡_16.8.2_windows_32-64驱
- ┃三通IT学院┃_走入ibm小型机世界_
- IBM Data Server .NET Provider
- 最新版IBM ds storage manager管理软件ibm
- VISIO图库包括1000多个海康威视VSD格式
- IBM SPSS Statistics 26官方简体中文手册
- IBM DS Storage Manager V11.2 支持win7 x64 pa
- IBMJDK1.6linux.zip
- IBM spss 数据分析与挖掘案例
- ibm_jdk1.7.1_x86.part2
- ibm_data_server_client_winx64_v11.1 IBM_DB2_客
- ibm版jdk1.8 for linux x64
- ibm_data_server_client_winx64_v11.1 IBM_DB2_客
- ibm_jdk1.7.1_x86
- SPSS 25 演算法SPSS_Statistics_AlgorithmsIBM官
评论
共有 条评论