From 601598589589734c21bacfc00cd4aed4f3fd1a1f Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 27 May 2022 15:28:34 +0930 Subject: Replace bfd_hostptr_t with uintptr_t bfd_hostptr_t is defined as a type large enough to hold either a long or a pointer. It mostly appears in the coff backend code in casts. include/coff/internal.h struct internal_syment and union internal_auxent have the only uses in data structures, where comparison with include/coff/external.h and other code reveals that the type only needs to be large enough for a 32-bit integer or a pointer. That should mean replacing with uintptr_t is OK. --- bfd/configure.com | 6 ------ 1 file changed, 6 deletions(-) (limited to 'bfd/configure.com') diff --git a/bfd/configure.com b/bfd/configure.com index 2418bdd..cc8499a 100644 --- a/bfd/configure.com +++ b/bfd/configure.com @@ -66,12 +66,6 @@ $DECK ERASE(match_pos); COPY_TEXT('0'); ENDIF; - match_pos := SEARCH_QUIETLY('@BFD_HOSTPTR_T@', FORWARD, EXACT, rang); - IF match_pos <> 0 THEN; - POSITION(BEGINNING_OF(match_pos)); - ERASE(match_pos); - COPY_TEXT('unsigned __int64'); - ENDIF; match_pos := SEARCH_QUIETLY('@bfd_file_ptr@', FORWARD, EXACT, rang); IF match_pos <> 0 THEN; POSITION(BEGINNING_OF(match_pos)); -- cgit v1.1