public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] readelf: Make DT_PREINIT_ARRAYSZ's output style match DT_INIT_ARRAYSZ
@ 2021-11-04  7:55 Fangrui Song
  2021-11-06 10:48 ` Alan Modra
  0 siblings, 1 reply; 2+ messages in thread
From: Fangrui Song @ 2021-11-04  7:55 UTC (permalink / raw)
  To: binutils, Alan Modra, Nick Clifton; +Cc: Fangrui Song

The output now looks like:

- 0x0000000000000021 (PREINIT_ARRAYSZ)    0x10
+ 0x0000000000000021 (PREINIT_ARRAYSZ)    16 (bytes)
  0x0000000000000019 (INIT_ARRAY)         0xbefc90
  0x000000000000001b (INIT_ARRAYSZ)       536 (bytes)
---
 binutils/readelf.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/binutils/readelf.c b/binutils/readelf.c
index 9a2f16ecbed..5035d62ace1 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -11492,6 +11492,7 @@ the .dynstr section doesn't match the DT_STRTAB and DT_STRSZ tags\n"));
 	case DT_PLTPADSZ:
 	case DT_MOVEENT	:
 	case DT_MOVESZ	:
+	case DT_PREINIT_ARRAYSZ:
 	case DT_INIT_ARRAYSZ:
 	case DT_FINI_ARRAYSZ:
 	case DT_GNU_CONFLICTSZ:
-- 
2.33.1.1089.g2158813163f-goog


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] readelf: Make DT_PREINIT_ARRAYSZ's output style match DT_INIT_ARRAYSZ
  2021-11-04  7:55 [PATCH] readelf: Make DT_PREINIT_ARRAYSZ's output style match DT_INIT_ARRAYSZ Fangrui Song
@ 2021-11-06 10:48 ` Alan Modra
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Modra @ 2021-11-06 10:48 UTC (permalink / raw)
  To: Fangrui Song; +Cc: binutils, Nick Clifton

On Thu, Nov 04, 2021 at 12:55:21AM -0700, Fangrui Song wrote:
> The output now looks like:
> 
> - 0x0000000000000021 (PREINIT_ARRAYSZ)    0x10
> + 0x0000000000000021 (PREINIT_ARRAYSZ)    16 (bytes)
>   0x0000000000000019 (INIT_ARRAY)         0xbefc90
>   0x000000000000001b (INIT_ARRAYSZ)       536 (bytes)

Thanks, applied.

-- 
Alan Modra
Australia Development Lab, IBM

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-06 10:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-04  7:55 [PATCH] readelf: Make DT_PREINIT_ARRAYSZ's output style match DT_INIT_ARRAYSZ Fangrui Song
2021-11-06 10:48 ` Alan Modra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).