From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24939 invoked by alias); 13 Nov 2004 06:58:54 -0000 Mailing-List: contact cgen-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cgen-owner@sources.redhat.com Received: (qmail 24897 invoked from network); 13 Nov 2004 06:58:48 -0000 Received: from unknown (HELO happy.ice.ntnu.edu.tw) (140.122.77.8) by sourceware.org with SMTP; 13 Nov 2004 06:58:48 -0000 Received: from happy.ice.ntnu.edu.tw (localhost [127.0.0.1]) by localhost (Postfix) with ESMTP id A8CE45D0F for ; Sat, 13 Nov 2004 14:59:36 +0800 (CST) Received: from webmail.ice.ntnu.edu.tw (webmail.ice.ntnu.edu.tw [140.122.77.13]) by happy.ice.ntnu.edu.tw (Postfix) with ESMTP id E818D5D0C for ; Sat, 13 Nov 2004 14:59:33 +0800 (CST) From: "c.c.chen" To: cgen@sources.redhat.com Subject: Doing a GAS port Date: Sat, 13 Nov 2004 06:58:00 -0000 Message-Id: <20041113070004.M84659@webmail.ice.ntnu.edu.tw> X-OriginatingIP: 140.109.225.111 (u87011) MIME-Version: 1.0 Content-Type: text/plain; charset=big5 X-SW-Source: 2004-q4/txt/msg00010.txt.bz2 Hi, I wanted to port the GAS to a new target I know that basically I will need to create this file: --GAS target dependent gas/config/tc-CPU.[ch] --opcode library (CGEN done this part) opcodes/CPU-dis.c opcodes/FOO-opc.c --BFD library bfd/{elf32|coff}-CPU.c bfd/cpu-CPU.c ... (Replace CPU with the name of my target chip) I want to ask a quistion? why CGEN doesn't do this part which generate tc-CPU.[ch] files? (because cpu description information is not enough or other reason?) if it is worth writing a framewok to automaticly generate tc-CPU.[ch]( input CPU.cpu file )? (if i just want GAS produce a ELF format object file) c.c.chen