• R/O
  • HTTP
  • SSH

elf2flt: Zusammenfassung des Repository

Neueste Commits RSS

Rev. Zeit Autor Nachricht
d1f9afe 2015-06-09 16:29:55 Yoshinori Sato rx RX update
03e2838 2015-06-09 16:29:19 Yoshinori Sato RX relocation fix
78c97cf 2015-06-09 16:28:36 Yoshinori Sato RX support
df29fce 2015-06-09 16:25:17 Yoshinori Sato h8300 R_H8_DIR24 fix R_H8_DIR24A8 / R_H8_DIR24R8 keep all byte...
02cadeb 2015-06-09 16:11:04 Yoshinori Sato H8/300 relocation fix Add new relocation R_H8_DISP32A16....
ff674c2 2015-06-09 16:04:13 Yoshinori Sato h8300 address space is 24bit. Signed-off-by: Yoshinori S...
5598aa5 2015-06-09 16:03:53 Yoshinori Sato New bfd support
eb13e35 2014-05-26 13:16:49 Yoshinori Sato sh SH relocation fix
21c6a41 2012-10-04 11:32:38 Greg Ungerer master From: Larry Baker <baker@usgs.gov> The _stack_start symb...
e11cce2 2012-10-04 11:32:38 Greg Ungerer From: Larry Baker <baker@usgs.gov> The _stack_start symb...


Name Rev. Zeit Autor Nachricht
rx d1f9afe 2015-06-09 16:29:55 Yoshinori Sato RX update
h8300 df29fce 2015-06-09 16:25:17 Yoshinori Sato R_H8_DIR24 fix R_H8_DIR24A...
sh eb13e35 2014-05-26 13:16:49 Yoshinori Sato SH relocation fix
master 21c6a41 2012-10-04 11:32:38 Greg Ungerer From: Larry Baker <baker@us...


README - elf2flt

Copyright (C) 2001-2003, SnapGear (www.snapgear.com)

This is Free Software, under the GNU Public Licence v2 or greater.  See
LICENSE.TXT for more details.

Elf2flt with PIC, ZFLAT and full reloc support. Currently supported
targets include: m68k/ColdFire, ARM, Sparc, NEC v850, MicroBlaze, 
h8300, SuperH, and Blackfin.


You need an appropriate libbfd.a and libiberty.a for your target to 
build this tool. They are normally part of the binutils package.

To compile elf2flt do:

    ./configure --target=<ARCH> --with-libbfd=<libbfd.a> --with-libiberty=<libiberty.a>
    make install

The <ARCH> argument to configure specifies what the target architecture is.
This should be the same target as you used to build the binutils and gcc
cross development tools. The --with-libbfd and --with-libiberty arguments
specify where the libbfd.a and libiberty.a library files are to use.


README      - this file
configure   - autoconf configuration shell script
configure.in- original autoconf file
config.*    - autoconf support scripts
Makefile.in - Makefile template used by configure
elf2flt.c   - the source
flthdr.c    - flat header manipulation program
flat.h      - header from uClinux kernel sources
elf2flt.ld  - an example linker script that works for C/C++ and uClinux
ld-elf2flt  - A linker replacement that implements a -elf2flt option for the
              linker and runs elf2flt automatically for you.  It auto
              detects PIC/non-PIC code and adjusts its option accordingly.
              It uses the environment variable FLTFLAGS when running
              elf2flt.  It runs /.../m68k-elf-ld.real to do the actual


The ld-elf2flt produces 2 files as output.  The binary flat file X, and
X.gdb which is used for debugging and PIC purposes.

The '-p' option requires an elf executable linked at address 0.  The
elf2flt.ld provided will generate the correct format binary when linked
with the real linker with *no* '-r' option for the linker.

The '-r' flag can be added to PIC builds to get contiguous code/data.  This
is good for loading application symbols into gdb (add-symbol-file XXX.gdb).

Show on old repository browser