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

    Rob Bracero
     

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

    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

    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

    Bin Meng
     
  • 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 consistency

    Signed-off-by: Bin Meng
    Reviewed-by: Christian Gmeiner

    Bin Meng
     

12 Jan, 2018

1 commit


15 Nov, 2016

1 commit


11 Oct, 2016

1 commit


05 Aug, 2015

1 commit


26 Oct, 2014

1 commit


20 Aug, 2013

1 commit


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

    Mike Frysinger
     

04 Apr, 2009

1 commit


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

    Wolfgang Denk
     

31 Oct, 2003

1 commit


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

    wdenk
     

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)

    wdenk
     

01 Oct, 2002

1 commit