Erno Palonheimo

Results 15 comments of Erno Palonheimo

FWIW, I'm hitting the same bug. avrdude version 6.3 as supplied with latest Arduino IDE on Windows, if that matters. ISP mode, trying to reset a fuse, have the XTAL...

Some background: binutils supports many different formats and architectures. Some of these require separate tables for addresses and procedures, aka GOT and PLT. On IRIX GOT and PLT are combined...

So, two possible avenues: 1. The mega-GOT. With the current binutils, you can create an addresses-only mega-GOT which IRIX `elfdump` can read past the first 16 k entries and which...

The hard N is "when there is a PLT, and GOT + PLT combined size reaches 16382 entries", possibly plus or minus a couple. The breakage is uniform from there...

https://github.com/bminor/binutils-gdb/blob/binutils-2_23-branch/bfd/elfxx-mips.c#L8928 When we hit that condition, we're in the "may or may not work" territory. I am not sure where the GOT + PLT joining happens.

http://mirror.rqsall.com/misc/multi-got-mips.txt Here's the GOT article from dmz-portal.mips.com. Thanks to @larb0b for getting this!

I'd like someone to confirm me being wrong with this one; _what if_ this is only limited to that one particular case - the stuff in `crtend.o` not being accessible...

So, right. Better to document this all while I'm at it, memory can't be trusted here. I used https://esp.iki.fi/generate2.py to generate a library with 20000 functions and variables, and an...

https://gist.github.com/onre/c728cf2b22c206195bfa8afb4d93a71e Here's a sample of what the generate2.py script generates, here with only one function. Basically: 1. create _n_ functions with name func_n_, which return a value we can easily...

Alright, I'm not going to work on this anymore. Here's a tarball and a shell script which might be useful for the next brave soul. Works with gcc 4.7.4, does...