summaryrefslogtreecommitdiff
path: root/block/blk-sysfs.c
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2013-01-11 12:15:35 (GMT)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2013-02-14 14:55:03 (GMT)
commit083e14c09b7ae0247b9944a386fdc32cd0719da1 (patch)
tree0ad777d2fbe57289c011130a51478a108237c55b /block/blk-sysfs.c
parent4d334fd155b53adfe78393e66850ff4bb0aa8406 (diff)
downloadlinux-083e14c09b7ae0247b9944a386fdc32cd0719da1.tar.xz
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>
Diffstat (limited to 'block/blk-sysfs.c')
0 files changed, 0 insertions, 0 deletions