public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Siddharth Tuli <tsiddharth@juniper.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] bootelf and 64 bit elf application
Date: Thu, 2 Aug 2018 22:19:10 -0700 (MST)	[thread overview]
Message-ID: <1533273550139-0.post@n7.nabble.com> (raw)
In-Reply-To: <5edb618e28233c4122e4412359e21b1b@prototech.us>

Hi George,

Yes, it is an elf64 binary. o/p of objdump -x is,

hello_world:     file format elf64-littleaarch64
hello_world
architecture: aarch64, flags 0x00000112:
EXEC_P, HAS_SYMS, D_PAGED
start address 0x000000000c100000

Program Header:
    LOAD off    0x0000000000010000 vaddr 0x000000000c100000 paddr
0x000000000c100000 align 2**16
         filesz 0x000000000000031a memsz 0x000000000000031a flags r-x
   STACK off    0x0000000000000000 vaddr 0x0000000000000000 paddr
0x0000000000000000 align 2**4
         filesz 0x0000000000000000 memsz 0x0000000000000000 flags rw-
private flags = 0:

Sections:
Idx Name          Size      VMA               LMA               File off 
Algn
  0 .text         00000290  000000000c100000  000000000c100000  00010000 
2**2
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  1 .rodata       0000008a  000000000c100290  000000000c100290  00010290 
2**0
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  2 .comment      0000002b  0000000000000000  0000000000000000  0001031a 
2**0
                  CONTENTS, READONLY
  3 .debug_aranges 00000070  0000000000000000  0000000000000000  00010345 
2**0
                  CONTENTS, READONLY, DEBUGGING
  4 .debug_info   00001808  0000000000000000  0000000000000000  000103b5 
2**0
                  CONTENTS, READONLY, DEBUGGING
  5 .debug_abbrev 000003f0  0000000000000000  0000000000000000  00011bbd 
2**0
                  CONTENTS, READONLY, DEBUGGING
  6 .debug_line   00000301  0000000000000000  0000000000000000  00011fad 
2**0
                  CONTENTS, READONLY, DEBUGGING
  7 .debug_frame  00000090  0000000000000000  0000000000000000  000122b0 
2**3
                  CONTENTS, READONLY, DEBUGGING
  8 .debug_str    00000a77  0000000000000000  0000000000000000  00012340 
2**0
                  CONTENTS, READONLY, DEBUGGING
  9 .debug_loc    00000178  0000000000000000  0000000000000000  00012db7 
2**0
                  CONTENTS, READONLY, DEBUGGING
 10 .debug_ranges 00000050  0000000000000000  0000000000000000  00012f2f 
2**0
                  CONTENTS, READONLY, DEBUGGING
SYMBOL TABLE:
000000000c100000 l    d  .text  0000000000000000 .text
000000000c100290 l    d  .rodata        0000000000000000 .rodata
0000000000000000 l    d  .comment       0000000000000000 .comment
0000000000000000 l    d  .debug_aranges 0000000000000000 .debug_aranges
0000000000000000 l    d  .debug_info    0000000000000000 .debug_info
0000000000000000 l    d  .debug_abbrev  0000000000000000 .debug_abbrev
0000000000000000 l    d  .debug_line    0000000000000000 .debug_line
0000000000000000 l    d  .debug_frame   0000000000000000 .debug_frame
0000000000000000 l    d  .debug_str     0000000000000000 .debug_str
0000000000000000 l    d  .debug_loc     0000000000000000 .debug_loc
0000000000000000 l    d  .debug_ranges  0000000000000000 .debug_ranges
0000000000000000 l    df *ABS*  0000000000000000 hello_world.c
0000000000000000 l    df *ABS*  0000000000000000 stubs.c
000000000c100250 g       .text  0000000000000000 mdelay
000000000c100244 g       .text  0000000000000000 strcpy
000000000c100118 g       .text  0000000000000000 printf
000000000c100214 g       .text  0000000000000000 spi_release_bus
000000000c100220 g       .text  0000000000000000 spi_xfer
000000000c10022c g       .text  0000000000000000 ustrtoul
000000000c100238 g       .text  0000000000000000 ustrtoull
000000000c1001b4 g       .text  0000000000000000 simple_strtol
000000000c1001cc g       .text  0000000000000000 i2c_write
000000000c11031a g       .rodata        0000000000000000 _bss_end__
000000000c1000e8 g       .text  0000000000000000 getc
000000000c10010c g       .text  0000000000000000 puts
000000000c100130 g       .text  0000000000000000 free_hdlr
000000000c10013c g       .text  0000000000000000 malloc
000000000c1001e4 g       .text  0000000000000000 spi_init
000000000c11031a g       .rodata        0000000000000000 __bss_start__
000000000c100160 g       .text  0000000000000000 get_timer
000000000c100178 g       .text  0000000000000000 do_reset
000000000c1000f4 g       .text  0000000000000000 tstc
000000000c10016c g       .text  0000000000000000 vprintf
000000000c11031a g       .rodata        0000000000000000 __bss_end__
000000000c100184 g       .text  0000000000000000 env_get
000000000c100154 g       .text  0000000000000000 udelay
000000000c1001a8 g       .text  0000000000000000 strict_strtoul
000000000c100208 g       .text  0000000000000000 spi_claim_bus
000000000c11031a g       .rodata        0000000000000000 __bss_start
000000000c10025c g       .text  0000000000000000 memset
000000000c1001d8 g       .text  0000000000000000 i2c_read
000000000c110320 g       .rodata        0000000000000000 __end__
000000000c100100 g       .text  0000000000000000 putc
000000000c1001c0 g       .text  0000000000000000 strcmp
000000000c100000 g     F .text  00000000000000dc hello_world
000000000c100190 g       .text  0000000000000000 env_set
000000000c10026c g     F .text  0000000000000024 app_startup
000000000c1001f0 g       .text  0000000000000000 spi_setup_slave
000000000c100124 g       .text  0000000000000000 install_hdlr
000000000c1000dc g     F .text  0000000000000190 dummy
000000000c10019c g       .text  0000000000000000 simple_strtoul
000000000c11031a g       .rodata        0000000000000000 _edata
000000000c110320 g       .rodata        0000000000000000 _end
000000000c1000dc g       .text  0000000000000000 get_version
000000000c1001fc g       .text  0000000000000000 spi_free_slave
000000000c100148 g       .text  0000000000000000 free


Regards

Siddharth




--
Sent from: http://u-boot.10912.n7.nabble.com/

      reply	other threads:[~2018-08-03  5:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-02  4:06 [U-Boot] bootelf and 64 bit elf application Siddharth Tuli
2018-08-02 16:10 ` George Robinson
2018-08-03  5:19   ` Siddharth Tuli [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1533273550139-0.post@n7.nabble.com \
    --to=tsiddharth@juniper.net \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox