11 Aug, 2018
1 commit
-
This update adds PPC64 ELF V1 ABI support to bootelf for both the
program header and section header options. Elf64 support was already
present for the program header option, but it was not handling the
PPC64 ELF V1 ABI case. For the PPC64 ELF V1 ABI, the e_entry field of
the elf header must be treated as function descriptor pointer instead
of a function address. The first doubleword of the function descriptor
is the function's entry address.Signed-off-by: Rob Bracero
[trini: Fix whitespace issues]
Signed-off-by: Tom Rini
25 Jul, 2018
1 commit
-
We need to know about x86 relocation definitions even in cases where
we don't officially build against the x86 target, such as with sandbox.So let's move the x86 definitions into the common elf header, where all
other architectures already have them.Signed-off-by: Alexander Graf
07 May, 2018
1 commit
-
When U-Boot started using SPDX tags we were among the early adopters and
there weren't a lot of other examples to borrow from. So we picked the
area of the file that usually had a full license text and replaced it
with an appropriate SPDX-License-Identifier: entry. Since then, the
Linux Kernel has adopted SPDX tags and they place it as the very first
line in a file (except where shebangs are used, then it's second line)
and with slightly different comment styles than us.In part due to community overlap, in part due to better tag visibility
and in part for other minor reasons, switch over to that style.This commit changes all instances where we have a single declared
license in the tag as both the before and after are identical in tag
contents. There's also a few places where I found we did not have a tag
and have introduced one.Signed-off-by: Tom Rini
16 Apr, 2018
2 commits
-
This adds ELF header, program header and section header structure
defines for the 64-bit ELF image.Signed-off-by: Bin Meng
Reviewed-by: Simon Glass -
Fix various style violations in elf.h
- use correct comment format if the comment fits in just one line
- remove the ending period for the one-line comment
- use tab for the indention instead of space
- put the opening brace at the same line of a typedef/union
- remove in a 'typedef struct' for consistencySigned-off-by: Bin Meng
Reviewed-by: Christian Gmeiner
12 Jan, 2018
1 commit
-
Support common commands bdinfo and image format,
also modify common generic flow for RISC-V.Signed-off-by: Rick Chen
Signed-off-by: Rick Chen
Signed-off-by: Greentime Hu
Reviewed-by: Tom Rini
15 Nov, 2016
1 commit
-
Rather than hard-coding the relocation type, add it to the ELF header file
and use it from there.Signed-off-by: Simon Glass
Signed-off-by: Alexander Graf
11 Oct, 2016
1 commit
-
Add this so that we can support 64-bit relocation on x86.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
05 Aug, 2015
1 commit
-
Provide the types necessary to relocate 64-bit images.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
26 Oct, 2014
1 commit
-
Signed-off-by: Jeroen Hofstee
20 Aug, 2013
1 commit
-
Signed-off-by: Wolfgang Denk
[trini Don't remove some copyrights by accident]
Signed-off-by: Tom Rini
20 Jul, 2009
1 commit
-
Shove a lot of the HOSTCC and related #ifdef checking crap into the new
compiler.h header so that we can keep all other headers nice and clean.Also introduce custom uswap functions so we don't have to rely on the non
standard implementations that a host may (or may not in the case of OS X)
provide. This allows mkimage to finally build cleanly on an OS X system.Signed-off-by: Mike Frysinger
04 Apr, 2009
1 commit
-
The original code provided an incomplete set of typedefs for WIN32
compiles and replicated the standard typedefs that are already
provided by stdint.hSigned-off-by: Peter Tyser
21 May, 2008
1 commit
-
This commit gets rid of a huge amount of silly white-space issues.
Especially, all sequences of SPACEs followed by TAB characters get
removed (unless they appear in print statements).Also remove all embedded "vim:" and "vi:" statements which hide
indentation problems.Signed-off-by: Wolfgang Denk
31 Oct, 2003
1 commit
-
* Patch by Kyle Harris, 30 Oct 2003:
Fix build errors for ixdp425 board* Patch by David M. Horn, 29 Oct 2003:
Fixes to build under CYGWIN* Get IceCube MGT5100 working (again)
09 Oct, 2003
1 commit
-
allow mkimage to build and run on Cygwin-hosted systems
* Patch by Frank Müller, 18 Sep 2003:
use bi_intfreq instead of bi_busfreq to compute fec_mii_speed in
cpu/mpc8xx/fec.c* Patch by Pantelis Antoniou, 16 Sep 2003:
add tool to compute fileds in the PLPRCR register for MPC86x
28 Jun, 2003
1 commit
-
- remove trailing white space, trailing empty lines, C++ comments, etc.
- split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c)* Patches by Kenneth Johansson, 25 Jun 2003:
- major rework of command structure
(work done mostly by Michal Cendrowski and Joakim Kristiansen)
01 Oct, 2002
1 commit