Menu

#521 formatting difference between ELF Tool Chain and GNU size

RELEASE_1_0
new
nobody
None
2016-02-27
2016-02-27
Ed Maste
No

We prefix the 'hex' column with 0x, GNU binutils does not. I prefer ELF Tool Chain's format. We ought to note the difference in the man page, or just mimic GNU's output for compatibility.

ELF Tool Chain:

% size tmpdir/bintest.o
  text   data   bss   dec   hex   filename
     8      4     0    12   0xc   tmpdir/bintest.o

GNU Binutils:

% /usr/local/bin/size tmpdir/bintest.o
   text    data     bss     dec     hex filename
      8       4       0      12       c tmpdir/bintest.o

Discussion


Log in to post a comment.