Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1335618
| From | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/2] ARM: mm: hide __start_rodata_section_aligned for non-debug builds |
| Date | 2016-02-16 17:40 +0100 |
| Message-ID | <r2QPo-1Uv-15@gated-at.bofh.it> (permalink) |
| References | <r2Qmm-1Is-13@gated-at.bofh.it> <r2Qmm-1Is-11@gated-at.bofh.it> <r2Qw2-1LV-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tuesday 16 February 2016 17:12:52 Ard Biesheuvel wrote: > > +#ifdef CONFIG_DEBUG_RODATA > > /* > > * Without CONFIG_DEBUG_ALIGN_RODATA, __start_rodata_section_aligned will > > * be the first section-aligned location after __start_rodata. Otherwise, > > * it will be equal to __start_rodata. > > */ > > __start_rodata_section_aligned = ALIGN(__start_rodata, 1 << SECTION_SHIFT); > > +#endif > > > > Does > > PROVIDE(__start_rodata_section_aligned = xxx); > > do the trick as well? If it does, it's a bit cleaner. > I would assume not, as the problem is that SECTION_SHIFT is a macro that is not defined when the MMU is disabled. Arnd
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 2/2] ARM: mm: hide __start_rodata_section_aligned for non-debug builds Arnd Bergmann <arnd@arndb.de> - 2016-02-16 17:10 +0100
Re: [PATCH 2/2] ARM: mm: hide __start_rodata_section_aligned for non-debug builds Ard Biesheuvel <ard.biesheuvel@linaro.org> - 2016-02-16 17:20 +0100
Re: [PATCH 2/2] ARM: mm: hide __start_rodata_section_aligned for non-debug builds Arnd Bergmann <arnd@arndb.de> - 2016-02-16 17:40 +0100
Re: [PATCH 2/2] ARM: mm: hide __start_rodata_section_aligned for non-debug builds Ard Biesheuvel <ard.biesheuvel@linaro.org> - 2016-02-16 17:40 +0100
csiph-web