This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Linker script for H8.
- To: kazu at hxi dot com
- Subject: Re: Linker script for H8.
- From: Nick Clifton <nickc at redhat dot com>
- Date: Thu, 16 Nov 2000 14:55:40 -0800
- CC: binutils at sources dot redhat dot com
Hi Kazu,
: Can I submit a patch to somehow incorporate new names for data
: sections in the linker scripts for the h8300 port?
Yes. (Any patch can be submitted. Not all patches will be approved).
: The following is a part of the linker script that I am using.
:
: .data : AT (ADDR (.tors) + SIZEOF (.tors)) {
: _data_rom = ADDR (.tors) + SIZEOF (.tors);
: _data_ram = . ;
: *(.data)
: _edata = . ;
: } > ram
:
: If the above is acceptable, what names should I use? _data?
: _data_rom? data_ram?
The names are up to you. Make sure that they have a leading
underscore, so that they will not conflict with names defined in a
normal C program.
Cheers
Nick