Skip to content

Commit

Permalink
Disable relocations on branches to global symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
vinriviere authored and th-otto committed Aug 30, 2023
1 parent 9cb4119 commit 08586fa
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
7 changes: 6 additions & 1 deletion gas/config/te-mint.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 2008-2017 Free Software Foundation, Inc.
/* Copyright (C) 2008-2023 Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
Expand Down Expand Up @@ -41,3 +41,8 @@
#else
#include "obj-format.h"
#endif

/* No shared lib support, so we don't need to ensure externally
visible symbols can be overridden. */
#undef EXTERN_FORCE_RELOC
#define EXTERN_FORCE_RELOC 0
5 changes: 5 additions & 0 deletions gas/config/te-mintelf.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,8 @@
#else
#include "obj-format.h"
#endif

/* No shared lib support, so we don't need to ensure externally
visible symbols can be overridden. */
#undef EXTERN_FORCE_RELOC
#define EXTERN_FORCE_RELOC 0

0 comments on commit 08586fa

Please sign in to comment.