mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 04:49:54 +08:00
Don't use const with reloc_howto_type, since it's now defined to be const.
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
Wed Jan 11 22:59:09 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
|
||||||
|
|
||||||
|
* ldctor.c (ldctor_build_sets): Don't use `const' with typedef
|
||||||
|
name `reloc_howto_type', since it's now defined to be const.
|
||||||
|
* ldlang.c (lang_add_reloc): Ditto.
|
||||||
|
* ldlang.h (lang_reloc_statement_type, lang_add_reloc): Ditto.
|
||||||
|
|
||||||
Wed Jan 11 11:24:45 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
|
Wed Jan 11 11:24:45 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
|
||||||
|
|
||||||
* ldexp.c (fold_binary): Adding or subtracting an absolute value
|
* ldexp.c (fold_binary): Adding or subtracting an absolute value
|
||||||
|
11
ld/ldlang.c
11
ld/ldlang.c
@ -2125,7 +2125,12 @@ static void
|
|||||||
lang_finish ()
|
lang_finish ()
|
||||||
{
|
{
|
||||||
struct bfd_link_hash_entry *h;
|
struct bfd_link_hash_entry *h;
|
||||||
boolean warn = link_info.relocateable ? false : true;
|
boolean warn;
|
||||||
|
|
||||||
|
if (link_info.relocateable || link_info.shared)
|
||||||
|
warn = false;
|
||||||
|
else
|
||||||
|
warn = true;
|
||||||
|
|
||||||
if (entry_symbol == (char *) NULL)
|
if (entry_symbol == (char *) NULL)
|
||||||
{
|
{
|
||||||
@ -2581,6 +2586,8 @@ lang_process ()
|
|||||||
current_target = default_target;
|
current_target = default_target;
|
||||||
open_input_bfds (statement_list.head, false);
|
open_input_bfds (statement_list.head, false);
|
||||||
|
|
||||||
|
ldemul_after_open ();
|
||||||
|
|
||||||
/* Build all sets based on the information gathered from the input
|
/* Build all sets based on the information gathered from the input
|
||||||
files. */
|
files. */
|
||||||
ldctor_build_sets ();
|
ldctor_build_sets ();
|
||||||
@ -2776,7 +2783,7 @@ lang_add_data (type, exp)
|
|||||||
void
|
void
|
||||||
lang_add_reloc (reloc, howto, section, name, addend)
|
lang_add_reloc (reloc, howto, section, name, addend)
|
||||||
bfd_reloc_code_real_type reloc;
|
bfd_reloc_code_real_type reloc;
|
||||||
const reloc_howto_type *howto;
|
reloc_howto_type *howto;
|
||||||
asection *section;
|
asection *section;
|
||||||
const char *name;
|
const char *name;
|
||||||
union etree_union *addend;
|
union etree_union *addend;
|
||||||
|
Reference in New Issue
Block a user