--- Log opened Sat Apr 09 00:00:13 2016 | ||
wallento | olofk: I will have a look at it | 03:07 |
---|---|---|
olofk | wallento: Cool. My goal is to replace this https://github.com/cambridgehackers/binutils-gdb/blob/master/bfd/verilog.c#L207 with something that is aware of endianness | 11:33 |
wallento | olofk: any chance this gets upstream? | 11:45 |
olofk | wallento: Think so https://sourceware.org/bugzilla/show_bug.cgi?id=19921 | 12:13 |
olofk | And Anthony Green (who made the original verilog output) is on board | 12:13 |
olofk | It's just a matter of extending it to support wider memories | 12:13 |
olofk | hmm... I was hoping that if (bfd_header_big_endian (abfd)) | 13:16 |
olofk | would do the trick | 13:16 |
olofk | ...or bfd_big_endian | 13:20 |
olofk | Hmm.. maybe the patch is wrong for both LE and BE | 13:41 |
olofk | ok, so changing endianness can be done with --reverse-bytes, but this only works if section sizes are size%4 == 0 | 13:56 |
olofk | And some stupid .comment section is 11 bytes | 13:56 |
olofk | Why on earth would I want a comment section in an elf file? | 13:56 |
olofk | And why is it 11 bytes? | 13:57 |
olofk | and why does it appear as 16 bytes with objdump -D? | 13:58 |
olofk | hmm... is byteorder part of the file format? | 15:01 |
olofk | I'm starting to believe that the patch is just wrong | 16:19 |
--- Log closed Sun Apr 10 00:00:14 2016 |
Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!