]> xenbits.xensource.com Git - people/wipawel/livepatch-build-tools/commit
Fix patch creation with GCC 6.1+
authorRoss Lagerwall <ross.lagerwall@citrix.com>
Thu, 10 Nov 2016 10:58:45 +0000 (10:58 +0000)
committerRoss Lagerwall <ross.lagerwall@citrix.com>
Mon, 12 Dec 2016 15:18:54 +0000 (15:18 +0000)
commit2af6f1aa62334f8c3d66cf2c5043686833de6cc6
tree705143f5af5e46f451e333b04a3dbb8b8549645e
parent6327ab9c01f6663309cf55f8752492843c070825
Fix patch creation with GCC 6.1+

GCC 6.1+ fixed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=192 which
means that .rodata.str1.[0-9]+ sections are now split by function.  We
could probably be smarter about including just the sections we need, but
for now, simply include the string sections for all functions as is done
for previous versions of GCC.

Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Reported-by: M A Young <m.a.young@durham.ac.uk>
create-diff-object.c