-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect definitions in .S sources #73
Comments
Did you mean something like that (https://elixir.bootlin.com/u-boot/latest/source/arch/arc/lib/start.S)?
Note all that nonsense of
|
Apparently closed in version 2.0 |
Indeed I do see it all correct now https://elixir.bootlin.com/u-boot/latest/source/arch/arc/lib/start.S ENTRY(_start)
/* Setup interrupt vector base that matches "__text_start" */
sr __ivt_start, [ARC_AUX_INTR_VEC_BASE]
; Disable/enable I-cache according to configuration
lr r5, [ARC_BCR_IC_BUILD]
breq r5, 0, 1f ; I$ doesn't exist
lr r5, [ARC_AUX_IC_CTRL]
#if !CONFIG_IS_ENABLED(SYS_ICACHE_OFF)
bclr r5, r5, 0 ; 0 - Enable, 1 is Disable
#else
bset r5, r5, 0 ; I$ exists, but is not used
#endif
sr r5, [ARC_AUX_IC_CTRL] And thanks for all the fish! (C) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Looking at the definitions of "jiffies" in https://elixir.bootlin.com/linux/v5.3.5/source/arch/arc/kernel/vmlinux.lds.S#L17 , we can see some assignments improperly considered as definitions.
There is probably a need for special processing of the .S files to avoid this.
The text was updated successfully, but these errors were encountered: