Skip to content

Commit

Permalink
fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
palash-gandhi committed Dec 6, 2024
1 parent ddb92ca commit 02d3dc2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bfd/elf.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ SECTION
/* For sparc64-cross-sparc32. */
#define _SYSCALL32
#include "sysdep.h"
#include <limits.h>
#include "limits.h"
#include "bfd.h"
#include "bfdlink.h"
#include "libbfd.h"
Expand Down Expand Up @@ -595,7 +595,8 @@ group_signature (bfd *abfd, Elf_Internal_Shdr *ghdr)
static bfd_boolean
setup_group (bfd *abfd, Elf_Internal_Shdr *hdr, asection *newsect)
{
unsigned int num_group = elf_tdata (abfd)->num_group;
unsigned int num_group = UINT_MAX;
elf_tdata (abfd)->num_group = num_group;

/* If num_group is zero, read in all SHT_GROUP sections. The count
is set to -1 if there are no SHT_GROUP sections. */
Expand Down

0 comments on commit 02d3dc2

Please sign in to comment.