commit | 083e14c09b7ae0247b9944a386fdc32cd0719da1 | [log] [tgz] |
---|---|---|
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | Fri Jan 11 13:15:35 2013 +0100 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Thu Feb 14 15:55:03 2013 +0100 |
tree | 0ad777d2fbe57289c011130a51478a108237c55b | |
parent | 4d334fd155b53adfe78393e66850ff4bb0aa8406 [diff] |
s390/modules: add relocation overflow checking Given enough debug options some modules can grow large enough that the GOT table gets bigger than 4K. On s390 the modules are compiled with -fpic which limits the GOT to 4K. The end result is a module that is loaded but won't work. Add a sanity check to apply_rela and return with an error if a relocation error is detected for a module. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>