Igor Kudrin
7b424b9333
[llvm-objcopy] Rename relocation sections together with their targets.
...
As for now, llvm-objcopy renames only sections that are specified
explicitly in --rename-section, while GNU objcopy keeps names of
relocation sections in sync with their targets. For example:
> readelf -S test.o
...
[ 1] .foo PROGBITS
[ 2] .rela.foo RELA
> objcopy --rename-section .foo=.bar test.o gnu.o
> readelf -S gnu.o
...
[ 1] .bar PROGBITS
[ 2] .rela.bar RELA
> llvm-objcopy --rename-section .foo=.bar test.o llvm.o
> readelf -S llvm.o
...
[ 1] .bar PROGBITS
[ 2] .rela.foo RELA
This patch makes llvm-objcopy to match the behavior of GNU objcopy better.
Differential Revision: https://reviews.llvm.org/D110352
2021-09-29 16:36:37 +07:00
..
2021-06-16 10:08:20 -07:00
2020-11-04 09:39:14 -08:00
2021-03-04 11:32:27 +00:00
2021-03-04 11:32:27 +00:00
2020-11-04 09:39:14 -08:00
2021-05-12 12:39:30 +04:00
2020-11-09 13:00:50 +03:00
2020-11-09 13:00:50 +03:00
2021-03-04 10:23:45 +00:00
2020-11-09 13:00:50 +03:00
2020-12-14 12:03:00 +03:00
2020-11-09 13:00:50 +03:00
2021-03-05 08:57:40 +00:00
2020-11-09 13:00:50 +03:00
2021-01-02 12:17:39 -06:00
2021-02-01 15:01:25 -08:00
2020-11-09 13:00:50 +03:00
2020-11-09 13:00:50 +03:00
2020-11-09 13:00:50 +03:00
2020-11-09 13:00:50 +03:00
2021-03-04 11:32:27 +00:00
2020-11-09 13:00:50 +03:00
2020-11-09 13:00:50 +03:00
2021-07-15 10:26:21 -07:00
2020-11-09 13:00:50 +03:00
2021-01-02 12:17:39 -06:00
2021-05-04 17:30:57 -07:00
2021-08-12 17:12:09 +07:00
2021-08-12 17:12:09 +07:00
2020-11-09 13:00:50 +03:00
2021-01-29 07:16:30 -05:00
2021-03-04 11:32:27 +00:00
2021-07-15 10:26:21 -07:00
2021-07-15 10:26:21 -07:00
2021-07-26 09:05:18 -07:00
2020-11-09 13:00:50 +03:00
2021-08-12 17:12:09 +07:00
2021-06-12 12:23:07 -07:00
2021-06-16 10:08:20 -07:00
2020-11-09 13:00:50 +03:00
2021-03-04 11:32:27 +00:00
2021-03-04 11:32:27 +00:00
2021-08-12 17:12:09 +07:00
2020-12-14 12:03:00 +03:00
2021-03-04 11:32:27 +00:00
2021-03-04 09:42:43 +00:00
2020-11-09 13:00:50 +03:00
2021-02-24 11:10:09 -08:00
2020-12-14 12:03:00 +03:00
2021-08-12 17:12:09 +07:00
2020-11-09 13:00:50 +03:00
2020-11-09 13:00:50 +03:00
2021-03-04 11:32:27 +00:00
2021-03-04 11:32:27 +00:00
2020-11-09 13:00:50 +03:00
2020-11-09 13:00:50 +03:00
2020-11-09 13:00:50 +03:00
2021-03-04 11:32:27 +00:00
2020-12-14 12:03:00 +03:00
2021-07-26 09:05:18 -07:00
2020-11-09 13:00:50 +03:00
2021-03-04 11:32:27 +00:00
2021-09-29 16:36:37 +07:00
2021-03-04 11:32:27 +00:00
2020-11-09 13:00:50 +03:00
2020-11-09 13:00:50 +03:00
2020-11-09 13:00:50 +03:00
2021-03-04 11:32:27 +00:00
2021-03-04 11:32:27 +00:00
2021-03-04 11:32:27 +00:00
2021-08-12 17:12:09 +07:00
2020-11-09 13:00:50 +03:00
2020-11-09 13:00:50 +03:00
2021-08-12 17:12:09 +07:00
2021-08-12 17:12:09 +07:00
2020-11-09 13:00:50 +03:00
2021-03-04 11:32:27 +00:00
2020-11-09 13:00:50 +03:00
2021-03-04 11:32:27 +00:00
2021-03-05 08:57:39 +00:00
2021-03-04 11:32:27 +00:00
2021-03-04 11:32:27 +00:00
2020-11-09 13:00:50 +03:00
2020-11-09 13:00:50 +03:00
2020-11-09 13:00:50 +03:00
2020-11-09 13:00:50 +03:00
2021-03-04 11:32:27 +00:00
2021-03-04 11:32:27 +00:00