Re: [PATCH 1/2] objtool: Rename rela to reloc

2020-06-01 Thread Josh Poimboeuf
On Fri, May 29, 2020 at 05:52:44PM -0700, Matt Helsley wrote: > So I was rebasing my future patches and I found a few spots where > objtool warning strings and code comments weren't fixed-up to > consistent. Here's the new, complete regex -- it includes the original > changes and the missed bits (e

Re: [PATCH 1/2] objtool: Rename rela to reloc

2020-05-29 Thread Matt Helsley
On Fri, May 29, 2020 at 06:22:00PM -0500, Josh Poimboeuf wrote: > On Fri, May 29, 2020 at 02:01:13PM -0700, Matt Helsley wrote: > > Before supporting additional relocation types rename the relevant > > types and functions from "rela" to "reloc". This work be done with > > the following regex: > >

Re: [PATCH 1/2] objtool: Rename rela to reloc

2020-05-29 Thread Josh Poimboeuf
On Fri, May 29, 2020 at 02:01:13PM -0700, Matt Helsley wrote: > Before supporting additional relocation types rename the relevant > types and functions from "rela" to "reloc". This work be done with > the following regex: > > sed -i -e 's/struct rela/struct reloc/g' \ > -e 's/\

[PATCH 1/2] objtool: Rename rela to reloc

2020-05-29 Thread Matt Helsley
Before supporting additional relocation types rename the relevant types and functions from "rela" to "reloc". This work be done with the following regex: sed -i -e 's/struct rela/struct reloc/g' \ -e 's/\([_\*]\)rela\(s\{0,1\}\)/\1reloc\2/g' \ -e 's/tmprela\