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 fc81aba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bfd/elf.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ SECTION
#include "bfd.h"
#include "bfdlink.h"
#include "libbfd.h"
#include <limits.h>
#define ARCH_SIZE 0
#include "elf-bfd.h"
#include "libiberty.h"
Expand Down Expand Up @@ -595,7 +596,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 fc81aba

Please sign in to comment.