GithubHelp home page GithubHelp logo

openrisc / binutils-gdb Goto Github PK

View Code? Open in Web Editor NEW
5.0 8.0 12.0 389.82 MB

Binutils and gdb fork for OpenRISC

License: GNU General Public License v2.0

Makefile 14.87% C 47.24% Objective-C 0.01% DIGITAL Command Language 0.02% Shell 0.50% Perl 0.11% C++ 4.38% Lex 0.21% Yacc 0.33% Emacs Lisp 0.02% D 7.49% Assembly 14.68% DTrace 8.98% Rust 0.01% Mathematica 0.01% R 0.21% Scheme 0.94% Batchfile 0.01% Common Lisp 0.02% E 0.01%

binutils-gdb's Introduction

		   README for GNU development tools

This directory contains various GNU compilers, assemblers, linkers, 
debuggers, etc., plus their support routines, definitions, and documentation.

If you are receiving this as part of a GDB release, see the file gdb/README.
If with a binutils release, see binutils/README;  if with a libg++ release,
see libg++/README, etc.  That'll give you info about this
package -- supported targets, how to use it, how to report bugs, etc.

It is now possible to automatically configure and build a variety of
tools with one command.  To build all of the tools contained herein,
run the ``configure'' script here, e.g.:

	./configure 
	make

To install them (by default in /usr/local/bin, /usr/local/lib, etc),
then do:
	make install

(If the configure script can't determine your type of computer, give it
the name as an argument, for instance ``./configure sun4''.  You can
use the script ``config.sub'' to test whether a name is recognized; if
it is, config.sub translates it to a triplet specifying CPU, vendor,
and OS.)

If you have more than one compiler on your system, it is often best to
explicitly set CC in the environment before running configure, and to
also set CC when running make.  For example (assuming sh/bash/ksh):

	CC=gcc ./configure
	make

A similar example using csh:

	setenv CC gcc
	./configure
	make

Much of the code and documentation enclosed is copyright by
the Free Software Foundation, Inc.  See the file COPYING or
COPYING.LIB in the various directories, for a description of the
GNU General Public License terms under which you can copy the files.

REPORTING BUGS: Again, see gdb/README, binutils/README, etc., for info
on where and how to report problems.

binutils-gdb's People

Contributors

amodra avatar andreas-schwab avatar brobecke avatar djdelorierh avatar edelsohn avatar eli-zaretskii avatar gingold-adacore avatar hjl-tools avatar hpataxisdotcom avatar ianlancetaylor avatar jakubjelinek avatar jankratochvil avatar jbeulich avatar jim-wilson avatar johntconklin avatar kevinbuettner avatar muller-sourceware-org avatar nickalcock avatar nickclifton avatar palves avatar perbothner avatar rsandifo avatar shtiek avatar simark avatar t-j-teru avatar tromey avatar vapier avatar vprus avatar vries avatar xdje42 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

binutils-gdb's Issues

Little-endian or1k in binutils is unavailable or severely broken.

In some files I found that theoretically binutils supports little-endian OpenRISC, but I can't get the assembler to compile in little-endian format, there's simply no such option for or1k!

I can ask objdump to disassemble in little-endian format, but then half the instructions are broken:

objdump -D -b binary -EB -m or1k test_be.bin

   0:	18 60 07 27 	l.movhi r3,0x727
   4:	a8 63 0e 00 	l.ori r3,r3,0xe00
   8:	9c 63 ff ff 	l.addi r3,r3,-1
   c:	bc 43 00 00 	l.sfgtui r3,0
  10:	13 ff ff fe 	l.bf 0x8
  14:	44 00 48 00 	l.jr r9

objdump -D -b binary -EL -m or1k test_le.bin

   0:	27 07 60 18 	*unknown*
   4:	00 0e 63 a8 	l.ori r3,r3,0xe00
   8:	ff ff 63 9c 	*unknown*
   c:	00 00 43 bc 	l.sfgtui r3,0
  10:	fe ff ff 13 	*unknown*
  14:	00 48 00 44 	l.jr r9

Compilation error

I am trying to build the binutils in my system which is a x86_64-pc-linux-gnu . After I do ./configure and then I try to make install I get the following error

/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: error: โ€˜%sโ€™ directive argument is null [-Werror=format-overflow=]
How can I resolve this?

How to run cgen successfully?

Could you tell me the settings you had to get CGEN to process the CPU description successfully? I'm currently using 1.1 with Guile 1.8.8, and it keep giving me an error about some unbound variable name

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.