This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PPC linker fatal signal


> Cc: binutils@sourceware.cygnus.com
> From: Momchil Velikov <velco@fadata.bg>
> Date: 19 Feb 2001 01:34:50 +0200

> Geoff> 	* elf32-ppc.c (ppc_elf_howto_raw): Correct various comments.
> Geoff> 	(ppc_elf_create_linker_section): These sections are not
> Geoff> 	created by the linker (that is, they are created by the user
> Geoff> 	putting data in them). In particular, they can be the source
> Geoff> 	and target of relocations.
> Geoff> ...
> 
> Geoff> I think this still holds; if you have a linker-created section it
> Geoff> won't work properly if the user puts data in it that needs relocation.
> 
> I think the sections created in `ppc_elf_create_linker_section' don't
> need relocation, they are filled in with already relocated values.

I'm thinking of something like

	.section ".sdata"
	.word foo

-- 
- Geoffrey Keating <geoffk@geoffk.org>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]