mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-14 07:38:41 +00:00
Allow .stab section to contain non PC relative addresses if -mrelocatable.
This commit is contained in:
parent
8cf2e6ebbc
commit
74e1b52ea3
@ -1,3 +1,8 @@
|
||||
Wed Mar 8 09:36:05 1995 Michael Meissner <meissner@tiktok.cygnus.com>
|
||||
|
||||
* config/tc-ppc.c (ppc_elf_validate_fix): Allow .stab sections to
|
||||
have non PC relative relocations with -mrelocatable.
|
||||
|
||||
Wed Mar 8 02:57:53 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
|
||||
|
||||
* config/tc-m68k.c (opcode_ptr): Return pointer to const.
|
||||
|
@ -581,7 +581,8 @@ ppc_elf_validate_fix (fixS *fixp, segT seg)
|
||||
&& !fixp->fx_done
|
||||
&& !fixp->fx_pcrel
|
||||
&& fixp->fx_r_type <= BFD_RELOC_UNUSED
|
||||
&& strcmp (segment_name (seg), ".got2") != 0)
|
||||
&& strcmp (segment_name (seg), ".got2") != 0
|
||||
&& strcmp (segment_name (seg), ".stab") != 0)
|
||||
{
|
||||
as_bad_where (fixp->fx_file, fixp->fx_line,
|
||||
"Relocation cannot be done when using -mrelocatable");
|
||||
|
Loading…
Reference in New Issue
Block a user