stephenpeckham
7026086073
[XCOFF] Use RLDs to print branches even without -r ( #74342 )
...
This presents misleading and confusing output. If you have a function
defined at the beginning of an XCOFF object file, and you have a
function call to an external function, the function call disassembles as
a branch to the local function. That is,
`void f() { f(); g();}`
disassembles as
>00000000 <.f>:
0: 7c 08 02 a6 mflr 0
4: 94 21 ff c0 stwu 1, -64(1)
8: 90 01 00 48 stw 0, 72(1)
c: 4b ff ff f5 bl 0x0 <.f>
10: 4b ff ff f1 bl 0x0 <.f>
With this PR, the second call will display:
`10: 4b ff ff f1 bl 0x0 <.g> `
Using -r can help, but you still get the confusing output:
>10: 4b ff ff f1 bl 0x0 <.f>
00000010: R_RBR .g
2023-12-21 08:17:32 -06:00
..
2023-11-07 17:26:26 +01:00
2023-12-07 15:04:56 -05:00
2023-12-13 15:47:54 -08:00
2023-11-10 12:11:13 -08:00
2023-12-19 21:51:26 -08:00
2023-12-11 21:01:36 -08:00
2023-12-11 21:01:36 -08:00
2023-12-11 21:01:36 -08:00
2023-12-12 17:15:05 +01:00
2023-12-03 16:24:43 -08:00
2023-12-14 14:03:19 -08:00
2023-12-19 19:15:39 +09:00
2023-08-15 01:16:58 -07:00
2023-12-11 21:01:36 -08:00
2023-09-26 11:07:59 -04:00
2023-04-17 00:38:49 +09:00
2023-08-17 23:26:51 +00:00
2023-10-09 14:20:04 -07:00
2023-12-11 21:01:36 -08:00
2023-12-11 21:01:36 -08:00
2023-06-02 15:19:41 -07:00
2023-10-09 15:03:29 -07:00
2023-10-24 23:03:13 -07:00
2023-12-11 21:01:36 -08:00
2023-12-18 12:47:24 -08:00
2023-12-15 09:45:30 -08:00
2023-12-03 11:31:38 -08:00
2023-08-04 13:57:13 -07:00
2023-10-04 13:45:16 -07:00
2023-05-03 11:51:35 -07:00
2023-12-11 21:01:36 -08:00
2023-12-11 21:01:36 -08:00
2023-08-04 14:43:11 -07:00
2023-09-30 15:25:41 -07:00
2023-12-02 10:47:26 -08:00
2023-07-05 14:53:14 -07:00
2023-09-01 07:57:45 -07:00
2023-06-26 11:20:08 +02:00
2023-06-26 11:20:08 +02:00
2023-11-11 22:46:28 -08:00
2023-04-21 15:37:00 -07:00
2023-12-09 14:28:45 -08:00
2023-04-17 00:38:49 +09:00
2023-08-15 01:16:58 -07:00
2023-12-11 21:01:36 -08:00
2023-12-14 16:28:34 -06:00
2023-12-21 08:17:32 -06:00
2023-10-04 13:45:16 -07:00
2023-06-25 15:42:22 +01:00
2023-12-03 16:24:43 -08:00
2023-12-14 14:16:38 -05:00
2023-12-11 21:01:36 -08:00
2023-12-18 12:31:05 +02:00
2023-12-18 09:22:22 -06:00
2023-12-20 14:56:53 -08:00
2023-12-13 11:13:09 +07:00
2023-12-02 10:47:26 -08:00
2023-10-12 21:21:45 -07:00
2023-06-02 15:08:14 -07:00
2023-12-08 23:10:14 -08:00
2023-08-04 13:57:13 -07:00
2023-12-11 21:01:36 -08:00
2023-08-15 01:16:58 -07:00
2023-12-15 17:35:33 +07:00
2023-08-15 01:16:58 -07:00
2023-12-11 21:01:36 -08:00
2023-12-03 22:32:21 -08:00
2023-10-24 23:03:13 -07:00
2023-10-24 23:03:13 -07:00
2023-09-14 14:10:14 -07:00
2023-12-13 13:13:53 -05:00
2023-12-13 16:18:24 +08:00
2023-05-17 10:48:52 +02:00
2023-08-04 13:57:13 -07:00
2023-12-04 12:24:51 -05:00
2023-12-06 17:14:58 +00:00
2023-12-11 21:01:36 -08:00
2023-07-14 19:29:28 +00:00